joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b460
Capabilities:
Check http status code

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x1c]
push 0x11
push str.WWW_Authenticate:
push esi
mov dword [esp + 0x1c], 0
lea ebx, [edi + 0xf0]
call fcn.00437a50
add esp, 0xc
test eax, eax
je 0x45b499
mov ebp, dword [ebx]
cmp ebp, 0x191
je 0x45b4b7
push 0x13
push str.Proxy_authenticate:
push esi
call fcn.00437a50
add esp, 0xc
test eax, eax
je 0x45b4ff
mov ebp, dword [ebx]
cmp ebp, 0x197
jne 0x45b4ff
push esi
call fcn.0043b050
mov esi, eax
add esp, 4
test esi, esi
jne 0x45b4cf
pop edi
lea eax, [esi + 0x1b]
pop esi
pop ebp
pop ebx
pop ecx
ret
cmp ebp, 0x197
push esi
sete al
movzx eax, al
push eax
push edi
call fcn.0043c1f0
push esi
mov edi, eax
call dword [0x7a0054]
add esp, 0x10
test edi, edi
je 0x45b641
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0xf
push str.Content_Length:
push esi
call fcn.00437a50
add esp, 0xc
test eax, eax
je 0x45b559
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x45b537
push ecx
push str.Ignoring_Content_Length_in_CONNECT__03d_response
push edi
call fcn.00435270
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
add eax, 0x200
push eax
push 0xa
lea eax, [esi + 0xf]
push 0
push eax
call fcn.0043ed40
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0xb
push str.Connection:
push esi
call fcn.0043afa0
add esp, 0x14
test al, al
jne 0x45b636
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.00437a50
add esp, 0xc
test eax, eax
je 0x45b5f2
mov ecx, dword [ebx]
lea eax, [ecx - 0xc8]
cmp eax, 0x64
jae 0x45b5b0
push ecx
push str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
push edi
call fcn.00435270
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 7
push str.chunked
push 0x12
push str.Transfer_Encoding:
push esi
call fcn.0043afa0
add esp, 0x14
test al, al
je 0x45b641
push str.CONNECT_responded_chunked
push edi
call fcn.00435270
mov eax, dword [esp + 0x28]
push edi
mov byte [eax + 0x20c], 1
call fcn.0045e300
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 5
push str.close
push 0x11
push str.Proxy_Connection:
push esi
call fcn.0043afa0
add esp, 0x14
test al, al
jne 0x45b636
push ebx
lea eax, [esp + 0x14]
push eax
push str.HTTP_1._d__d
push esi
call fcn.0042e360
add esp, 0x10
cmp eax, 2
jne 0x45b641
mov eax, dword [ebx]
mov dword [edi + 0xd64], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x20]
mov byte [eax + 0x20d], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x462120
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x7a03c0]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.00483493
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x46219f
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00425770
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.004351a0
push esi
call dword [0x7a0054]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x4622ff
push 0
push 0x80
push 3
push 0
push 1
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x4621f9
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00425770
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.004351a0
push 0
mov esi, 0x4d
call dword [0x7a0054]
add esp, 0x20
jmp 0x4622f1
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x462239
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00425770
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.004351a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x4622dd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x462267
jg 0x46224d
cmp edi, 0x100000
jbe 0x462267
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.004351a0
add esp, 0xc
mov esi, 0x4d
jmp 0x4622dd
lea eax, [edi + 1]
push eax
call dword [0x7a0050]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46227f
lea esi, [eax + 0x1b]
jmp 0x4622dd
test edi, edi
je 0x4622c4
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46231c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x462318
add esi, eax
cmp esi, edi
jb 0x462290
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.00461f20
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x7a0054]
add esp, 4
push dword [esp + 0x20]
call fcn.00471c34
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046c5de
add esp, 0x120
ret
mov edi, esi
jmp 0x4622c4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00425770
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.004351a0
add esp, 0x1c
mov esi, 0x4d
jmp 0x4622dd
Function at 0x469870
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x7a0050]
mov esi, eax
add esp, 4
test esi, esi
jne 0x46989b
pop esi
pop ebp
add esp, 0xc
ret
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x4698ea
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [edi]
push ebx
push dword [esp + 0x2c]
push dword [esi + 4]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x28], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov ebx, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x28], ebx
jmp 0x4698f2
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x30]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x469963
mov ebp, dword [esp + 0x14]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x469920
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x469995
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x792465
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x792466
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x469970
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4699a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push dword [esp + 0x24]
call fcn.00436bc0
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x14], ebx
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x7a0050]
mov esi, eax
add esp, 8
test esi, esi
je 0x469b22
lea ecx, [esi + 0xc]
mov dword [esi], ebp
mov dword [esi + 4], ecx
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esi + 8], eax
push edi
lea edi, [ebp + 4]
cmp ebx, dword [ebp + 0x10]
jbe 0x469a22
mov eax, dword [ebp]
push ecx
call eax
mov eax, dword [esp + 0x28]
push ebx
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [esi + 8]
add eax, dword [ebp + 0xc]
push dword [esi + 4]
mov dword [esp + 0x38], eax
push eax
mov eax, dword [ebp + 8]
call eax
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov dword [esp + 0x14], eax
push dword [esi + 4]
mov eax, dword [ebp]
call eax
push dword [esi + 8]
mov eax, dword [ebp]
call eax
mov eax, dword [esp + 0x1c]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x469a93
mov ebp, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], eax
nop dword [eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x13], al
lea eax, [esp + 0x13]
push 1
push eax
push dword [esi + 4]
mov eax, dword [edi]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x1f], al
lea eax, [esp + 0x1f]
push 1
push eax
push dword [esi + 8]
mov eax, dword [edi]
call eax
add esp, 0x18
sub ebx, 1
jne 0x469a50
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
cmp ebx, dword [ebp + 0x10]
jae 0x469ac5
nop dword [eax + eax]
mov eax, dword [edi]
push 1
push 0x792465
push dword [esi + 4]
call eax
mov eax, dword [edi]
push 1
push 0x792466
push dword [esi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [ebp + 0x10]
jb 0x469aa0
push dword [esp + 0x30]
call fcn.00436bc0
mov ecx, dword [esi]
push eax
push dword [esp + 0x34]
push dword [esi + 4]
mov eax, dword [ecx + 4]
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [esi]
test edi, edi
jne 0x469af0
mov edi, dword [ebx + 0xc]
add edi, dword [esi + 8]
push dword [esi + 4]
mov eax, dword [ebx + 8]
push edi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push edi
push dword [esi + 8]
call eax
push dword [esi + 8]
mov eax, dword [ebx + 8]
push edi
call eax
push esi
call dword [0x7a0054]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0xc
ret
Function at 0x403ba0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.004019d0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x403bd6
jmp 0x403c0e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403bd3
cmp al, 9
je 0x403bd3
cmp al, 0x22
jne 0x403bf7
jmp 0x403c56
cmp al, 9
je 0x403c03
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x403bf0
jmp 0x403c03
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x403c00
cmp al, 9
je 0x403c00
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x403c1d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401460
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x403c62
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x403c52
cmp al, 0x22
jne 0x403c03
lea ebx, [edx + 2]
jmp 0x403c03
Function at 0x4078fb
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.00402d56
and dword [ebp - 4], 0
cmp dword [0x410b24], 0
mov ebx, eax
jne 0x4079ac
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407a5d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407a5d
push eax
call fcn.00402ce4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x410b24], eax
call esi
push eax
call fcn.00402ce4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x410b28], eax
call esi
push eax
call fcn.00402ce4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x410b2c], eax
call esi
push eax
call fcn.00402ce4
pop ecx
mov dword [0x410b34], eax
test eax, eax
je 0x4079ac
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402ce4
pop ecx
mov dword [0x410b30], eax
mov eax, dword [0x410b30]
cmp eax, ebx
je 0x407a04
cmp dword [0x410b34], ebx
je 0x407a04
push eax
call fcn.00402d5f
push dword [0x410b34]
mov esi, eax
call fcn.00402d5f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407a04
test edi, edi
je 0x407a04
call esi
test eax, eax
je 0x4079fb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4079fb
test byte [ebp - 0xc], 1
jne 0x407a04
or dword [ebp + 0x10], 0x200000
jmp 0x407a3d
mov eax, dword [0x410b28]
cmp eax, ebx
je 0x407a3d
push eax
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a3d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a3d
mov eax, dword [0x410b2c]
cmp eax, ebx
je 0x407a3d
push eax
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a3d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410b24]
call fcn.00402d5f
pop ecx
test eax, eax
je 0x407a5d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407a5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1a9652b8
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
mov eax, section..rsrc
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x772152a8
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402ff8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48d020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403090
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403070
xor eax, eax
push ebp
push 0x403069
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 0x4030ac
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 0x403070
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48d020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48d020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d54
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48f048], 0
je 0x403db5
cmp word [0x48f21c], 0xd7b2
jne 0x403d7d
cmp dword [0x48f224], 0
jbe 0x403d7d
mov eax, 0x48f218
call dword [0x48f234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48d06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403ddc
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48d030], 0
jne 0x403dd1
push 0
push 0x48d064
push 0x48d06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403f08
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.004026f8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48f049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403ed0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405ed0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405f36
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004041c4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bbc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f20
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f3d
lea eax, [ebp - 0x10]
call fcn.00403f54
ret

Function at 0x40b274
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 0x40b2ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404044
jmp 0x40b2b6
mov eax, ebx
mov edx, esi
call fcn.00403fa8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b2c0
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 0x40b2e1
mov al, byte [esp]
jmp 0x40b2e3
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b968
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b7e0
mov eax, dword [0x48ee64]
cmp byte [eax], 0
je 0x40b9e4
mov eax, dword [0x48ebf8]
call fcn.004029ec
call fcn.00402860
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408ad4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40ba2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba1a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48eba0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48f664]
call fcn.004053e4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c2a4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c37a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403fec
lea eax, [ebp - 8]
call fcn.00404464
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404414
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c364
mov eax, ebx
call fcn.004026f8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c35d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404414
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c347
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c38c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c347
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c364
mov eax, dword [ebp - 0x10]
call fcn.00402718
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c381
lea eax, [ebp - 8]
call fcn.00403f54
ret

Function at 0x40c88c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c8f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004041c4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040861c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8f7
lea eax, [ebp - 0xc]
call fcn.00403f54
ret

Function at 0x41a9a0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041a7cc
dec esi
jne 0x41a9c2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41bb04
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48f888
cmp dword [edi], 0
jne 0x41bb80
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48f884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48d408
mov ecx, 2
call fcn.004028f4
mov edx, 0x41badc
lea eax, [esi + 5]
call fcn.0041bafc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bafc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41bb55
mov dword [0x48f884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d13c
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 0x41d142
ret

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