joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac717
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
push ebx
mov byte [esi], al
call dword [0x4ae290]
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x10]
push ebx
mov dword [esp + 0x1c], ebx
mov byte [ecx], dl
call dword [0x4ae290]
mov al, byte [esp + 0xb]
mov dword [esi + 0x24], ebx
mov byte [esi + 0x20], al
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x30]
push ebx
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
call dword [0x4ae290]
mov al, byte [esp + 0xb]
mov dword [esi + 0x44], ebx
mov byte [esi + 0x40], al
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dl, byte [esp + 0xb]
lea ecx, [esi + 0x50]
push ebx
mov byte [esp + 0x1c], 4
mov byte [ecx], dl
call dword [0x4ae290]
mov al, byte [esp + 0xb]
mov cl, byte [esp + 0xb]
mov dl, byte [esp + 0xb]
mov byte [esi + 0x60], al
mov al, byte [esp + 0xb]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], 1
push ebx
mov byte [esi + 0x74], cl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
push ebx
mov byte [esi + 0x84], dl
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
push ebx
mov byte [esi + 0x94], al
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
push ebx
mov dword [esi + 0xa8], ebx
mov word [esi + 0xa4], bx
mov byte [esi + 0xa6], bl
call dword [0x4ae160]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa8], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47cdb0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x512455]
test al, al
jne 0x47cdc5
mov byte [0x512455], 1
call fcn.0047cd80
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, 0xfffffffe
test esi, esi
jbe 0x47cdf7
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4af7e8]
xor eax, edx
inc ecx
dec esi
jne 0x47cdd8
pop ebx
pop esi
ret

Function at 0x47ce00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad1be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0045b590
xor edi, edi
mov dword [esi + 0x2c], 0x4af580
mov dword [esp + 0x14], edi
mov al, byte [esp + 0x1c]
mov dword [esi + 0x30], 0x4af3dc
mov dword [esi + 0x34], edi
mov byte [esi + 0x68], al
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov cl, byte [esp + 0x1c]
push 0x1c
mov byte [esp + 0x18], 2
mov byte [esi + 0xac], cl
call fcn.0049fec0
mov edx, dword [esp + 0x20]
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0xb0], eax
lea ecx, [esi + 0x44]
mov dword [esi + 0xb4], edi
xor eax, eax
mov dword [esi], 0x4afc34
mov dword [esi + 0x2c], 0x4afc00
mov dword [esi + 0x30], 0x4afbf0
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov word [esi + 0x40], di
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x47fc40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x150
push ebx
push esi
mov esi, dword [esp + 0x168]
cmp esi, 0x40
jle 0x47fc97
lea eax, [esp + 0xfc]
push eax
call fcn.004a5500
mov ecx, dword [esp + 0x168]
push esi
lea edx, [esp + 0x104]
push ecx
push edx
call fcn.004a50c0
lea eax, [esp + 0x10c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004a53c0
add esp, 0x18
lea ebx, [esp + 8]
mov esi, 0x10
jmp 0x47fc9e
mov ebx, dword [esp + 0x164]
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x78]
push esi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [0x4ae4d0]
lea edx, [esp + 0xc0]
push ebx
push edx
call edi
push esi
lea eax, [esp + 0x88]
push ebx
push eax
call edi
add esp, 0x18
xor eax, eax
pop edi
mov cl, byte [esp + eax + 0xb8]
mov bl, byte [esp + eax + 0x74]
xor cl, 0x36
xor bl, 0x5c
mov byte [esp + eax + 0xb8], cl
mov byte [esp + eax + 0x74], bl
inc eax
cmp eax, 0x40
jl 0x47fce2
lea ecx, [esp + 0x18]
push ecx
call fcn.004a5500
lea edx, [esp + 0xbc]
push 0x40
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004a50c0
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004a50c0
mov esi, dword [esp + 0x188]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004a53c0
lea edx, [esp + 0x3c]
push edx
call fcn.004a5500
lea eax, [esp + 0x9c]
push 0x40
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004a50c0
push 0x10
lea edx, [esp + 0x50]
push esi
push edx
call fcn.004a50c0
add esp, 0x40
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004a53c0
add esp, 8
pop esi
pop ebx
add esp, 0x150
ret

Function at 0x480a90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4ca734]
mov dl, byte [esp + 0x30]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov cx, word [0x4ca738]
xor eax, eax
push edi
mov word [esp + 0x14], cx
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
cmp edi, 9
jae 0x480afd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push 5
push eax
push ebx
call dword [0x4ae3e8]
add esp, 0xc
test eax, eax
je 0x480b2c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esi + 0x10]
lea edx, [esi + 0xc]
push ecx
add esi, 8
push edx
lea eax, [esp + 0x14]
push esi
push eax
push 1
push edi
push ebx
call fcn.00480b60
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x492230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ada11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [0x4ae4bc]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push edi
call dword [0x4ae334]
mov cl, byte [esp + 0x14]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebx
call dword [0x4ae310]
mov edx, dword [0x4ae328]
lea ecx, [esp + 0x14]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call dword [0x4ae32c]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x5d74]
mov byte [esp + 0x48], 1
call fcn.00493920
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4922f5
mov al, byte [ecx - 1]
cmp al, bl
je 0x4922e9
cmp al, 0xff
je 0x4922e9
dec al
mov byte [ecx - 1], al
jmp 0x4922f5
add ecx, 0xfffffffe
push ecx
call fcn.0049b190
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x492339
mov al, byte [ecx - 1]
cmp al, bl
je 0x49232d
cmp al, 0xff
je 0x49232d
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
add ecx, 0xfffffffe
push ecx
call fcn.0049b190
add esp, 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x49af60
Capabilities:
Encode data using base64

Disassembly:
mov edx, dword [esp + 4]
push ebp
test edx, edx
je 0x49b0b2
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49b0b2
mov ebp, dword [esp + 0xc]
test ebp, ebp
jl 0x49b0b2
xor eax, eax
test ebp, ebp
jle 0x49b0b4
push ebx
push esi
push edi
cmp ebp, 3
jl 0x49b015
mov bl, byte [edx]
inc edx
mov byte [esp + 0x14], bl
mov esi, dword [esp + 0x14]
mov bl, byte [edx]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
mov bl, byte [edx]
and esi, 3
shr edi, 2
mov byte [esp + 0x18], bl
inc edx
mov bl, byte [edi + 0x4cd9c4]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx], bl
mov ebx, edi
inc ecx
shr ebx, 4
shl esi, 4
or ebx, esi
mov esi, dword [esp + 0x18]
and esi, 0xff
and edi, 0xf
mov bl, byte [ebx + 0x4cd9c4]
mov byte [ecx], bl
mov ebx, esi
shr ebx, 6
shl edi, 2
or ebx, edi
inc ecx
inc ecx
and esi, 0x3f
mov bl, byte [ebx + 0x4cd9c4]
mov byte [ecx - 1], bl
mov bl, byte [esi + 0x4cd9c4]
mov byte [ecx], bl
jmp 0x49b09e
mov bl, byte [edx]
cmp ebp, 2
mov byte [esp + 0x14], bl
jne 0x49b070
mov esi, dword [esp + 0x14]
mov bl, byte [edx + 1]
and esi, 0xff
inc edx
mov edi, esi
mov byte [esp + 0x1c], bl
shr edi, 2
and esi, 3
inc ecx
mov bl, byte [edi + 0x4cd9c4]
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov byte [ecx - 1], bl
mov ebx, edi
shr ebx, 4
shl esi, 4
or ebx, esi
inc ecx
and edi, 0xf
mov bl, byte [ebx + 0x4cd9c4]
mov byte [ecx - 1], bl
mov bl, byte [edi*4 + 0x4cd9c4]
mov byte [ecx], bl
jmp 0x49b09a
mov esi, dword [esp + 0x14]
and esi, 0xff
mov edi, esi
and esi, 3
shr edi, 2
shl esi, 4
mov bl, byte [edi + 0x4cd9c4]
mov byte [ecx], bl
mov bl, byte [esi + 0x4cd9c4]
inc ecx
mov byte [ecx], bl
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
sub ebp, 3
inc ecx
add eax, 4
test ebp, ebp
jg 0x49af92
pop edi
pop esi
pop ebx
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x49b450
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x49ea80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c4
mov al, byte [0x4cfed0]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0xd0], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xd1]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ebx
push ecx
stosb byte es:[edi], al
call fcn.0049f310
mov edx, dword [esp + 0x1e0]
add esp, 8
lea eax, [esp + 0xd0]
push edx
push 0x4c7318
push 0x104
push eax
call fcn.0049d990
lea edi, [esp + 0xe0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.0049f370
lea eax, [esp + 0x84]
push eax
call fcn.0049fdb0
lea ecx, [esp + 0x88]
push ecx
call fcn.0049fdb0
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x44], ecx
mov word [esp + 0x39], ax
mov ecx, 0xf
lea edi, [esp + 0x4d]
mov byte [esp + 0x3b], al
mov byte [esp + 0x4c], bl
mov edx, dword [esp + 0xe4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebp, dword [0x4ae424]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xf0]
mov ecx, 0x10
stosb byte es:[edi], al
xor eax, eax
lea edi, [esp + 0x4c]
add esp, 0x24
mov dword [esp + 0x24], edx
mov byte [esp + 0x10], bl
xor esi, esi
rep stosd dword es:[edi], eax
xor edx, edx
xor ecx, ecx
mov dl, byte [esp + esi + 0x18]
lea eax, [esp + 0x10]
push edx
push 0x4ce47c
mov dword [esp + 0x18], ecx
push 8
push eax
mov dword [esp + 0x24], ecx
call fcn.0049d990
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x40
sub edx, ecx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jge 0x49ebcd
mov ecx, edx
jmp 0x49ebdb
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x2c]
push ecx
push edx
call ebp
add esp, 0xc
inc esi
cmp esi, 0x10
jl 0x49eb7f
mov esi, dword [esp + 0x1dc]
cmp esi, ebx
je 0x49ec33
mov edx, dword [esp + 0x1e0]
xor eax, eax
mov ecx, edx
mov edi, esi
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x28]
push eax
push 0x4c7318
push edx
push esi
call fcn.0049d990
push esi
call dword [0x4ae420]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
Function at 0x4a5500
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x4a6220
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret
Function at 0x4032c8
Capabilities:
Encode data using xor

