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

Disassembly:
push 0xffffffffffffffff
push 0x42d978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x439f34]
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push eax
mov byte [esp + 0x40], 4
mov dword [esp + 0x20], 0x42fc5c
call fcn.0040c530
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 5
push ecx
lea ecx, [esp + 0x20]
call fcn.0040cce0
mov esi, dword [0x42f240]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0xc]
push ecx
push edx
push eax
mov byte [esp + 0x50], 6
call esi
test eax, eax
jne 0x40c8fe
push 0x43851c
lea ecx, [esp + 0x48]
call fcn.00422c41
push 0x5c
lea ecx, [esp + 0x48]
call fcn.00423b4f
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
call esi
test eax, eax
jne 0x40c8fe
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 5
call fcn.00423798
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040c4b0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov esi, dword [esp + 4]
lea ecx, [esp + 0x44]
imul esi, dword [esp + 8]
imul esi, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov byte [esp + 0x3c], 5
call fcn.00423798
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040c4b0
mov ecx, dword [esp + 0x34]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x40cb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42da08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x439f34]
push ebx
mov dword [esp + 8], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x28], 4
mov dword [esp + 8], 0x42fc5c
call fcn.0040c530
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 5
push ecx
lea ecx, [esp + 8]
call fcn.0040cce0
push 0x43851c
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.00422c41
push 0x5c
lea ecx, [esp + 0x30]
call fcn.00423b4f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [0x42f230]
test eax, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 5
setne bl
call fcn.00423798
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0040c4b0
mov ecx, dword [esp + 0x1c]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40cda0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42da88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x38]
call fcn.00423806
mov cl, byte [0x42fce0]
mov dword [esp + 0x2c], 0
push ecx
lea ecx, [esp + 0x38]
call fcn.00422c94
mov eax, dword [0x439f34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x42fc5c
call fcn.0040c530
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.00409100
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
push ecx
push eax
mov byte [esp + 0x34], 7
call fcn.00414576
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x40ce5d
mov edx, dword [esp + 0x34]
push edx
call fcn.0040ca30
add esp, 4
cmp eax, esi
sete al
test al, al
jne 0x40ce5d
xor bl, bl
jmp 0x40ce5f
mov bl, 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00423798
test bl, bl
lea ecx, [esp + 0xc]
jne 0x40cf16
lea eax, [esp + 8]
push eax
call fcn.00409100
mov eax, dword [eax]
mov byte [esp + 0x2c], 8
push eax
call fcn.0040cda0
add esp, 4
lea ecx, [esp + 8]
test al, al
sete bl
mov byte [esp + 0x2c], 6
call fcn.00423798
test bl, bl
je 0x40ced8
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040c4b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00423798
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040cc80
add esp, 4
lea ecx, [esp + 0xc]
test al, al
jne 0x40cf16
mov byte [esp + 0x2c], al
call fcn.0040c4b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00423798
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov byte [esp + 0x2c], 0
call fcn.0040c4b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.00423798
mov ecx, dword [esp + 0x24]
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40daf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42dd40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov ecx, dword [ecx + 0x1c]
lea edx, [esp]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp]
mov dword [esp + 0x28], 0
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40db4a
lea ecx, [esp]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423798
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov eax, dword [0x439f34]
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
mov dword [esp + 0x10], 0x42fc5c
call fcn.0040c530
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x30], 6
call fcn.00409100
mov eax, dword [eax]
mov byte [esp + 0x2c], 7
push eax
call fcn.0040c800
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov byte [esp + 0x2c], 6
call fcn.00423798
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040c4b0
lea ecx, [esp + 4]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423798
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x40dbe0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42dd90
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
mov edi, eax
mov esi, ecx
and edi, 0xffff
test ax, ax
mov dword [esi + 0x50], edi
je 0x40dd09
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x34]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], 0
cmp eax, 3
jne 0x40dc4a
mov eax, dword [esp + 0x34]
push eax
call fcn.0040ca60
add esp, 4
neg al
sbb eax, eax
add eax, 2
mov dword [esi + 0x20], eax
jmp 0x40dc51
mov dword [esi + 0x20], 2
cmp dword [esi + 0x20], 1
jne 0x40dc69
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x40dc6c
push 0x67
mov ecx, esi
call fcn.0040d2e0
jmp 0x40dc6c
mov dword [esi + 0x28], edi
mov eax, dword [0x439f34]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x2c], 5
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x42fc5c
call fcn.0040c530
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
mov byte [esp + 0x30], 6
call fcn.0040dfe0
push eax
lea ecx, [esi + 0x2c]
mov byte [esp + 0x30], 7
call fcn.00423885
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 6
call fcn.00423798
lea ecx, [esi + 0x3c]
call fcn.004092b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0040c4b0
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423798
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x20], 0
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x40e730
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40e73f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x438b68]
test eax, eax
je 0x40e74d
call fcn.0040e6d0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x40e84f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x43d650]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43d650]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43d650]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43d650]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43d650]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x43d650]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x43d650]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x43d650]
xor eax, ecx
inc esi
dec edi
jne 0x40e767
pop edi
test edx, edx
je 0x40e871
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x43d650]
xor eax, ecx
inc esi
dec edx
jne 0x40e853
pop ebx
pop esi
not eax
ret 0xc
Function at 0x42a034
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call 0x4b29bc
cmp ebx, dword [ebp - 8]
jge 0x42a097
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call 0x4b2dc0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call 0x4b2dc0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call 0x4b2dec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x42a05d
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x42a0a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call 0x4b29bc
cmp ebx, dword [ebp - 8]
jge 0x42a103
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call 0x4b2dc0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call 0x4b2dc0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call 0x4b2dec
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x42a0c9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x58d413
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x58d423
push dword [esp + 8]
pushfd
pop dword [esp + 0x3c]
lea esp, [esp + 0x3c]
jo 0x58bcfd
pushfd
mov byte [esp], 0xea
push dword [esp + 4]
pop dword [ebp]
mov byte [esp], cl
mov byte [esp + 4], ah
push 0x6ca37b00
lea esp, [esp + 0xc]
jmp fcn.0058cca1
push edx
pushal
mov word [ebp + 6], ax
jmp 0x58d66d
pushal
pushfd
push dword [esp + 0x24]
pop dword [ebp]
push 0x53096b1e
pushfd
pushfd
lea esp, [esp + 0x34]
jmp fcn.0058cca1
jmp 0x58c1fb
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x54c43f65
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
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
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x750c41e0
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x1a91721a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x7f501e52
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x43b652
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
sub edi, edi
and edi, edi
mov eax, 0x3540cb64
call fcn.0043b699
push 0x98cf49a0
pop eax
add edi, edi
sub eax, 0x5c00de4
xor dword [esi], ebx
add edi, 0x57d01e77
inc edi
add eax, 1
inc esi
and eax, eax
add edi, edi
cmp esi, ecx
jne fcn.0043b652
mov eax, 0x52e11290
dec edi
ret
Function at 0x104b08f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x104c80b4], 0
mov byte [0x104c80b8], 0
mov dword [0x104c80a8], 0x1584
mov dword [0x104c80ac], 0x1618
mov dword [0x104c80b0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x104b0a10
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x40e5
mov esi, 0x100
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x104c80bc], 0
mov ebx, dword [0x104c80b4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add ecx, edx
mov dword [0x104c80bc], ecx
mov edx, dword [ebp - 0x30]
mov dword [0x104c80a8], edx
mov eax, ecx
cdq
idiv esi
mov dword [0x104c80b4], edx
mov dword [0x104c80ac], 0x1cdc
mov ecx, dword [ebp - 0x28]
mov cl, byte [edi + ecx]
mov byte [0x104c80b8], cl
mov dword [0x104c80a8], 0x1f94
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x28]
mov byte [edi + edx], cl
mov cl, byte [0x104c80b8]
mov esi, dword [0x104c80b4]
mov byte [edi + esi], cl
mov dword [0x104c80a8], 0x255c
mov esi, dword [0x104c80b0]
add esi, 1
mov dword [0x104c80b0], esi
cmp esi, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
jl 0x104b0944
jmp 0x104b0a6b
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x104c80ac]
add eax, 0xfffffeca
mov dword [0x104c80a8], eax
mov eax, dword [0x104c80b0]
add eax, 1
mov dword [0x104c80b0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x104b0a10
mov dword [0x104c80a8], 0x23b4
mov dword [0x104c80b0], 0
mov eax, 0x3f3d
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x104b0944
mov dword [0x104c80ac], 0x1831
mov dword [0x104c80a8], 0x1b19
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x104b0bf0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov dword [0x104c80a8], 0xb68
call fcn.104b0750
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x34], ecx
je 0x104b0c43
jmp 0x104b0d97
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x104b0d97
mov eax, dword [esp + 0x2c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x28], eax
je 0x104b0cff
jmp 0x104b0d17
lea eax, [esp + 0x48]
mov ecx, dword [0x104c80a8]
add ecx, 0xffffe32d
mov dword [0x104c80ac], ecx
mov dword [esp + 0x24], eax
call fcn.104b10a0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x30], ecx
jne 0x104b0c1e
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.104b1770
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x38]
add ecx, 0x28
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
lea eax, [0x104b22b0]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dword [esp + 0x4c], 0x2ff800
mov esi, dword [0x104c8094]
mov dword [esp + 0x78], esi
mov esi, dword [0x104c8098]
mov dword [esp + 0x94], esi
mov esi, dword [0x104c809c]
mov dword [esp + 0x58], esi
mov esi, dword [0x104c80a0]
mov dword [esp + 0x74], esi
mov esi, dword [0x104c80a4]
mov dword [esp + 0x7c], esi
mov dword [0x104c80a8], 0x248
mov dword [0x104c80ac], 0xffffff4a
mov dword [esp + 0x2c], eax
jmp 0x104b0c2b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
je 0x104b0d36
mov eax, dword [esp + 0x28]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
jmp 0x104b0c2b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x60], eax
mov dword [0x104c80a8], 0x9e3
mov dword [0x104c80ac], 0xfffffe8c
mov eax, dword [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.104b1c00
mov dword [0x104c80a8], 0xf87
mov ecx, esp
lea edx, [esp + 0x48]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x30], eax
jmp 0x104b0c1e
mov eax, dword [esp + 0x34]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x104b10a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x104c80a8]
mov dword [ebp - 8], 0
add eax, 0x9b3
mov dword [0x104c80a8], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [0x104c80ac]
mov esi, edx
add esi, 0x1bfe
mov dword [0x104c80a8], esi
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x10]
mov esi, dword [esi + 0x3c]
add edx, 0x44e
mov dword [0x104c80ac], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ecx
jmp 0x104b119b
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp word [eax], 0x64
je 0x104b11e2
jmp 0x104b1212
mov dword [0x104c80ac], 0x28e2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x104b116e
jmp 0x104b1212
mov eax, dword [ebp - 0x20]
mov dword [0x104c80ac], 0x270
mov dword [0x104c80a8], 0xe26
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x104b11cd
jmp 0x104b1212
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff6
mov dword [0x104c80ac], 0x2207
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x64
je 0x104b10ff
jmp 0x104b1212
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], edx
je 0x104b1143
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], eax
jl 0x104b119b
jmp 0x104b1143
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x104b1125
jmp 0x104b1212
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x104b1212
mov eax, 1
mov dword [0x104c80ac], 0x1093
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x104b1221
xor eax, eax
mov dword [0x104c80a8], 0x12b7
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret