joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40682f
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.00404521
and dword [ebp - 4], 0
cmp dword [0x426a10], 0
mov ebx, eax
jne 0x4068e0
push 0x4019c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406991
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019bc
push edi
call esi
test eax, eax
je 0x406991
push eax
call fcn.004044af
mov dword [esp], 0x4019ac
push edi
mov dword [0x426a10], eax
call esi
push eax
call fcn.004044af
mov dword [esp], 0x401998
push edi
mov dword [0x426a14], eax
call esi
push eax
call fcn.004044af
mov dword [esp], 0x40197c
push edi
mov dword [0x426a18], eax
call esi
push eax
call fcn.004044af
pop ecx
mov dword [0x426a20], eax
test eax, eax
je 0x4068e0
push 0x401964
push edi
call esi
push eax
call fcn.004044af
pop ecx
mov dword [0x426a1c], eax
mov eax, dword [0x426a1c]
cmp eax, ebx
je 0x406938
cmp dword [0x426a20], ebx
je 0x406938
push eax
call fcn.0040452a
push dword [0x426a20]
mov esi, eax
call fcn.0040452a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406938
test edi, edi
je 0x406938
call esi
test eax, eax
je 0x40692f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40692f
test byte [ebp - 0xc], 1
jne 0x406938
or dword [ebp + 0x10], 0x200000
jmp 0x406971
mov eax, dword [0x426a14]
cmp eax, ebx
je 0x406971
push eax
call fcn.0040452a
pop ecx
test eax, eax
je 0x406971
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406971
mov eax, dword [0x426a18]
cmp eax, ebx
je 0x406971
push eax
call fcn.0040452a
pop ecx
test eax, eax
je 0x406971
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x426a10]
call fcn.0040452a
pop ecx
test eax, eax
je 0x406991
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406993
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001030
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x1000106f
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0xc], ecx
jge 0x10001120
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x100010d4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jle 0x100010d2
push 4
push 0x1000
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10006470
add esp, 0xc
jmp 0x1000105d
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.10005ef0
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
jmp 0x1000105d
mov esp, ebp
pop ebp
ret
Function at 0x10001130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
jmp 0x10001170
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x28
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x14], edx
jge 0x100012b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
je 0x10001199
mov dword [ebp - 0x1c], 1
jmp 0x100011a0
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x40000000
je 0x100011bd
mov dword [ebp - 0x20], 1
jmp 0x100011c4
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
je 0x100011e1
mov dword [ebp - 0x24], 1
jmp 0x100011e8
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x1000121a
push 0x4000
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1000115e
mov eax, dword [ebp - 0x28]
shl eax, 4
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + ecx*8 + 0x1001d880]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x1000124c
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000128c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x10001273
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
jmp 0x1000128c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
je 0x1000128c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jbe 0x100012ab
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000115e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e3d
mov esp, ebp
pop ebp
ret
Function at 0x10001bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0x10]
cdq
mov ecx, 0xfe
idiv ecx
add edx, 8
mov byte [ebp - 1], dl
mov dword [ebp - 8], 0
jmp 0x10001bfa
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x10001c2f
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx], al
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
add ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x10001bf1
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret

Function at 0x10001eb0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
jne 0x10001ef4
xor eax, eax
jmp 0x10001f6d
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10001f59
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10009c9b
add esp, 8
test eax, eax
jne 0x10001f3d
mov ecx, dword [ebp - 0x134]
add ecx, 1
mov dword [ebp - 0x134], ecx
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x138], eax
jmp 0x10001f0e
cmp dword [ebp - 0x134], 1
jl 0x10001f6b
mov eax, 1
jmp 0x10001f6d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e3d
mov esp, ebp
pop ebp
ret
Function at 0x10001f80
Capabilities:
Query or enumerate registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x10016e7c
call fcn.10008900
add esp, 8
cmp eax, 0xffffffff
je 0x10001fa6
jmp 0x10001fd6
mov eax, 4
imul ecx, eax, 3
mov dword [ebp + ecx - 0x20], 3
mov dword [ebp - 0x18], 0
push 0x10016eac
mov edx, dword [ebp - 0x18]
push edx
call fcn.10008600
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov byte [ebp - 0xd], 0
mov dword [ebp - 8], 1
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10002007
xor al, al
jmp 0x10002042
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
je 0x1000203b
cmp dword [ebp - 0x14], 0xea
jne 0x1000203f
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e3d
mov esp, ebp
pop ebp
ret

Function at 0x10002890
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.10006470
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x108]
mov dword [0x1001e3dc], edx
call fcn.10002830
movzx eax, al
test eax, eax
jne 0x100028ec
xor eax, eax
jmp 0x10002970
push 0x104
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.10006470
add esp, 0xc
mov edx, dword [0x1001e3dc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.10008610
add esp, 8
mov dword [ebp - 0x248], 0x3c
push 0x38
push 0
lea ecx, [ebp - 0x244]
push ecx
call fcn.10006470
add esp, 0xc
mov dword [ebp - 0x23c], str.runas
lea edx, [ebp - 0x20c]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x22c], 5
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x1000296e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e3d
mov esp, ebp
pop ebp
ret
Function at 0x10002f20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x1001d008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x250], 0
mov eax, 0x33
mov word [ebp - 0x1c], ax
mov ecx, 0x36
mov word [ebp - 0x1a], cx
mov edx, 0x30
mov word [ebp - 0x18], dx
mov eax, 0x74
mov word [ebp - 0x16], ax
mov ecx, 0x72
mov word [ebp - 0x14], cx
mov edx, 0x61
mov word [ebp - 0x12], dx
mov eax, 0x79
mov word [ebp - 0x10], ax
mov ecx, 0x2e
mov word [ebp - 0xe], cx
mov edx, 0x65
mov word [ebp - 0xc], dx
mov eax, 0x78
mov word [ebp - 0xa], ax
mov ecx, 0x65
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], 0x22c
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000304a
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10002ffd
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x250], ecx
jmp 0x1000304a
lea edx, [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1000304a
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10003048
lea eax, [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10003046
jmp 0x1000304a
jmp 0x10003015
jmp 0x10002fed
mov edx, dword [ebp - 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004e3d
mov esp, ebp
pop ebp
ret

Function at 0x1000aa0f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013608
push 0x10013600
push str.FlsAlloc
push 0x1e
call fcn.1000a92d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000aa43
push dword [ebp + 8]
mov ecx, esi
call dword [0x100121c4]
call esi
jmp 0x1000aa49
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000aa8d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10013618
push 0x10013610
push str.FlsGetValue
push 0x20
call fcn.1000a92d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000aac4
push dword [ebp + 8]
mov ecx, esi
call dword [0x100121c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1000c199
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000c236
push ebx
push esi
call fcn.1000c162
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000c0ab
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000c1e3
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c235
push edi
push eax
call fcn.1000a0f5
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000c203
call fcn.1000a0bb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000c234
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000c0ab
add esp, 0x20
test eax, eax
jne 0x1000c222
push edi
call fcn.1000a0bb
jmp 0x1000c22a
push ebx
call fcn.1000a0bb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10011500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001152d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001152d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x416900
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.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
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 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x4032a0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405258], eax
mov dword [0x4051e0], 0x402b80
mov dword [0x4051dc], 2
jmp 0x4032d0
mov dword [0x4051e4], 0
mov dword [0x4051e8], 0
mov dword [0x4051d8], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051ec], eax
mov dword [0x405200], 0x404080
mov dword [0x4051f8], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051f0], eax
mov dword [0x405204], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051f4], eax
push 0x4051d8
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405250], eax
push 5
push dword [0x405250]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405250]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x4033a3
push 0
push 0
push 0
push 0x405208
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x4033d0
push 0x405208
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x405208
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4033a3
mov eax, dword [0x405210]
jmp 0x4033dd
call 0x402474
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x1f507bd4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4065481d
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
mov ecx, 0x663e0260
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x18c30ec4
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x532f6aa1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3cb87cf6
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403c89
Capabilities:
Encode data using xor

Disassembly:
push eax
add esp, 8
and ebx, 0xcf336cd1
or ebx, eax
push ebx
pop ecx
add esp, 0xfffffffc
mov dword [esp], ecx
or al, 0x24
mov eax, 0x23fa9c82
xor eax, 0x7a5638e8
push 0x3fdbc926
mov esi, 0x7a4fefc7
pop ebx
xor esi, ebx
xor esi, eax
mov edi, 0x338c9ba8
mov ecx, 0x1aae1b13
xor ecx, edi
call fcn.00402656
mov cl, 0x6f
outsd dx, dword [esi]
pop ss
pop ds
pop ds
jle 0x403c9b
call 0x85287f7c
mov dword [0x4f51a59e], eax
push esp
enter 0xffffffffffff964b, 0xffffffffffffffe8
xor dword [esi], 0x641f6bd8
into
pop ds
pop ds
pop ds
imul edx, dword [edi], 0x6b
pop ds
imul edx, dword [edi], 0x64
pop ds
pop ds
pop ds
into
dec esi
call 0x3b28563c
xchg esi, eax
jl 0x403cc9
enter 0xffffffffffffc743, 0x36
test al, 0xc8
adc byte [ebx + 0x2f7cc7ed], ah
in al, dx
mov ch, 0x1f
pop ds
pop ds
imul ebx, dword [edi], 0xffffffe8
inc ebx
invalid

Function at 0x407650
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40b55c
mov eax, esi
mov edx, 8
test al, 1
je 0x40766c
shr eax, 1
xor eax, 0xedb88320
jmp 0x40766e
shr eax, 1
dec edx
jne 0x40765f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407658
pop esi
ret

Function at 0x407684
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40b558], 0
jne 0x4076a7
call fcn.00407650
push 1
push 0x40b558
call fcn.004043fc
mov eax, edi
test esi, esi
je 0x4076d2
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40b55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4076ad
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x41a49f8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x41a4a8f
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, eax
mov dl, 1
mov eax, dword [sym.imp.adortl60.bpl__Adodb_TADOQuery_]
call sub.adortl60.bpl__Adodb_TADOQuery__bctr_qqrp18Classes_TComponent
mov ebx, eax
call sub.VEDatasets.bpl__Vedataset_Connection_qqrv
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x268]
lea eax, [ebp - 4]
push eax
call sub.VEDatasets.bpl__Vedataset_FirmaNo_qqrv
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
call sub.VEDatasets.bpl__Vedataset_DonemNo_qqrv
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x41a4aa8
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov eax, dword [ebp - 4]
push eax
mov eax, ebx
call sub.adortl60.bpl__Adodb_TADOQuery_GetSQL_qqrv
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
call sub.dbrtl60.bpl__Db_TDataSet_Open_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a4a96
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret

Function at 0x41b1850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x41b18b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x41b189a
push 3
push 0x41b18bc
push 0x41b18bc
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0x41b18c0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b18b7
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret