joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4062da
Capabilities:
Encode data using xor

Disassembly:
xor ecx, edi
pop esi
xor ecx, esi
xor ebx, ebx
add ebx, ecx
mov edi, 4
sub esp, edi
mov dword [esp], ebx
xor ebx, ebx
add ebx, esp
mov edi, ebx
mov ecx, 0xfffffffc
add esp, ecx
mov dword [esp], edi
push 0x69ee690d
mov ebx, 0x53fa87dd
pop esi
xor ebx, esi
mov edx, 0x68c2afdb
xor ebx, edx
xor ebx, 0x52d6414b
mov ecx, 0x6bb5cd4c
xor ecx, 0x6bb5cd4c
mov esi, 0xe01d0a8
mov edx, 0xe01d0a8
xor edx, esi
xor ecx, edx
xor ebx, ecx
mov edx, 0
xor edx, ebx
mov esi, 4
sub esp, esi
mov dword [esp], edx
mov esi, 0x7b5f3e8e
xor esi, 0x2bd7c2c
push esi
push 0x4a22e424
mov ecx, 0x4fe9cc20
pop esi
xor ecx, esi
pop edx
xor ecx, edx
mov esi, ecx
push esi
mov edi, 0xac054bc
xor edi, 0x1ec1903c
push 0x636d027e
mov ecx, 0xb453258
pop edx
xor ecx, edx
xor edi, ecx
pop ebx
xor edi, ebx
mov edx, 0xfffffffc
add esp, edx
xor ecx, ecx
add ecx, esp
mov dword [ecx], edi
mov edi, 0x11b47549
xor edi, 0x11147d4b
mov esi, 0x2062410
mov ebx, 0x48000304
xor esi, ebx
xor edi, esi
mov ebx, 0xa021314
mov ecx, 0x40e42c02
xor ebx, ecx
xor edi, ebx
mov edx, 4
sub esp, edx
mov ebx, 0
xor ebx, esp
mov dword [ebx], edi
call eax
pop ebx
mov edx, 0x40230424
mov edi, 0x10005811
xor edx, edi
mov esi, 0x3c53521f
xor edx, esi
mov esi, 0x92ef679
mov ecx, 0x7c21cb47
xor ecx, esi
xor edx, ecx
mov ebx, edx
xor ebx, 0xffffffff
and ebx, 0x197f3031
and edx, 0xe680cfce
or edx, ebx
mov ecx, 0x4005958b
xor ecx, 0x17c21a8f
mov ebx, 0x7e5c50ba
xor ebx, 0x7381f313
xor ebx, ecx
mov ecx, ebx
mov esi, ecx
mov edi, 0xffffffff
xor esi, edi
and esi, 0x5a5a4c16
and ebx, 0xa5a5b3e9
or ebx, esi
mov ecx, 0x150ed1aa
xor ecx, 0x6ddaf9c1
push ecx
push 0x73913fb9
mov edi, 0x3414c44f
pop ecx
xor edi, ecx
pop eax
xor edi, eax
mov ecx, 0x5fab7234
mov esi, 0x45ab2324
xor esi, ecx
mov ecx, 0x73a4a99
mov eax, 0x222b44d8
xor eax, ecx
xor esi, eax
xor esi, edi
mov eax, 0x3a960f37
xor eax, 0xc569f0cb
add esp, eax
mov eax, esp
push eax
pop edi
mov dword [edi], edx
mov eax, 0xfffffffc
add esp, eax
mov ecx, 0
xor ecx, esp
xor edi, edi
add edi, ecx
mov dword [edi], esi
xor edx, edx
mov dl, byte [ebx]
add esi, edx
mov dl, byte [esi]
pop esi
mov byte [ebx], dl
mov ecx, 0x46fc1ceb
xor ecx, 0x466ea18e
mov edi, 0x1a76891b
xor edi, 0xe51bcb81
xor ecx, edi
add ebx, ecx
pop edx
push 0x5da44916
mov edi, 0x5da44917
pop ecx
xor edi, ecx
sub edx, edi
cmp edx, 0
jne 0x406466
mov edi, 0x6e54e8d6
xor edi, 0x6ed5e9c4
push 0x427ef305
mov edx, 0x777efb09
pop eax
xor edx, eax
xor edi, edx
mov edx, edi
mov esi, 0x955d3a81
xor edx, esi
xor edx, 0x6aa2c57e
and edx, 0x35c15489
and edi, 0xca3eab76
or edi, edx
call edi
pop ecx
pop ecx
ret

Function at 0x4069dc
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406a24
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00406978
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a2b
lea eax, [ebp - 4]
call fcn.00403198
ret
Function at 0x40ac19
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.0041c240
push edi
mov edi, dword [ebp + 8]
cmp word [edi], 0
jne 0x40ac37
xor al, al
jmp 0x40adb9
push esi
push edi
call fcn.0040adcd
push edi
call fcn.004216b5
pop ecx
push edi
mov esi, eax
call fcn.0040adf9
test al, al
je 0x40acd7
push edi
call fcn.0040adcd
test al, al
je 0x40ac86
lea eax, [esi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x40acd0
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00422b91
lea eax, [esi + 8]
push edi
push eax
call fcn.00421693
add esp, 0x14
jmp 0x40acc9
push 0x5c
pop eax
cmp word [edi], ax
jne 0x40acd0
add edi, 2
cmp word [edi], ax
jne 0x40acd0
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x40acd0
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00422b91
lea eax, [esi + 8]
push 0x42f574
push eax
call fcn.00421693
lea eax, [esi + 0xe]
push edi
push eax
call fcn.00421693
add esp, 0x1c
mov al, 1
jmp 0x40adb8
xor al, al
jmp 0x40adb8
push ebx
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x40adb5
cmp eax, ebx
ja 0x40adb5
movzx eax, word [edi]
push eax
call fcn.0040aed4
test al, al
je 0x40ad45
lea eax, [esi + 6]
cmp dword [ebp + 0x10], eax
jbe 0x40adb5
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00422b91
push 2
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00422b91
lea eax, [esi + 0xc]
push edi
push eax
call fcn.00421693
add esp, 0x20
jmp 0x40adb1
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.0040a7a3
lea eax, [ebp - 0x1000]
push eax
call fcn.004216b5
add eax, 4
add eax, esi
pop ecx
cmp dword [ebp + 0x10], eax
jbe 0x40adb5
mov esi, dword [ebp + 0xc]
push 4
push str.__
push esi
call fcn.00422b91
lea eax, [ebp - 0x1000]
push eax
lea eax, [esi + 8]
push eax
call fcn.00421693
add esp, 0x14
cmp word [edi], 0x2e
jne 0x40ada7
movzx eax, word [edi + 2]
push eax
call fcn.0040aed4
test al, al
je 0x40ada7
add edi, 4
push dword [ebp + 0x10]
push edi
push esi
call fcn.0040e81b
mov al, 1
jmp 0x40adb7
xor al, al
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x402090
Capabilities:
Encode data using xor

Disassembly:
cmp byte [eax], 0
mov edx, eax
je 0x4020ab
mov ecx, eax
lea esp, [esp]
xor byte [edx], 0xf
inc ecx
cmp byte [ecx], 0
mov edx, ecx
jne 0x4020a0
ret

Function at 0x4020b0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x415b58
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x4020d7
xor eax, eax
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 0xf01ff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4020d1
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x402140
Capabilities:
Reference http user-agent string
Write file on windows

Disassembly:
mov eax, 0x857c
call fcn.00410870
mov eax, dword [esp + 0x8580]
push ebx
push ebp
push esi
add eax, 7
lea edx, [esp + 0x1c]
push edi
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x402160
lea eax, [esp + 0x20]
push 0x2f
push eax
call fcn.00406820
add esp, 8
test eax, eax
je 0x402194
lea esi, [esp + 0x88]
mov ecx, eax
sub esi, eax
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x402188
mov byte [eax], dl
push 0
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x194]
push 0x415b70
push eax
call fcn.004061fd
lea eax, [esp + 0x19c]
add esp, 0x14
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4021c2
sub eax, edx
push eax
lea ecx, [esp + 0x18c]
push ecx
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
call fcn.004040b0
add esp, 8
test eax, eax
je 0x402203
mov edx, dword [esp + 0x14]
push edx
call dword [0x41a18c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x857c
ret
mov esi, dword [esp + 0x14]
push 0
push 0x400
lea eax, [esp + 0x590]
push eax
push esi
call dword [0x419f58]
mov ebp, eax
test ebp, ebp
jne 0x402238
push esi
call dword [0x41a18c]
lea eax, [ebp + 2]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x857c
ret
lea ecx, [esp + 0x591]
push 0x415c3c
push ecx
call fcn.00406780
lea edx, [esp + 0x599]
add esp, 8
cmp eax, edx
je 0x40226f
push esi
call dword [0x41a18c]
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x857c
ret
lea eax, [esp + 0x588]
push 0x415c48
push eax
call fcn.00406780
lea ecx, [esp + 0x590]
push 0x415c5c
push ecx
mov edi, eax
call fcn.00406780
lea edx, [esp + 0x598]
push 0x415c7c
push edx
mov ebx, eax
call fcn.00406780
mov esi, eax
add esp, 0x18
add esi, 4
test edi, edi
je 0x4022c5
add edi, 0x12
push edi
call fcn.004068f4
add esp, 4
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4022ec
lea eax, [esp + 0x18]
push eax
push 0x415c84
push esi
call fcn.004065ab
push 0x415c88
push esi
call fcn.00406780
add esp, 0x14
add eax, 2
mov esi, eax
mov ecx, dword [esp + 0x8594]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40232e
mov edx, dword [esp + 0x14]
push edx
call dword [0x41a18c]
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x857c
ret
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
push 0
lea eax, [esp + 0x58c]
sub eax, esi
lea ecx, [esp + 0x20]
push ecx
add ebp, eax
push ebp
push esi
push edi
call ebx
sub dword [esp + 0x18], ebp
je 0x402386
mov eax, dword [esp + 0x14]
push 0
push 0x8000
lea edx, [esp + 0x590]
push edx
push eax
call dword [0x419f58]
push 0
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
push esi
lea edx, [esp + 0x594]
push edx
push edi
call ebx
sub dword [esp + 0x18], esi
jne 0x402351
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x14]
push eax
call dword [0x41a18c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x857c
ret
Function at 0x403fb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413bc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00402ca0
call fcn.004023b0
push 0x416178
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov dword [0x41a168], eax
mov dword [0x41a17c], ebx
call fcn.004020b0
call fcn.00403710
test eax, eax
je 0x40400c
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.00403630
mov eax, 0x419050
mov dword [0x419f38], eax
cmp byte [eax], bl
je 0x40403f
call fcn.00402090
mov dword [0x419f38], eax
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x404030
sub ecx, esi
lea eax, [eax + ecx + 1]
jmp 0x404016
call fcn.00403a20
cmp eax, 2
jne 0x404083
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.0040698a
add esp, 4
call fcn.0040699c
cdq
mov ecx, 0x12c
idiv ecx
add edx, 0x258
imul edx, edx, 0x3e8
mov dword [0x419450], edx
mov dword [0x41a138], ebx
mov dword [0x41a13c], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4040b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20c
push ebx
push esi
push edi
mov ebx, ecx
push ebx
mov edi, eax
call dword [0x419f4c]
mov esi, eax
test esi, esi
jne 0x4040fd
push ebx
call dword [0x419f70]
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x40429b
push 2
push 4
lea eax, [esp + 0x24]
push eax
call dword [0x419f44]
mov esi, eax
test esi, esi
je 0x40429b
push 0
push 1
push 2
call dword [0x41a29c]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x404249
mov ecx, dword [0x415eb0]
mov ax, word [0x415eb8]
mov edx, dword [0x415eb4]
mov dword [esp + 0x20], ecx
cmp byte [esp + 0x20], 0
mov cl, byte [0x415eba]
mov word [esp + 0x28], ax
mov dword [esp + 0x24], edx
mov byte [esp + 0x2a], cl
lea eax, [esp + 0x20]
je 0x40415b
mov ecx, eax
lea ebx, [ebx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x404150
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ecx, dword [0x416190]
mov dx, word [0x416194]
mov ebx, eax
mov eax, dword [0x41618c]
mov dword [esp + 0x20], eax
cmp byte [esp + 0x20], 0
mov al, byte [0x416196]
mov byte [esp + 0x2a], al
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], dx
lea eax, [esp + 0x20]
je 0x4041ab
mov ecx, eax
lea ecx, [ecx]
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4041a0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
lea ecx, [esp + 0x20]
push ecx
push ebx
call esi
mov edx, dword [0x416198]
mov cx, word [0x4161a0]
mov edi, eax
mov eax, dword [0x41619c]
mov dword [esp + 0x20], edx
cmp byte [esp + 0x20], 0
mov dl, byte [0x4161a2]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov byte [esp + 0x2a], dl
lea eax, [esp + 0x20]
je 0x4041fc
mov ecx, eax
xor byte [eax], 0xf
inc ecx
cmp byte [ecx], 0
mov eax, ecx
jne 0x4041f1
lea eax, [esp + 0x20]
push eax
push ebx
call esi
mov esi, eax
call esi
lea ecx, [esp + 0x88]
push ecx
push 0x101
call edi
test eax, eax
je 0x40423d
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x3e8
call ebx
call esi
lea edx, [esp + 0x88]
push edx
push 0x101
call edi
test eax, eax
jne 0x404221
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, 2
mov word [esp + 0xc], ax
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x50
mov dword [esp + 0x14], eax
call dword [0x41a14c]
mov edx, dword [edi]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
mov word [esp + 0x1a], ax
call dword [0x419f64]
cmp eax, 0xffffffff
mov eax, dword [edi]
jne 0x4042a7
push eax
call dword [0x41a18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
push eax
call dword [0x419f50]
cmp eax, 0xffffffff
jne 0x4042d2
mov ecx, dword [edi]
push ecx
call dword [0x41a18c]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406120
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, 0x4b524f57
mov edi, eax
mov dword [esp + 0xc], esi
mov eax, 0x44524148
test ecx, ecx
jle 0x4061c4
push ebx
push ebp
mov ebp, dword [esp + 0x24]
sub ebp, edi
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov edx, esi
shr edx, 8
mov dword [esp + 0x10], edx
mov edx, eax
shr edx, 0x18
mov ebx, eax
shr ebx, 0x10
and dl, bl
mov ebx, esi
mov ecx, eax
shr ecx, 8
and dl, cl
mov dword [esp + 0x1c], ecx
mov ecx, esi
shr ecx, 0x18
shr ebx, 0x10
and cl, bl
mov bl, byte [esp + 0x10]
xor dl, cl
xor dl, byte [edi + ebp]
mov ecx, dword [esp + 0x14]
lea esi, [eax*4]
xor esi, eax
add esi, esi
and bl, cl
xor esi, eax
xor dl, bl
xor dl, al
and esi, 0xfffffff0
shl eax, 4
xor esi, eax
shl ecx, 0x18
or ecx, dword [esp + 0x1c]
shl esi, 0x14
or esi, dword [esp + 0x10]
mov byte [edi], dl
inc edi
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], esi
mov eax, ecx
jne 0x406150
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x40e6f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418df8]
jne 0x40e6fb
repz ret
jmp fcn.00410c6f

Function at 0x40f712
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.0040b70e
and dword [ebp - 4], 0
cmp dword [0x419b9c], 0
mov ebx, eax
jne 0x40f7c3
push 0x414ae8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40f874
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x414adc
push edi
call esi
test eax, eax
je 0x40f874
push eax
call fcn.0040b69c
mov dword [esp], 0x414acc
push edi
mov dword [0x419b9c], eax
call esi
push eax
call fcn.0040b69c
mov dword [esp], 0x414ab8
push edi
mov dword [0x419ba0], eax
call esi
push eax
call fcn.0040b69c
mov dword [esp], 0x414a9c
push edi
mov dword [0x419ba4], eax
call esi
push eax
call fcn.0040b69c
pop ecx
mov dword [0x419bac], eax
test eax, eax
je 0x40f7c3
push 0x414a84
push edi
call esi
push eax
call fcn.0040b69c
pop ecx
mov dword [0x419ba8], eax
mov eax, dword [0x419ba8]
cmp eax, ebx
je 0x40f81b
cmp dword [0x419bac], ebx
je 0x40f81b
push eax
call fcn.0040b717
push dword [0x419bac]
mov esi, eax
call fcn.0040b717
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40f81b
test edi, edi
je 0x40f81b
call esi
test eax, eax
je 0x40f812
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f812
test byte [ebp - 0xc], 1
jne 0x40f81b
or dword [ebp + 0x10], 0x200000
jmp 0x40f854
mov eax, dword [0x419ba0]
cmp eax, ebx
je 0x40f854
push eax
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f854
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40f854
mov eax, dword [0x419ba4]
cmp eax, ebx
je 0x40f854
push eax
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f854
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x419b9c]
call fcn.0040b717
pop ecx
test eax, eax
je 0x40f874
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f876
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x324573de
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x79282f0d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40176f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x401779
repz ret
jmp fcn.00401a16

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408e84
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x745c126e
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4c355934
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x891008], 0x8088405
inc edx
mov dword [ebx + 0x891008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41ce78
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cea9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce91
add dl, dl
jne 0x41ceb4
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf05
xor eax, eax
add dl, dl
jne 0x41cec1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfa2
add dl, dl
jne 0x41ced0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cedb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cee6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cef1
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cefb
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cea0
mov eax, 1
add dl, dl
jne 0x41cf13
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf1e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf0a
sub eax, ebx
mov ebx, 1
jne 0x41cf51
mov ecx, 1
add dl, dl
jne 0x41cf37
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf2e
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cf68
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf73
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf5f
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cfc3
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cea0
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e6ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x877b6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e75d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e746
test esi, esi
jbe 0x41e75d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41e738
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e75d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e715
jmp 0x41e75d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e75d
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x877b72
ret