joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7461ed
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059dd8
push 0x100305b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x100590cc]
test eax, eax
jne 0x74622e
xor eax, eax
jmp 0x7462d4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x74625e
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x7462d4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x746288
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x7462d4
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov ax, word [edx + 0x14]
test eax, eax
jne 0x7462a8
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
jmp 0x7462d4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x7462d4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x74afa1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005af08
push 0x100305b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 8], 0
jne 0x74afd6
mov dword [ebp - 0x1c], 0x10000
jmp 0x74afe1
mov eax, dword [ebp + 8]
add eax, 0x10000
mov dword [ebp - 0x1c], eax
push 0x1c
push 0
lea ecx, [ebp - 0x38]
push ecx
call fcn.0074be72
add esp, 0xc
jmp 0x74affc
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x100590cc]
test eax, eax
ja 0x74b015
jmp 0x74b0a1
cmp dword [ebp - 0x28], 0x1000
jne 0x74b02b
mov edx, dword [ebp - 0x24]
and edx, 0x100
test edx, edx
je 0x74b02d
jmp 0x74aff3
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x74b053
mov dword [ebp - 4], 0xffffffff
jmp 0x74aff3
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
cmp dword [edx], 0x4550
je 0x74b073
mov dword [ebp - 4], 0xffffffff
jmp 0x74aff3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x74b0a3
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x74b679
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005af58
push 0x100305b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x74b6b6
push 0
call dword [0x10059124]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x74b6ee
push 0xc1
call dword [0x100590e8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x74b86f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x74b726
push 0xbf
call dword [0x100590e8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x74b86f
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x74b754
push 0xc0
call dword [0x100590e8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x74b86f
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x74b779
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x74b82c
push 0x10060c88
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.0074bf32
add esp, 8
test eax, eax
jne 0x74b827
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x74b7c8
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x74b7ca
jmp 0x74b82c
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x40
jb 0x74b7f7
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x74b7f9
jmp 0x74b82c
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x74b80d
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [0x100590e8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x74b86f
jmp 0x74b770
push 0xc0
call dword [0x100590e8]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x74b86f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x74d7bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
and eax, 0xffff0000
mov dword [ebp - 4], eax
mov ecx, 1
test ecx, ecx
je 0x74d813
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
jne 0x74d805
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x3c]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], 0x4550
jne 0x74d805
jmp 0x74d813
mov edx, dword [ebp - 4]
sub edx, 0x1000
mov dword [ebp - 4], edx
jmp 0x74d7cd
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x74dd76
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x34], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 0xf8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x74ddc5
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x74ddcc
xor eax, eax
jmp 0x74df16
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x80], 0
je 0x74df11
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x14
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x10], 0
je 0x74df11
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0xc]
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0
je 0x74de38
mov eax, dword [ebp - 8]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax]
mov dword [ebp - 0x38], edx
jmp 0x74de48
mov eax, dword [ebp - 8]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax + 0x10]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x10]
add eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, 0x10098aa0
call fcn.007346dc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
cmp dword [edx + ecx*4], 0
je 0x74df03
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
and edx, 0x80000000
test edx, edx
je 0x74dece
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
sub edx, 0x80000000
push edx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
call dword [edx + 0x20]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
jmp 0x74def8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4]
add edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
call dword [edx + 0x20]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x74de89
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x74ddf1
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x74df1c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 0xf8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x74df5d
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x74df64
xor eax, eax
jmp 0x74e084
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xa0], 0
je 0x74df82
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x74df89
xor eax, eax
jmp 0x74e084
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x74dfa0
jmp 0x74e07f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0
jmp 0x74dfc9
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jae 0x74e06d
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx]
and eax, 0xfff
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx]
sar eax, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x74e05f
cmp dword [ebp - 0x14], 0
jne 0x74e008
xor eax, eax
jmp 0x74e084
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0xd8]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0xd8]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0xdc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x30]
jb 0x74e05f
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x34]
jae 0x74e05f
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
jmp 0x74dfc0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x74df92
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x74e08a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add eax, 0xf8
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x74e0cb
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x74e0d2
xor eax, eax
jmp 0x74e1f2
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xa0], 0
je 0x74e0f0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x74e0f7
xor eax, eax
jmp 0x74e1f2
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x74e10e
jmp 0x74e1ed
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
sub ecx, 8
shr ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 4]
add edx, 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], 0
jmp 0x74e137
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jae 0x74e1db
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx]
and eax, 0xfff
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov ax, word [edx]
sar eax, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x74e1cd
cmp dword [ebp - 0x14], 0
jne 0x74e176
xor eax, eax
jmp 0x74e1f2
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0xd8]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0xd8]
mov edx, dword [ebp - 0x28]
add eax, dword [edx + 0xdc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x30]
jb 0x74e1c0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 0x34]
jb 0x74e1cd
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
add edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov dword [ebp - 0x2c], ecx
jmp 0x74e12e
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
jne 0x74e100
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x766dac
Capabilities:
Encode data using xor

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x100650a4
sub eax, eax
test esi, esi
je 0x766e8c
sub eax, 1
test ecx, ecx
je 0x766e8a
test esi, 3
je 0x766dea
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x766dcf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x766e71
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x766df8
mov ecx, edx
test ecx, ecx
je 0x766e8a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x766e77
not eax
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x76dbec
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
cmp word [edx], 0x5a4d
push edi
je 0x76dc05
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
je 0x76dc1b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov ebp, dword [eax + 0x78]
mov eax, dword [ebp + edx + 0x20]
add ebp, edx
add eax, edx
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x76dc36
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov ecx, dword [ebp + 0x24]
xor edi, edi
add ecx, edx
test esi, esi
mov dword [esp + 0x10], ecx
jle 0x76dca1
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov esi, dword [esp + 0x1c]
add eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x76dc75
test cl, cl
je 0x76dc71
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x76dc75
add eax, 2
add esi, 2
test cl, cl
jne 0x76dc51
xor eax, eax
jmp 0x76dc7a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x76dc9a
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x18]
inc edi
add eax, 4
cmp edi, ecx
mov dword [esp + 0x18], eax
jl 0x76dc49
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
cmp di, 0xffff
jne 0x76dcaa
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
and edi, 0xffff
xor eax, eax
mov ax, word [ecx + edi*2]
mov ecx, dword [ebp + 0x10]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
pop ecx
ret

Function at 0x76dccc
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x104
cmp word [edx], 0x5a4d
push ebx
push esi
push edi
jne 0x76dd9c
mov edi, dword [edx + 0x3c]
add edi, edx
cmp dword [edi], 0x4550
jne 0x76dd9c
mov eax, dword [edi + 0x78]
mov ecx, dword [esp + 0x118]
add eax, edx
mov esi, dword [eax + 0x10]
cmp ecx, esi
jb 0x76dd9c
sub ecx, esi
mov esi, dword [eax + 0x14]
cmp ecx, esi
ja 0x76dd9c
mov esi, dword [eax + 0x1c]
lea ecx, [esi + ecx*4]
mov esi, dword [ecx + edx]
add esi, edx
cmp esi, eax
jb 0x76dd90
mov edx, dword [edi + 0x7c]
add edx, eax
cmp esi, edx
jae 0x76dd90
push 0x2e
push esi
call dword [0x100591dc]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x76dd9c
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, ebx
lea ecx, [esp + 0xc]
sub eax, esi
push eax
push esi
push ecx
call dword [0x10059368]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
call dword [0x10059128]
mov edi, eax
test edi, edi
je 0x76dd9c
inc ebx
push ebx
push edi
call fcn.0076dbec
push eax
push edi
call fcn.0076dccc
add esp, 0x10
mov esi, eax
push edi
call dword [0x10059050]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x104
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x76ddac
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
cmp word [ebx], 0x5a4d
push edi
jne 0x76df3c
mov edx, dword [ebx + 0x3c]
add edx, ebx
mov dword [esp + 0x18], edx
cmp dword [edx], 0x4550
jne 0x76df3c
mov eax, dword [edx + 0x78]
mov ecx, dword [esp + 0x128]
add eax, ebx
mov edi, dword [eax + 0x1c]
mov ebp, dword [eax + 0x10]
add edi, ebx
cmp ecx, ebp
jb 0x76df3c
mov esi, dword [eax + 0x14]
sub ecx, ebp
cmp ecx, esi
mov dword [esp + 0x14], esi
ja 0x76df3c
mov esi, dword [edi + ecx*4]
add esi, ebx
cmp esi, eax
jb 0x76de90
mov ecx, dword [edx + 0x7c]
add ecx, eax
cmp esi, ecx
jae 0x76de90
push 0x2e
push esi
call dword [0x100591dc]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x76df3c
mov edx, ebx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x1c]
sub edx, esi
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x20]
push esi
push eax
call dword [0x10059368]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call dword [0x10059128]
mov esi, eax
test esi, esi
je 0x76df3c
inc ebx
push ebx
push esi
call fcn.0076dbec
push eax
push esi
call fcn.0076ddac
add esp, 0x10
mov edi, eax
push esi
call dword [0x10059050]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], 0x7fffffff
cmp eax, 1
jl 0x76dede
lea eax, [ebp*4]
mov ebp, dword [esp + 0x14]
mov edx, 4
mov ecx, edx
sub ecx, eax
mov ecx, dword [ecx + edi]
sub ecx, esi
add ecx, ebx
test ecx, ecx
jle 0x76deca
cmp dword [esp + 0x10], ecx
jl 0x76deca
mov dword [esp + 0x10], ecx
add edx, 4
dec ebp
jne 0x76deb1
cmp dword [esp + 0x10], 0x7fffffff
jne 0x76df2d
mov edx, dword [esp + 0x18]
xor eax, eax
xor ebp, ebp
mov ax, word [edx + 0x14]
lea edi, [eax + edx + 0x18]
xor eax, eax
mov ax, word [edx + 6]
test eax, eax
jle 0x76df2d
add edi, 0xc
test byte [edi + 0x18], 0x20
je 0x76df10
mov edx, dword [edi]
mov ecx, ebx
add ecx, edx
mov edx, dword [edi - 4]
add edx, ecx
cmp esi, ecx
jb 0x76df10
cmp esi, edx
jbe 0x76df27
inc ebp
add edi, 0x28
cmp ebp, eax
jl 0x76def7
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
sub edx, esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
Function at 0x76e144
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
jne 0x76e1b2
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0x4550
je 0x76e1b9
xor eax, eax
jmp 0x76e343
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x78]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
je 0x76e1ec
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x76e1ec
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x76e1f3
xor eax, eax
jmp 0x76e343
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x20]
jb 0x76e340
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jae 0x76e340
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x238], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x134], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x2c], 0
push 0x103
mov edx, dword [ebp - 0x23c]
push edx
lea eax, [ebp - 0x238]
push eax
call dword [0x10059368]
add esp, 0xc
push 0x2e
lea ecx, [ebp - 0x238]
push ecx
call dword [0x1005936c]
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x76e2c5
xor eax, eax
jmp 0x76e343
push 0x103
mov edx, dword [ebp - 0x2c]
add edx, 1
push edx
lea eax, [ebp - 0x134]
push eax
call dword [0x10059368]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 1], 0
push 0x10065804
lea edx, [ebp - 0x238]
push edx
call fcn.0074be78
add esp, 8
lea eax, [ebp - 0x238]
push eax
call dword [0x10059124]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x76e322
lea ecx, [ebp - 0x238]
push ecx
call dword [0x10059128]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x76e32c
xor eax, eax
jmp 0x76e343
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [0x1005912c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
mov esp, ebp
pop ebp
ret