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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, ecx
and dword [edi], 0
and dword [edi + 4], 0
xor bl, bl
mov eax, dword [0x10011560]
mov al, byte [eax]
test al, al
je 0x10006388
cmp al, 0x40
je 0x10006388
cmp byte [0x1001156c], 0
je 0x10005f79
cmp byte [0x1001156d], 0
je 0x100063f5
cmp dword [edi], 0
je 0x10005ffa
and dword [esp + 0x70], 0
lea ecx, [esp + 0x70]
and dword [esp + 0x74], 0
push 0x10001c28
call fcn.1000a697
push edi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
call fcn.1000a9df
mov eax, dword [esp + 0x78]
mov dword [edi], eax
mov eax, dword [esp + 0x7c]
mov dword [edi + 4], eax
test bl, bl
je 0x10005ffa
and dword [esp + 0x40], 0
lea eax, [esp + 0xc]
and dword [esp + 0x44], 0
lea ecx, [esp + 0x40]
push 1
push eax
mov byte [esp + 0x14], 0x5b
call fcn.1000ad17
push edi
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x48]
call fcn.1000a9df
mov eax, dword [esp + 0x80]
xor bl, bl
mov dword [edi], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 4], eax
mov eax, dword [0x10011560]
cmp byte [eax], 0x3f
jne 0x10006353
lea ecx, [eax + 1]
mov dword [0x10011560], ecx
movsx eax, byte [ecx]
sub eax, 0x24
je 0x1000633b
sub eax, 1
je 0x100062cf
sub eax, 0x1a
je 0x10006205
dec eax
sub eax, 1
je 0x100062cf
sub eax, 8
je 0x100061c4
sub eax, 8
je 0x100060bb
xor dl, dl
lea ecx, [esp + 0xc8]
call fcn.1000646b
and dword [esp + 0x48], 0
lea ecx, [esp + 0x48]
and dword [esp + 0x4c], 0
mov esi, eax
push 1
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x60
push eax
call fcn.1000ad17
push esi
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x50]
call fcn.1000a9df
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
push 0x27
mov dword [esp + 0x58], eax
call fcn.1000aab1
push edi
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x58]
jmp 0x1000636f
xor esi, esi
lea eax, [ecx + 1]
and dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [0x10011560], eax
push 0
mov dl, 1
lea ecx, [esp + 0x5c]
call fcn.10005564
pop ecx
mov ecx, dword [esp + 0x5c]
test cl, cl
jne 0x1000612f
test esi, esi
je 0x10006129
mov eax, dword [esp + 0x58]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push 0x10001c28
mov dword [esp + 0x1c], eax
call fcn.1000ab53
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
push eax
call fcn.1000ac0d
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
jmp 0x10006134
mov esi, dword [esp + 0x58]
jmp 0x10006134
push 2
pop ecx
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
test cl, cl
jne 0x100061b4
mov eax, dword [0x10011560]
cmp byte [eax], 0x40
jne 0x100060cd
and dword [esp + 0x28], 0
lea eax, [esp + 0xc]
and dword [esp + 0x2c], 0
lea ecx, [esp + 0x28]
push 1
push eax
mov byte [esp + 0x14], 0x5b
call fcn.1000ad17
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x10]
push eax
call fcn.1000ac0d
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
push 0x5d
mov dword [esp + 0x40], eax
call fcn.1000aab1
mov eax, dword [esp + 0x38]
mov dword [edi], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], eax
jmp 0x10006252
and dword [edi + 4], 0
and dword [edi], 0
mov byte [edi + 4], 2
jmp 0x1000637e
lea eax, [ecx + 1]
mov dl, 1
mov dword [0x10011560], eax
lea ecx, [esp + 0xe8]
push edi
lea eax, [esp + 0xdc]
push eax
push 0x5d
lea eax, [esp + 0xec]
push eax
push 0
call fcn.10005564
pop ecx
mov ecx, eax
call fcn.1000a99b
mov ecx, eax
call fcn.1000a9df
mov bl, 1
jmp 0x10006374
cmp byte [ecx + 1], 0x5f
jne 0x1000625d
cmp byte [ecx + 2], 0x3f
jne 0x1000625d
lea eax, [ecx + 1]
xor dl, dl
mov dword [0x10011560], eax
lea ecx, [esp + 0xf8]
push edi
lea eax, [esp + 0xf4]
push eax
push 0
call fcn.1000578a
pop ecx
mov ecx, eax
call fcn.1000a9df
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, dword [0x10011560]
cmp byte [eax], 0x40
jne 0x1000637e
inc dword [0x10011560]
jmp 0x1000637e
lea ecx, [esp + 0x100]
call fcn.100052b0
and dword [esp + 0x60], 0
lea ecx, [esp + 0x60]
and dword [esp + 0x64], 0
mov esi, eax
push 1
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x60
push eax
call fcn.1000ad17
push esi
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x68]
call fcn.1000a9df
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x94]
push 0x27
mov dword [esp + 0x70], eax
call fcn.1000aab1
push edi
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x70]
jmp 0x1000636f
push ecx
push ecx
lea ecx, [esp + 0xb0]
call fcn.1000a6bf
and dword [esp + 0x98], 0
lea ecx, [esp + 0x98]
and dword [esp + 0x9c], 0
push 0x10001c5c
call fcn.1000a697
push edi
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call fcn.1000a9df
mov eax, dword [esp + 0xa0]
mov ecx, dword [0x10011570]
mov dword [edi], eax
mov eax, dword [esp + 0xa4]
mov dword [edi + 4], eax
cmp dword [ecx], 9
je 0x1000637e
lea eax, [esp + 0xa8]
push eax
call fcn.1000ae40
jmp 0x1000637e
lea eax, [ecx - 1]
mov dword [0x10011560], eax
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x110]
jmp 0x10006361
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xc0]
push edi
push eax
push 0
mov dl, 1
call fcn.10005564
pop ecx
mov ecx, eax
call fcn.1000a9df
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
cmp byte [edi + 4], 0
je 0x10005f4c
mov eax, dword [0x10011560]
mov al, byte [eax]
test al, al
je 0x100063a4
cmp al, 0x40
je 0x100063f5
and dword [edi + 4], 0
and dword [edi], 0
mov byte [edi + 4], 2
jmp 0x100063f5
cmp dword [edi], 0
jne 0x100063b9
and dword [edi + 4], 0
mov byte [edi + 4], 1
mov dword [edi], 0x10002044
jmp 0x100063f5
push edi
lea eax, [esp + 0xc4]
push eax
push 0x10001c28
lea eax, [esp + 0xc4]
push eax
push 1
lea ecx, [esp + 0xc4]
call fcn.1000a86d
mov ecx, eax
call fcn.1000a9bd
mov ecx, eax
call fcn.1000a9df
mov ecx, dword [eax]
mov dword [edi], ecx
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret