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

Disassembly:
sub esp, 0x29c
mov eax, dword [0x214f450]
xor eax, esp
mov dword [esp + 0x298], eax
mov eax, dword [esp + 0x2a8]
push ebx
push ebp
push esi
push 0x244
xor ebx, ebx
lea ecx, [esp + 0x3c]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov esi, 0x64
call fcn.10084130
add esp, 0xc
mov byte [esp + 0xbc], 0x10
mov dword [esp + 0xca], ebx
mov dword [esp + 0xbd], ebx
mov dword [esp + 0xc1], ebx
call fcn.10072f74
mov ecx, dword [edi + 0x118]
mov ebp, dword [edi + 0xb8]
mov dword [esp + 0x3e], eax
mov eax, dword [edi + 0xc4]
lea edx, [eax + ecx]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x11c]
add edx, eax
add edx, ecx
mov ecx, dword [esp + 0x2ac]
add ebp, eax
mov eax, ebp
mov dword [esp + 0x38], 0x2092b70
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0xbc], 0x20
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
jmp 0x1005b388
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x30]
mov edx, esi
dec esi
mov dword [esp + 0x30], esi
test edx, edx
je 0x1005b5a4
mov edx, ebp
sub edx, eax
add edx, ecx
add edx, dword [esp + 0x2b0]
lea esi, [esp + 0x38]
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], ebx
mov dword [esp + 0x38], 0x2092b50
mov dword [esp + 0x43], ecx
mov dword [esp + 0x47], edx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x78], bl
call fcn.10003680
test eax, eax
je 0x1005b5a4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x1005b3fb
mov ecx, esi
push ecx
call eax
add esp, 4
movzx esi, byte [esp + 0x42]
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x1005b5a4
mov eax, dword [esp + 0xca]
cmp eax, 0x1e
je 0x1005b536
cmp eax, 0xf2
je 0x1005b508
xor eax, eax
lea ecx, [esp + 0xce]
mov edx, dword [ecx]
cmp edx, 0x8f
je 0x1005b454
cmp edx, 0x8d
je 0x1005b454
inc eax
add ecx, 0x17
cmp eax, 3
jl 0x1005b430
add dword [esp + 0xc], esi
jmp 0x1005b571
imul eax, eax, 0x17
mov eax, dword [esp + eax + 0xd3]
cmp eax, dword [esp + 0x28]
jb 0x1005b502
cmp eax, dword [esp + 0x34]
jae 0x1005b502
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx + 8]
sub eax, dword [edi + 0xc4]
mov edx, dword [edi + 0x44]
mov edx, dword [edx + 0x10]
mov ecx, esi
push ecx
lea ecx, [esp + 0x288]
push ecx
push eax
push edi
mov dword [esp + 0x3c], eax
call edx
add esp, 0x10
cmp eax, esi
jne 0x1005b4fe
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
mov eax, esi
lea esi, [esp + 0x284]
cmp eax, 4
jb 0x1005b4c8
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x1005b4fe
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x1005b4b4
cmp eax, ebx
je 0x1005b4ec
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x1005b4fe
cmp eax, 1
jbe 0x1005b4ec
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x1005b4fe
cmp eax, 2
jbe 0x1005b4ec
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x1005b4fe
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov dword [edx], ecx
mov dword [esp + 0x1c], 1
mov esi, dword [esp + 0x24]
add dword [esp + 0xc], esi
jmp 0x1005b571
mov al, byte [esp + 0x226]
cmp al, 0xeb
jne 0x1005b523
movsx eax, byte [esp + 0xd3]
add eax, esi
add dword [esp + 0xc], eax
jmp 0x1005b571
cmp al, 0xe9
jne 0x1005b56d
mov ecx, dword [esp + 0xd3]
add ecx, esi
add dword [esp + 0xc], ecx
jmp 0x1005b571
cmp byte [esp + 0x226], 0xff
jne 0x1005b56d
cmp byte [esp + 0x227], 0x15
jne 0x1005b552
mov dword [esp + 0x18], 1
cmp dword [esp + 0xce], 0x8c
jne 0x1005b567
mov dword [esp + 0x20], 1
add dword [esp + 0xc], esi
jmp 0x1005b571
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0xc]
cmp ecx, ebp
jb 0x1005b587
mov edx, dword [esp + 0x2b0]
lea eax, [edx + ebp]
cmp ecx, eax
jb 0x1005b58b
mov dword [esp + 0x10], ebx
sub ecx, ebp
add ecx, dword [esp + 0x2ac]
cmp dword [esp + 0x20], ebx
jne 0x1005b5be
cmp dword [esp + 0x10], ebx
jne 0x1005b380
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.10072850
add esp, 0x29c
ret
cmp dword [esp + 0x1c], ebx
je 0x1005b5a4
cmp dword [esp + 0x18], ebx
je 0x1005b5a4
mov ecx, dword [esp + 0x2a4]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10072850
add esp, 0x29c
ret