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

Disassembly:
mov ecx, dword [0x95eda0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x364]
cmp eax, dword [ecx + 8]
jbe 0x605a9e
sub esp, 0x3e4
mov edx, dword [esp + 0x3e8]
mov eax, dword [edx + 0x3c]
mov ebx, dword [edx + 0x2ac]
add ebx, 0xfffffffc
cmp eax, ebx
jbe 0x605492
mov ecx, dword [0x932770]
xor ebx, ebx
jmp 0x6054c6
mov ecx, dword [edx + 0x28c]
cmp ecx, eax
jb 0x605a98
mov ebx, dword [edx + 0x290]
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp ecx, 3
jbe 0x605a8e
mov ebp, dword [edx + 0x288]
mov ebx, dword [ebp + ebx]
xor ecx, ecx
test ecx, ecx
jne 0x605a5a
mov ecx, ebx
and ebx, 0xffff
cmp ebx, 0x454e
je 0x605a39
cmp ebx, 0x454c
je 0x605a18
cmp ebx, 0x584c
je 0x6059f7
cmp ebx, 0x5a56
je 0x6059d6
cmp ecx, 0x4550
jne 0x6059b5
mov dword [esp + 0x1f4], eax
mov dword [edx + 0x60], 0x4550
lea esi, [edx + 0x64]
mov dword [esp + 0x3e0], esi
lea edi, [esp + 0x3cc]
call fcn.00471f3e
lea eax, [0x6d7320]
mov dword [esp], eax
lea eax, [esp + 0x3cc]
mov dword [esp + 4], eax
call fcn.004edd60
mov eax, dword [esp + 8]
mov dword [esp + 0x1f8], eax
mov ecx, dword [esp + 0x3e8]
mov dword [esp], ecx
lea edx, [0x68ee20]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x3e0]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x1f4]
lea ebx, [edx + 4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005fcdb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x60599c
lea edi, [esp + 0x114]
xor eax, eax
call fcn.00471a28
lea edi, [esp + 0x24]
call fcn.00471a24
mov ecx, dword [esp + 0x1f8]
mov edx, dword [esp + 0x1f4]
lea ebx, [edx + ecx + 4]
mov ebp, dword [esp + 0x3e8]
mov esi, dword [ebp + 0x2ac]
add esi, 0xfffffffe
add ecx, edx
cmp ebx, esi
jbe 0x6055ef
mov ecx, dword [0x932770]
mov edx, dword [0x932774]
mov esi, edx
mov edx, ecx
xor ecx, ecx
jmp 0x60562b
mov edx, dword [ebp + 0x28c]
cmp edx, ebx
jb 0x605a85
mov esi, dword [ebp + 0x290]
sub edx, ecx
sub esi, ecx
lea ecx, [edx - 4]
lea edx, [esi - 4]
neg edx
sar edx, 0x1f
and edx, ebx
cmp ecx, 1
jbe 0x605a7b
mov ecx, dword [ebp + 0x288]
movzx ecx, word [ecx + edx]
xor edx, edx
xor esi, esi
test edx, edx
jne 0x605987
mov dword [esp + 0x20], ebx
cmp cx, 0x10b
je 0x60573c
cmp cx, 0x20b
jne 0x60571b
lea edi, [esp + 0x2dc]
call fcn.00471a24
lea ecx, [0x6e9e20]
mov dword [esp], ecx
lea edx, [esp + 0x2dc]
mov dword [esp + 4], edx
call fcn.004edd60
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3e8]
mov dword [esp], edx
lea ebx, [0x690aa0]
mov dword [esp + 4], ebx
lea ebx, [esp + 0x24]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.005fcdb0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x605702
mov eax, dword [esp + 0x3e8]
mov byte [eax + 0x295], 1
lea ecx, [0x6e9e20]
mov dword [esp], ecx
lea edx, [esp + 0x24]
mov dword [esp + 4], edx
call fcn.0040a240
mov eax, dword [esp + 8]
lea ecx, [0x6e9e20]
mov edx, dword [esp + 0x3e8]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x6056fa
call fcn.004717d0
mov dword [edi], eax
mov ecx, dword [edx + 0x7c]
mov dword [edi + 4], ecx
mov dword [edx + 0x7c], eax
jmp 0x6057fd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3ec], ecx
mov dword [esp + 0x3f0], eax
add esp, 0x3e4
ret
mov eax, dword [0x932758]
mov ecx, dword [0x93275c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
lea edi, [esp + 0x1fc]
lea esi, [esp + 0x114]
call fcn.00471d40
lea eax, [0x6ea1a0]
mov dword [esp], eax
lea ecx, [esp + 0x1fc]
mov dword [esp + 4], ecx
call fcn.004edd60
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3e8]
mov dword [esp], ecx
lea edx, [0x690a20]
mov dword [esp + 4], edx
lea edx, [esp + 0x114]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005fcdb0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x60596e
mov eax, dword [esp + 0x3e8]
mov byte [eax + 0x294], 1
lea ecx, [0x6ea1a0]
mov dword [esp], ecx
lea edx, [esp + 0x114]
mov dword [esp + 4], edx
call fcn.0040a240
mov eax, dword [esp + 8]
lea ecx, [0x6ea1a0]
mov edx, dword [esp + 0x3e8]
mov dword [edx + 0x78], ecx
mov ecx, dword [0x95f020]
test ecx, ecx
je 0x6057fa
call fcn.004717d0
mov dword [edi], eax
mov ecx, dword [edx + 0x7c]
mov dword [edi + 4], ecx
mov dword [edx + 0x7c], eax
movzx eax, byte [edx + 0x295]
test al, al
je 0x605814
mov ecx, dword [esp + 0x3c]
test ecx, 0xffff
jne 0x60582e
movzx ecx, byte [edx + 0x294]
test cl, cl
je 0x60586a
mov ebx, dword [esp + 0x130]
test ebx, 0xffff
je 0x60584f
mov eax, dword [0x932760]
mov ecx, dword [0x932764]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
test cl, cl
je 0x605866
add ebx, dword [esp + 0x14c]
cmp ebx, 0x80000000
jae 0x60589c
test al, al
jmp 0x60586c
test al, al
jmp 0x60586c
test al, al
je 0x60594a
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x5c]
add eax, ebx
adc ecx, 0
cmp ecx, 0xffff0800
sete al
seta cl
and eax, 1
or ecx, eax
test cl, cl
je 0x60594a
mov eax, dword [edx + 0x278]
mov ecx, dword [edx + 0x274]
inc ecx
mov ebx, dword [edx + 0x270]
cmp eax, ecx
jae 0x605916
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x6a7120]
mov dword [esp + 0x10], eax
call fcn.0046c6b0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3e8]
mov dword [ebx + 0x278], eax
mov eax, dword [0x95f020]
test eax, eax
je 0x605908
call fcn.004717d0
mov dword [edi], ecx
mov eax, dword [ebx + 0x270]
mov dword [edi + 4], eax
mov dword [ebx + 0x270], ecx
mov eax, edx
mov edx, ebx
mov ebx, ecx
mov ecx, eax
mov dword [edx + 0x274], ecx
lea eax, [ebx + ecx*8 - 4]
mov ebp, dword [0x93276c]
lea ecx, [ebx + ecx*8 - 8]
mov ebx, dword [0x932768]
mov dword [eax], ebp
mov eax, dword [0x95f020]
test eax, eax
je 0x605948
call fcn.004717d0
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov dword [ecx], ebx
mov byte [edx + 0x299], 1
mov dword [esp + 0x3ec], 0
mov dword [esp + 0x3f0], 0
add esp, 0x3e4
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov dword [esp + 0x3ec], edx
mov dword [esp + 0x3f0], esi
add esp, 0x3e4
ret
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932750]
mov ecx, dword [0x932754]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932748]
mov ecx, dword [0x93274c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932740]
mov ecx, dword [0x932744]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932738]
mov ecx, dword [0x93273c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932730]
mov ecx, dword [0x932734]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, dword [0x932728]
mov ecx, dword [0x93272c]
mov dword [esp + 0x3ec], eax
mov dword [esp + 0x3f0], ecx
add esp, 0x3e4
ret
mov eax, 1
call fcn.00471840
mov eax, ebx
mov ecx, edx
call fcn.004718b0
mov eax, 3
call fcn.00471840
call fcn.004718b0
nop
call fcn.004703c0
jmp fcn.00605450