joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af0f0
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004aebd0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
mov eax, dword [esp + 4]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4af133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
pop ebx
pop ecx
ret

Function at 0x4af530
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x53e1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5954a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x20]
call fcn.004b1440
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004b1240
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
movzx edx, word [eax + 4]
mov word [esi + 8], dx
movzx ecx, word [eax + 6]
mov word [esi + 0xa], cx
movzx edx, word [eax + 8]
mov word [esi + 0xc], dx
movzx ecx, word [eax + 0xa]
mov word [esi + 0xe], cx
movzx edx, word [eax + 0xc]
mov word [esi + 0x10], dx
movzx ecx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
movzx ecx, word [eax + 0x20]
movzx edx, word [eax + 0x22]
movzx ebx, word [eax + 0x1c]
movzx ebp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov dword [esp + 0x34], ecx
movzx ecx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x18]
mov dword [esi + 0x28], eax
call fcn.004b1320
mov ecx, dword [esi + 4]
cmp ecx, dword [0x59351c]
jne 0x4af6a4
mov ecx, edi
call fcn.004b0260
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x1c], eax
call fcn.004b1350
mov eax, dword [esi + 0x3c]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x34]
call eax
test bp, bp
je 0x4af65b
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.004b1350
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x34]
call eax
mov eax, dword [esp + 0x34]
test ax, ax
je 0x4af681
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.004b1350
mov ecx, dword [edi + 0x1c]
mov esi, dword [esi + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push ebx
push esi
call eax
mov ecx, edi
call fcn.004b0260
cmp eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b1470
mov al, bl
jmp 0x4af6b7
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004b1470
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x4af700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x53e228
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5954a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x34]
mov ebp, dword [esi + 0x40]
mov dword [esp + 0x14], eax
movzx eax, ax
movzx edi, bp
lea ebx, [edi + eax + 0x1e]
push 0
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], eax
call fcn.004b1440
mov eax, dword [esp + 0x20]
mov ecx, dword [0x593520]
mov dword [eax], ecx
movzx edx, word [esi + 0xa]
mov eax, dword [esp + 0x20]
mov word [eax + 4], dx
movzx ecx, word [esi + 0xc]
mov edx, dword [esp + 0x20]
mov word [edx + 6], cx
mov ax, word [esi + 0xe]
mov ecx, dword [esp + 0x20]
mov word [ecx + 8], ax
movzx edx, word [esi + 0x10]
mov eax, dword [esp + 0x20]
mov word [eax + 0xa], dx
movzx ecx, word [esi + 0x12]
mov edx, dword [esp + 0x20]
mov word [edx + 0xc], cx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0xe], eax
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x20]
mov dword [eax + 0x12], edx
mov ecx, dword [esi + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [edx + 0x16], ecx
mov eax, dword [esp + 0x20]
movzx edx, word [esp + 0x14]
mov word [eax + 0x1a], bp
mov ecx, dword [esp + 0x20]
mov word [ecx + 0x1c], dx
mov eax, dword [esi + 0x3c]
push edi
push eax
mov eax, dword [esp + 0x28]
add eax, 0x1e
push eax
mov dword [esp + 0x3c], 0
call fcn.004f8140
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push eax
lea eax, [edi + edx + 0x1e]
push eax
call fcn.004f8140
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
add esp, 0x18
push 1
push ebx
push ecx
mov ecx, edi
call fcn.004b0dc0
lea ecx, [esi + 0x2c]
call fcn.004b1320
mov ecx, edi
call fcn.004b0260
mov ecx, edi
mov word [esi + 0x20], ax
call fcn.004b0290
sub eax, ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x28], eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004b1470
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x4b0490
Capabilities:
Access peb ldr_data
Get disk size
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x53e3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x5954a0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esp + 0xc]
push edx
call eax
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x30], 0
call fcn.004aebd0
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b051d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b0545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4b055c
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x4b46a8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x4b46da
push dword [ebp + 8]
call edi
push eax
call fcn.004cf983
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x4b4705
test byte [ebp - 4], 1
je 0x4b4705
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4b4705
push dword [ebp + 8]
call edi
push eax
call fcn.004cf983
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4b47bf
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004b460a
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4b473b
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004b460a
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x4b4751
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004b460a
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b477e
push dword [ebp + 8]
call edi
push eax
call fcn.004cf983
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4b47aa
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.004cf983
push ebx
call esi
test eax, eax
jne 0x4b47bc
push dword [ebp + 8]
call edi
push eax
call fcn.004cf983
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x4b47e7
test byte [ebp - 4], 1
jne 0x4b47e7
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4b47e7
push dword [ebp + 8]
call edi
push eax
call fcn.004cf983
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4be353
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4be39a
call fcn.004c73d3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4be39a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4be3b6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004bdecb
mov esi, eax
test edi, edi
je 0x4be3b4
test ebx, ebx
je 0x4be3b4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4bf660
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x53f558
call fcn.004fef51
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4bf685
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4bf6cb
lea ecx, [ebp - 0x10]
call fcn.0044f320
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b3090
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00451230
mov eax, esi
call fcn.004ff029
ret 8

Function at 0x4c5715
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4c5739
cmp dword [edi + 0x54], 0
jne 0x4c5739
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004c73d3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004c56d6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4ce1dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4ce225
call fcn.004c73d3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ce225
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4ce268
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4ce251
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4ce251
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4ce265
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4d7f72
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x540eb3
call fcn.004fef51
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0044f380
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4d7fd4
call fcn.004c67d6
cmp eax, 1
jne 0x4d7fd4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0046fd10
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0044f9d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00451230
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00451230
mov eax, esi
call fcn.004ff029
ret 0x10

Function at 0x4d7ffd
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x540ede
call fcn.004fef51
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0044f380
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4d805f
call fcn.004c67d6
cmp eax, 1
jne 0x4d805f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0046fd10
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0044f9d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00451230
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00451230
mov eax, esi
call fcn.004ff029
ret 0x14

Function at 0x4d808b
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x540f09
call fcn.004fef51
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0044f380
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4d80ed
call fcn.004c67d6
cmp eax, 1
jne 0x4d80ed
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0046fd10
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0044f9d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00451230
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00451230
mov eax, esi
call fcn.004ff029
ret 8

Function at 0x4f8124
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5954a0]
jne 0x4f812e
repz ret
jmp fcn.00504673
Function at 0x5158ff
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005036eb
and dword [ebp - 4], 0
cmp dword [0x5a0234], 0
mov ebx, eax
jne 0x5159b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x515a61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x515a61
push eax
call fcn.00503679
mov dword [esp], 0x55daec
push edi
mov dword [0x5a0234], eax
call esi
push eax
call fcn.00503679
mov dword [esp], 0x55dad8
push edi
mov dword [0x5a0238], eax
call esi
push eax
call fcn.00503679
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5a023c], eax
call esi
push eax
call fcn.00503679
pop ecx
mov dword [0x5a0244], eax
test eax, eax
je 0x5159b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00503679
pop ecx
mov dword [0x5a0240], eax
mov eax, dword [0x5a0240]
cmp eax, ebx
je 0x515a08
cmp dword [0x5a0244], ebx
je 0x515a08
push eax
call fcn.005036f4
push dword [0x5a0244]
mov esi, eax
call fcn.005036f4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x515a08
test edi, edi
je 0x515a08
call esi
test eax, eax
je 0x5159ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5159ff
test byte [ebp - 0xc], 1
jne 0x515a08
or dword [ebp + 0x10], 0x200000
jmp 0x515a41
mov eax, dword [0x5a0238]
cmp eax, ebx
je 0x515a41
push eax
call fcn.005036f4
pop ecx
test eax, eax
je 0x515a41
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x515a41
mov eax, dword [0x5a023c]
cmp eax, ebx
je 0x515a41
push eax
call fcn.005036f4
pop ecx
test eax, eax
je 0x515a41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5a0234]
call fcn.005036f4
pop ecx
test eax, eax
je 0x515a61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x515a63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x52b210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x52b21f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x59696c]
test eax, eax
je 0x52b22d
call fcn.0052b1b0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x52b32f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x5a02d4]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x5a02d4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x5a02d4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x5a02d4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x5a02d4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x5a02d4]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x5a02d4]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x5a02d4]
xor eax, ecx
inc esi
dec edi
jne 0x52b247
pop edi
test edx, edx
je 0x52b351
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x5a02d4]
xor eax, ecx
inc esi
dec edx
jne 0x52b333
pop ebx
pop esi
not eax
ret 0xc
Function at 0x40b400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.0040aa10
Function at 0x416952
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x46035c
call fcn.00430003
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x416a4a
cmp byte [esi + 0x46], bl
je 0x416a4a
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x41698e
xor al, al
jmp 0x416a4c
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00404750
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x4169bb
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4169e2
dec eax
je 0x4169e6
dec eax
dec eax
je 0x416a38
xor bl, bl
jmp 0x416a3a
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x4169f6
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x416a1e
cmp eax, 0x10
jae 0x416a05
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.0043105a
add esp, 0x10
cmp ebx, eax
jne 0x4169de
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x416a38
test ebx, ebx
jne 0x4169af
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040f400
jmp 0x4169a9
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00401620
mov al, bl
jmp 0x416a4c
mov al, 1
call fcn.0042ffb2
ret

Function at 0x434ba3
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 0x7d1908
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf07bba48
jmp 0x7d19f8
mov word [esp + 1], sp
mov word [esp + 1], si
mov dword [esp + 4], esi
call 0x7d1917
fdivr st(7)
je 0x7d193e
add dword [eax + 0x2b], edi
pop word [esp + 1]
push ecx
lea esp, [esp + 2]
mov dword [esp + 8], edi
jmp 0x7d1ab2
xchg dword [esp + 4], esi
pushfd
jmp 0x7d1851
xor cl, dh
jmp 0x7d19d8
xor cl, dh
mov esi, dword [esp + 0x2c]
push si
rcl edi, cl
jo 0x7d1a15
pop di
jmp 0x7d1a17
xchg bl, ch
cmc
jp 0x7d19d6
jnp 0x7d19c0
pop di
jmp 0x7d1a17
jmp 0x7d19ff
lea ebp, [esp]
bts di, ax
jle 0x7d1a5b
rdtsc
neg di
mov dl, 0xea
jmp 0x7d1a3a
pushfd
jmp 0x7d002c
neg di
mov dl, 0xea
sub esp, 0xc0
jmp 0x7d1a7a
sub esp, 0x17
jmp 0x7d1a5f
rdtsc
jmp 0x7d1a35
sub esp, 0xd
xchg word [esp + 0x1d], cx
mov edi, esp
clc
jge 0x7d1a42
sub esp, 0x17
sub esp, 0xd
xchg word [esp + 0x1d], cx
jmp 0x7d1a67
lea esp, [esp + 8]
jmp 0x7d1a2f

Function at 0x7d1917
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf07bba48
jmp 0x7d19f8
mov word [esp + 1], sp
mov word [esp + 1], si
mov dword [esp + 4], esi
call 0x7d1917
fdivr st(7)
je 0x7d193e
add dword [eax + 0x2b], edi
pop word [esp + 1]
push ecx
lea esp, [esp + 2]
mov dword [esp + 8], edi
jmp 0x7d1ab2
xchg dword [esp + 4], esi
pushfd
jmp 0x7d1851
xor cl, dh
jmp 0x7d19d8
xor cl, dh
mov esi, dword [esp + 0x2c]
push si
rcl edi, cl
jo 0x7d1a15
pop di
jmp 0x7d1a17
xchg bl, ch
cmc
jp 0x7d19d6
jnp 0x7d19c0
pop di
jmp 0x7d1a17
jmp 0x7d19ff
lea ebp, [esp]
bts di, ax
jle 0x7d1a5b
rdtsc
neg di
mov dl, 0xea
jmp 0x7d1a3a
pushfd
jmp 0x7d002c
neg di
mov dl, 0xea
sub esp, 0xc0
jmp 0x7d1a7a
sub esp, 0x17
jmp 0x7d1a5f
rdtsc
jmp 0x7d1a35
sub esp, 0xd
xchg word [esp + 0x1d], cx
mov edi, esp
clc
jge 0x7d1a42
sub esp, 0x17
sub esp, 0xd
xchg word [esp + 0x1d], cx
jmp 0x7d1a67
lea esp, [esp + 8]
jmp 0x7d1a2f

Function at 0x7d3bad
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsr bx, si
add esi, dword [ebp]
mov eax, edx
mov ax, bx
jmp fcn.007d2021
rdtsc
mov edx, 0xc27d6fd9
setno bl
jmp 0x7d2037
jmp 0x7d2062
js 0x7d2f0a
lea eax, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0x7d2f11
lea eax, reloc.iphlpapi.dll_GetAdaptersInfo
rol esi, 0
js 0x7d20a5
rdtsc
mov edx, 0xc27d6fd9
setno bl
bsr bx, si
jmp 0x7d203b
setg dh
neg bx
jmp 0x7d21ad
Function at 0x7f56a2
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x7f56dc
mov ecx, dword [esp + 3]
push dword [esp + 3]
jg 0x7f56c2