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

Disassembly:
push 0xffffffffffffffff
push 0x632628
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov ebx, ecx
xor ebp, ebp
cmp dword [ebx], ebp
jl 0x589654
mov eax, dword [ebx + 0x14]
cmp eax, ebp
je 0x589654
mov edi, dword [esp + 0x8c]
cmp edi, ebp
jl 0x589654
mov ecx, dword [ebx + 4]
cmp edi, ecx
jge 0x589654
mov esi, dword [esp + 0x90]
cmp esi, ebp
jl 0x589654
cmp esi, dword [ebx + 8]
jge 0x589654
mov eax, dword [eax + edi*4]
mov eax, dword [eax + esi*4]
cmp eax, 1
je 0x58964d
cmp eax, 2
jne 0x5894b1
xor edx, edx
cmp ecx, ebp
mov dword [ebx + 0x18], ebp
jle 0x5894b1
lea ecx, [ecx]
xor ecx, ecx
cmp dword [ebx + 8], ebp
jle 0x5894a9
jmp 0x589490
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edx*4]
cmp dword [eax + ecx*4], 2
lea eax, [eax + ecx*4]
jne 0x5894a1
mov dword [eax], ebp
add ecx, 1
cmp ecx, dword [ebx + 8]
jl 0x589490
add edx, 1
cmp edx, dword [ebx + 4]
jl 0x589480
cmp dword [ebx + 0x18], ebp
jne 0x58964d
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edi*4]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], ebp
mov dword [edx + esi*4], 3
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], esi
call fcn.00589360
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x5895f5
mov ecx, dword [esp + 0x34]
sub ecx, eax
sar ecx, 3
je 0x5895f5
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x30]
call fcn.0055feb0
lea ecx, [esp + 0x14]
call fcn.0053ae10
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
call fcn.00588ec0
push 0x5886b0
push 8
push 8
lea eax, [esp + 0x48]
push eax
call fcn.0045cb40
lea eax, [esi - 1]
lea ecx, [edi - 1]
lea edx, [esi + 1]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
lea eax, [edi + 1]
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
lea esi, [esp + 0x3c]
mov edi, 8
mov eax, dword [esi]
cmp eax, ebp
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jl 0x5895e8
cmp eax, dword [ebx + 4]
jge 0x5895e8
cmp ecx, ebp
jl 0x5895e8
cmp ecx, dword [ebx + 8]
jge 0x5895e8
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + eax*4]
cmp dword [eax + ecx*4], ebp
lea eax, [eax + ecx*4]
jne 0x5895e8
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
mov dword [eax], 3
call fcn.00589360
add esi, 8
sub edi, 1
jne 0x5895a7
jmp 0x5894f0
xor esi, esi
cmp dword [ebx + 4], ebp
jle 0x589639
lea esp, [esp]
xor edx, edx
cmp dword [ebx + 8], ebp
jle 0x58962d
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + esi*4]
lea eax, [ecx + edx*4]
mov ecx, dword [eax]
cmp ecx, ebp
jne 0x58961e
mov dword [eax], 2
jmp 0x589625
cmp ecx, 3
jne 0x589625
mov dword [eax], ebp
add edx, 1
cmp edx, dword [ebx + 8]
jl 0x589607
add esi, 1
cmp esi, dword [ebx + 4]
jl 0x589600
mov eax, dword [esp + 0x30]
cmp eax, ebp
mov dword [ebx + 0x18], 1
je 0x58964d
push eax
call fcn.00612cd0
add esp, 4
mov eax, 1
jmp 0x589656
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 8