joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58a7f4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x50f1ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0058925c
xor ebx, ebx
push 0x2710
lea ecx, [esi + 0x150]
mov dword [esp + 0x20], ebx
call fcn.0052074c
push 0x3e8
lea ecx, [esi + 0x170]
mov byte [esp + 0x20], 1
call fcn.0052074c
push ebx
lea ecx, [esi + 0x194]
push ebx
mov byte [esp + 0x24], 2
call fcn.005bed9c
push ebx
lea ecx, [esi + 0x1d8]
push ebx
mov byte [esp + 0x24], 3
call fcn.005bed9c
lea ecx, [esi + 0x24c]
mov byte [esp + 0x1c], 4
call fcn.0053813c
lea ecx, [esi + 0x270]
mov byte [esp + 0x1c], 5
call fcn.006069b4
lea ecx, [esi + 0x284]
mov byte [esp + 0x1c], 6
call fcn.006069b4
push 0x41b0d0
push 0x41b0b0
push 0x100
lea eax, [esi + 0xa98]
push 0x10
push eax
mov byte [esp + 0x30], 7
call fcn.005f159b
lea ecx, [esi + 0x1a98]
mov byte [esp + 0x1c], 8
call fcn.0053813c
lea ecx, [esi + 0x1aa8]
mov byte [esp + 0x1c], 9
call fcn.0057b4ac
lea ebp, [esi + 0x1ff0]
mov byte [esp + 0x1c], 0xa
mov ecx, ebp
call fcn.0057b4ac
mov ecx, dword [0x559598]
mov byte [esp + 0x1c], 0xb
mov dword [esi + 0x2538], ecx
lea ecx, [esi + 0x25f0]
mov byte [esp + 0x1c], 0xc
call fcn.0059a15c
mov byte [esp + 0x1c], 0xd
mov ecx, 9
xor eax, eax
lea edi, [esi + 0xa0]
mov dword [esi], 0x526aa4
rep stosd dword es:[edi], eax
mov dword [esi + 0xb4], 1
mov dword [esi + 0x144], ebx
lea edi, [esi + 0x194]
push 0x7d0
mov ecx, edi
mov byte [esi + 0x14c], bl
call fcn.005a87dc
push 0xc8
mov ecx, edi
call fcn.005bee6c
lea edi, [esi + 0x1d8]
push 0x7d0
mov ecx, edi
call fcn.005a87dc
push 0xc8
mov ecx, edi
call fcn.005bee6c
push 0x7d0
call fcn.005a874c
add esp, 4
mov dword [esi + 0x21c], eax
mov eax, 0x3ff00000
mov dword [esi + 0x268], ebx
mov dword [esi + 0x260], ebx
push 2
mov ecx, esi
mov dword [esi + 0x190], ebx
mov byte [esi + 0x221], bl
mov byte [esi + 0x220], 1
mov dword [esi + 0x26c], eax
mov dword [esi + 0x264], eax
mov dword [esi + 0x248], ebx
mov byte [esi + 0x25e8], 1
mov byte [esi + 0x25ea], bl
mov dword [esi + 0x234], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x228], ebx
call fcn.0058ae6c
mov dword [esi + 0x240], ebx
push 1
mov ecx, esi
mov dword [esi + 0x244], ebx
call fcn.0058befc
mov edi, 3
mov dword [esi + 0x25e4], ebx
mov dword [esi + 0x2590], ebx
mov dword [esi + 0x258c], ebx
cmp word [ebp + 8], di
mov ecx, dword [ebp + 0xc]
sete dl
xor eax, eax
push edx
mov ax, word [ebp + 0x16]
push eax
push 2
push ecx
mov ecx, ebp
call fcn.0057be9c
cmp word [ebp + 8], di
mov ecx, dword [ebp + 0xc]
sete dl
xor eax, eax
push edx
mov ax, word [ebp + 0xa]
push 0x10
push eax
push ecx
mov ecx, ebp
call fcn.0057be9c
push 0x3fa030e3
push 0xc0000000
push 0xffffffffffffffff
lea ecx, [esi + 0x1aa8]
mov byte [esi + 0x1cd1], 1
call fcn.0057b7fc
mov byte [esi + 0x25e9], bl
mov byte [esi + 0x27b8], bl
mov eax, esi
pop edi
mov dword [esp + 0x18], 0xffffffff
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x59f41c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x510b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 4]
mov edi, dword [0x51814c]
push eax
push 0x18
push ecx
call edi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x28]
push edx
push 0x18
mov ecx, dword [eax + 4]
push ecx
call edi
mov eax, dword [esp + 0x70]
xor ebp, ebp
push ebp
lea edx, [esp + 0x14]
push 0x20
push edx
push eax
mov ecx, esi
call fcn.0059f2dc
mov ebx, eax
mov dword [esp + 0x40], 0x528244
mov dword [esp + 0x44], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push eax
push edi
push edx
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], ebp
call fcn.0059f09c
mov edi, eax
cmp edi, ebp
je 0x59f4cb
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
push 0x20
lea edx, [esp + 0x30]
push edi
push edx
push eax
mov ecx, esi
call fcn.0059f39c
push edi
call fcn.0060c2ba
push ebx
call fcn.0060c2ba
mov eax, dword [esp + 0x4c]
add esp, 8
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebp
mov dword [esp + 0x40], 0x528244
je 0x59f4fb
push eax
call fcn.0060c2ba
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x59f50d
push eax
lea ecx, [esp + 0x44]
call fcn.0059e8dc
mov eax, dword [esp + 0x5c]
pop edi
pop esi
cmp eax, ebp
pop ebp
pop ebx
je 0x59f523
push eax
lea ecx, [esp + 0x34]
call fcn.0059e8dc
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
Function at 0x5a34dc
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x5a351c
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5a3507
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x5a3514
add edx, ecx
cmp ebx, edx
jb 0x5a351e
inc edi
add eax, 0x28
cmp edi, esi
jb 0x5a34fd
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5a352c
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x5a3576
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x5a3557
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x5a3564
add edx, eax
cmp ebx, edx
jb 0x5a3572
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x5a354d
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x5a357c
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret
Function at 0x5be1ac
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x513f7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.005c077c
xor esi, esi
push 0xc8
push 0x190
lea ecx, [ebx + 0x5c]
mov dword [esp + 0x28], esi
call fcn.005bed9c
lea edi, [ebx + 0xa8]
mov eax, 4
mov byte [esp + 0x20], 1
mov ecx, 0x1c
mov dword [edi], esi
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x20], esi
mov dword [edi + 0x58], 0x55555555
mov dword [edi + 0x28], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], esi
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x68], esi
mov dword [edi + 0x60], esi
mov dword [edi + 4], esi
mov dword [edi + 0xc], 0x40e58880
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x24], 0x405e0000
mov dword [edi + 0x5c], 0x3f955555
mov dword [edi + 0x2c], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x3c], esi
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], 1
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x64], esi
xor eax, eax
mov dword [ebx], 0x52a348
mov dword [ebx + 0x4c], esi
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x118], esi
mov dword [ebx + 0x58], esi
push 0x80
rep stosd dword es:[edi], eax
call fcn.0060c291
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov byte [esp + 0x20], 2
je 0x5be2b0
push ebx
mov ecx, eax
call fcn.005bcf1c
jmp 0x5be2b2
xor eax, eax
mov byte [esp + 0x20], 1
push 0x190
mov dword [ebx + 0x48], eax
call fcn.005a874c
mov ecx, dword [esp + 0x1c]
add esp, 4
mov dword [ebx + 0xa0], eax
mov dword [esp + 0x20], 0xffffffff
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x5c077c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x514058
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x10], esi
call fcn.005873dc
xor ebx, ebx
lea edx, [esi + 0x18]
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dword [esi], 0x52a6b8
mov dword [edx], ecx
push 0x1c4
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.0060c291
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esi + 0x38], edi
je 0x5c07ef
mov ecx, 0x71
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], eax
mov dword [esp + 0x18], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x5d609c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x514944
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov edx, dword [0x559598]
xor eax, eax
lea ecx, [esi + 8]
mov dword [esp + 0x10], eax
mov dword [ecx], edx
mov edx, dword [0x559598]
mov byte [esp + 0x10], 1
mov dword [esi + 0xc], edx
mov edx, dword [0x559598]
mov byte [esp + 0x10], 2
mov dword [esi + 0x10], edx
mov edx, dword [0x559598]
mov byte [esp + 0x10], 3
mov dword [esi + 0x14], edx
mov byte [esp + 0x10], 4
mov dword [esi + 0x44], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0x52ef94
push eax
push 0x551a08
push ecx
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xbf800000
mov dword [esi + 4], eax
call fcn.00604b90
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
push ecx
mov ecx, esi
call fcn.005d617c
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x5d98ac
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51521b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push ebx
push ebp
lea edx, [eax + eax*8]
push esi
push edi
mov dword [esp + 0x10], 0
lea eax, [eax + edx*2]
lea edi, [ecx + eax*4]
mov esi, dword [esp + 0x24]
mov edx, dword [0x559598]
mov dword [esp + 0x1c], 1
lea ecx, [esi + 8]
mov dword [ecx], edx
mov eax, dword [0x559598]
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov dword [ebp], eax
mov edx, dword [0x559598]
lea ebx, [esi + 0x10]
mov byte [esp + 0x1c], 3
mov dword [ebx], edx
mov eax, dword [0x559598]
mov byte [esp + 0x1c], 4
mov dword [esi + 0x14], eax
mov byte [esp + 0x1c], 5
mov dword [esi], 0x52ef94
mov edx, dword [edi + 4]
lea eax, [edi + 8]
push eax
mov dword [esi + 4], edx
call fcn.0060c689
lea ecx, [edi + 0xc]
push ecx
mov ecx, ebp
call fcn.0060c689
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x10]
push eax
mov ecx, ebx
mov dword [esi + 0x44], edx
call fcn.0060c689
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call fcn.0060c689
mov edx, dword [edi + 0x18]
mov dword [esp + 0x10], 1
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov byte [esp + 0x1c], 0
mov eax, esi
pop edi
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5dcedc
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x515672
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x14]
call fcn.005dc79c
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], 0
call fcn.005dc35c
mov ebx, 1
push 0x14
mov byte [esp + 0x1c], bl
mov dword [esi], 0x52f0a4
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call fcn.0060c291
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 2
je 0x5dcf54
mov ecx, eax
call fcn.005d4aac
jmp 0x5dcf56
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 4], eax
call fcn.0060c291
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 3
je 0x5dcf7d
mov ecx, eax
call fcn.005d4aac
jmp 0x5dcf7f
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 8], eax
call fcn.0060c291
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 4
je 0x5dcfa6
mov ecx, eax
call fcn.005d4aac
jmp 0x5dcfa8
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 0xc], eax
call fcn.0060c291
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 5
je 0x5dcfcf
mov ecx, eax
call fcn.005d4aac
jmp 0x5dcfd1
xor eax, eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x18], bl
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esp + 0x18], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5dd58c
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x515700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call fcn.005e7fac
xor edi, edi
lea ecx, [esi + 0x70]
mov dword [esp + 0x1c], edi
call fcn.005e15bc
lea ecx, [esi + 0xb4]
mov byte [esp + 0x1c], 1
call fcn.005dcedc
lea ebp, [esi + 0x11c]
mov byte [esp + 0x1c], 2
mov ecx, ebp
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], edi
call fcn.005dc79c
lea ecx, [esi + 0x134]
mov byte [esp + 0x1c], 3
call fcn.005dc79c
mov byte [esp + 0x1c], 4
mov dword [esi], 0x52f0ac
mov dword [esi + 4], edi
mov dword [esi + 0x7c], 0x4c1040
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x9c], edi
xor eax, eax
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
push 0x100
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x108], 0x10
call fcn.0060c291
push 0x400
mov dword [esi + 0x110], eax
mov dword [esi + 0x10c], edi
call fcn.0060c291
mov ebx, dword [esp + 0x30]
add esp, 8
cmp ebx, edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x5c], edi
je 0x5dd701
push ebx
mov ecx, ebp
call fcn.005dc8fc
jmp 0x5dd703
xor eax, eax
mov ecx, dword [esi + 0x110]
mov dword [esi + 0x58], eax
cmp ecx, edi
je 0x5dd782
mov ecx, dword [esi + 0x28]
cmp ecx, edi
je 0x5dd782
cmp ebx, edi
je 0x5dd71f
cmp eax, edi
je 0x5dd782
mov eax, dword [esi + 0xb8]
add ecx, 0x400
cmp eax, edi
mov dword [esi + 0x2c], ecx
je 0x5dd782
cmp dword [esi + 0xbc], edi
je 0x5dd782
cmp dword [esi + 0xc0], edi
je 0x5dd782
cmp dword [esi + 0xc4], edi
je 0x5dd782
lea ecx, [esi + 0x34]
push edi
push ecx
lea ecx, [esi + 0x38]
call fcn.005e800c
cmp dword [esp + 0x24], edi
je 0x5dd77b
push 0x52f04c
mov ecx, esi
mov dword [esi + 0x5c], 1
mov byte [esi + 0x158], 0x21
call fcn.005df15c
test eax, eax
je 0x5dd782
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x14], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x822f0d
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.008230bd
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x82300b
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x822fae
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x822ff1
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x822fc5
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x822fe0
test al, 0x40
je 0x822fd7
mov ecx, dword [edi + 0x20]
jmp 0x822fde
test al, 0x80
je 0x822ff1
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x822ff1
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x822f7d
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
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 eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

Function at 0x484ce7
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x484a08
add edx, 1
call fcn.00484d28
add eax, 0x1e0107f9
add eax, 0x79ceb3f8
xor dword [ecx], esi
or eax, eax
or eax, eax
add edx, eax
add ecx, 2
dec edx
add edx, eax
or edx, edx
cmp ecx, edi
jl fcn.00484ce7
add edx, eax
add eax, eax
inc eax
ret
Function at 0x10aba00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8ff000]
push edi
or ebp, 0xffffffff
jmp 0x10aba22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10aba29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10aba18
mov eax, 1
add ebx, ebx
jne 0x10aba3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10aba4c
jne 0x10aba6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10aba6b
dec eax
add ebx, ebx
jne 0x10aba58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10aba30
add ebx, ebx
jne 0x10aba67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10ababd
xor ecx, ecx
sub eax, 3
jb 0x10aba83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10abaf2
sar eax, 1
mov ebp, eax
jmp 0x10aba8e
add ebx, ebx
jne 0x10aba8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10aba5c
inc ecx
add ebx, ebx
jne 0x10aba9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10aba5c
add ebx, ebx
jne 0x10abaa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10aba9e
jne 0x10ababa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10aba9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10abadc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10abace
jmp 0x10aba1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10abadc
add edi, ecx
jmp 0x10aba1e
pop esi
mov edi, esi
mov ecx, 0x31264
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10abafa
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x10abaff
lea edi, [esi + 0xca5000]
mov eax, dword [edi]
or eax, eax
je 0x10abb70
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcbfe54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc00a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10abb25
mov ecx, edi
jns 0x10abb54
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 + 0xcc00a8]
or eax, eax
je 0x10abb6a
mov dword [ebx], eax
add ebx, 4
jmp 0x10abb42
call dword [esi + 0xcc00a4]
mov ebp, dword [esi + 0xcc00ac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x10abba4
sub esp, 0xffffff80
jmp 0xa45b9a