Function at 0x100a7d49
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x70]
xor edx, edx
push esi
push edi
push 0x24
mov esi, dword [eax + 0x1c]
mov edi, dword [eax]
sub eax, edi
sub eax, 0x54
mov dword [esp + 0x28], esi
pop ecx
div ecx
test dword [esi + 0x1c], 0x1000
mov dword [esp + 0x38], 0x38
mov dword [esi + 0x8c], eax
je 0x100a7d88
mov eax, 0xfffffbd7
jmp 0x100a818b
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.100a8af1
mov ebx, eax
test ebx, ebx
js 0x100a8189
mov edx, dword [edi + 0x34]
mov dword [esp + 0x48], edx
test edx, edx
je 0x100a8177
cmp dword [esp + 0x94], 0
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x4c]
mov esi, dword [esi + 0x7c]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], esi
je 0x100a7df2
mov esi, dword [edi + 0x44]
jmp 0x100a7df5
mov esi, dword [edi + 0x40]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x7c], ebx
test edx, edx
jle 0x100a814d
mov edx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x94], eax
lea eax, [ecx + 0x18]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], ebx
test ecx, ecx
jne 0x100a7e7a
mov eax, dword [edx]
test eax, 0x800
je 0x100a7e4e
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
add edx, 0x18
mov dword [esp + 0x28], edx
movzx eax, byte [eax + 4]
movzx ecx, byte [eax + 0x1000c7fc]
jmp 0x100a7e6c
and eax, 0x1ff
cmp eax, 1
jne 0x100a7e70
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 8]
mov al, byte [eax + 6]
cmp al, 1
je 0x100a7e69
test al, al
jne 0x100a7e70
push 9
pop ecx
mov dword [esp + 0x10], ecx
push ecx
call fcn.1003aa80
mov dword [esp + 0x30], eax
push ebx
push dword [esp + 0x84]
push ebp
call fcn.1003cd20
mov esi, eax
test esi, esi
js 0x100a8166
push ebx
push ebx
push 4
lea eax, [esp + 0x88]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov esi, dword [esp + 0x18]
cmp dword [esi], ebx
je 0x100a7ef8
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100a7ec6
sub ecx, edx
push ebx
sar ecx, 1
push ebx
lea eax, [ecx + ecx]
push eax
push dword [esi]
push dword [esp + 0x60]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov esi, dword [esp + 0x20]
cmp dword [esi], ebx
je 0x100a7f75
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100a7f05
sub ecx, edx
push ebx
sar ecx, 1
push ebx
lea eax, [ecx + ecx]
push eax
push dword [esi]
push dword [esp + 0x7c]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x100a7f40
sub ecx, edx
push ebx
sar ecx, 1
push ebx
lea eax, [ecx + ecx]
push eax
push dword [esi]
push dword [esp + 0x80]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 2
jne 0x100a7ff9
mov eax, dword [edi + 0x3c]
mov edx, dword [esp + 0x7c]
test byte [eax + 0x88], 8
je 0x100a7fb2
mov esi, dword [esp + 0x34]
lea eax, [edx + 2]
cmp eax, dword [esi + 8]
jge 0x100a7faa
mov eax, dword [esi + 4]
imul ecx, edx, 0x34
mov ecx, dword [ecx + eax + 0x80]
jmp 0x100a7fbc
mov eax, dword [edi + 0x40]
mov ecx, dword [eax + edx*4]
jmp 0x100a7fb8
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
test ecx, ecx
je 0x100a7ffd
test ecx, ecx
je 0x100a7ffd
mov edx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x100a7fc5
sub edx, esi
push ebx
sar edx, 1
push ebx
lea eax, [edx + edx]
push eax
push ecx
push dword [esp + 0x84]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov edx, dword [esp + 0x7c]
cmp dword [esp + 0x90], ebx
je 0x100a8032
push ebx
push ebx
push 4
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edx
push eax
push dword [esp + 0x64]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x94]
push dword [eax + 4]
push edx
push edi
push dword [esp + 0x38]
call fcn.100a8c56
push ebx
push ebx
push 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x74]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov ecx, dword [esp + 0x94]
cmp dword [ecx], ebx
jne 0x100a8093
push 0x10
pop eax
cmp dword [esp + 0x10], eax
je 0x100a8091
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
cmove eax, dword [esp + 0x30]
mov dword [ecx], eax
push ebx
push ebx
push 4
push ecx
push dword [esp + 0x70]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
push ebx
push ebx
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x68]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
mov eax, dword [esp + 0x94]
push ebx
push ebx
push 4
add eax, 8
push eax
push dword [esp + 0x6c]
push dword [esp + 0x94]
push ebp
call fcn.1003d0e0
mov esi, eax
test esi, esi
js 0x100a8166
push ebx
push ebx
push ebx
push dword [esp + 0x8c]
push ebp
call fcn.1003d2f0
mov esi, eax
test esi, esi
js 0x100a8166
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x14]
inc eax
add dword [esp + 0x1c], 0x34
add edx, 0x14
add dword [esp + 0x18], 4
add dword [esp + 0x20], 4
add dword [esp + 0x24], 4
add dword [esp + 0x94], 0x10
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], edx
cmp eax, dword [esp + 0x48]
jl 0x100a7e1c
push ebx
push Ordinal_2
push dword [esp + 0x88]
push ebp
call fcn.1003cb30
mov esi, eax
test esi, esi
jns 0x100a8177
push dword [esp + 0x80]
push ebp
call fcn.1003c120
mov eax, esi
jmp 0x100a8189
mov edi, dword [esp + 0x88]
lea esi, [esp + 0x40]
push 0xe
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x68
ret 0x1c