joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043f9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.00415920
mov eax, dword [0x42d028]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
lea ecx, [eax + 2]
push esi
mov si, word [eax]
inc eax
inc eax
test si, si
jne 0x404416
push 0
push 0
sub eax, ecx
push 0x10000
sar eax, 1
lea ecx, [ebp - 0x10004]
push ecx
inc eax
push eax
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x10004]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40444d
push 0
lea ecx, [ebp - 0x10008]
push ecx
sub eax, esi
push eax
lea eax, [ebp - 0x10004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414f74
leave
ret
Function at 0x414f74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d028]
jne 0x414f7e
repz ret
jmp fcn.004154ae
Function at 0x10001280
Capabilities:
Authenticate hmac
Encode data using xor
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
mov esi, 0x40
lea ecx, [ebx + 0x2e0]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor al, 0x36
lea ecx, [ecx + 1]
mov byte [ecx - 0x41], al
movzx eax, byte [edx - 1]
xor al, 0x5c
mov byte [ecx - 1], al
sub esi, 1
jne 0x10001296
mov dword [ebx + 0x88], 0x6a09e667
lea edi, [ebx + 8]
mov dword [ebx + 0x8c], 0xbb67ae85
mov dword [ebx + 0x90], 0x3c6ef372
mov dword [ebx + 0x94], 0xa54ff53a
mov dword [ebx + 0x98], 0x510e527f
mov dword [ebx + 0x9c], 0x9b05688c
mov dword [ebx + 0xa0], 0x1f83d9ab
mov dword [ebx + 0xa4], 0x5be0cd19
mov dword [ebx + 4], esi
mov dword [ebx], esi
lea esi, [ebx + 0x2a0]
push 0x40
push esi
push edi
call fcn.10013210
mov eax, dword [ebx + 4]
add esp, 0xc
add eax, 0x40
cmp eax, 0x40
jae 0x1000132c
mov dword [ebx + 4], eax
jmp 0x10001353
push 1
mov edx, edi
mov ecx, ebx
call fcn.10001540
add esp, 4
lea edx, [esi + 0x40]
mov ecx, ebx
push 0
call fcn.10001540
add esp, 4
mov dword [ebx + 4], 0
add dword [ebx], 0x40
lea edi, [ebx + 0xa8]
mov ecx, 0x40
mov dword [edi + 0x88], 0x6a09e667
mov esi, ecx
mov dword [edi + 0x8c], 0xbb67ae85
mov dword [edi + 0x90], 0x3c6ef372
mov dword [edi + 0x94], 0xa54ff53a
mov dword [edi + 0x98], 0x510e527f
mov dword [edi + 0x9c], 0x9b05688c
mov dword [edi + 0xa0], 0x1f83d9ab
mov dword [edi + 0xa4], 0x5be0cd19
mov dword [edi + 4], 0
mov dword [edi], 0
mov eax, dword [edi + 4]
sub esi, eax
cmp esi, ecx
cmova esi, ecx
lea ecx, [ebx + 0x2e0]
push esi
add eax, 8
push ecx
add eax, edi
push eax
call fcn.10013210
mov eax, dword [edi + 4]
add esp, 0xc
add eax, 0x40
cmp eax, 0x40
jae 0x100013ed
mov dword [edi + 4], eax
jmp 0x10001462
mov eax, 0x40
lea ecx, [ebx + 0xa8]
sub eax, esi
add edi, 8
mov dword [ebp - 8], eax
mov edx, edi
shr eax, 6
mov dword [ebp - 4], eax
lea eax, [ebx + 0x2e0]
push 1
add esi, eax
call fcn.10001540
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0xa8]
add esp, 4
mov edx, esi
push eax
call fcn.10001540
mov eax, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp - 8]
shl eax, 6
and ecx, 0x3f
mov dword [ebp - 4], eax
add eax, esi
push ecx
push eax
push edi
mov dword [ebp - 8], ecx
call fcn.10013210
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [ebx + 0xac], eax
mov eax, dword [ebp - 4]
add eax, 0x40
add dword [ebx + 0xa8], eax
lea edi, [ebx + 0x150]
mov esi, ebx
mov ecx, 0x2a
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x1f8]
mov ecx, 0x2a
lea esi, [ebx + 0xa8]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001540
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
cmp dword [ebp + 8], 0
mov dword [ebp - 0x28], ecx
jle 0x1000172b
push ebx
push esi
lea eax, [edx + 2]
push edi
nop dword [eax]
xor esi, esi
movzx edx, byte [eax - 2]
movzx ecx, byte [eax - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add eax, 4
or edx, ecx
mov dword [ebp + esi*4 - 0x130], edx
inc esi
cmp esi, 0x10
jl 0x10001562
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0xf8]
mov eax, 0x30
nop
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov esi, dword [ebx - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [ebx - 0x3c]
add edi, dword [ebx - 0x18]
mov dword [ebx + 4], edi
sub eax, 1
jne 0x100015a0
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov eax, dword [ebx + 0x88]
mov esi, eax
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x90]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebx + 0x98]
mov ebx, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], ecx
mov edi, ebx
ror esi, 0xd
ror edi, 0xb
mov ecx, ebx
rol ecx, 7
mov edx, ebx
xor edi, ecx
not edx
and edx, dword [ebp - 0x10]
mov ecx, ebx
ror ecx, 6
xor edi, ecx
mov ecx, dword [ebp - 0xc]
and ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0x18]
add edi, edx
add edi, dword [ecx + 0x10018458]
add edi, dword [ebp + ecx - 0x130]
mov ecx, dword [ebp - 8]
add edi, dword [ebp - 0x24]
rol ecx, 0xa
xor esi, ecx
mov ecx, dword [ebp - 8]
ror ecx, 2
xor esi, ecx
mov ecx, dword [ebp - 0x14]
mov edx, ecx
and ecx, dword [ebp - 4]
xor edx, dword [ebp - 4]
and edx, dword [ebp - 8]
xor edx, ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
add esi, edx
mov ecx, dword [ebp - 0xc]
add esi, edi
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
add ebx, edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], ecx
cmp ecx, 0x100
jl 0x10001636
mov ecx, dword [ebp - 0x30]
add ecx, esi
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp - 4]
add dword [ebx + 0x90], ecx
mov ecx, dword [ebp - 0x1c]
add dword [ebx + 0x94], ecx
mov ecx, dword [ebp - 0x20]
add dword [ebx + 0x98], ecx
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0x9c], ecx
mov ecx, dword [ebp - 0x10]
add dword [ebx + 0xa0], ecx
mov ecx, dword [ebp - 0x24]
add dword [ebx + 0x8c], edx
add dword [ebx + 0xa4], ecx
sub dword [ebp + 8], 1
jne 0x10001560
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10002450
Capabilities:
Contain obfuscated stackstrings

Disassembly:
clc
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 0x1000245a
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.1000216c
jp 0x10002438
aaa
into
lea eax, [ebp - 0x40]
push eax
call fcn.1000217c
push eax
push esi
push dword [ebp + 8]
call fcn.10002131
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.1000216c
fadd st(4)
and dh, byte [eax - 0x7717ba73]
pop ebp
call 0xf95dad2d
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
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.1000217c
push eax
push esi
push dword [ebp + 8]
call fcn.10002131
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
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
invalid
Function at 0x10002890
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
inc edi
push es
jne 0x10002843
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10002861
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100028bf
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100028a6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100028af
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100028b9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000289b
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10002825
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000290c
dec eax
je 0x10002903
sub eax, 3
je 0x100028fa
invalid
mov dword [ebp - 4], 0x40
jmp 0x10002929
mov dword [ebp - 4], 4
jmp 0x1000290f
mov dword [ebp - 4], 0x20
jmp 0x1000290f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000295b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x100028db
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000216c
aas
outsb dx, byte [esi]
fidivr dword [ebp - 1]
jne 0x10002966
push 1
push esi
call edi
mov eax, esi
jmp 0x10002967
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417ed0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x5fe030]
mov dword [esp + 4], 0
lea ecx, [eax + eax]
mov eax, dword [0x5fe034]
or ecx, eax
mov dword [esp], ecx
fild qword [esp]
fadd qword [0x5fe058]
fstp qword [0x5fe058]
call fcn.00417e10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
cmp ecx, 5
mov eax, edx
jne 0x417f2f
cmp eax, 1
jae 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
ja 0x417f3f
mov dword [0x600fc8], 0x409
add esp, 8
ret
mov dword [0x600fc8], 0x7f
add esp, 8
ret

Function at 0x5f06aa
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
pop edx
imul ebp, dword [ecx - 0x23], 0x21b751e5
sub dword [edx - 0xe], edi
mov al, byte es:[0xc4e7a6f0]
xor eax, 0x2aa824d9
pop esp
inc edi
jo 0x5f070e
scasd eax, dword es:[edi]
enter 0xffffffffffffc55f, 0xffffffffffffff85
shl dword [edx], 1
pop ss
xor esi, dword [esi + 0x36]
invalid
or al, 0x3d
add al, byte [ebp - 0x2318499f]
adc ch, byte [bx + di - 0x79]
rol dword [esp + ebp - 0x70], cl
sbb dword [edx + 0x12696de5], ebp
popfd
xor al, dl
xchg ebp, eax
or dl, byte [0x5c13b00e]
push cs
mov al, 0x13
pop esp
fmul dword [edi + 0x72]
mov dh, 0x5b
sub al, 0x57
xor byte [ecx + 0x2b8342a3], dl
rcr dword [ebx], cl
xor byte [esi - 0x5bb8e008], 0x1e
js 0x5f06f2
scasb al, byte es:[edi]
cmp eax, 0xbcd8f83f
adc dword [edx + 0x14b31906], ebx
out dx, al
sub dword [esi + 0x78ea4cdf], esp
xor dl, al
adc ch, byte [eax + 0x7e]
aam 0xcb
mov cl, byte [ebx]
stosb byte es:[edi], al
inc ebp
adc edi, ebp
dec edx
int3
Function at 0x5f5b09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x5fe3a0
cmp edx, dword [eax]
je 0x5f5b2b
add eax, 8
inc ecx
cmp eax, 0x5fe430
jl 0x5f5b1c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x5fe3a0]
jne 0x5f5c59
mov eax, dword [0x605d3c]
cmp eax, 1
je 0x5f5c33
test eax, eax
jne 0x5f5b5c
cmp dword [0x5fe2c8], 1
je 0x5f5c33
cmp edx, 0xfc
je 0x5f5c59
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5f5b93
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.005f64f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.005f6980
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x5f5bd6
lea eax, [ebp - 0x1a4]
push eax
call fcn.005f6980
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x5fab84
push edi
call fcn.005f8850
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.005f64f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.005f6500
lea eax, [ebp - 0xa0]
push 0x5fab64
push eax
call fcn.005f6500
push dword [esi + 0x5fe3a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.005f6500
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.005f87c4
add esp, 0x2c
pop edi
jmp 0x5f5c59
lea eax, [ebp + 8]
lea esi, [esi + 0x5fe3a4]
push 0
push eax
push dword [esi]
call fcn.005f6980
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x43f66fa5
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x66f47355
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40115b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401192
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x40118e
jmp 0x401180
cmp esi, eax
jae 0x401192
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401180
cmp esi, eax
jb 0x401199
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4017c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524d11
mov eax, dword fs:[0]
push eax
mov eax, 0x821c
call fcn.00504370
mov eax, dword [0x56fae0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x8224]
push eax
mov esi, ecx
mov dword [ebp - 0x8224], 8
mov dword [ebp - 0x8220], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00405cb6
xor edi, edi
push edi
call fcn.004067e2
push 0xc
call fcn.004034b9
add esp, 8
mov dword [ebp - 0x8228], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x401843
mov ecx, eax
call fcn.00406f9d
mov edi, eax
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0040712c
push 0
push 0x66
lea ecx, [ebp - 0x821c]
call fcn.0040c4b1
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x84]
mov dword [ebp - method.CDialogEx.virtual_0], 0x550064
call fcn.0040e268
mov dword [ebp - 0x84], vtable.CStatic.0
mov byte [ebp - 4], 2
call fcn.00413f5e
call fcn.00413f5e
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x8164], eax
lea ecx, [ebp - 0x821c]
mov dword [ebp - 4], 3
mov dword [esi + 0x20], ecx
call fcn.0040806c
test edi, edi
je 0x4018d2
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 4
call fcn.0040839a
lea ecx, [ebp - 0x8170]
mov dword [ebp - 4], 6
call fcn.0040a1cb
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x817c]
mov dword [ebp - method.CBrush.virtual_0], vtable.CBrush.0
call fcn.00401be0
lea ecx, [ebp - 0x821c]
mov dword [ebp - 4], 0xffffffff
call fcn.004078d2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005021d0
mov esp, ebp
pop ebp
ret
Function at 0x402c20
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
lea ebx, [esi + 0xd6]
push edi
mov byte [ebx], 0
mov word [esi + 0xd7], 0x3cb
mov edi, 3
lea esp, [esp]
call fcn.005029ff
mov byte [ebx + edi], al
inc edi
cmp edi, 0x41
jb 0x402c40
mov ecx, dword [esi + 0xc4]
push 0
lea eax, [esi + 0xcc]
push eax
push 0x41
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop ebx
test eax, eax
jne 0x402c70
xor eax, eax
ret
mov ecx, dword [esi + 0xc4]
push 0
lea edx, [esi + 0xd0]
push edx
push 0x41
lea eax, [esi + 0x117]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402c6d
movzx edx, byte [esi + 0x118]
movzx eax, byte [esi + 0x119]
movzx ecx, byte [esi + 0x11a]
mov byte [esi + 0x8178], dl
movzx edx, byte [esi + 0x11b]
mov byte [esi + 0x8179], al
movzx eax, byte [esi + 0x11c]
mov byte [esi + 0x817a], cl
movzx ecx, byte [esi + 0x11d]
mov byte [esi + 0x817b], dl
movzx edx, byte [esi + 0x11e]
mov byte [esi + 0x817c], al
movzx eax, byte [esi + 0x11f]
mov byte [esi + 0x817d], cl
movzx ecx, byte [esi + 0x120]
mov byte [esi + 0x817e], dl
movzx edx, byte [esi + 0x121]
mov byte [esi + 0x817f], al
movzx eax, byte [esi + 0x122]
mov byte [esi + 0x8180], cl
movzx ecx, byte [esi + 0x123]
mov byte [esi + 0x8181], dl
movzx edx, byte [esi + 0x124]
mov byte [esi + 0x8182], al
movzx eax, byte [esi + 0x125]
mov byte [esi + 0x8183], cl
movzx ecx, byte [esi + 0x126]
mov byte [esi + 0x8184], dl
movzx edx, byte [esi + 0x127]
mov byte [esi + 0x8185], al
mov byte [esi + 0x8186], cl
mov byte [esi + 0x8187], dl
mov eax, 1
ret

