Function at 0x10003220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax], ecx
mov dword [eax + 0xc], 1
mov dword [eax + 8], 0x40
mov dword [eax + 4], 0x24
lea ecx, [esp + 0x98]
mov dword [esp + 0x18], ecx
call fcn.10003560
sub esp, 0x10
mov ecx, dword [esp + 0x18]
mov eax, esp
lea edx, [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [eax], edx
call fcn.10003670
sub esp, 4
mov ecx, dword [esp + 0x14]
call fcn.10003740
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov eax, esp
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
call fcn.10003760
sub esp, 0xc
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
call fcn.1000ae42
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x154], eax
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov edx, dword [esp + 0x154]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], edx
call fcn.100038b0
sub esp, 0xc
mov ecx, dword [esp + 0x18]
call fcn.100039f0
mov eax, esp
mov dword [eax + 8], 6
mov dword [eax + 4], 0xf
mov dword [eax], 5
call fcn.10002420
mov dword [esp + 0x60], 0
mov edx, dword [esp + 0x154]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov dword [eax + 8], 4
call section..text
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax]
add ecx, 0xfffffffb
shr ecx, 1
mov dword [eax], ecx
mov eax, esp
mov dword [eax + 4], 6
mov dword [eax], 0xf
call fcn.10003110
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x154]
add eax, 0x18
lea ecx, [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x14
call section..text
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.1000ae42
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [esp], 5
mov dword [esp + 4], 0xf
mov dword [esp + 8], 6
call fcn.10002420
mov dword [esp + 0x54], 0
mov edx, dword [esp + 0x54]
mov eax, edx
sar eax, 0x1f
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
sub edx, esi
sbb eax, ecx
jge 0x100034ab
jmp 0x100033f0
cmp dword [esp + 0x54], 0x2c
jne 0x10003403
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
movzx esi, byte [esp + eax + 0x64]
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x54]
movsx edx, byte [eax + ecx]
xor edx, esi
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x60]
add eax, 1
mov dword [esp + 0x60], eax
cmp dword [esp + 0x60], 0x14
jl 0x10003496
mov dword [esp], 2
mov dword [esp + 4], 5
call fcn.100026e0
lea ecx, [esp + 0x3c]
lea eax, [0x1008902c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call fcn.10031820
mov dword [esp + 0x38], 6
xor eax, eax
mov dword [esp], 2
mov dword [esp + 4], 1
mov dword [esp + 8], 0
call fcn.10002960
mov dword [esp + 0x60], 0
jmp 0x1000349b
mov eax, dword [esp + 0x54]
add eax, 1
mov dword [esp + 0x54], eax
jmp 0x100033ca
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [eax]
sub ecx, 0x2c
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x154]
add ecx, 0x2c
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call section..text
mov dword [esp], 0x60
mov dword [esp + 4], 0x37
mov dword [esp + 8], 0x19
call fcn.10002b20
lea ecx, [esp + 0x20]
lea eax, [0x10089044]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call fcn.10031820
mov dword [esp + 0x1c], 6
mov eax, dword [esp + 0x154]
mov dword [esp + 0x10], eax
cmp eax, 0
je 0x1000353f
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.1000ae05
lea ecx, [esp + 0x98]
call fcn.10003a40
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret