joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441440
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4fbb
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc84], esp
lea eax, [ebp + 8]
push eax
call fcn.004061a0
mov dword [ebp - 0xc8c], eax
call fcn.0042f250
add esp, 0x18
mov byte [ebp - 0xc75], al
movzx ecx, byte [ebp - 0xc75]
test ecx, ecx
jne 0x4414c5
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004062c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004062c0
jmp 0x4415da
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp + 8]
call fcn.00406340
push eax
call fcn.004299a0
add esp, 8
lea eax, [ebp - 0xc20]
push eax
lea ecx, [ebp + 0x20]
call fcn.00406340
push eax
call fcn.004299a0
add esp, 8
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc88], esp
lea edx, [ebp + 8]
push edx
call fcn.004061a0
mov dword [ebp - 0xc80], eax
lea eax, [ebp - 0xc38]
push eax
call fcn.0042ffb0
add esp, 0x1c
mov dword [ebp - 0xc7c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0xc38]
call fcn.00406340
push eax
call fcn.004299a0
add esp, 8
mov dword [ebp - 0xc74], 0x3c
mov dword [ebp - 0xc70], 0
mov dword [ebp - 0xc6c], 0
mov dword [ebp - 0xc68], 0
lea edx, [ebp - 0x218]
mov dword [ebp - 0xc64], edx
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xc60], eax
lea ecx, [ebp - 0x420]
mov dword [ebp - 0xc5c], ecx
mov dword [ebp - 0xc58], 5
mov dword [ebp - 0xc54], 0
lea edx, [ebp - 0xc74]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc38]
call fcn.004062c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004062c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.004062c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00575898
mov esp, ebp
pop ebp
ret
Function at 0x4417e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b503b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], 0
push 0x5ffeb5
lea ecx, [ebp - 0x1c8]
call fcn.00406230
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 8]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0042c9e0
push 0x60150c
lea ecx, [ebp - 0x1c8]
call fcn.0040dae0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406340
push eax
call fcn.004299a0
add esp, 8
lea edx, [ebp - 0x1ac]
push edx
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1a4]
push ecx
lea edx, [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.00406340
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.0057dcc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1ac]
xor eax, eax
mov ecx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.0057dcc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1a8]
xor eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1a4]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.0057dcc0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1b0]
xor eax, eax
mov ecx, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
call fcn.0057dcc0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c8]
call fcn.004062c0
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00575898
mov esp, ebp
pop ebp
ret
Function at 0x4419a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5086
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1ec], 0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1b0], xmm0
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1a8], xmm0
push 0x5ffeb7
lea ecx, [ebp - 0x1e0]
call fcn.00406230
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
mov byte [ebp - 0x1e1], 0x41
jmp 0x441a2c
mov cl, byte [ebp - 0x1e1]
add cl, 1
mov byte [ebp - 0x1e1], cl
movsx edx, byte [ebp - 0x1e1]
cmp edx, 0x5a
jg 0x441b49
push 0x5ffeb6
lea ecx, [ebp - 0x1c8]
call fcn.00406230
mov byte [ebp - 4], 1
movzx eax, byte [ebp - 0x1e1]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0042c9e0
push 0x601510
lea ecx, [ebp - 0x1c8]
call fcn.0040dae0
lea ecx, [ebp - 0x1a0]
push ecx
lea ecx, [ebp - 0x1c8]
call fcn.00406340
push eax
call fcn.004299a0
add esp, 8
lea edx, [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 1
je 0x441b35
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 3
je 0x441ac5
jmp 0x441b35
lea ecx, [ebp - 0x1a8]
push ecx
lea edx, [ebp - 0x1b0]
push edx
movzx eax, byte [ebp - 0x1e1]
push eax
call fcn.004417e0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x1f0], ecx
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [edx + 4]
jl 0x441b35
jg 0x441b0f
mov ecx, dword [ebp - 0x1f0]
mov edx, dword [ebp - 0x1a8]
cmp edx, dword [ecx]
jbe 0x441b35
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1a8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1a4]
mov dword [eax + 4], edx
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00406ce0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c8]
call fcn.004062c0
jmp 0x441a1d
lea ecx, [ebp - 0x1e0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406270
mov edx, dword [ebp - 0x1ec]
or edx, 1
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.004062c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00575898
mov esp, ebp
pop ebp
ret
Function at 0x4479a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0x601634
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x240]
mov ax, word [edx]
mov word [ebp - 0x22a], ax
mov ecx, dword [ebp - 0x238]
mov dx, word [ebp - 0x22a]
mov word [ecx], dx
mov eax, dword [ebp - 0x240]
add eax, 2
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x238]
add ecx, 2
mov dword [ebp - 0x238], ecx
cmp word [ebp - 0x22a], 0
jne 0x4479df
lea edx, [ebp - 0x228]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x447a6b
push 0x5ffee5
mov ecx, dword [ebp + 8]
call fcn.00406230
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x447b3c
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x447aed
mov dword [ebp - 0x23c], 0x601638
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x23c]
mov ax, word [edx]
mov word [ebp - 0x22c], ax
mov ecx, dword [ebp - 0x230]
mov dx, word [ebp - 0x22c]
mov word [ecx], dx
mov eax, dword [ebp - 0x23c]
add eax, 2
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x230]
add ecx, 2
mov dword [ebp - 0x230], ecx
cmp word [ebp - 0x22c], 0
jne 0x447aa5
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x224]
push ecx
call fcn.00429a40
add esp, 8
lea edx, [ebp - 0x224]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406270
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
lea ecx, [ebp - 0x224]
call fcn.004062c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00575898
mov esp, ebp
pop ebp
ret
Function at 0x449490
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b43f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x5c]
call fcn.00410140
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x4e]
test ecx, ecx
je 0x4494e5
mov dword [ebp - 0x68], 1
jmp 0x4494ec
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
push 4
lea eax, [ebp - 0x14]
push eax
push 1
push 6
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx + 0x30]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [ebp - 0x5c], 1
push 0x5fff0f
lea ecx, [ebp - 0x58]
call fcn.00408750
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00419480
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.00409630
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00575898
mov esp, ebp
pop ebp
ret 4
Function at 0x45ce43
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x45ce88
call fcn.004677df
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45ce88
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45cea4
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00467978
mov ebx, eax
test edi, edi
je 0x45cea2
test esi, esi
je 0x45cea2
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4631aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004677df
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4631e1
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00463202
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4de246
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00466c36
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4de282
call fcn.004de465
mov dword [esi + 0xc], 1
jmp 0x4de287
call fcn.004de465
cmp dword [esi], 0
je 0x4de2d0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4de2aa
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0045cefb
jmp 0x4de2bb
push 0xff
mov ecx, esi
call fcn.00413860
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045adff
jmp 0x4de2f4
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4de2f4
push dword [esi]
push dword [ebp - 4]
call fcn.0046a365
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4de3ba
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004de465
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4de402
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045cefb
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0045adff
jmp 0x4de40d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046a365
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x540a28
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0057160a
call fcn.00467833
cmp dword [eax + 0x14], 0
jne 0x540a43
mov ecx, esi
pop esi
jmp fcn.0053fe2e
pop esi
ret

Function at 0x54d183
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004849ce
call fcn.00467833
cmp dword [eax + 0x14], 0
jne 0x54d19e
mov ecx, esi
pop esi
jmp fcn.0054ca69
pop esi
ret
Function at 0x58d1d5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62b490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0057ffd0
mov dword [ebp - 0x14], eax
cmp dword [0x638868], esi
jne 0x58d2c8
push 0x800
push esi
push 0x5f6050
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58d255
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58d3a8
push esi
push esi
push 0x5f6050
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58d3a8
push 0x5f6068
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58d3a8
push eax
call ebx
push 0x5f6074
push edi
mov dword [0x638868], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f6084
push edi
mov dword [0x63886c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x638870], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x638878], eax
test eax, eax
je 0x58d2c5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x638874], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58d2ed
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58d2e0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58d302
push 4
pop eax
jmp 0x58d3aa
cmp dword [ebp - 0x14], esi
je 0x58d302
push dword [0x638868]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58d2e7
mov eax, dword [0x638874]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58d360
cmp dword [0x638878], edi
je 0x58d360
push eax
call ebx
push dword [0x638878]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58d360
test eax, eax
je 0x58d360
call ecx
test eax, eax
je 0x58d355
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x58d355
test byte [ebp - 8], 1
jne 0x58d360
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58d390
mov eax, dword [0x63886c]
cmp eax, edi
je 0x58d38d
push eax
call ebx
test eax, eax
je 0x58d38d
call eax
mov esi, eax
test esi, esi
je 0x58d38d
mov eax, dword [0x638870]
cmp eax, edi
je 0x58d38d
push eax
call ebx
test eax, eax
je 0x58d38d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x638868]
call ebx
test eax, eax
je 0x58d3a8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58d3aa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00575898
mov esp, ebp
pop ebp
ret
Function at 0x59c7cc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5e43700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.05e4378f
jae 0x5e4370e
xor ecx, ecx
call fcn.05e4378f
jae 0x5e4373d
xor eax, eax
call fcn.05e4378f
jae 0x5e4374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.05e4378f
adc al, al
jae 0x5e4372f
jne 0x5e43779
stosb byte es:[edi], al
jmp 0x5e43711
call fcn.05e4379b
sub ecx, ebx
jne 0x5e43756
call fcn.05e43799
jmp 0x5e43775
lodsb al, byte [esi]
shr eax, 1
je 0x5e43783
adc ecx, ecx
jmp 0x5e43772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05e43799
cmp eax, 0x7d00
jae 0x5e43772
cmp ah, 5
jae 0x5e43773
cmp eax, 0x7f
ja 0x5e43774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5e43711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1a15a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x1a180d
jne 0x1a180d
je 0x1a11e6
jne 0x1a12ed
add byte [eax], al
add byte [eax], al
Function at 0x1a3620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x23c
mov edi, dword [ebp + 0xc]
je 0x1a37a8
jne 0x1a37a8
Function at 0x1a4860
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
je 0x1a48b6
jne 0x1a48b6
jmp 0x3e8683b2
inc ebp
cmp ebp, dword [esi + edi + 0x18]
jb 0x1a48d7
xor eax, eax
jmp 0x1a4890
mov eax, dword [esp]
je 0x1a487c
jne 0x1a487c
jmp 0x6826ff8f
movzx ecx, word [eax + ebp*2]
xor eax, eax
cmp dword [esi + edi + 0x14], ecx
jb 0x1a4890
mov eax, dword [esi + edi + 0x1c]
je 0x1a48f9
jne 0x1a48f9
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + edi + 0x24]
mov ebx, dword [esi + edi + 0x20]
xor ebp, ebp
je 0x1a491b
jne 0x1a491b
je 0x1a24da
jne 0x1a140a
push eax
mov edx, dword [esp + 0x1c]
xor eax, eax
mov ecx, dword [edx]
cmp dword [ecx + 0x7c], 0
je 0x1a4890
je 0x1a4938
jne 0x1a4938
je 0x1a369f
jne 0x1a2cb7
je 0x1c54d66
mov eax, dword [ebx + ebp*4]
add eax, esi
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x20]
call dword [eax + 0x24]
je 0x1a4907
invalid
jne 0x1a4907
je 0x1a268a
jne 0x1a2922
jmp 0x3a8558a
lea ecx, [esi + ecx*4]
add esi, dword [eax + ecx]
mov eax, esi
je 0x1a4890
jne 0x1a4890
je 0x842a0990
test eax, eax
je 0x1a4874
invalid
je 0x1a4869
jne 0x1a4869
add eax, esi
add ebx, esi
mov dword [esp], eax
nop word cs:[eax + eax]
nop dword [eax]
je 0x1a48d7
jne 0x1a48d7
add byte [eax], al
add byte [eax], al
mov esi, dword [edx + 4]
mov edi, dword [ecx + 0x78]
cmp dword [edi + esi + 0x18], 0
je 0x1a4890
cmp dword [esi + edi + 0x14], 0
je 0x1a4890
je 0x1a489c
jne 0x1a489c
push ebp
push ebx
je 0x1a4a05
jne 0x1a4a05
je 0x228a3b
mov dword [eax + 8], 0
mov dword [eax + 0x10], 0
mov ebx, ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
je 0x1a49d8
add byte [eax], al
add bh, al
inc eax
adc byte [eax], al
add byte [eax], al
add byte [ecx + 0x2474ffcb], cl
and bh, bh
je 0x1a49ab
and byte [eax + 0x74], dl
dec ebp
jne 0x1a49d8
je 0x1a13d2
jne 0x1a363b
add byte [eax], al
add byte [eax], al
test edi, edi
je 0x1a49fb
push 0x8000
push 0
push edi
call dword [ebx + 0xc]
je 0x1a49fb
or al, 0x74
dec ebp
jne 0x1a49fb
jmp 0x8156a740
mov ebx, dword [ebp + 0x3c]
cmp dword [ebp + ebx], 0x4550
jne 0x1a49fb
mov edi, dword [esp + 0x14]
add ebx, ebp
push 4
je 0x1a49ca
jne 0x1a49ca
push 0x3000
push 0x14
push 0
je 0x1a4a1c
jne 0x1a4a1c
jmp 0xec5d322d
push ecx
call fcn.001a3620
add esp, 0x10
test eax, eax
je 0x1a49f0
mov esi, edi
mov dword [edi + 0x10], 1
jmp 0x1a49fb
je 0x1a499d
jne 0x1a499d
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop edi
je 0x1a49f4
jne 0x1a49f4
je 0x6ca5a060
push edi
push esi
mov ebp, dword [esp + 0x18]
and al, 0x18
xor esi, esi
movzx eax, word [ebp]
cmp eax, 0x5a4d
jne 0x1a49fb
je 0x1a49b1
jne 0x1a49b1
call dword [edi]
mov ecx, edi
mov dword [eax + 4], ebp
mov dword [eax], ebx
mov edi, eax
mov dword [eax + 0xc], 0
je 0x1a4970
jne 0x1a4970
nop word [eax + eax]
ret
Function at 0x1a9d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
je 0x1a9fb2
jne 0x1a9fb2
jmp 0x4a7869b

Function at 0x1aadf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
je 0x1ab0ab
jne 0x1ab0ab
je 0x1a93c2
jne 0x1aa2d9
add byte [eax], al
add byte [eax], al
push ebx
push edi
push esi
je 0x1ab126
jne 0x1ab126
add byte [eax], al
add byte [eax], al