joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a4e0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc2c
mov eax, dword [0x41e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc28], eax
cmp ebx, 0x182
jne 0x41a515
lea ecx, [ebp - 0xc20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x41a533
cmp ebx, 0x19f
jne 0x41a533
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x41a594
push esi
jmp 0x41a540
lea esi, [ebp - 0xc24]
mov dword [ebp - 0xc24], 0
call fcn.0041a4d0
mov dl, byte [ebp - 0xc24]
mov eax, dword [ebp - 0xc28]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x41a58e
lea eax, [ebp - 0xc2c]
push eax
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
lea edx, [ebp - 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
inc edi
cmp edi, ebx
jl 0x41a540
pop esi
pop edi
cmp ebx, 0x2d
jne 0x41a5ae
mov dword [0x422008], 0xa62e7790
mov dword [0x42200c], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x41a5c0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x421ffc]
push ebx
push esi
mov esi, dword [0x421d1c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x41a5e2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x41f1d0]
call fcn.0041a4a0
cmp dword [0x421ffc], 0x2f
jne 0x41a5fd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.0041a4e0
add esp, 4
cmp dword [0x421ffc], 0x568
pop esi
pop ebx
jne 0x41a628
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
ret
Function at 0x4026c8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026d6
call dword [0x44d01c]
or eax, eax
je 0x4026d7
ret
mov al, 1
jmp fcn.00402754

Function at 0x4026e0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4026ee
call dword [0x44d020]
or eax, eax
jne 0x4026ef
ret
mov al, 2
jmp fcn.00402754

Function at 0x4026f8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402730
test edx, edx
je 0x40271a
push eax
mov eax, ecx
call dword [0x44d024]
pop ecx
or eax, eax
je 0x402729
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402754
mov dword [eax], edx
mov eax, ecx
call dword [0x44d020]
or eax, eax
jne 0x402713
ret
mov al, 1
jmp fcn.00402754
test edx, edx
je 0x402744
push eax
mov eax, edx
call dword [0x44d01c]
pop ecx
or eax, eax
je 0x402729
mov dword [ecx], eax
ret

Function at 0x402754
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x44f004]
test ecx, ecx
je 0x402764
pop edx
call ecx
dec eax
mov al, byte [eax + 0x40277d]
jns 0x402778
call fcn.00406158
mov eax, dword [eax + 4]
jmp fcn.00403a7c

Function at 0x402798
Capabilities:
Terminate process

Disassembly:
push eax
push edx
push ecx
call fcn.00406158
cmp dword [eax + 4], 0
pop ecx
pop edx
pop eax
jne 0x4027ad
ret
xor eax, eax
jmp fcn.00402754

Function at 0x402898
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4028c7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bf4
jmp 0x4028e5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402820
mov edi, eax
test ebx, ebx
je 0x4028e5
cmp dword [esi], 0
je 0x4028e5
dec ebx
jmp 0x4028ce
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ac4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x44f03c], 0x8088405
inc edx
mov dword [0x44f03c], edx
mul edx
mov eax, edx
ret

Function at 0x402c1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402cb4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402c94
xor eax, eax
push ebp
push 0x402c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402cd0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402c94
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x402f34
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402f4e
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x402f4e
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x402f3a
mov al, 0xa
jmp fcn.00402754
ret
Function at 0x402f80
Capabilities:
Terminate process

Disassembly:
cmp dword [0x44f018], 0
je 0x402927
call dword [0x44f018]
mov eax, 0xd2
jmp fcn.00403a7c
push eax
push ecx
mov eax, dword [eax]
call fcn.00402f50
pop ecx
pop eax
je 0x402f8f
jmp ebx
pop ecx
jmp 0x402918

Function at 0x4037ec
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
push edi
mov esi, 0x44f49c
lea edi, [ebp - 0x3c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop dword [0x44f4bc]
pop dword [0x44f4b8]
mov dword [0x44f4b0], ebp
mov dword [0x44f4b4], ebx
mov dword [0x44f4a4], eax
mov dword [0x44f4ac], edx
lea ecx, [ebp - 0x3c]
mov dword [0x44f49c], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], 0
jne 0x403835
mov ecx, dword [eax]
mov dword [0x44f4a8], ecx
call fcn.004036e4
mov eax, dword [ebp + 0xc]
inc eax
mov byte [0x44f4c0], al
dec eax
pop ecx
mov edx, dword [ecx]
mov dword [0x44f4c4], edx
je 0x403858
call dword [ecx + eax*4]
mov edx, dword [esp + 4]
test edx, edx
je 0x403865
mov eax, dword [ebp + 0xc]
call edx
cmp dword [0x44f01c], 0
jne 0x40387b
mov byte [0x44f024], 1
fnstcw word [section.DATA]
mov eax, dword [ebp + 0xc]
dec eax
jne fcn.00403950
call fcn.0040378c
ret 4

Function at 0x403950
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x44f49c
mov esi, 0x44f030
mov edi, 0x44f034
cmp byte [ebx + 0x24], 0
jne 0x40397f
cmp dword [edi], 0
je 0x40397f
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x40396e
cmp dword [0x44f038], 0
je 0x4039cf
call fcn.004038cc
cmp byte [0x44f040], 0
je 0x4039ac
mov edx, 0x44d02c
mov eax, 0x44f214
call fcn.00405970
call fcn.004058f3
jmp 0x4039c8
cmp byte [0x44d010], 0
jne 0x4039c8
push 0
push 0x44d04c
push 0x44d02c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x44f038], eax
cmp byte [ebx + 0x24], 2
jne 0x4039df
cmp dword [esi], 0
jne 0x4039df
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.0040372c
cmp byte [ebx + 0x24], 1
jbe 0x4039ef
cmp dword [esi], 0
je 0x403a0c
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403a0c
call fcn.00405358
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403a0c
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403704
cmp byte [ebx + 0x24], 1
jne 0x403a1a
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403a25
call fcn.0040391c
cmp dword [ebx], 0
jne 0x403a32
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x4039cf

Function at 0x403a70
Capabilities:
Terminate process

Disassembly:
mov dword [0x44f030], eax
jmp fcn.00403950

Function at 0x403ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026c8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x44f041], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403a88
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x404178
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.0040413c
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.0040413c
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404124
ret

Function at 0x404220
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402754
test ecx, ecx
je fcn.0040413c
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404124
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404260
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x404274
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404124
ret

Function at 0x4042e8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404327
cmp al, 0xb
je 0x404327
cmp al, 0xc
je 0x404331
cmp al, 0xd
je 0x404344
cmp al, 0xe
je 0x404362
cmp al, 0xf
je 0x404327
cmp al, 0x11
je 0x404327
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402754
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404327
jmp 0x404376
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404331
jmp 0x404376
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4042e8
dec edi
jg 0x404347
pop ebp
jmp 0x404376
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004042bc
dec edi
jg 0x404365
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042e8

Function at 0x40437c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404327
cmp al, 0xb
je 0x404327
cmp al, 0xc
je 0x404331
cmp al, 0xd
je 0x404344
cmp al, 0xe
je 0x404362
cmp al, 0xf
je 0x404327
cmp al, 0x11
je 0x404327
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402754
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404327
jmp 0x404376
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404331
jmp 0x404376
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call 0x4042e8
dec edi
jg 0x404347
pop ebp
jmp 0x404376
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004042bc
dec edi
jg 0x404365
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042e8
Function at 0x4043b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, 0
je 0x40449a
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x404404
cmp al, 0xb
je 0x40441e
cmp al, 0xc
je 0x404435
cmp al, 0xd
je 0x404444
cmp al, 0xe
je 0x404462
cmp al, 0xf
je 0x404478
cmp al, 0x11
je 0x404487
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402754
cmp ecx, 1
mov eax, ebx
jg 0x404415
call fcn.00403b0c
jmp 0x404496
mov edx, ecx
call fcn.00403b30
jmp 0x404496
cmp ecx, 1
mov eax, ebx
jg 0x40442c
call fcn.0040413c
jmp 0x404496
mov edx, ecx
call fcn.00404154
jmp 0x404496
mov eax, ebx
add ebx, 0x10
call fcn.00404bf8
dec edi
jg 0x404435
jmp 0x404496
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004043b4
dec edi
jg 0x404447
pop ebp
jmp 0x404496
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404388
dec edi
jg 0x404465
pop ebp
jmp 0x404496
mov eax, ebx
add ebx, 4
call fcn.00405420
dec edi
jg 0x404478
jmp 0x404496
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404dec
dec edi
jg 0x404487
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x40449c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004043b4

Function at 0x4044a8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4044d4
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004027e0
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x404513
cmp cl, 0xb
je 0x404524
cmp cl, 0xc
je 0x404535
cmp cl, 0xd
je 0x404546
cmp cl, 0xe
je 0x404566
cmp cl, 0xf
je 0x40457f
cmp cl, 0x11
je 0x404590
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402754
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b60
mov eax, 4
jmp 0x4045a1
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404178
mov eax, 4
jmp 0x4045a1
lea edx, [esi + eax]
add eax, ebx
call fcn.00404840
mov eax, 0x10
jmp 0x4045a1
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004045c4
pop eax
jmp 0x4045a1
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004044a8
pop eax
jmp 0x4045a1
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405438
mov eax, 4
jmp 0x4045a1
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404e28
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4044c2
pop ecx
sub ecx, eax
jle 0x4045bd
lea edx, [ebx + eax]
add eax, esi
call fcn.004027e0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4045c4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x40460a
cmp cl, 0xb
je 0x404621
cmp cl, 0xc
je 0x404635
cmp cl, 0xd
je 0x404649
cmp cl, 0xe
je 0x40466a
cmp cl, 0xf
je 0x404687
cmp cl, 0x11
je 0x40469b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402754
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b60
add ebx, 4
add esi, 4
dec ebp
jne 0x40460a
jmp 0x4046af
mov eax, ebx
mov edx, dword [esi]
call fcn.00404178
add ebx, 4
add esi, 4
dec ebp
jne 0x404621
jmp 0x4046af
mov eax, ebx
mov edx, esi
call fcn.00404840
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404635
jmp 0x4046af
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004045c4
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404652
jmp 0x4046af
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004044a8
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40466a
jmp 0x4046af
mov eax, ebx
mov edx, dword [esi]
call fcn.00405438
add ebx, 4
add esi, 4
dec ebp
jne 0x404687
jmp 0x4046af
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404e28
add ebx, 4
add esi, 4
dec ebp
jne 0x40469b
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x404840
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402754
cmp eax, edx
je 0x4048d8
cmp word [eax], 8
jb 0x404878
push eax
push edx
cmp word [eax], 0x100
je 0x40486e
cmp word [eax], 0x101
je 0x404866
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404876
call dword [0x44f3e0]
jmp 0x404876
add eax, 8
call fcn.00403b0c
pop edx
pop eax
cmp word [edx], 8
jae 0x40488f
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x4048aa
cmp word [edx], 0x101
jne 0x4048c4
push eax
call 0x40487e
pop eax
jmp dword [0x44f3e8]
mov edx, dword [edx + 8]
or edx, edx
je 0x4048bb
mov ecx, dword [edx - 8]
inc ecx
jle 0x4048bb
lock inc dword [edx - 8]
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x4047f4
ret

Function at 0x404bc4
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x404bd2
push edx
call fcn.004047fc
pop edx
xor eax, eax
test edx, edx
je 0x404bee
mov eax, dword [edx - 4]
shr eax, 1
je 0x404bee
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404124
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret
Function at 0x405060
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40521c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4050c1
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405238
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405133
xor eax, eax
push ebp
push 0x40512c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404eb8
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405115
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405258
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405133
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405214
cmp byte [ebp - 0xd], 0
jne 0x405175
cmp byte [ebp - 0x12], 0
je 0x405214
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40518e
dec ebx
cmp byte [ebx], 0x2e
je 0x40519d
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40518d
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405214
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4051ca
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405214
cmp byte [ebp - 0xd], 0
je 0x405214
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405214
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a614
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a64d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403bf4
jmp 0x40a656
mov eax, ebx
mov edx, esi
call fcn.00403b60
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a660
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a681
mov al, byte [esp]
jmp 0x40a683
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x414394
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x4143a9
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x416610
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x416616
ret

Function at 0x418974
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4189c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4189ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41899c
jmp 0x4189c5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4189ad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420008
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x44f784], 0
sete dl
or al, dl
jne 0x420148
mov eax, dword [0x44f788]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44f784]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x420117
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44f784]
call fcn.0040f478
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42010f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x42010f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x42010f
mov eax, dword [ebp - 0x14]
call fcn.00428234
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42010f
push ebp
call fcn.0041ffc4
pop ecx
test al, al
jne 0x42010f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x4200cb
mov eax, dword [ebp - 0x14]
call fcn.00426bc0
dec eax
jle 0x42010f
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402f80
cmp byte [ebp - 1], 0
je 0x42010f
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42010f
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44f788]
call fcn.0041f810
inc edi
dec esi
jne 0x42005e
mov eax, dword [0x44f788]
cmp dword [eax + 8], 0
jle 0x42012f
mov eax, dword [0x44f788]
call fcn.0041f8a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x420148
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0041fe2c
pop ecx
test al, al
jne 0x420148
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret