joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x422062
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422069
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422058
mov eax, 1
add ebx, ebx
jne 0x42207b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422070
jne 0x42208c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422070
xor ecx, ecx
sub eax, 3
jb 0x4220a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x422112
mov ebp, eax
add ebx, ebx
jne 0x4220ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4220b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4220dc
inc ecx
add ebx, ebx
jne 0x4220c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4220bd
jne 0x4220d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4220bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4220fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4220ed
jmp 0x42205e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4220fc
add edi, ecx
jmp 0x42205e
pop esi
mov edi, esi
mov ecx, 0x810
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42211a
cmp byte [edi], 0xd
jne 0x42211a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x42211f
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422197
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23c48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42214c
mov ecx, edi
jns 0x42217b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23c4c]
or eax, eax
je 0x422191
mov dword [ebx], eax
add ebx, 4
jmp 0x422169
call dword [esi + 0x23c50]
popal
jmp section.UPX0
Function at 0x4046a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
sub esp, 4
mov dword [esp], eax
mov eax, dword [0x4324b3]
test eax, eax
je 0x4046bc
cmp dword [0x432357], 0xfffffffe
jne 0x4046c2
xor eax, eax
add esp, 4
pop edx
pop ecx
ret
mov eax, esp
call fcn.00404650
test eax, eax
je 0x4046bc
push 0x40
push 0x1000
mov ecx, dword [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, eax
test eax, eax
je 0x4046bc
mov eax, dword [esp]
sub eax, 4
cmp eax, dword [esp]
ja 0x4046ba
mov dword [esp], eax
cmp eax, 0x38
jb 0x4046ba
mov dword [edx], eax
mov eax, edx
call fcn.004045d0
mov ecx, eax
mov eax, dword [eax]
mov dword [esp], eax
or al, 1
mov dword [ecx], eax
mov dword [edx + 0x14], 0
lea eax, [ecx + 4]
inc dword [edx + 0x18]
call fcn.00402b10
mov eax, 1
add esp, 4
pop edx
pop ecx
ret

Function at 0x405420
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push esi
push edi
sub esp, 8
mov esi, eax
mov edi, edx
xor edx, edx
mov ecx, eax
inc eax
cmp byte [ecx], 0
je 0x405437
inc edx
jmp 0x40542c
push 0
lea eax, [esp + 4]
push eax
push edx
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 4]
push eax
push 2
lea eax, [esp + 0x10]
push eax
push 0xfffffffffffffff4
mov word [esp + 0x18], 0xa0d
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, edi
jmp 0x4023d0

Function at 0x408945
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x4085d8
sub ecx, esi
mov ecx, 0xd85ec5d7
call fcn.00408978
sub esi, 0x49a0a00e
xor dword [eax], edi
mov ecx, 0x7388d342
inc eax
push esi
pop esi
cmp eax, ebx
jne fcn.00408945
add ecx, 0x2a4f50c
ret
Function at 0x403016
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x40aa31
call fcn.0040943e
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
and dword [ebp - 4], 0
lea eax, [ebp - 0xd]
push eax
call dword [sym.imp.hcreg9.dll_IsACADApp]
test eax, eax
pop ecx
je 0x403042
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00402d16
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push dword [ebp - 0x14]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4030d4
cmp byte [ebp - 0xd], al
mov dword [ebp - 0x1c], 0x208
mov eax, str.AcadLocation
jne 0x403098
mov eax, str.Location
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
push ecx
push 0
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4030d4
cmp dword [ebp - 0x20], 1
jne 0x4030d4
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
jmp 0x4030df
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
xor eax, eax
call fcn.004094dd
ret 8

Function at 0x4075cb
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x41208c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
push esi
lea esi, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x4075ea
sub eax, esi
lea edx, [ebp - 0x20c]
sar eax, 1
sub edx, ecx
movzx esi, word [ecx]
mov word [edx + ecx], si
inc ecx
inc ecx
test si, si
jne 0x407600
and word [ebp + eax*2 - 0x20e], si
push 0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.MSVCR80.dll__wsplitpath]
add esp, 0x14
cmp word [ebp - 0x414], si
je 0x40764f
lea eax, [ebp - 0x414]
push eax
mov ecx, ebx
call fcn.004075cb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCR80.dll__wmkdir]
pop ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00409267
leave
ret 4
Function at 0x409267
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41208c]
jne 0x409271
repz ret
jmp fcn.00409788
Function at 0x401000
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x5c
push 0
push esi
call fcn.00463358
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x58], 0
pop esi
pop ebp
ret
Function at 0x401df0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x14]
xor edx, edx
bswap eax
bswap ecx
sub esi, edi
jmp 0x401e10
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x14]
bswap edi
mov dword [ebp + edx*4 - 0x14], edi
add edx, 1
cmp edx, 4
jl 0x401e10
xor edx, edx
mov dword [ebp - 4], 0x10
mov edi, edi
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x14]
sub edx, 0x61c88647
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
add eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
add ecx, esi
sub dword [ebp - 4], 1
jne 0x401e30
mov edx, dword [ebp + 0xc]
bswap eax
bswap ecx
pop edi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401e80
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x14]
xor edx, edx
bswap ecx
bswap eax
sub esi, edi
jmp 0x401ea0
lea edi, [esi + edx*4]
mov edi, dword [ebp + edi - 0x14]
bswap edi
mov dword [ebp + edx*4 - 0x14], edi
add edx, 1
cmp edx, 4
jl 0x401ea0
mov edx, 0xe3779b90
mov dword [ebp - 4], 0x10
mov esi, ecx
shr esi, 5
add esi, dword [ebp - 8]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 0x10]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
sub dword [ebp - 4], 1
jne 0x401ec1
mov edx, dword [ebp + 0xc]
bswap ecx
bswap eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402be0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x402beb
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.00402c00
Function at 0x402c00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x402c32
lea esp, [esp]
test cl, 3
je 0x402c32
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x48f840]
add ecx, 1
sub esi, 1
jne 0x402c10
cmp esi, 0x20
push ebx
push edi
jb 0x402e1c
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48fc40]
xor edx, dword [ebx*4 + 0x490040]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48f840]
add ecx, 4
xor edx, dword [eax*4 + 0x490440]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48fc40]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490040]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48f840]
add ecx, 4
xor eax, dword [edx*4 + 0x490440]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48fc40]
xor edx, dword [ebx*4 + 0x490040]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48f840]
xor edx, dword [eax*4 + 0x490440]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48fc40]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490040]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48f840]
xor eax, dword [edx*4 + 0x490440]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48fc40]
xor edx, dword [ebx*4 + 0x490040]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48f840]
xor edx, dword [eax*4 + 0x490440]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48fc40]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490040]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48f840]
and edx, 0xff
xor eax, dword [edx*4 + 0x490440]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x48fc40]
xor edx, dword [ebx*4 + 0x490040]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x48f840]
add ecx, 4
xor edx, dword [eax*4 + 0x490440]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x48fc40]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x490040]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x48f840]
and edx, 0xff
xor eax, dword [edx*4 + 0x490440]
sub edi, 1
jne 0x402c42
cmp esi, 4
jb 0x402e69
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x48fc40]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x490040]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x48f840]
and eax, 0xff
xor edi, dword [eax*4 + 0x490440]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x402e26
test esi, esi
pop edi
pop ebx
je 0x402e8d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x48f840]
add ecx, 1
sub esi, 1
jne 0x402e70
not eax
pop esi
ret
Function at 0x40e089
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x46494c
call fcn.0046320f
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0045d5c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov dword [esp], 0x473a40
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409f29
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [0x4714a0]
mov esi, dword [0x471d28]
push eax
call esi
test eax, eax
je 0x40e0de
push 0x472acc
jmp 0x40e12a
push 0x473a30
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00409f29
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [0x471498]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [0x471494]
lea ecx, [ebp - 0x10]
call dword [0x4714a0]
push eax
call esi
test eax, eax
je 0x40e125
push 0x472b04
jmp 0x40e12a
push 0x472700
mov ecx, dword [ebp + 8]
call dword [0x4714c4]
lea ecx, [ebp - 0x10]
call dword [0x471494]
lea ecx, [ebp - 0x14]
call dword [0x471494]
mov eax, dword [ebp + 8]
call fcn.004632e7
ret 4
Function at 0x428154
Capabilities:
Get session user name

Disassembly:
push 8
mov eax, 0x468bb5
call fcn.0046320f
xor ebx, ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov esi, dword [0x471010]
push eax
push ebx
mov dword [ebp - 0x10], ebx
call esi
test eax, eax
je 0x428189
mov ecx, dword [ebp + 8]
push 0x491e6b
call dword [0x4715f8]
jmp 0x428205
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x10], eax
jae 0x428194
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
call dword [0x471490]
mov eax, dword [ebp - 0x10]
inc eax
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [0x4714bc]
mov edi, eax
mov eax, dword [ebp - 0x10]
lea eax, [eax + eax + 2]
push eax
push ebx
push edi
call fcn.00463358
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
call esi
test eax, eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
jne 0x4281e9
call dword [0x4714b8]
mov ecx, dword [ebp + 8]
push 0x491e6b
call dword [0x4715f8]
jmp 0x4281fc
call dword [0x4714b8]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [0x4714a8]
lea ecx, [ebp - 0x14]
call dword [0x471494]
mov eax, dword [ebp + 8]
call fcn.004632e7
ret 8