Disassembly:
push 0x40360c
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], dh
add byte [eax], al
add byte [eax], bh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, bl
stosb byte es:[edi], al
cmc
clc
fidivr word [edx]
invalid
Function at 0x4039d6
Capabilities:
Create pipe
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x8b7588]
mov ecx, dword [0x8b64dc]
sub esp, 0xc34
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403ace
mov ebx, ecx
mov dword [ebp - 4], eax
cmp dword [0x8b7588], 0x959
jne 0x403abc
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402c64
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0x402eb8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402f00
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.004037d9
add ebx, 8
dec dword [ebp - 4]
jne 0x4039ff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40559b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x80633c]
jne 0x4055a5
repz ret
jmp fcn.00408b3c

Function at 0x40af1b
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.00406b66
and dword [ebp - 4], 0
cmp dword [0x808104], 0
mov ebx, eax
jne 0x40afcc
push 0x4021bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b07d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021b0
push edi
call esi
test eax, eax
je 0x40b07d
push eax
call fcn.00406af4
mov dword [esp], 0x4021a0
push edi
mov dword [0x808104], eax
call esi
push eax
call fcn.00406af4
mov dword [esp], 0x40218c
push edi
mov dword [0x808108], eax
call esi
push eax
call fcn.00406af4
mov dword [esp], 0x402170
push edi
mov dword [0x80810c], eax
call esi
push eax
call fcn.00406af4
pop ecx
mov dword [0x808114], eax
test eax, eax
je 0x40afcc
push 0x402158
push edi
call esi
push eax
call fcn.00406af4
pop ecx
mov dword [0x808110], eax
mov eax, dword [0x808110]
cmp eax, ebx
je 0x40b024
cmp dword [0x808114], ebx
je 0x40b024
push eax
call fcn.00406b6f
push dword [0x808114]
mov esi, eax
call fcn.00406b6f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b024
test edi, edi
je 0x40b024
call esi
test eax, eax
je 0x40b01b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b01b
test byte [ebp - 0xc], 1
jne 0x40b024
or dword [ebp + 0x10], 0x200000
jmp 0x40b05d
mov eax, dword [0x808108]
cmp eax, ebx
je 0x40b05d
push eax
call fcn.00406b6f
pop ecx
test eax, eax
je 0x40b05d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b05d
mov eax, dword [0x80810c]
cmp eax, ebx
je 0x40b05d
push eax
call fcn.00406b6f
pop ecx
test eax, eax
je 0x40b05d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x808104]
call fcn.00406b6f
pop ecx
test eax, eax
je 0x40b07d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b07f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48cef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x55000]
push edi
jmp 0x48cf0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48cf11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48cf00
mov eax, 1
add ebx, ebx
jne 0x48cf23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48cf34
jne 0x48cf53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48cf53
dec eax
add ebx, ebx
jne 0x48cf40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48cf18
add ebx, ebx
jne 0x48cf4f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48cfa5
xor ecx, ecx
sub eax, 3
jb 0x48cf6b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48cfda
sar eax, 1
mov ebp, eax
jmp 0x48cf76
add ebx, ebx
jne 0x48cf76
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48cf44
inc ecx
add ebx, ebx
jne 0x48cf84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48cf44
add ebx, ebx
jne 0x48cf91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48cf86
jne 0x48cfa2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48cf86
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48cfc4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48cfb6
jmp 0x48cf06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48cfc4
add edi, ecx
jmp 0x48cf06
pop esi
mov edi, esi
mov ecx, 0x2c6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48cfe2
cmp byte [edi], 0x11
jne 0x48cfe2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48cfe7
lea edi, [esi + 0x89000]
mov eax, dword [edi]
or eax, eax
je 0x48d05f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x94710]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x94828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48d014
mov ecx, edi
jns 0x48d043
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9482c]
or eax, eax
je 0x48d059
mov dword [ebx], eax
add ebx, 4
jmp 0x48d031
call dword [esi + 0x9483c]
mov ebp, dword [esi + 0x94830]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x48d093
sub esp, 0xffffff80
jmp 0x454bde
Function at 0x401220
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
add esi, 0x56
and edx, 0x83
inc edx
mov ebx, 0x92
bswap eax
dec ebx
neg edi
not edx
rol eax, 0x6f
bswap edi
imul eax
neg edi
or edx, 0xb2
sbb esi, 0x9c
inc edx
neg esi
rcl eax, 0xc4
imul ebx
imul edi
imul esi
inc edx
rcl edx, 0xa5
dec esi
or edi, 0xe9
bswap ebx
sbb edi, 0xdd
imul esi
and edi, 0x1b
inc edx
imul esi
dec eax
bswap edi
imul edi
inc edi
bswap edx
dec edx
imul edx
sbb edi, 0xcc
or eax, 0x5a
dec edx
neg ebx
add edx, 0xee
not eax
imul esi
not esi
rol edi, 0x94
sub ebx, 0x20
inc ebx
rol edx, 0x49
mov edx, 0xc7
xor ecx, ecx
xor edi, edi
dec edx
not edx
sub edi, 0x57
add edx, 0x2d
bswap edx
mov esi, 0xaa
not ebx
neg edx
rcl edx, 0x38
not edi
dec ebx
or esi, 0xeb
not ebx
bswap edx
sub edx, 0x2d
inc eax
ror edx, 0x11
sbb eax, 0x77
bswap eax
inc edi
not eax
bswap edi
neg ebx
rcl eax, 0x73
ror edx, 0x8a
not ebx
sbb edx, 0x22
ror eax, 0x55
and ebx, 0x3e
dec eax
not esi
bswap edx
or eax, 0xf9
neg eax
imul esi
neg edi
inc edx
bswap eax
sub esi, 0x12
dec esi
not ebx
and eax, 0xc
rol esi, 0x84
dec edi
add esi, 0xc8
sub ebx, 7
bswap edi
sbb edi, 0x47
bswap ebx
rcr edi, 0xb8
mov ecx, dword [ebp + 0xc]
inc edx
rcl edx, 0x37
inc esi
rcl esi, 0x46
imul edi
not edi
dec ebx
ror edx, 0x8b
neg eax
not esi
imul esi
dec ebx
rol edi, 0xf8
add edx, 0xc3
sub edi, 0x7f
bswap ebx
neg edx
rcl ebx, 0x85
rcl esi, 0x8e
imul edx
not eax
sub ebx, 0xef
neg ebx
imul eax
imul edi
inc edx
rcr eax, 0xb8
not edi
and edi, 0x3a
dec esi
sbb edx, 0x8b
rol esi, 0xd2
dec esi
dec ebx
inc ebx
sbb edi, 0x18
bswap edx
rcl edx, 0x8d
or eax, 3
dec edx
and edi, 0xc9
inc eax
rol ebx, 0xa
dec ebx
sub eax, 0x4d
dec esi
mov ebx, 0x76
add ebx, 4
neg eax
bswap edx
mov edi, dword [ebp + 8]
xor esi, eax
xor esi, ebx
xor ebx, esi
not byte [edi]
mov eax, eax
xor ebx, esi
xor ebx, esi
mov eax, eax
mov eax, eax
xor ebx, esi
mov esi, esi
xor eax, ebx
mov eax, ebx
add byte [edi], 0x87
xor eax, ebx
mov ebx, eax
mov esi, esi
mov eax, eax
xor esi, esi
xor ebx, esi
xor esi, esi
mov eax, esi
xor esi, eax
sub byte [edi], 0x54
mov esi, eax
xor ebx, eax
mov ebx, ebx
mov esi, ebx
xor ebx, ebx
mov ebx, ebx
xor ebx, eax
xor esi, esi
xor esi, esi
imul byte [edi]
inc edi
loop 0x4013af
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4042b5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4251d0]
jne 0x4042bf
repz ret
jmp fcn.00406035