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

Disassembly:
push 0x38
mov eax, 0x1006461b
call fcn.1004ba40
mov esi, ecx
mov ecx, dword [esi + 0x3c]
xor ebx, ebx
cmp ecx, ebx
je 0x1002ede0
push dword [ebp + 8]
call fcn.1004815e
mov ecx, dword [ebp + 8]
call fcn.10023c3c
push eax
call dword [0x100682b0]
cmp dword [esi + 0x74], ebx
jne 0x1002f026
lea ecx, [ebp - 0x34]
call fcn.10023bb6
mov dword [ebp - 4], ebx
cmp dword [esi + 0x78], ebx
je 0x1002ee53
lea eax, [esi + 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.10024c62
call dword [0x10068144]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
call fcn.10024b6f
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10023c3c
push eax
push str.THREADID
lea ecx, [ebp - 0x34]
call fcn.10023d84
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.100244d6
jmp 0x1002ef1f
mov eax, dword [esi + 0xec]
cmp eax, 0x3e8
jge 0x1002ee72
inc eax
mov dword [esi + 0xec], eax
lea eax, [esi + 0x50]
lea ecx, [ebp - 0x34]
jmp 0x1002ef19
inc dword [esi + 0xf0]
lea edi, [esi + 0x60]
mov ecx, edi
mov dword [esi + 0xec], 1
call fcn.10049b3e
sub eax, 4
push eax
push ebx
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.10024ff2
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10024c62
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.100244d6
push 0x1006a61c
lea ecx, [ebp - 0x34]
call fcn.10024cb0
push dword [esi + 0xf0]
lea ecx, [ebp - 0x34]
call fcn.10024cc2
push 0x1006a618
lea ecx, [ebp - 0x34]
call fcn.10024cb0
push 4
mov ecx, edi
call fcn.10049b3e
sub eax, 4
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.10024ff2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10023c3c
push eax
lea ecx, [ebp - 0x34]
call fcn.10024cb0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.100244d6
lea eax, [ebp - 0x34]
lea ecx, [esi + 0x50]
push eax
call fcn.10024c62
lea ecx, [ebp - 0x34]
call fcn.10023d5b
test eax, eax
jne 0x1002f01a
mov ecx, dword [ebp + 8]
push 0xfde9
lea eax, [ebp - 0x24]
push eax
call fcn.10024509
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1002d530
lea ecx, [ebp - 0x34]
mov dword [ebp + 8], ebx
mov byte [ebp - 4], 6
call fcn.10023c3c
push 0x1006f770
push eax
call fcn.1004f6ee
mov edi, eax
pop ecx
pop ecx
mov dword [ebp + 8], edi
cmp edi, ebx
je 0x1002efdc
push 2
push ebx
push edi
call fcn.1004f5a3
push edi
call fcn.1004f4ab
add esp, 0x10
cmp eax, dword [esi + 0x70]
jl 0x1002efb3
push edi
call fcn.1004f292
pop ecx
lea ecx, [ebp - 0x34]
mov dword [ebp + 8], ebx
call fcn.10023c3c
push 0x1006f76c
push eax
call fcn.1004f6ee
pop ecx
pop ecx
mov edi, eax
mov dword [ebp + 8], eax
cmp edi, ebx
je 0x1002efdc
lea ecx, [ebp - 0x24]
call fcn.1002d3e9
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.1002d401
push edi
push 1
push esi
push eax
call fcn.1004f199
push edi
call fcn.1004f292
add esp, 0x14
mov dword [ebp - 4], 5
jmp 0x1002f003
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.1002d54d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.1002d9cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100244d6
call fcn.1004bae5
ret 4
Function at 0x100315e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
cmp dword [0x1008a440], ebx
jne 0x10031643
cmp dword [ebp + 0xc], ebx
je 0x10031643
cmp dword [ebp + 0x10], ebx
je 0x10031643
cmp dword [ebp + 0x14], ebx
je 0x10031643
cmp dword [ebp + 8], ebx
je 0x10031643
push 0x30
push dword [ebp + 0x14]
push dword [ebp + 8]
call fcn.1004f628
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x10031643
push edi
push esi
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.1004f199
push esi
mov edi, eax
call fcn.1004fbd2
push esi
call fcn.1004f292
add esp, 0x18
xor eax, eax
cmp edi, ebx
setg al
pop edi
jmp 0x10031645
xor eax, eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x1003c878
Capabilities:
Create thread

Disassembly:
push 0
mov eax, 0x10065e5e
call fcn.1004ba0d
mov esi, ecx
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1003c915
cmp dword [ebp + 0xc], 0xffffffff
jne 0x1003c8aa
push dword [ebp + 8]
push edi
push 0x1003c5b4
call fcn.1004c8fc
add esp, 0xc
jmp 0x1003c915
push dword [ebp + 0xc]
mov eax, dword [esi]
push dword [ebp + 8]
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
cmp dword [ebp + 0xc], eax
ja 0x1003c915
lea eax, [esi + 0x90]
push eax
lea ecx, [ebp + 8]
call fcn.1002d530
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x34]
mov dword [ebp - 4], edi
jge 0x1003c909
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 0xffffffff
je 0x1003c909
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x1003c7da
push edi
push edi
call dword [0x10068128]
inc dword [esi + 0x30]
push eax
push dword [ebp + 0xc]
lea ecx, [esi + 0x38]
mov edx, dword [ecx]
call dword [edx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.1002d54d
call fcn.1004bae5
ret 8
Function at 0x1003cd67
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x7804]
mov eax, 0x7804
call fcn.1004e470
push 0xffffffffffffffff
push 0x10065ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100884a0]
xor eax, ebp
mov dword [ebp + 0x7800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x780c]
mov ebx, dword [ebp + 0x7810]
mov edi, dword [ebp + 0x7814]
mov esi, dword [ebp + 0x7818]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x781c]
mov ecx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], 1
call fcn.10023d5b
test eax, eax
je 0x1003cde5
xor eax, eax
jmp 0x1003ce56
and dword [ebp - 0x18], 0
and dword [ebp - 4], 0
mov ecx, esi
call fcn.10049b3e
mov ecx, esi
mov dword [ebp - 0x28], eax
call fcn.10023c3c
mov ecx, dword [ebp - 0x24]
mov esi, eax
call fcn.10023c3c
push 0
push 0x800
push dword [ebp - 0x28]
push esi
push eax
push edi
call dword [0x10068504]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1003ce7b
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x1003ce31
call dword [0x10068150]
mov dword [esi], eax
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
je 0x1003ce44
push dword [ebp - 0x18]
call dword [0x10068508]
cmp dword [ebp - 0x1c], 0
je 0x1003ce53
push dword [ebp - 0x1c]
call fcn.1004f292
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7800]
xor ecx, ebp
call fcn.1004b489
add ebp, 0x7804
leave
ret 0x18
mov ecx, ebx
call fcn.10023c3c
push 0x30
push 0x1006fcb0
push eax
call fcn.1004f628
mov edi, eax
xor ebx, ebx
add esp, 0xc
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x1003cea2
mov dword [ebp - 0x14], ebx
jmp 0x1003ce35
xor esi, esi
lea eax, [ebp - 0x20]
push eax
push 0x77ff
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
call dword [0x1006850c]
test eax, eax
je 0x1003cede
cmp dword [ebp - 0x20], ebx
je 0x1003cede
add esi, dword [ebp - 0x20]
cmp edi, ebx
je 0x1003cea4
push edi
push dword [ebp - 0x20]
lea eax, [ebp]
push 1
push eax
call fcn.1004f199
add esp, 0x10
jmp 0x1003cea4
cmp esi, ebx
jne 0x1003ce35
jmp 0x1003ce9d
Function at 0x10043bd5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x10043be0
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x10043c9b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x10074878]
inc edx
sub edi, 8
dec esi
jne 0x10043c00
pop ebx
test edi, edi
je 0x10043cb4
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x10074878]
inc edx
dec edi
jne 0x10043c9f
pop edi
not eax
pop esi
ret

Function at 0x10043cb9
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
movsx edx, byte [esp + 8]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x10074878]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x10074878]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0x4212e0
Capabilities:
Clear file content
Compare security identifiers
Create directory
Create thread
Delete directory
Delete registry key
Delete registry value
Enumerate files on windows
Get common file path
Get disk information
Get disk size
Get file attributes
Get system information on windows
Log keystrokes via polling
Query or enumerate registry value
Resume thread
Set current directory
Set file attributes
Terminate thread
Write clipboard data

Disassembly:
push ecx
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov ecx, dword [esp]
push 0
or ecx, eax
mov eax, dword [0x45dcec]
push 0
push eax
push 0
mov dword [esp + 0x10], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp]
or eax, edx
push 0
or ecx, eax
mov dword [esp + 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp]
push 0
or edx, eax
push 0
push 0
mov dword [esp + 0xc], edx
call dword [sym.imp.ADVAPI32.dll_InitializeSid]
mov ecx, dword [esp]
push 0
or ecx, eax
mov dword [esp + 4], ecx
jmp loc.006ee756

Function at 0x422370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x804
push ebx
push ebp
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov al, 0x70
mov byte [esp + 0x40], 0x61
mov byte [esp + 0x41], al
mov byte [esp + 0x42], al
mov dword [esp + 0x60], 0x50746547
mov dword [esp + 0x88], 0x421f90
jmp loc.006ee438

Function at 0x441dc0
Capabilities:
Packed with generic packer
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x45de80]
push ebx
push esi
push edi
test eax, eax
jne 0x441ec6
xor edi, edi
xor ebx, ebx
add ebx, 0x1000
cmp edi, 0x1f4
jae 0x441e06
push str.dxdiag.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x441e06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 2
push ebx
mov dword [0x45de80], ebx
call esi
test eax, eax
jne 0x441eb5
mov ecx, dword [0x45de80]
cmp word [ecx], 0x5a4d
jne 0x441eb5
mov eax, dword [ecx + 0x3c]
push 0x100
add eax, ecx
push eax
mov dword [0x45dedc], eax
call esi
test eax, eax
jne 0x441eb5
mov ecx, dword [0x45dedc]
cmp word [ecx], 0x4550
jne 0x441eb5
mov esi, dword [0x45dee4]
mov eax, dword [ecx + 8]
inc esi
cmp eax, 0x5abba00d
mov dword [0x45dee4], esi
je 0x441ec3
cmp eax, 0x5af06e8d
je 0x441ec3
cmp eax, 0x5aafbe34
je 0x441e7f
cmp eax, 0x5add9069
jne 0x441eb5
mov eax, dword [ecx + 0x28]
mov ecx, dword [0x45de80]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [0x45de80]
push eax
mov eax, 3
push eax
xor eax, eax
push eax
jmp 0x6ee0c8
inc edi
cmp edi, 0x7e000
jae 0x441ec6
jmp 0x441dd8
retf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x456ff2
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [0x480490], 1
jne fcn.00457000
jmp loc.006ee7b5
Function at 0x457017
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
cmp dword [0x480490], 1
jne 0x457025
jmp loc.006eea24
push ebx
add dword [eax], eax
add al, 0xe8
stosd dword es:[edi], eax
or al, 0
add byte [ecx + 0x68], bl
inc dword [eax]
add byte [eax], al
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x457068
Capabilities:
Packed with generic packer

Disassembly:
push 0
push 0
push dword [esp + 0xc]
jmp loc.006eeb29

Function at 0x457b12
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov eax, dword [esp + 0x10]
push eax
push 0xfffffffffffffffe
push 0x457af0
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [esp + 0x20]
mov ebx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp esi, 0xffffffff
je 0x457b6c
cmp esi, dword [esp + 0x24]
je 0x457b6c
lea esi, [esi + esi*2]
mov ecx, dword [ebx + esi*4]
mov dword [esp + 8], ecx
mov dword [eax + 0xc], ecx
cmp dword [ebx + esi*4 + 4], 0
jne 0x457b6a
push 0x101
mov eax, dword [ebx + esi*4 + 8]
jmp loc.006ee334
jmp 0x457b2f
pop dword fs:[0]
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x458084
Capabilities:
Packed with generic packer

Disassembly:
push edi
push 0x40
pop ecx
xor eax, eax
mov edi, 0x480780
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov edi, 0x480660
mov dword [0x480650], eax
mov dword [0x48066c], eax
jmp loc.006ee2c3

Function at 0x4580ad
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
lea eax, [ebp - 0x14]
push esi
push eax
push dword [0x480650]
jmp loc.006ee251

Function at 0x459365
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [ecx + 0x10]
mov eax, dword [ecx + 8]
xor ebx, ebx
test eax, eax
jl 0x459380
shl eax, 1
inc ebx
jmp 0x459377
mov eax, ebx
push 0x3f
imul eax, eax, 0x204
pop edx
lea eax, [eax + esi + 0x144]
mov dword [ebp - 4], eax
jmp 0x6ee5f6
Function at 0x459b10
Capabilities:
Packed with generic packer

Disassembly:
mov ecx, dword [esp + 0xc]
push edi
test ecx, ecx
je 0x459b93
push esi
push ebx
mov ebx, ecx
mov esi, dword [esp + 0x14]
test esi, 3
mov edi, dword [esp + 0x10]
jne 0x459b34
shr ecx, 2
jne 0x459ba1
jmp 0x459b55
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
dec ecx
je 0x459b62
test al, al
je 0x459b6a
test esi, 3
jne 0x459b34
mov ebx, ecx
shr ecx, 2
jne 0x459ba1
and ebx, 3
je 0x459b62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
test al, al
je 0x459b8e
dec ebx
jne 0x459b55
mov eax, dword [esp + 0x10]
pop ebx
pop esi
pop edi
ret
test edi, 3
je 0x459b84
mov byte [edi], al
inc edi
dec ecx
je 0x459c06
test edi, 3
jne 0x459b72
mov ebx, ecx
shr ecx, 2
jne 0x459bf7
mov byte [edi], al
inc edi
dec ebx
jne 0x459b8b
pop ebx
pop esi
mov eax, dword [esp + 8]
pop edi
ret
mov dword [edi], edx
add edi, 4
dec ecx
je 0x459b50
mov edx, 0x7efefeff
mov eax, dword [esi]
add edx, eax
xor eax, 0xffffffff
xor eax, edx
mov edx, dword [esi]
add esi, 4
test eax, 0x81010100
je 0x459b99
test dl, dl
je 0x459beb
test dh, dh
je 0x459be1
test edx, 0xff0000
je 0x459bd7
test edx, 0xff000000
jne 0x459b99
mov dword [edi], edx
jmp 0x459bef
and edx, 0xffff
mov dword [edi], edx
jmp 0x459bef
and edx, 0xff
mov dword [edi], edx
jmp 0x459bef
xor edx, edx
mov dword [edi], edx
jmp 0x6ee564
xor eax, eax
mov dword [edi], eax
add edi, 4
dec ecx
jne 0x459bf9
and ebx, 3
jne 0x459b8b
mov eax, dword [esp + 0x10]
pop ebx
pop esi
pop edi
ret
Function at 0x401bc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.00486d10
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00405c20
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401c91
cmp cl, 0xe9
je 0x401c91
add esi, eax
cmp esi, 0x1000
jb 0x401c52
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046e186
mov esp, ebp
pop ebp
ret

Function at 0x403120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x52a888], 0
jne 0x4031e4
cmp byte [0x52a889], 0
mov al, 1
mov byte [0x52a888], al
jne 0x40315d
push 0x52a4e0
mov byte [0x52a889], al
call dword [0x4e740c]
call fcn.004027e0
call fcn.00403200
mov dword [0x52a884], eax
mov al, 0x73
mov cl, 0x65
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], al
lea eax, [ebp - 0x20]
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xc], cl
mov byte [ebp - 0x15], cl
mov dl, 0x6f
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x20], 0x49
mov byte [ebp - 0x1e], 0x57
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x1c], 0x77
mov byte [ebp - 0x1b], 0x36
mov byte [ebp - 0x1a], 0x34
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], dl
mov byte [ebp - 0x16], 0x63
mov byte [ebp - 0x12], 0
call dword [0x4e7414]
push eax
call dword [0x4e7410]
mov dword [0x52a880], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x403200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x520628]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
call dword [0x4e7414]
push eax
call dword [0x4e7410]
test eax, eax
je 0x4032e2
xor ecx, ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call eax
mov eax, dword [ebp - 0x48]
cmp ax, 6
je 0x4032cf
cmp ax, 9
jne 0x4032e2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046e186
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046e186
mov esp, ebp
pop ebp
ret
Function at 0x42b050
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
push esi
mov dword [edi], 0
call fcn.0042afe0
mov ebx, eax
test ebx, ebx
jne 0x42b083
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00470fbd
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x52a944]
push eax
push 1
push ecx
push edx
call fcn.004714ed
mov ecx, dword [0x52ab50]
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [0x52a944]
mov dword [esp + 0x30], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004e2be0
add esp, 0x30
test eax, eax
jne 0x42b1da
mov ecx, dword [esp + 0xc]
cmp ecx, dword [ebx + 0x24]
jne 0x42b1da
mov eax, dword [0x52ab50]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.00473d40
add esp, 0xc
push 0
push 0
lea edx, [esp + 0x18]
push edx
mov eax, 0x18
mov word [esp + 0x2e], ax
push 0
mov ecx, 1
lea eax, [esp + 0x4c]
mov word [esp + 0x30], cx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edi
push eax
mov ecx, 0xa
lea esi, [esp + 0x28]
lea edi, [esp + 0x50]
mov dword [esp + 0x28], 0x28
mov dword [esp + 0x38], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x28], 0
call dword [0x4e70e8]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x42b1a2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x24]
mov edx, dword [0x52ab50]
sub ecx, 4
add edx, 4
push eax
call fcn.004471d0
mov edi, dword [ebp + 8]
add esp, 4
mov ecx, edi
call fcn.00466074
push esi
mov ecx, edi
call fcn.00466048
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439165
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
push ebp
mov ebp, esp
cmp edx, ebp
push 0xffffffffffffffff
btc ax, bp
cbw
bts ax, bp
push 0x4e456b
setb al
mov eax, dword fs:[0]
test sp, di
push eax
not eax
test di, 0x3546
sub esp, 0x2c4
add ah, ch
mov al, 0xe0
mov eax, dword [0x520628]
cmp di, 0x3183
xor eax, ebp
jmp fcn.0072ac51