Function at 0x4289e2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4ab368]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x108], eax
call dword [0x471c68]
mov esi, dword [0x471c6c]
xor edi, edi
push edi
push edi
push ebx
call esi
push edi
push edi
push dword [ebp - 0x108]
call esi
push 0xff
lea eax, [ebp - 0x103]
push edi
push eax
mov byte [ebp - 0x104], 0
call fcn.00463358
mov esi, dword [0x471c64]
push ebx
mov edi, pe_nt_image_headers32
push edi
lea eax, [ebp - 0x104]
push 1
push eax
call esi
add esp, 0x38
jmp 0x428a7e
push dword [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push 1
push eax
call dword [0x471c88]
push ebx
push edi
lea eax, [ebp - 0x104]
push 1
push eax
call esi
add esp, 0x20
test eax, eax
jg 0x428a58
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00463200
leave
ret 8

Function at 0x428e51
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.00428d90
push dword [ebp + 8]
mov ecx, esi
call fcn.00428d61
push 0
push dword [esi + 0x1c]
call fcn.00463f08
test eax, eax
mov dword [esi + 8], eax
jne 0x428e7b
xor eax, eax
jmp 0x428ec3
push eax
call fcn.004623c0
test eax, eax
pop ecx
mov dword [esi + 0xc], eax
je 0x428e77
push eax
push dword [esi + 8]
push 0
push dword [esi + 0x1c]
call fcn.00463f02
test eax, eax
jne 0x428ea4
mov ecx, esi
call fcn.00428d90
jmp 0x428e77
lea eax, [esi + 0x14]
push eax
lea eax, [esi + 0x10]
push eax
push 0x47e5b8
push dword [esi + 0xc]
call fcn.00463efc
test eax, eax
je 0x428e9b
xor eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x42e932
Capabilities:
Read file on windows

Disassembly:
push 0x4c
mov eax, 0x4694d7
call fcn.00463278
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
push 0x47764c
push eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x58], edi
call dword [0x471c70]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x54], esi
jne 0x42e9be
cmp dword [ebp - 0x44], ebx
je 0x42e9b7
xor eax, eax
lea edi, [ebp - 0x40]
stosb byte es:[edi], al
call dword [0x471ca8]
push 0xffffffffffffffff
push dword [eax]
call dword [0x471ca4]
pop ecx
push eax
push dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.AuCommon.dll_public:_void___thiscall_CTXStringW::constructor_struct_tagEN__char_const___int_]
mov ecx, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.AuCommon.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, dword [ebp - 0x44]
push eax
call dword [0x4714e8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.AuCommon.dll_public:_void___thiscall_CTXStringW::destructor_void_]
xor al, al
jmp 0x42eaa0
cmp edi, ebx
je 0x42e9c9
mov eax, dword [edi]
mov dword [ebp - 0x40], eax
jmp 0x42e9cc
mov dword [ebp - 0x40], ebx
push 9
mov word [ebp - 0x38], bx
pop ecx
xor eax, eax
lea edi, [ebp - 0x36]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x4c]
stosw word es:[edi], ax
call dword [0x471964]
mov edi, dword [0x471c6c]
push 2
push ebx
push esi
call edi
push esi
call dword [0x471c68]
push ebx
push ebx
push esi
mov dword [ebp - 0x3c], eax
call edi
mov edi, dword [ebp - 0x3c]
add esp, 0x1c
cmp edi, ebx
mov dword [ebp - 0x50], ebx
je 0x42ea6a
push edi
call fcn.004623c0
push esi
push 1
push edi
push eax
mov dword [ebp - 0x48], eax
call dword [0x471c64]
mov esi, dword [0x471264]
add esp, 0x14
push ebx
push ebx
push edi
push dword [ebp - 0x48]
mov edi, 0xfde9
push ebx
push edi
call esi
mov ecx, dword [ebp - 0x4c]
push eax
push eax
mov dword [ebp - 0x50], eax
call dword [0x4714bc]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push ebx
push edi
call esi
push dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
call dword [0x4714b8]
push dword [ebp - 0x48]
call fcn.004623ba
mov esi, dword [ebp - 0x54]
pop ecx
cmp dword [ebp - 0x44], ebx
je 0x42ea8a
push dword [ebp - 0x50]
lea eax, [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
push str._s_d_bytes_to__d_wide_chars
push dword [ebp - 0x44]
call dword [0x47149c]
add esp, 0x14
push esi
call dword [0x471c60]
mov eax, dword [ebp - 0x58]
cmp eax, ebx
pop ecx
je 0x42ea9e
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov al, 1
call fcn.004632fb
ret
Function at 0x43383c
Capabilities:
Read file on windows

Disassembly:
push 0x20c
mov eax, 0x469bc5
call fcn.00463278
push 0x1ff
lea eax, [ebp - 0x20f]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x210], 0
call fcn.00463358
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add esp, 0xc
cmp ecx, eax
jae 0x43391e
lea edx, [ecx + 0x200]
cmp edx, eax
ja 0x43388e
mov dword [ebp - 0x214], 0x200
jmp 0x433896
sub eax, ecx
mov dword [ebp - 0x214], eax
push dword [esi + 0x38]
lea eax, [ebp - 0x210]
push dword [ebp - 0x214]
push 1
push eax
call dword [0x471c64]
add esp, 0x10
push eax
lea eax, [ebp - 0x210]
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call dword [0x471b68]
lea ebx, [esi + 0x30]
mov ecx, ebx
call dword [0x471964]
push dword [esi + 0x28]
mov ecx, edi
call dword [0x471b8c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.AuCommon.dll_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_]
add esp, 0xc
and dword [ebp - 4], 0
mov ecx, eax
call dword [sym.imp.AuCommon.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
mov ecx, ebx
call dword [0x4714e8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x218]
call dword [sym.imp.AuCommon.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, dword [ebp - 0x214]
add dword [esi + 8], eax
xor eax, eax
inc eax
jmp 0x433920
xor eax, eax
call fcn.004632fb
ret

Function at 0x436c55
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x30], 0
jne 0x436c68
cmp dword [esi + 0x2c], 0
jne 0x436c68
xor eax, eax
pop esi
ret
push edi
call fcn.0045d370
mov edi, eax
test edi, edi
je 0x436c95
push esi
call fcn.00436b81
push eax
mov ecx, edi
call fcn.0045cf50
test eax, eax
je 0x436c95
push dword [esi + 0x30]
mov ecx, edi
push esi
call fcn.0045d0b0
test eax, eax
jne 0x436c9a
pop edi
xor eax, eax
pop esi
ret
pop edi
mov ecx, esi
pop esi
jmp 0x45c0a0
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x45c0af
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 8]
push edi
mov edi, dword [0x4712c4]
push eax
call edi
mov ecx, dword [esi + 0x14]
push ecx
call edi
lea edx, [esp + 8]
push edx
push 0
push esi
push 0x45c060
push 0
push 0
mov dword [esp + 0x20], 0
call dword [0x471ce0]
add esp, 0x18
test eax, eax
jg 0x45c0ee
pop edi
xor eax, eax
pop esi
pop ecx
ret
cmp dword [esi + 0xc], 0
mov dword [esi + 4], eax
je 0x45c100
push 0xfffffffffffffff1
push eax
call dword [0x4712c0]
mov eax, dword [esi + 0x10]
push ebx
push 0xffffffffffffffff
push eax
call dword [0x47134c]
mov ecx, dword [esi + 0x10]
push ecx
mov ebx, eax
call edi
xor eax, eax
test ebx, ebx
pop ebx
pop edi
sete al
pop esi
pop ecx
ret
Function at 0x438399
Capabilities:
Write file on windows

Disassembly:
push 0xc
mov eax, 0x46a2af
call fcn.0046320f
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xec], edi
jne 0x4383b8
xor eax, eax
jmp 0x4384c8
lea eax, [ebp - 0x18]
push eax
call fcn.0045f600
mov dword [esp], str.aueula.htm
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], edi
call fcn.00409f29
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [0x471494]
lea ecx, [ebp - 0x14]
call dword [0x4714a0]
push eax
call fcn.0045e210
test eax, eax
pop ecx
jne 0x43849e
push 0x47e748
lea ecx, [ebp - 0x14]
call dword [0x4714a0]
push eax
call dword [0x471c70]
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
je 0x43849e
lea ecx, [ebp - 0x10]
call dword [0x471490]
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 3
call dword [0x4714a0]
push eax
lea ecx, [esi + 0xf4]
call dword [0x4714a0]
push eax
lea eax, [ebp - 0x10]
push str._body_oncontextmenu_return_false____r_n_div_id__s____div__r_n_div_id__s____div__r_n__body__r_n
push eax
call dword [0x47149c]
add esp, 0x10
lea ecx, [ebp - 0x10]
call dword [0x4714c0]
mov edi, eax
push edi
lea ecx, [ebp - 0x10]
call dword [0x4714bc]
push ebx
lea ecx, [edi + edi]
push ecx
push 1
push eax
call dword [0x471c88]
add esp, 0x10
push edi
lea ecx, [ebp - 0x10]
call dword [0x4714b8]
push ebx
call dword [0x471c60]
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [0x471494]
xor edi, edi
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x14]
call dword [0x4714a0]
push eax
mov ecx, esi
call fcn.00462cb4
xor edi, edi
inc edi
lea ecx, [ebp - 0x14]
mov dword [esi + 0x104], edi
call dword [0x471494]
mov eax, edi
call fcn.004632e7
ret