Function at 0x4053d4
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x56fae0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x40541c
push 0x5281e0
push 4
push eax
call fcn.00503977
push eax
call fcn.004034fe
add esp, 0x10
jmp 0x405432
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4054b5
push edi
call fcn.0050392e
mov edi, dword [eax]
call fcn.0050392e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00503b97
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0050392e
cmp dword [eax], 0
je 0x405489
call fcn.0050392e
push dword [eax]
call fcn.0040452e
pop ecx
jmp 0x405490
call fcn.0050392e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x4054b5
cmp dword [ebp - 0x11c], esi
jae 0x4054b5
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4054b7
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005021d0
leave
ret
Function at 0x4054c4
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x56fae0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.004052bf
pop ecx
cmp eax, esi
je 0x4055ae
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4055ae
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00503da0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4055ae
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4055ae
cmp esi, 0x14
jge 0x4055ae
push 0x10
push 0
push edi
call fcn.00503d7a
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40559d
call fcn.0050392e
cmp dword [eax], 0x22
je 0x40559d
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00502df9
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x405573
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x57912c], 0
jne 0x405639
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x405662
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004053d4
pop ecx
pop ecx
test eax, eax
jne 0x405664
inc edi
cmp edi, esi
jl 0x40563f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005021d0
leave
ret 8