Function at 0x76d09c
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b038
push 0x100305b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 0xf0], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xdc], ebx
cmp dword [0x100995a8], ebx
je 0x76d0f1
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
mov eax, 1
mov dword [0x100995a8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc8], 0x94
lea eax, [ebp - 0xc8]
push eax
call dword [0x1005905c]
test eax, eax
je 0x76d7c5
mov edx, dword [ebp - 0xc4]
mov dword [0x1009a7a0], edx
mov esi, dword [ebp - 0xc0]
mov dword [0x1009a720], esi
mov ecx, dword [ebp - 0xbc]
and ecx, 0xffff
mov dword [0x1009a744], ecx
xor eax, eax
mov edi, dword [ebp - 0xb8]
cmp edi, 1
sete al
mov dword [0x1009a768], eax
cmp eax, ebx
je 0x76d172
cmp edx, 4
jne 0x76d172
cmp esi, 3
jge 0x76d172
mov ecx, 1
jmp 0x76d174
xor ecx, ecx
mov dword [0x1009a758], ecx
cmp eax, ebx
je 0x76d194
cmp edx, 4
jne 0x76d194
cmp esi, 3
jl 0x76d194
cmp esi, 0xa
jg 0x76d194
mov ecx, 1
jmp 0x76d196
xor ecx, ecx
mov dword [0x1009a754], ecx
cmp eax, ebx
je 0x76d1b1
cmp edx, 4
jne 0x76d1b1
cmp esi, 0x5a
jl 0x76d1b1
mov ecx, 1
jmp 0x76d1b3
xor ecx, ecx
mov dword [0x1009a77c], ecx
xor edx, edx
cmp edi, 2
sete dl
mov dword [0x1009a774], edx
cmp eax, ebx
je 0x76d565
call fcn.0076c57c
mov dword [0x1009a728], eax
push 0x100657c8
call dword [0x10059128]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, ebx
je 0x76d7c5
push 0x47
push esi
call fcn.0076dccc
add esp, 8
mov dword [0x1009a75c], eax
cmp eax, ebx
je 0x76d7c5
push 0x5d
push esi
call fcn.0076dccc
add esp, 8
mov dword [0x1009a748], eax
cmp eax, ebx
je 0x76d7c5
push 0x61
push esi
call fcn.0076dccc
add esp, 8
mov dword [0x1009a73c], eax
cmp eax, ebx
je 0x76d7c5
push 0x62
push esi
call fcn.0076dccc
add esp, 8
mov dword [0x1009a714], eax
cmp eax, ebx
je 0x76d7c5
mov dword [0x1009a790], ebx
push 0x1009a790
call dword [0x1009a748]
cmp dword [0x1009a790], ebx
je 0x76d7c5
mov dword [0x1009a724], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xd8], esi
cmp word [esi], 0x5a4d
jne 0x76d328
mov ecx, esi
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x104], eax
cmp dword [eax], 0x4550
jne 0x76d328
xor ecx, ecx
mov cx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x114], edx
xor ebx, ebx
mov bx, word [eax + 6]
mov dword [ebp - 0xec], ebx
xor edi, edi
mov dword [ebp - 0xe4], edi
cmp edi, ebx
jge 0x76d328
lea eax, [edi + edi*4]
mov ecx, dword [ebp - 0x114]
mov esi, dword [ecx + eax*8 + 0xc]
add esi, dword [ebp - 0x24]
mov dword [ebp - 0xfc], esi
push 4
push esi
call dword [0x10059150]
test eax, eax
jne 0x76d4ac
push 4
push 0x100657c0
push esi
call dword [0x10059324]
add esp, 0xc
test eax, eax
jne 0x76d4ac
mov esi, dword [esi + 8]
mov dword [ebp - 0xf8], esi
mov eax, dword [0x1009a758]
test eax, eax
je 0x76d49f
mov edx, dword [esi + 0x28]
mov dword [0x1009a724], edx
push 0x100657b4
mov edi, dword [ebp - 0x34]
push edi
call fcn.0076dbec
mov ebx, eax
mov dword [ebp - 0x30], ebx
push ebx
push edi
call fcn.0076dccc
mov esi, eax
mov dword [ebp - 0x110], esi
push ebx
push edi
call fcn.0076ddac
add esp, 0x18
mov dword [ebp - 0xe0], eax
cmp byte [esi], 0x68
jne 0x76d373
mov esi, dword [esi + 1]
mov dword [ebp - 0x110], esi
mov eax, 0x1000
mov dword [ebp - 0xe0], eax
push 5
push 0x100657ac
push eax
push esi
call fcn.0076c46c
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x76d7c5
mov dword [0x1009a718], eax
push 0x10065798
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.0076dbec
mov edi, eax
mov dword [ebp - 0xcc], edi
push edi
push ebx
call fcn.0076dccc
mov esi, eax
mov dword [ebp - 0x108], esi
push edi
push ebx
call fcn.0076ddac
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp byte [esi], 0x68
jne 0x76d3dc
mov esi, dword [esi + 1]
mov dword [ebp - 0x108], esi
mov eax, 0x1000
mov dword [ebp - 0x20], eax
push 5
push 0x10065790
push eax
push esi
call fcn.0076c46c
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x76d7c5
cmp byte [eax + 6], 0xe8
jne 0x76d7c5
add eax, 7
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
lea edx, [ecx + eax + 4]
mov dword [0x1009a764], edx
sub eax, esi
mov edi, eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [ebp - 0xe8], ebx
test edi, edi
jle 0x76d4b2
cmp byte [esi], 0xa1
jne 0x76d455
mov eax, dword [esi + 1]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
cmp eax, dword [0x1009a790]
je 0x76d455
mov ecx, dword [0x1009a724]
test ecx, ecx
jne 0x76d455
mov dword [0x1009a724], eax
cmp byte [esi], 0xe8
jne 0x76d476
mov eax, dword [esi + 1]
lea eax, [eax + esi + 5]
mov dword [ebp - 0x100], eax
cmp eax, dword [0x1009a73c]
jne 0x76d476
inc ebx
mov dword [ebp - 0xe8], ebx
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xd4]
push edx
push esi
call fcn.0076d83c
add esp, 0xc
mov dword [ebp - 0xf4], eax
add esi, eax
mov dword [ebp - 0x1c], esi
sub edi, eax
mov dword [ebp - 0xd0], edi
jmp 0x76d429
mov eax, dword [esi + 0x30]
mov dword [0x1009a724], eax
jmp 0x76d328
inc edi
jmp 0x76d2bf
cmp ebx, 2
jl 0x76d4c4
mov eax, dword [0x1009a724]
test eax, eax
je 0x76d7c5
cmp ebx, 1
jg 0x76d4d3
mov dword [0x1009a724], 0
push 0x17
mov edi, dword [ebp - 0x34]
push edi
call fcn.0076dccc
mov esi, eax
mov dword [ebp - 0x10c], esi
push 0x17
push edi
call fcn.0076ddac
add esp, 0x10
mov dword [ebp - 0x118], eax
cmp byte [esi], 0x68
jne 0x76d510
mov esi, dword [esi + 1]
mov dword [ebp - 0x10c], esi
mov eax, 0x1000
mov dword [ebp - 0x118], eax
push 2
push 0x1006578c
push eax
push esi
call fcn.0076c46c
add esp, 0x10
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x76d7c5
add eax, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [0x1009a734], ecx
mov eax, dword [0x1009a77c]
test eax, eax
je 0x76d565
push 0x10065780
mov edx, dword [ebp - 0x34]
push edx
mov esi, dword [0x1005912c]
call esi
mov dword [0x1009a788], eax
test eax, eax
je 0x76d7c5
jmp 0x76d56b
mov esi, dword [0x1005912c]
mov eax, dword [0x1009a774]
test eax, eax
je 0x76d7bb
push 0x100657c8
call dword [0x10059128]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x76d7c5
push 0x10065774
call dword [0x10059128]
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x76d7c5
push 0x10065760
mov eax, dword [ebp - 0x34]
push eax
call esi
mov dword [0x1009a780], eax
test eax, eax
je 0x76d7c5
push 0x1006574c
mov ecx, dword [ebp - 0xf0]
push ecx
call esi
mov dword [0x1009a78c], eax
test eax, eax
je 0x76d7c5
push 0x10065738
mov edx, dword [ebp - 0xf0]
push edx
call esi
mov dword [0x1009a710], eax
test eax, eax
je 0x76d7c5
push 0x10065724
mov eax, dword [ebp - 0xf0]
push eax
call esi
mov dword [0x1009a71c], eax
test eax, eax
je 0x76d7c5
push 0x10065710
mov ecx, dword [ebp - 0xf0]
push ecx
call esi
mov dword [0x1009a770], eax
test eax, eax
je 0x76d7c5
push 0x100656f8
mov edx, dword [ebp - 0xf0]
push edx
call esi
mov dword [0x1009a778], eax
test eax, eax
je 0x76d7c5
push 0x100656e4
mov eax, dword [ebp - 0xf0]
push eax
call esi
mov dword [0x1009a730], eax
test eax, eax
je 0x76d7c5
push 0x100656d4
mov ecx, dword [ebp - 0xf0]
push ecx
call esi
mov dword [0x1009a784], eax
test eax, eax
je 0x76d7c5
push 0x100656bc
mov edx, dword [ebp - 0xf0]
push edx
call esi
mov dword [0x1009a79c], eax
test eax, eax
je 0x76d7c5
push 0x100656a0
mov eax, dword [ebp - 0xf0]
push eax
call esi
mov dword [0x1009a738], eax
test eax, eax
je 0x76d7c5
push 0x10065684
mov ecx, dword [ebp - 0xf0]
push ecx
call esi
mov dword [0x1009a7a4], eax
test eax, eax
je 0x76d7c5
push 0x10065668
mov edx, dword [ebp - 0xf0]
push edx
call esi
mov dword [0x1009a740], eax
test eax, eax
je 0x76d7c5
cmp dword [0x1009a7a0], 4
jl 0x76d721
push 0x10065658
mov eax, dword [ebp - 0x34]
push eax
call esi
mov dword [0x1009a74c], eax
test eax, eax
je 0x76d7c5
push 0x10065648
mov ecx, dword [ebp - 0x34]
push ecx
call esi
mov dword [0x1009a760], eax
test eax, eax
je 0x76d7c5
mov edi, 5
cmp dword [0x1009a7a0], edi
jl 0x76d7bb
push 0x10065780
mov edx, dword [ebp - 0x34]
push edx
call esi
mov dword [0x1009a788], eax
test eax, eax
je 0x76d7c5
push 0x1006562c
mov eax, dword [ebp - 0x34]
push eax
call esi
mov dword [0x1009a750], eax
test eax, eax
je 0x76d7c5
push 0x1006561c
mov ecx, dword [ebp - 0x34]
push ecx
call esi
mov dword [0x1009a798], eax
test eax, eax
je 0x76d7c5
push 0x1006560c
mov edx, dword [ebp - 0x34]
push edx
call esi
mov dword [0x1009a72c], eax
test eax, eax
je 0x76d7c5
cmp dword [0x1009a7a0], edi
jne 0x76d7bb
cmp dword [0x1009a720], 2
jl 0x76d7bb
push 0x100655fc
mov eax, dword [ebp - 0x34]
push eax
call esi
mov dword [0x1009a76c], eax
test eax, eax
je 0x76d7c5
push 0x100655f0
mov ecx, dword [ebp - 0x34]
push ecx
call esi
mov dword [0x1009a794], eax
test eax, eax
je 0x76d7c5
mov dword [ebp - 0xdc], 1
mov dword [ebp - 4], 0
call fcn.0076d7ef
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret