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

Disassembly:
mov eax, 0x1021870e
call fcn.10210210
sub esp, 0x50
push ebx
xor eax, eax
mov dword [esp + 0x18], ecx
cmp byte [esp + 0x78], al
push ebp
mov ebp, dword [esp + 0x70]
setne al
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x20], edx
push ebx
mov ecx, ebp
mov dword [esp + 0x20], eax
call fcn.10029cbf
mov esi, ebx
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x74]
mov ecx, edi
mov dword [esp + 0x68], ebx
call fcn.100c791e
test eax, eax
je 0x1005e5ec
cmp eax, 0x2c
je 0x1005e533
cmp eax, 0x2f
je 0x1005e45a
cmp eax, 0x3b
je 0x1005e59b
cmp eax, 0x7d
mov eax, dword [edi + 0x14]
mov dword [edi + 0x10], eax
je 0x1005e59b
push dword [esp + 0x84]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x84]
push eax
push edi
call fcn.1005e62f
add esp, 0x14
test al, al
je 0x1005e60e
jmp 0x1005e57c
test esi, esi
je 0x1005e463
mov eax, dword [esi - 4]
jmp 0x1005e465
mov eax, ebx
test eax, eax
je 0x1005e59b
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x2c]
mov byte [esp + 0x68], 2
push eax
lea ecx, [esp + 0x18]
call fcn.1006725c
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x6c], 3
call fcn.10029e64
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 2
call fcn.10002db8
push dword [esp + 0x84]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x17]
push dword [esp + 0x84]
mov ecx, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1f], bl
push eax
push edi
call fcn.1005e62f
add esp, 0x14
test al, al
je 0x1005e58c
cmp byte [esp + 0x13], 0
jne 0x1005e58c
mov eax, dword [esp + 0x18]
push ecx
push ecx
mov edx, esp
test eax, eax
je 0x1005e4f2
mov ecx, dword [eax - 4]
jmp 0x1005e4f4
mov ecx, ebx
mov dword [edx + 4], ecx
lea ecx, [esp + 0x44]
mov dword [edx], eax
push 3
pop edx
call fcn.10051521
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 4
call fcn.10029e64
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 2
call fcn.10002db8
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], bl
call fcn.10029c8e
jmp 0x1005e57c
push ecx
push ecx
mov ecx, esp
test esi, esi
je 0x1005e540
mov eax, dword [esi - 4]
jmp 0x1005e542
mov eax, ebx
mov dword [ecx], esi
mov edx, ebx
mov dword [ecx + 4], eax
lea ecx, [esp + 0x54]
call fcn.10051521
pop ecx
pop ecx
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 1
call fcn.10029e64
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], bl
call fcn.10002db8
inc dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ebx
call fcn.10029cbf
mov ecx, edi
call fcn.100c791e
mov esi, dword [esp + 0x14]
jmp 0x1005e3f4
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], bl
call fcn.10029c8e
jmp 0x1005e60e
cmp dword [esp + 0x1c], 0
je 0x1005e5ec
push ecx
push ecx
mov ecx, esp
test esi, esi
je 0x1005e5af
mov eax, dword [esi - 4]
jmp 0x1005e5b1
mov eax, ebx
xor edx, edx
mov dword [ecx], esi
mov dword [ecx + 4], eax
inc edx
lea ecx, [esp + 0x54]
call fcn.10051521
pop ecx
pop ecx
push eax
mov ecx, ebp
mov byte [esp + 0x6c], 5
call fcn.10029e64
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], bl
call fcn.10002db8
push ebx
lea ecx, [esp + 0x18]
call fcn.10029cbf
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
test eax, eax
je 0x1005e5f8
mov eax, dword [eax - 4]
jmp 0x1005e5fa
mov eax, ebx
test eax, eax
jne 0x1005e60c
mov ecx, ebp
call fcn.10029c8e
mov dword [ebp], esi
mov dword [esp + 0x14], ebx
mov bl, 1
or dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10029c8e
mov ecx, dword [esp + 0x60]
mov al, bl
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
leave
ret