joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
push edx
push 0x408e80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret

Function at 0x4090e0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x440
mov eax, dword [0x4c4024]
xor eax, esp
mov dword [esp + 0x43c], eax
push 0x400
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0047c720
add esp, 0xc
lea eax, [esp + 0x38]
push 0x400
push eax
push dword [0x4c65cc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x38]
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409143
sub ecx, edx
lea eax, [esp + 0x38]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.0041ecc0
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
push 1
cmovae eax, dword [esp + 0x14]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x24]
cmp ecx, 0x10
jb 0x4091af
mov edx, dword [esp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4091a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4091c1
push ecx
push edx
call fcn.0042cca6
add esp, 8
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
call fcn.0047e707
int3
Function at 0x414a50
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3696
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x44
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x30], 0
push 1
movups xmmword [esi], xmm0
push 0x4b9998
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0041ecc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], 1
call fcn.004143c0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x48]
call fcn.0041ea60
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [ebp - 0x34]
test eax, eax
je 0x414b3f
cmp ecx, 0x10
jb 0x414b36
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414b2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414bc9
push ecx
push edx
call fcn.0042cca6
add esp, 8
push 1
push 0x4b999c
jmp 0x414b73
cmp ecx, 0x10
jb 0x414b6c
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414b62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414bc9
push ecx
push edx
call fcn.0042cca6
add esp, 8
push 1
push 0x4b9998
mov ecx, esi
call fcn.004157b0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x414baa
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x414ba0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414bce
push ecx
push edx
call fcn.0042cca6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042ca6a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047e707
call fcn.0047e707
int3
Function at 0x422940
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4c4024]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0x124
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.0047c720
add esp, 0xc
mov dword [esp + 0x10], pe_nt_image_headers32
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4229a9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x422a1d
nop
mov eax, dword [ebp + 8]
cmp dword [esp + 0x28], eax
jne 0x422a0d
push 0x3e8
push dword [esp + 0x1c]
mov ecx, esi
call fcn.00422940
push dword [esp + 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x422a09
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x422a06
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4229c0
push edi
call ebx
mov ecx, dword [esp + 0x13c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret 8
Function at 0x422a40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1f4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 4]
mov dword [0x4c4bb0], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x422a8f
push 0x3e8
push eax
call ebx
mov dword [esi + 0x28], 0
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x422a9f
push eax
call edi
mov eax, dword [esi + 0xc]
mov dword [esi + 8], 0
test eax, eax
je 0x422ab0
push eax
call edi
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], 0
test eax, eax
je 0x422ac1
push eax
call edi
push 0x3e8
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x422add
push eax
call edi
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], 0
test eax, eax
je 0x422aee
push eax
call edi
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x18], 0
test eax, eax
je 0x422aff
push eax
call edi
push 0x64
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x422b24
push 0x3e8
push eax
call ebx
mov dword [esi + 0x20], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x422b3a
push 0x3e8
push eax
call ebx
mov dword [esi + 0x24], 0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x422b79
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
xor eax, eax
cmp dword [ebp - 8], 0x103
sete al
test eax, eax
je 0x422b79
push 1
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push dword [esi + 0x2c]
call ebx
mov eax, dword [esi + 4]
mov dword [esi + 0x2c], 0
test eax, eax
je 0x422b8a
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 4], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
Function at 0x4248e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4248eb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x4249a7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
sub edi, 1
jne 0x424900
pop edi
test esi, esi
je 0x4249ca
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
sub esi, 1
jne 0x4249b0
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x425200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
push edi
mov edi, 1
cmp byte [esi], 0
je 0x425245
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
lea ebx, [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425240
mov byte [ebx], 1
mov edi, dword [ebp - 0xc]
jmp 0x425272
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x425256
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.0047c1a0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ebx, [esi + 8]
cmp edi, 1
jne 0x425293
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ebp - 5]
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x425280
cmp byte [ebx], 0
je 0x425280
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
Function at 0x425360
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
cmp byte [esi], 0
lea edi, [esi + 1]
mov dword [ebp - 0xc], edi
je 0x42539e
cmp byte [edi], 0
je 0x4253f3
push 2
push 0
push 0
push dword [esi + 4]
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4253a7
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov dword [ebp - 0xc], edi
cmp byte [esi], 0
je 0x4253c8
cmp byte [edi], 0
je 0x4253c1
push 1
push 0
push 0
push dword [esi + 4]
call ecx
sub eax, dword [esi + 0xc]
jmp 0x4253cb
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x4253da
mov eax, dword [esi + 0x1c]
mov ecx, 0xffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ecx
cmp eax, ecx
jae 0x4253dd
mov dword [ebp - 0x1c], eax
push 0x404
call fcn.0047e300
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
jne 0x425407
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1c]
mov eax, 4
mov dword [ebp - 0x10], 0xffffffff
cmp edx, eax
jbe 0x425516
nop
mov ecx, dword [ebp - 0xc]
add eax, 0x400
cmp eax, edx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov edx, dword [ebp - 0x14]
cmovbe edi, eax
mov eax, 0x404
sub edx, edi
mov dword [ebp - 0x20], edi
cmp edi, 0x404
mov dword [ebp - 0x24], edx
cmova edi, eax
cmp byte [esi], 0
je 0x42546e
cmp byte [ecx], 0
je 0x425516
mov eax, dword [esi + 0xc]
push 0
push 0
add eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x425474
mov dword [esi + 0x1c], edx
mov dword [ebp - 0xc], ecx
cmp byte [esi], 0
mov ebx, edi
je 0x42549c
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 8]
push 0
push eax
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425497
mov byte [esi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4254c7
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [edx + edi]
cmp eax, ecx
jbe 0x4254ad
mov ebx, ecx
sub ebx, edx
mov ecx, dword [esi + 0x14]
push ebx
add ecx, edx
push ecx
push dword [ebp - 0x18]
call fcn.0047c1a0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x1c], ebx
mov ebx, dword [ebp - 0x18]
xor edx, edx
div edi
cmp eax, 1
jne 0x425516
lea ecx, [edi - 3]
test ecx, ecx
js 0x425501
lea eax, [ebx + 3]
add eax, ecx
nop dword [eax]
mov edx, ecx
lea eax, [eax - 1]
dec ecx
cmp byte [eax - 3], 0x50
jne 0x4254fd
cmp byte [edx + ebx], 0x4b
jne 0x4254fd
cmp byte [eax - 1], 5
jne 0x4254fd
cmp byte [eax], 6
je 0x425533
test ecx, ecx
jns 0x4254e0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x425516
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp eax, edx
jb 0x425420
push ebx
call fcn.0047e30b
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x24]
add eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x425504
Function at 0x425f40
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x42612a
cmp dword [edi + 0x18], 0
je 0x42612a
push esi
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x425fa0
mov eax, dword [esi]
test eax, eax
je 0x425f75
push eax
call fcn.0047e30b
add esp, 4
cmp dword [esi + 0x40], 0
mov dword [esi], 0
je 0x425f89
lea ecx, [esi + 4]
call fcn.00424b40
push esi
mov dword [esi + 0x40], 0
call fcn.0047e30b
add esp, 4
mov dword [edi + 0x7c], 0
lea eax, [ebp - 8]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
call fcn.00425ce0
add esp, 8
test eax, eax
je 0x425fc5
pop esi
pop edi
mov eax, 0xffffff99
pop ebx
mov esp, ebp
pop ebp
ret
push 0x84
call fcn.0047e300
mov esi, eax
add esp, 4
test esi, esi
je 0x426007
push 0x4000
call fcn.0047e300
mov ecx, dword [ebp - 4]
add esp, 4
mov dword [esi + 0x44], ecx
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], 0
test eax, eax
jne 0x426013
push esi
call fcn.0047e30b
add esp, 4
pop esi
pop edi
mov eax, 0xffffff98
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x54], eax
mov eax, dword [edi]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x42606b
lea ecx, [esi + 4]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
call fcn.00424c10
test eax, eax
jne 0x42606b
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov cl, byte [edi + 0x30]
mov dword [esi + 0x58], eax
and cl, 1
mov eax, dword [edi + 0x44]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x30]
shr eax, 3
mov byte [esi + 0x6c], cl
test al, 1
je 0x42608f
mov al, byte [edi + 0x39]
jmp 0x426092
mov al, byte [edi + 0x3f]
mov byte [esi + 0x80], al
mov edx, 0xc
xor eax, eax
mov dword [esi + 0x70], 0x12345678
test cl, cl
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmovne eax, edx
mov dword [esi + 0x7c], eax
test ebx, ebx
je 0x42610b
mov al, byte [ebx]
test al, al
je 0x42610b
mov ecx, dword [esi + 0x70]
movsx eax, al
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
movzx eax, cl
add eax, dword [esi + 0x74]
imul eax, eax, 0x8088405
mov dword [esi + 0x70], ecx
mov ecx, dword [esi + 0x78]
inc eax
mov dword [esi + 0x74], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4bac78]
mov dword [esi + 0x78], ecx
add ebx, 1
jne 0x4260c0
mov eax, dword [ebp - 0xc]
add eax, 0x1e
mov dword [edi + 0x7c], esi
add eax, dword [edi + 0x78]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 8], 0
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 0xffffff9a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426c40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c4024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
test esi, esi
je 0x426c72
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x426c72
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov al, byte [ebx]
test al, al
je 0x426d38
push edi
mov edi, ebx
mov ecx, ebx
cmp al, 0x2f
je 0x426c89
cmp al, 0x5c
jne 0x426c8b
mov edi, ecx
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x426c81
cmp edi, ebx
je 0x426ccb
sub edi, ebx
lea eax, [ebp - 0x20c]
push edi
push ebx
push eax
call fcn.0047c1a0
add esp, 0xc
cmp edi, 0x104
jae 0x426d48
lea edx, [ebp - 0x20c]
mov byte [ebp + edi - 0x20c], 0
mov ecx, esi
call fcn.00426c40
mov byte [ebp - 0x108], 0
test esi, esi
je 0x426ced
lea ecx, [ebp - 0x108]
sub ecx, esi
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x426ce0
mov esi, ebx
nop
mov al, byte [ebx]
inc ebx
test al, al
jne 0x426cf0
lea edi, [ebp - 0x108]
sub ebx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426d00
mov ecx, ebx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
jne 0x426d38
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ca6a
mov esp, ebp
pop ebp
ret
call fcn.0042cbcb
int3
Function at 0x427130
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4007
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4c4024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x244
call fcn.0042cf05
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
push 0x244
push 0
push ebx
call fcn.0047c720
add esp, 0xc
mov dword [ebx], 0
lea edi, [ebx + 0x140]
mov dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x134], 0xffffffff
mov dword [ebx + 0x138], 0
push edi
push 0x104
mov dword [ebx + 0x13c], 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4271c5
sub ecx, edx
mov al, byte [ecx + ebx + 0x13f]
cmp al, 0x5c
je 0x4271f3
cmp al, 0x2f
je 0x4271f3
dec edi
nop
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4271e0
mov ax, word [0x4ba754]
mov word [edi], ax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x4272a8
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, eax
cmp esi, 0xffffffff
push 0x20
setne bl
call fcn.0042cf05
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x10]
mov byte [edi], 1
mov byte [edi + 0x10], 1
mov byte [edi + 1], bl
mov dword [edi + 4], eax
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
cmp esi, 0xffffffff
je 0x427269
push 1
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.00425540
mov ebx, dword [ebp - 0x14]
mov dword [ebx], eax
test eax, eax
je 0x4272a8
push 8
mov dword [0x4c6620], 0
call fcn.0042cf05
add esp, 4
mov dword [eax], 1
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x138]
mov dword [0x4c6620], 0x200
test eax, eax
je 0x4272c5
push eax
call fcn.0042ca9b
add esp, 4
mov eax, dword [ebx + 0x13c]
mov dword [ebx + 0x138], 0
test eax, eax
je 0x4272e2
push eax
call fcn.0042ca9b
add esp, 4
push 0x244
push ebx
mov dword [ebx + 0x13c], 0
call fcn.0042cca6
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x42a637
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x42a67e
lea eax, [ebp - 0x714]
push eax
call fcn.004285fe
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.004285b3
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x42a689
jmp 0x42a68e
jmp 0x429f81
Function at 0x42d7b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42d7f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42d7f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42d7f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42d7f2
cmp dword [ecx + 0x74], 0xe
jbe 0x42d7f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x435d50
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
push edi
lea edi, [esi + eax]
cmp esi, edi
jae 0x435d86
mov al, byte [esi]
push eax
call fcn.00444350
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x435d68
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret
Function at 0x43aad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], eax
call fcn.0043a610
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0x14], eax
call fcn.0043a5e0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov cl, 1
mov byte [ebp - 1], cl
mov dword [edx], 0
test eax, eax
je 0x43ac46
cmp byte [eax + 0x3c], 0
je 0x43ac46
cmp dword [edi + 0x8f0], 0
je 0x43ac46
mov eax, dword [edi + 0x78]
test eax, eax
je 0x43ab36
test byte [eax + 4], 0x10
je 0x43ab36
add eax, 0x74
jmp 0x43ab3c
lea eax, [edi + 0x8f4]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x4b4], ebx
jbe 0x43ac46
xor eax, eax
mov dword [ebp - 8], eax
push esi
mov esi, dword [edi + 0x8f0]
add esi, eax
cmp dword [esi + 0xc], 0
je 0x43ac04
mov eax, dword [ebp - 0xc]
push dword [esi]
push dword [eax + 8]
call fcn.00444500
add esp, 8
test eax, eax
je 0x43ac04
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x201], 0
jne 0x43ab95
test eax, eax
je 0x43aba9
jmp 0x43ac04
test eax, eax
je 0x43ac04
push eax
push dword [ecx + 0x6c]
call fcn.00444500
add esp, 8
test eax, eax
je 0x43ac04
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x202], 0
jne 0x43abc2
cmp eax, 0xffffffff
je 0x43abcf
jmp 0x43ac04
cmp eax, 0xffffffff
je 0x43ac04
cmp dword [ecx + 0x4a8], eax
jne 0x43ac04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x43ac04
mov eax, dword [ecx + 0x238]
push dword [esi + 8]
push dword [eax]
call fcn.00444500
add esp, 8
test eax, eax
je 0x43ac04
lea eax, [esi + 0x20]
push eax
push dword [ebp - 0x14]
call fcn.0043a870
add esp, 8
test al, al
jne 0x43ac19
add dword [ebp - 8], 0x60
inc ebx
cmp ebx, dword [edi + 0x4b4]
jae 0x43ac42
mov eax, dword [ebp - 8]
jmp 0x43ab53
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x43ac37
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop esi
xor cl, cl
pop edi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 1]
pop esi
pop edi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret