Function at 0x10003211
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x9c]
push ebx
and dword [eax], 0
mov eax, dword [esp + 0xa4]
push ebp
and dword [eax], 0
push esi
mov ebx, ecx
push edi
mov edi, dword [ebx + 0x3c]
add edi, ebx
mov edx, 0x1000
movzx esi, word [edi + 6]
movzx eax, word [edi + 0x14]
imul esi, esi, 0x28
lea ebp, [edi + 0x18]
add ebp, eax
sub esi, ebx
add esi, ebp
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebp
call fcn.1000303d
mov edx, 0x200
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.1000303d
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
add eax, dword [ebp + 8]
mov edx, 0x1000
mov ecx, eax
mov dword [esp + 0x50], eax
call fcn.1000303d
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], eax
add eax, dword [esp + 0x3c]
mov edx, 0x200
mov dword [esp + 0x1c], eax
call fcn.1000303d
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
mov edx, 0x1000
mov dword [esp + 0x58], eax
call fcn.1000303d
mov esi, dword [esp + 0x14]
sub esi, eax
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x64]
push eax
mov ecx, ebx
mov dword [esp + 0x48], esi
call fcn.10003097
mov eax, dword [esp + 0x64]
mov ecx, eax
test eax, eax
je 0x10003349
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp + 0xc]
jb 0x10003312
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
cmp edx, eax
jae 0x1000330c
mov eax, dword [esp + 0xa8]
add eax, edx
jmp 0x1000330f
lea eax, [edx + esi]
mov dword [ecx + 0xc], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x34]
mov edx, dword [ecx + 0x10]
add eax, ebx
cmp edx, eax
jb 0x1000333e
mov eax, dword [ebp + 8]
add eax, dword [edi + 0x34]
add eax, ebx
cmp edx, eax
jae 0x10003338
mov eax, dword [esp + 0xa8]
add eax, edx
jmp 0x1000333b
lea eax, [edx + esi]
mov dword [ecx + 0x10], eax
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x100032ef
mov eax, dword [esp + 0x64]
xor edx, edx
mov ebx, edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x20], eax
test eax, eax
je 0x100033dd
mov ebp, eax
mov edi, dword [ebp + 0xc]
and edi, 0xfffff000
mov eax, ebx
test ebx, ebx
je 0x10003387
cmp dword [eax + 0xc], edi
je 0x100033ab
mov eax, dword [eax + 8]
test eax, eax
jne 0x1000337b
push 0x14
pop ecx
call fcn.1000ce1b
mov esi, eax
test esi, esi
je 0x100033b0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi], 0x144fa10
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
jmp 0x100033b2
inc dword [eax + 0x10]
jmp 0x100033d0
xor esi, esi
push esi
lea ecx, [esp + 0x98]
call fcn.1000cf65
mov ebx, dword [esp + 0x94]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 1
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x1000336c
mov ebp, dword [esp + 0x38]
xor edx, edx
mov edi, edx
mov dword [esp + 0x30], edx
mov ecx, ebx
test ebx, ebx
je 0x10003404
mov eax, dword [ecx + 0x10]
lea edi, [edi + eax*2]
add edi, 8
test al, 1
je 0x100033f9
add edi, 2
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x100033e9
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
call fcn.1000819d
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x70]
call fcn.100085a0
mov eax, dword [ebp + 0x30]
mov esi, dword [esp + 0x1c]
mov edx, 0x1000
mov ecx, eax
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], eax
call fcn.1000303d
mov ecx, dword [ebp + 0x38]
add esi, eax
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10003483
mov edx, 0x200
mov dword [esp + 0x54], esi
call fcn.1000303d
add esi, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], esi
jmp 0x1000348d
and dword [esp + 0x54], 0
and dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x58]
mov edx, 0x1000
mov ecx, eax
mov dword [esp + 0x80], eax
call fcn.1000303d
mov ecx, dword [ebp + 0x60]
add dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x100034d7
mov edx, 0x200
mov dword [esp + 0x4c], esi
call fcn.1000303d
add esi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], esi
jmp 0x100034e1
xor edx, edx
and dword [esp + 0x18], edx
mov dword [esp + 0x4c], edx
mov ecx, dword [esp + 0x2c]
mov edx, 0x1000
call fcn.1000303d
mov ecx, dword [esp + 0x2c]
mov edx, 0x200
mov esi, eax
call fcn.1000303d
mov edx, eax
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
add eax, edx
mov dword [esp + 0x60], edx
mov edx, 0x200
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.1000303d
mov edx, 0x1000
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.1000303d
mov ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x34]
add ecx, dword [esp + 0x18]
add eax, esi
add eax, dword [esp + 0x20]
add ecx, dword [esp + 0x40]
add eax, dword [esp + 0x10]
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x5c], eax
add eax, edi
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.1000ce1b
push dword [esp + 0x20]
mov esi, eax
xor dl, dl
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.1000ce03
mov edx, dword [esp + 0x24]
push edi
mov ecx, esi
call fcn.1000ce3b
mov edi, dword [esi + 0x3c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xa4]
mov ecx, dword [esp + 0x34]
add edi, esi
movzx esi, word [edi + 0x14]
add esi, 0x18
add esi, edi
mov dword [esp + 0x14], esi
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
test edx, edx
je 0x10003604
mov esi, dword [esp + 0x10]
push dword [esp + 0xa8]
add esi, ecx
mov ecx, esi
call fcn.1000ce3b
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0xa8]
push dword [ebp + 0x10]
add edx, dword [esp + 0x28]
lea ecx, [esi + ecx]
call fcn.1000ce3b
mov esi, dword [esp + 0x14]
jmp 0x1000362f
mov ecx, dword [esp + 0xa8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
neg ecx
and ecx, 0x7fffffff
sub eax, ecx
add edx, ecx
mov ecx, dword [esp + 0x34]
add edx, dword [esp + 0x24]
add ecx, dword [esp + 0x10]
push eax
call fcn.1000ce3b
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x54]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x8c]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x3c], ecx
add ecx, dword [esp + 0x10]
mov dword [esi + 0x38], eax
mov edx, dword [ebp + 0x3c]
push dword [ebp + 0x38]
add edx, dword [esp + 0x28]
call fcn.1000ce3b
mov eax, dword [esp + 0x90]
mov dword [esi + 0x5c], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x64], eax
mov edx, dword [ebp + 0x64]
push dword [ebp + 0x60]
mov ebp, dword [esp + 0x14]
add edx, dword [esp + 0x28]
lea ecx, [eax + ebp]
call fcn.1000ce3b
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x28]
push ecx
mov dword [esi + 0x84], ecx
push ecx
lea edx, [eax + ebp]
lea ecx, [esp + 0x78]
mov dword [esi + 0x8c], eax
call fcn.10008750
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xb0], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 0xa8], eax
mov dword [esi + 0xb4], ecx
lea esi, [ecx + ebp]
mov ebp, dword [esp + 0x14]
test ebx, ebx
je 0x1000379e
mov eax, dword [ebx + 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 0x10]
lea ecx, [eax*2 + 8]
test al, 1
je 0x1000371f
add ecx, 2
mov eax, dword [esp + 0x64]
mov dword [esi + 4], ecx
add esi, 8
mov ecx, eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x10003781
mov eax, dword [ecx + 0xc]
and eax, 0xfffff000
cmp eax, dword [ebx + 0xc]
jne 0x10003776
mov ax, word [ecx + 0xc]
sub ax, word [ebx + 0xc]
mov edx, 0x3000
or ax, dx
mov word [esi], ax
push dword [ecx + 0xc]
movzx edx, word [edi + 6]
mov ecx, ebp
add esi, 2
call fcn.1000305b
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x10]
mov dword [eax + edx], ecx
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x10003733
test byte [ebx + 0x10], 1
je 0x1000378f
xor eax, eax
mov word [esi], ax
add esi, 2
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x10003709
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
add dword [edi + 0xd8], ebx
add dword [edi + 0x80], ebx
add dword [edi + 0x88], ebx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x8c], ecx
add dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], eax
movzx edx, word [edi + 6]
push dword [edi + 0xd8]
mov ecx, ebp
call fcn.1000305b
mov ecx, dword [edi + 0xdc]
mov esi, eax
add esi, dword [esp + 0x10]
add ecx, esi
mov edx, esi
cmp esi, ecx
je 0x10003800
add dword [edx], ebx
mov eax, dword [edi + 0xdc]
add edx, 4
add eax, esi
cmp edx, eax
jne 0x100037ef
movzx edx, word [edi + 6]
push dword [edi + 0x80]
mov ecx, ebp
call fcn.1000305b
mov esi, eax
mov eax, dword [esp + 0x10]
add esi, eax
jmp 0x1000386c
add dword [esi], ebx
add dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
movzx edx, word [edi + 6]
push dword [esi]
mov ecx, ebp
call fcn.1000305b
and dword [esp + 0x48], 0
mov ecx, eax
mov eax, dword [esp + 0x10]
add ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
test edx, edx
je 0x10003869
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov edx, ecx
test eax, eax
js 0x10003857
add dword [edx], ebx
inc ebp
lea edx, [ecx + ebp*4]
mov eax, dword [edx]
test eax, eax
jne 0x10003853
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add esi, 0x14
cmp dword [esi], 0
jne 0x1000381b
mov ecx, dword [esp + 0xa8]
add dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x88]
and dword [edi + 0x58], 0
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xac]
mov dword [ecx], eax
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x20]
mov dword [ecx], eax
lea ecx, [esp + 0x70]
call fcn.1000cf1d
lea ecx, [esp + 0x94]
call fcn.1000cf1d
lea ecx, [esp + 0x64]
call fcn.1000cf1d
xor eax, eax
pop edi
pop esi
pop ebp
inc eax
pop ebx
add esp, 0x90
ret 0x10