joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b48d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x486d50]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x42b525
push 0x458e4c
push 4
push eax
call fcn.0043bf8c
push eax
call fcn.00402258
add esp, 0x10
push ebx
push edi
call fcn.0043d0a2
mov edi, dword [eax]
call fcn.0043d0a2
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043c854
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0043d0a2
cmp dword [eax], ebx
je 0x42b53c
call fcn.0043d0a2
push dword [eax]
call fcn.004298b4
pop ecx
jmp 0x42b543
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42b4d0
jmp 0x42b5ca
call fcn.0043d0a2
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x42b5c6
cmp dword [ebp - 0x234], esi
jae 0x42b5c6
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.0043b400
add esp, 0xc
push 0x458bac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x42b5b5
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42b5b5
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42b5b5
push ebx
push ebx
push esi
jmp 0x42b5be
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x42b5c8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043a688
leave
ret

Function at 0x43491d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x434964
call fcn.0042d561
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x434964
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x434980
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00434495
mov esi, eax
test edi, edi
je 0x43497e
test ebx, ebx
je 0x43497e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4355d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4355fd
cmp dword [edi + 0x54], 0
jne 0x4355fd
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042d561
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0043559a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x43a688
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x486d50]
jne 0x43a692
repz ret
jmp fcn.004420ed

Function at 0x44bfa9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00441a51
and dword [ebp - 4], 0
cmp dword [0x48b2d4], 0
mov ebx, eax
jne 0x44c05a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44c10b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44c10b
push eax
call fcn.004419df
mov dword [esp], 0x45bc28
push edi
mov dword [0x48b2d4], eax
call esi
push eax
call fcn.004419df
mov dword [esp], 0x45bc14
push edi
mov dword [0x48b2d8], eax
call esi
push eax
call fcn.004419df
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48b2dc], eax
call esi
push eax
call fcn.004419df
pop ecx
mov dword [0x48b2e4], eax
test eax, eax
je 0x44c05a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004419df
pop ecx
mov dword [0x48b2e0], eax
mov eax, dword [0x48b2e0]
cmp eax, ebx
je 0x44c0b2
cmp dword [0x48b2e4], ebx
je 0x44c0b2
push eax
call fcn.00441a5a
push dword [0x48b2e4]
mov esi, eax
call fcn.00441a5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44c0b2
test edi, edi
je 0x44c0b2
call esi
test eax, eax
je 0x44c0a9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44c0a9
test byte [ebp - 0xc], 1
jne 0x44c0b2
or dword [ebp + 0x10], 0x200000
jmp 0x44c0eb
mov eax, dword [0x48b2d8]
cmp eax, ebx
je 0x44c0eb
push eax
call fcn.00441a5a
pop ecx
test eax, eax
je 0x44c0eb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44c0eb
mov eax, dword [0x48b2dc]
cmp eax, ebx
je 0x44c0eb
push eax
call fcn.00441a5a
pop ecx
test eax, eax
je 0x44c0eb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48b2d4]
call fcn.00441a5a
pop ecx
test eax, eax
je 0x44c10b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44c10d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1004e9af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1004e9be
pop dword [ebp - 0x28]
mov eax, 0x743b018b
sub eax, 0x643617cd
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x34f3e8a5
add dword [ebp - 0x38], 0x195e5ca6
mov dword [ebp - 0x34], 0x86cdf5f
add dword [ebp - 0x34], 0x29c66ce6
mov dword [ebp - 0x30], 0xdbb79ac3
sub dword [ebp - 0x30], 0x8f6b5695
mov dword [ebp - 0x2c], 0x66805d51
sub dword [ebp - 0x2c], 0x66805d51
lea eax, [ebp - 0x38]
push eax
mov eax, 0xe7fbbfa
sub eax, 0xfe774bc6
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xaeb92d35
sub dword [ebp - 0x38], 0x3a46c3df
mov dword [ebp - 0x34], 0x7bcf821d
sub dword [ebp - 0x34], 0x3a6320a8
mov dword [ebp - 0x30], 0x83088a2e
add dword [ebp - 0x30], 0xe066e23e
mov dword [ebp - 0x2c], 0xf602c4ab
sub dword [ebp - 0x2c], 0xf602c4ab
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x5ceb1762
add eax, 0xb31d58c2
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3e887
push 0
call eax
mov ecx, 0xb4e25519
add ecx, 0x4b1df790
xor edx, edx
add edx, eax
mov ebx, 0x7e808e57
add ebx, 0x918b01a9
add ebx, dword [ebp - 0x28]
mov edi, 0x628eed96
mov esi, dword [ebx]
mov dword [ebp - 8], 0x4a4f996d
xor esi, edi
add dword [ebp - 0x10], eax
mov dword [edx], esi
add edx, 0x7517d680
sub edx, 0x7517d67c
add ebx, 0x47e2554
sub ebx, 0x47e2550
loop 0x1004eadc
add eax, 0xca60591
add eax, 0xf35b1fe6
mov ebx, eax
add eax, 5
mov ecx, 0x169a61c
sub ecx, 0xf169a61c
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x406fdc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 4], edi
mov dword [ebp - 8], 4
xor ebx, ebx
mov eax, dword [edi]
mov dword [ebp + 0x10], ebx
cmp eax, ebx
je 0x4070ee
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
push 0x4015f0
push eax
call dword [ecx]
test eax, eax
jl 0x4070e1
lea eax, [ebp - 0x214]
test eax, eax
jne 0x40704b
xor ecx, ecx
jmp 0x407085
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.00407580
mov edi, esp
push ebx
push ebx
lea eax, [ebp - 0x214]
push dword [ebp + 8]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov edi, dword [ebp - 4]
mov eax, dword [edi]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
cmp dword [ebp + 0xc], ebx
jne 0x407097
xor ecx, ecx
jmp 0x4070c9
push dword [ebp + 0xc]
call esi
lea eax, [eax + eax + 2]
mov dword [ebp + 8], eax
add eax, 3
and al, 0xfc
call fcn.00407580
mov edi, esp
push ebx
push ebx
push dword [ebp + 8]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
mov edi, dword [ebp - 4]
mov eax, dword [edi]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 0x10]
lea edx, [edi + 4]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4070ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0x20c
dec dword [ebp - 8]
mov dword [ebp - 4], edi
jne 0x40701a
push dword [ebp - 0xc]
lea eax, [ebp - 0x41c]
push 0x401568
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [eax + eax + 2]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
lea eax, [ebp - 0x214]
push eax
push 1
lea eax, [ebp - 0x41c]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push edi
call ebx
push dword [ebp + 0xc]
call esi
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x41c]
push dword [ebp + 0xc]
push 1
push 0x40155c
push eax
push edi
call ebx
lea esp, [ebp - 0x428]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40716d
Capabilities:
Check if file exists

Disassembly:
push esi
push 0
mov esi, 0x410380
push 0x104
push esi
jmp loc.00419000
Function at 0x403128
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.004030e0
mov eax, ebx
pop ebx
jne 0x40313d
pop ecx
jmp 0x402a54
ret

Function at 0x4039b8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4814a0
mov esi, 0x481034
mov edi, 0x481038
cmp byte [ebx + 0x24], 0
jne 0x4039e7
cmp dword [edi], 0
je 0x4039e7
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x4039d6
cmp dword [0x48103c], 0
je 0x403a2e
call fcn.00403934
cmp byte [0x481044], 0
je 0x403a14
mov edx, 0x47d024
mov eax, 0x481218
call fcn.004062d0
call fcn.00406253
jmp 0x403a27
push 0
push 0x47d044
push 0x47d024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x48103c], eax
cmp byte [ebx + 0x24], 2
jne 0x403a3e
cmp dword [esi], 0
jne 0x403a3e
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403808
cmp byte [ebx + 0x24], 1
jbe 0x403a4e
cmp dword [esi], 0
je 0x403a6b
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403a6b
call fcn.00405cd4
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403a6b
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.004037e0
cmp byte [ebx + 0x24], 1
jne 0x403a79
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403a84
call fcn.00403984
cmp dword [ebx], 0
jne 0x403a91
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 0x403a2e

Function at 0x40414c
Capabilities:
Terminate process

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

Function at 0x4041f4
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402838
test ecx, ecx
je fcn.00404110
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x4040f8
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x4042bc
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 0x4042fb
cmp al, 0xb
je 0x4042fb
cmp al, 0xc
je 0x404305
cmp al, 0xd
je 0x404318
cmp al, 0xe
je 0x404336
cmp al, 0xf
je 0x4042fb
cmp al, 0x11
je 0x4042fb
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402838
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4042fb
jmp 0x40434a
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 0x404305
jmp 0x40434a
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 0x4042bc
dec edi
jg 0x40431b
pop ebp
jmp 0x40434a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404290
dec edi
jg 0x404339
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042bc
Function at 0x404350
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 0x4042fb
cmp al, 0xb
je 0x4042fb
cmp al, 0xc
je 0x404305
cmp al, 0xd
je 0x404318
cmp al, 0xe
je 0x404336
cmp al, 0xf
je 0x4042fb
cmp al, 0x11
je 0x4042fb
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402838
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4042fb
jmp 0x40434a
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 0x404305
jmp 0x40434a
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 0x4042bc
dec edi
jg 0x40431b
pop ebp
jmp 0x40434a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404290
dec edi
jg 0x404339
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4042bc

Function at 0x404388
Capabilities:
Terminate process

Disassembly:
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 0x4043cf
cmp al, 0xb
je 0x4043e9
cmp al, 0xc
je 0x404400
cmp al, 0xd
je 0x40440f
cmp al, 0xe
je 0x40442d
cmp al, 0xf
je 0x404443
cmp al, 0x11
je 0x404452
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402838
cmp ecx, 1
mov eax, ebx
jg 0x4043e0
call fcn.00403ae8
jmp 0x404461
mov edx, ecx
call fcn.00403b0c
jmp 0x404461
cmp ecx, 1
mov eax, ebx
jg 0x4043f7
call fcn.00404110
jmp 0x404461
mov edx, ecx
call fcn.00404128
jmp 0x404461
mov eax, ebx
add ebx, 0x10
call fcn.00405080
dec edi
jg 0x404400
jmp 0x404461
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.00404388
dec edi
jg 0x404412
pop ebp
jmp 0x404461
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040435c
dec edi
jg 0x404430
pop ebp
jmp 0x404461
mov eax, ebx
add ebx, 4
call fcn.00405d9c
dec edi
jg 0x404443
jmp 0x404461
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00405930
dec edi
jg 0x404452
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404468
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404388
Function at 0x404474
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 0x4044a0
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402908
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x4044df
cmp cl, 0xb
je 0x4044f0
cmp cl, 0xc
je 0x404501
cmp cl, 0xd
je 0x404512
cmp cl, 0xe
je 0x404532
cmp cl, 0xf
je 0x40454b
cmp cl, 0x11
je 0x40455c
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402838
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b3c
mov eax, 4
jmp 0x40456d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040414c
mov eax, 4
jmp 0x40456d
lea edx, [esi + eax]
add eax, ebx
call fcn.00404830
mov eax, 0x10
jmp 0x40456d
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.00404590
pop eax
jmp 0x40456d
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.00404474
pop eax
jmp 0x40456d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405db4
mov eax, 4
jmp 0x40456d
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040596c
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40448e
pop ecx
sub ecx, eax
jle 0x404589
lea edx, [ebx + eax]
add eax, esi
call fcn.00402908
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x404590
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 0x4045d6
cmp cl, 0xb
je 0x4045ed
cmp cl, 0xc
je 0x404601
cmp cl, 0xd
je 0x404615
cmp cl, 0xe
je 0x404636
cmp cl, 0xf
je 0x404653
cmp cl, 0x11
je 0x404667
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402838
mov eax, ebx
mov edx, dword [esi]
call fcn.00403b3c
add ebx, 4
add esi, 4
dec ebp
jne 0x4045d6
jmp 0x40467b
mov eax, ebx
mov edx, dword [esi]
call fcn.0040414c
add ebx, 4
add esi, 4
dec ebp
jne 0x4045ed
jmp 0x40467b
mov eax, ebx
mov edx, esi
call fcn.00404830
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404601
jmp 0x40467b
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.00404590
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x40461e
jmp 0x40467b
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404474
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404636
jmp 0x40467b
mov eax, ebx
mov edx, dword [esi]
call fcn.00405db4
add ebx, 4
add esi, 4
dec ebp
jne 0x404653
jmp 0x40467b
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.0040596c
add ebx, 4
add esi, 4
dec ebp
jne 0x404667
pop ebp
pop edi
pop esi
pop ebx
ret 4
Function at 0x404830
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402838
cmp eax, edx
je 0x4048c7
cmp word [eax], 8
jb 0x404868
push eax
push edx
cmp word [eax], 0x100
je 0x40485e
cmp word [eax], 0x101
je 0x404856
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404866
call dword [0x4813e4]
jmp 0x404866
add eax, 8
call fcn.00403ae8
pop edx
pop eax
cmp word [edx], 8
jae 0x40487f
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 0x40489a
cmp word [edx], 0x101
jne 0x4048b3
push eax
call 0x40486e
pop eax
jmp dword [0x4813ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x4048aa
mov ecx, dword [edx - 8]
inc ecx
jle 0x4048aa
mov dword [edx - 8], ecx
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 0x4047e4
ret

Function at 0x404e08
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.00405088
xor eax, eax
push ebp
push 0x404dfa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x4813e8]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00404e08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e01
lea eax, [ebp - 0x10]
call fcn.00405080
ret
cmp word [edx], 0x101
je 0x404da4
cmp word [edx], 0x100
jne fcn.00404830
cmp word [eax], 8
jb 0x404e2d
push eax
push edx
call fcn.004047ec
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.00404218

Function at 0x404f70
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x404f96
cmp eax, 0x100
jne 0x404fc5
mov eax, 8
cmp edx, 0x11
jbe 0x404fa8
cmp edx, 0x100
jne case.default.0x404fbc
mov edx, 8
mov al, byte [eax + 0x47d05c]
mov dl, byte [edx + 0x47d05c]
movzx ecx, byte [edx + eax*8 + 0x47d070]
jmp dword [ecx*4 + 0x404fd7]
mov eax, edx
cmp eax, 0x101
jne case.0x404fbc.0
pop edi
pop esi
call fcn.00404edc
push eax
popf
ret
pop edi
pop esi
jmp 0x4047e4
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404b34
xchg edi, eax
call fcn.00404b34
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.00404bd4
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404bd4
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00404c30
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00404c30
fld xword [esp]
add esp, 0xc
jmp 0x40502f
mov eax, edi
mov edx, esi
call fcn.00404e74
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404ba0
xchg edi, eax
call fcn.00404ba0
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x40b3fc
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 0x40b41d
mov al, byte [esp]
jmp 0x40b41f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x417938
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 0x41793e
ret

Function at 0x419fac
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 0x419ffd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x419fe4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x419fd4
jmp 0x419ffd
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 0x419fe5
pop ebx
mov esp, ebp
pop ebp
ret