joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c5e30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c5fed
sub esp, 0x64
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0046bb99
lea edi, [esp + 8]
call fcn.0046bb99
mov ecx, dword [esp + 0x68]
test byte [ecx], al
lea edx, [ecx + 0x14]
mov dword [esp], edx
call fcn.00470100
mov ecx, dword [esp + 4]
test ecx, ecx
setne cl
mov byte [esp + 0xa], cl
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 0x28]
mov word [esp + 8], dx
mov edx, dword [ecx + 0xc4]
mov ebx, dword [ecx + 0xc8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
movzx edx, byte [ecx + 0x35]
mov byte [esp + 0xb], dl
mov byte [esp + 0x18], 1
mov edx, dword [ecx + 0x74]
mov ebx, dword [ecx + 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
movzx edx, word [ecx + 0x36]
mov word [esp + 0xc], dx
mov edx, dword [ecx + 0x50]
mov ebx, dword [ecx + 0x54]
mov ebp, dword [ecx + 0x58]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov edx, dword [ecx + 0x68]
mov ebx, dword [ecx + 0x6c]
mov ebp, dword [ecx + 0x70]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x4c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov ebp, dword [ecx + 0x40]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
movzx edx, byte [ecx + 0x35]
test dl, dl
je 0x5c5f22
movzx eax, byte [ecx + 0x34]
test al, al
je 0x5c5f6b
cmp word [ecx + 0x28], 0x304
je 0x5c5f6b
movzx eax, byte [ecx + 0x9c]
test al, al
je 0x5c5f51
lea eax, [ecx + 0xa9]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
jmp 0x5c5f6b
lea eax, [ecx + 0xb5]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0xc
mov dword [esp + 0x5c], 0xc
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x5c5f84
lea eax, [0x673d80]
mov dword [esp + 0x60], eax
jmp 0x5c5fdc
cmp word [ecx + 0x28], 0x304
je 0x5c5fd2
movzx eax, byte [ecx + 0x34]
test al, al
jne 0x5c5fd2
lea eax, [0x638420]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
lea ecx, [0x5c6000]
mov dword [eax], ecx
mov ecx, dword [0x82b968]
test ecx, ecx
jne 0x5c5fbe
mov ecx, dword [esp + 0x68]
jmp 0x5c5fc9
call fcn.0046b930
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov dword [esp + 0x60], eax
jmp 0x5c5fdc
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x60], eax
lea edi, [esp + 0x6c]
lea esi, [esp + 8]
call fcn.0046bfda
add esp, 0x64
ret
call fcn.0046a530
jmp fcn.005c5e30
Function at 0x5de680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5de878
sub esp, 0x60
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
test edx, edx
jne 0x5de834
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0046bba5
mov ecx, dword [esp + 0x44]
nop
mov byte [esp + 0x23], 0
mov byte [esp + 0x23], 0x18
test ecx, ecx
jne 0x5de85f
movzx eax, byte [esp + 0x40]
test al, al
je 0x5de70f
mov eax, dword [esp + 0x38]
inc eax
lea ecx, [esp + 0x2c]
cmp dword [ecx + 0x10], eax
jge 0x5de70f
lea eax, [0x639500]
mov dword [esp], eax
call fcn.0040d2d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x36
lea ecx, [0x67086e]
mov dword [eax], ecx
lea ecx, [0x6b96cc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
jmp 0x5de76e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp eax, edx
jae 0x5de758
mov dword [esp + 0x24], ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x630a60]
mov dword [esp + 0x10], eax
call fcn.00450140
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
movzx ebp, byte [esp + 0x23]
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [0x5de890]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov byte [esp + 8], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0xc], ecx
call fcn.00557ae0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5de7c7
mov ecx, dword [esp + 0x30]
xor ebp, ebp
xor edx, edx
mov ebx, ecx
xor ecx, ecx
jmp 0x5de7f2
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jb 0x5de85a
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
sub ecx, eax
add edx, ebx
xor eax, eax
xor ebx, ebx
mov esi, dword [esp + 0x64]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebp
mov edi, dword [0x82b968]
test edi, edi
je 0x5de81a
mov dword [esp + 0x28], ebx
call fcn.0046b940
mov dword [edi], edx
mov ebx, dword [esi]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x28]
mov dword [esi], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebx
add esp, 0x60
ret
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x60
ret
call fcn.0046ba10
lea eax, [0x6309e0]
mov dword [esp], eax
lea eax, [0x6b8bf8]
mov dword [esp + 4], eax
call fcn.00439050
nop
call fcn.0046a530
jmp fcn.005de680
Function at 0x5e5360
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5e5465
sub esp, 0x84
nop
lea edi, [esp + 0x20]
xor eax, eax
call fcn.0046bb98
nop
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], 0xc3d2e1f0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
jmp 0x5e5415
mov dword [esp + 0x1c], eax
mov dword [esp + 0x80], ecx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
lea ebp, [esp + 0x20]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.005a0cc0
mov eax, dword [esp + 0x80]
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x1c]
dec eax
test eax, eax
jg 0x5e53db
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.005a0ea0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x84
ret
call fcn.0046a530
jmp fcn.005e5360
Function at 0x5e5470
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x7c]
cmp eax, dword [ecx + 8]
jbe 0x5e56a8
sub esp, 0xfc
lea eax, [0x630a60]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov dword [esp + 8], 0x24
call fcn.00450080
mov eax, dword [esp + 0xc]
mov dword [esp + 0xf8], eax
nop
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0046bb99
nop
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov eax, dword [esp + 0x100]
mov ecx, eax
mov edx, dword [esp + 0x104]
jmp 0x5e5572
mov dword [esp + 0x90], edx
mov dword [esp + 0xf4], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
lea ebp, [esp + 0x94]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0059fb20
mov eax, dword [esp + 0xf4]
add eax, 0xc
mov ecx, dword [esp + 0x90]
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x100]
test edx, edx
jg 0x5e5526
lea edi, [esp + 0x34]
lea esi, [esp + 0x94]
call fcn.0046bfda
lea eax, [esp + 0x34]
mov dword [esp], eax
call fcn.0059fe00
lea edi, [esp + 0x20]
lea esi, [esp + 4]
call fcn.0046c098
mov dword [esp], 0
mov dword [esp + 4], 0x10
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x10
lea eax, [0x630a60]
mov dword [esp + 0x10], eax
call fcn.00450140
mov eax, dword [esp + 0x14]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov dword [esp], eax
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
call fcn.0046c2a0
mov eax, dword [esp + 0x30]
cmp eax, 0x24
jl 0x5e5606
mov eax, 0x24
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf8]
cmp ecx, edx
je 0x5e5628
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0046c2a0
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0x104]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 8], eax
call fcn.005e5360
mov eax, dword [esp + 0x10]
cmp eax, 0x14
jl 0x5e565b
mov eax, 0x14
mov ecx, dword [esp + 0xf8]
lea edx, [ecx + 0x10]
mov ebx, dword [esp + 0xc]
cmp ebx, edx
je 0x5e5684
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0046c2a0
mov ecx, dword [esp + 0xf8]
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x110], 0x24
mov dword [esp + 0x114], 0x24
add esp, 0xfc
ret
call fcn.0046a530
jmp fcn.005e5470
Function at 0x5e95f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x82b814]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5e9798
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x5e961c
movzx ecx, byte [esp + 0x80]
jmp 0x5e9629
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x5e9661
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5e977f
cmp cl, 0xe4
je 0x5e9640
cmp ax, 0x303
jmp 0x5e9665
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x5e96f3
cmp cl, 0xe3
jne 0x5e96bd
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0046c03e
call fcn.005e92d0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.0048c000
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x48
ret
lea eax, [0x6309e0]
mov dword [esp], eax
lea eax, [0x6b8c10]
mov dword [esp + 4], eax
call fcn.00439050
nop
call fcn.0046a530
jmp fcn.005e95f0
Function at 0x10004511
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1002806c], 0x121e
mov dword [0x10028070], 0x1c3
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1000579d
mov dword [0x10028070], 0xc67
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, 0xc67
lea ecx, [0x1000466b]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], 0x11ba00
mov dword [0x1002806c], 0x423d
mov esi, dword [0x10028058]
mov dword [esp + 0x50], esi
mov esi, dword [0x1002805c]
mov dword [esp + 0x5c], esi
mov esi, dword [0x10028060]
mov dword [esp + 0x7c], esi
mov esi, dword [0x10028064]
mov dword [esp + 0x48], esi
mov esi, dword [0x10028068]
mov dword [esp + 0x68], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jne 0x100045e6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1000460e
mov eax, dword [esp + 0xc]
add eax, 0x954
mov ecx, dword [esp + 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [0x10028070], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100045bb
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xc]
add ecx, 0xffffe1fb
mov edx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
mov dword [0x1002806c], ecx
mov ecx, dword [esp + 8]
mov esi, dword [edx + ecx + 0x50]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10005629
mov dword [0x10028070], 0xe4a
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10004c6a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10028078], 0
mov edi, dword [0x1002806c]
add edi, 0xac6
mov dword [0x1002806c], edi
mov byte [0x1002807c], 0
mov edi, dword [0x10028070]
add edi, 0x899
mov dword [0x10028070], edi
mov dword [0x10028074], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10028070], 0x21f
mov eax, dword [0x10028074]
add eax, 1
mov dword [0x10028074], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10004cc9
xor eax, eax
mov ecx, 0x117c
mov dword [0x1002806c], 0x117c
mov dword [0x10028074], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff2bb
mov dword [0x10028070], eax
mov eax, dword [0x10028078]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x10028078], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1002807c], bl
mov dword [0x10028070], 0x19c9
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1002807c]
mov ecx, dword [0x10028078]
mov byte [esi + ecx], bl
mov dword [0x10028070], 0x237e
mov ecx, dword [0x10028074]
add ecx, 1
mov dword [0x10028074], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jge 0x10004dc7
mov eax, dword [0x1002806c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x10004d1a
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10004de6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0xfffff7ea
xor ebx, ebx
mov dword [0x10028074], 0
mov dword [0x10028078], 0
mov dword [0x10028080], 0
mov dword [0x1002806c], 0x1640
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
je 0x10004e5a
jmp 0x10004e6a
mov eax, dword [ebp - 0x30]
add eax, 0xfffff418
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [0x10028070], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x10028074], edx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10028078], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1002807c], cl
mov edi, dword [0x10028070]
add edi, 0xfffff1b0
mov dword [0x10028070], edi
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1002807c]
mov edx, dword [0x10028078]
mov byte [edi + edx], cl
mov edx, dword [0x10028074]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10028078]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10028070], 0x494
and ebx, 0xff
mov dword [0x10028080], ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
mov ecx, dword [0x1002806c]
mov edx, ecx
add edx, 0x126e
mov dword [0x1002806c], edx
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x10]
cmp edx, esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], edx
je 0x10004e4f
mov eax, dword [0x10028074]
mov dword [ebp - 0x44], eax
mov eax, dword [0x10028078]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10004e6a
Function at 0x100050e7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x1002806c], 0xf07
mov dword [ebp - 0x10], eax
call fcn.10004f6f
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000512d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x1002806c], 0x1d5b
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1000524a
jmp 0x1000519e
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
jne 0x100051d2
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10005227
jmp 0x10005201
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x10005168
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x10005168
jmp 0x10005191
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 2
mov edx, dword [ebp - 0x50]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], eax
jb 0x100051b6
jmp 0x1000524a
mov eax, dword [ebp - 0x54]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1002806c], 0x249e
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10005629
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1002806c], 0x24bc
mov esi, dword [0x10028070]
add esi, 0xfffff2ac
mov dword [0x10028070], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10006390]
mov dl, byte [eax + 0x10006361]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
je 0x1000570e
jmp 0x1000565d
mov eax, dword [ebp - 0x34]
mov dword [0x1002806c], 0x761
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1000497b
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x1c], ecx
mov dword [0x1002806c], 0x1e36
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x40], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10005765
jmp 0x10005750
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov dword [0x1002806c], 0x380
mov dword [0x10028070], 0xffffeaa5
call fcn.1000537b
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.1000548c
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
je 0x10005765
jmp 0x10005689
mov eax, dword [ebp - 0x38]
add eax, 0x1d56
mov dword [0x1002806c], 0x1327
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add esp, 0x4c
pop esi
pop ebp
ret