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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x5891bc
sub esp, 0x94
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00465fe3
lea edi, [esp + 0x60]
call fcn.00465fe3
mov ecx, dword [esp + 0x9c]
cmp ecx, 2
jl 0x5887f3
mov eax, dword [esp + 0x98]
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
movzx edx, dx
mov ebx, edx
shl edx, 1
lea ebp, [edx + 2]
cmp ecx, ebp
jl 0x58872a
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
xor ebp, ebp
jmp 0x5888a1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ebp
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x706999]
mov dword [esp], eax
mov dword [esp + 4], 0x3d
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x7066c7]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov word [ebp + esi*2], di
lea ebp, [esi + 1]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
cmp ebp, eax
jge 0x5888ed
mov esi, ebp
shl ebp, 1
lea edi, [ebp + 2]
cmp ebx, edi
jb 0x5891b2
sub edx, ebp
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and edx, edi
sub ebx, ebp
add ebx, 0xfffffffe
cmp ebx, 1
jbe 0x5891a6
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
movzx edi, byte [ecx + edx + 1]
movzx edx, byte [ecx + edx]
shl edx, 8
or edi, edx
cmp esi, ebx
jb 0x58888b
jmp 0x58919d
mov ebp, dword [esp + 0x38]
lea esi, [ebp + 4]
cmp ebx, esi
jl 0x588a6f
mov esi, dword [esp + 0x34]
cmp ebx, esi
jb 0x589194
sub edx, ebp
add edx, 0xfffffffe
neg edx
sar edx, 0x1f
and edx, esi
mov esi, ebx
sub ebx, ebp
add ebx, 0xfffffffe
cmp ebx, 1
jbe 0x589188
movzx ebx, byte [ecx + edx + 1]
movzx edx, byte [ecx + edx]
shl edx, 8
or ebx, edx
mov word [esp + 0x6c], bx
lea edx, [ebx - 1]
movzx edx, dx
mov ebx, edx
shl edx, 1
mov dword [esp + 0x38], edx
lea ebp, [edx + eax*2 + 4]
lea edx, [edx + eax*2]
cmp esi, ebp
jl 0x5889a6
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edx
lea eax, [0x69bdc0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
xor esi, esi
jmp 0x588b1a
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ebp
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x706999]
mov dword [esp], eax
mov dword [esp + 4], 0x3d
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x707173]
mov dword [esp], eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov word [edi + esi*2], bp
inc esi
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
cmp esi, eax
jge 0x588b74
mov dword [esp + 0x20], esi
shl esi, 1
lea edi, [esi + ecx*2]
lea esi, [esi + ecx*2 + 4]
cmp ebx, esi
jb 0x58917f
sub ebp, edi
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
sub ebx, edi
add ebx, 0xfffffffc
cmp ebx, 1
jbe 0x589173
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
movzx ebp, byte [esi + edx + 1]
movzx esi, byte [esi + edx]
shl esi, 8
or ebp, esi
mov esi, dword [esp + 0x20]
cmp esi, ebx
jb 0x588b07
jmp 0x58916a
mov esi, dword [esp + 0x38]
lea esi, [esi + ecx*2 + 6]
cmp ebx, esi
jl 0x588cf5
mov eax, dword [esp + 0x30]
cmp ebx, eax
jb 0x589163
mov esi, dword [esp + 0x2c]
sub ebp, esi
add ebp, 0xfffffffc
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, ebx
sub ebx, esi
lea ecx, [ebx - 4]
cmp ecx, 1
jbe 0x589159
movzx ecx, byte [eax + edx + 1]
movzx eax, byte [eax + edx]
shl eax, 8
or eax, ecx
movzx eax, ax
lea ecx, [esi + eax*2 + 6]
lea ebx, [esi + eax*2]
cmp ebp, ecx
jl 0x588c2c
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ebx
lea ecx, [0x69bdc0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
xor esi, esi
jmp 0x588da0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x706999]
mov dword [esp], eax
mov dword [esp + 4], 0x3d
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x707173]
mov dword [esp], eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov word [edi + esi*2], bp
inc esi
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa0]
cmp esi, eax
jge 0x588dfb
mov dword [esp + 0x1c], esi
lea edi, [ecx + esi*2]
lea esi, [ecx + esi*2 + 6]
cmp ebx, esi
jb 0x589150
sub ebp, edi
add ebp, 0xfffffffa
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and esi, ebp
sub ebx, edi
add ebx, 0xfffffffa
cmp ebx, 1
jbe 0x589144
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
movzx ebp, byte [esi + edx + 1]
movzx esi, byte [esi + edx]
shl esi, 8
or ebp, esi
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jb 0x588d8d
jmp 0x58913b
lea esi, [ecx + eax*2 + 8]
cmp ebx, esi
jl 0x588f74
mov eax, dword [esp + 0x3c]
cmp ebx, eax
jb 0x589134
mov esi, dword [esp + 0x38]
sub ebp, esi
add ebp, 0xfffffffa
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, ebx
sub ebx, esi
lea ecx, [ebx - 6]
cmp ecx, 1
jbe 0x58912a
movzx ecx, byte [eax + edx + 1]
movzx eax, byte [eax + edx]
shl eax, 8
or ecx, eax
movzx eax, cx
lea ecx, [esi + eax*4 + 8]
cmp ebp, ecx
jl 0x588eab
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
lea ecx, [0x6b3b80]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044bce0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x9c]
xor esi, esi
jmp 0x589038
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
lea eax, [0x706999]
mov dword [esp], eax
mov dword [esp + 4], 0x3d
lea eax, [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp], ebx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x707173]
mov dword [esp], eax
mov dword [esp + 4], 0x40
lea eax, [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004cde70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], ecx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xe0], eax
add esp, 0x94
ret
mov edx, dword [esp + 0x40]
lea edx, [edx + esi*4 + 2]
mov ebx, dword [esp + 0x30]
movzx ebp, byte [ecx + ebx + 3]
movzx ebx, byte [ecx + ebx + 2]
shl ebx, 8
or ebp, ebx
mov word [edx], bp
inc esi
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0xa0]
mov ebp, edi
cmp esi, eax
jge 0x5890c8
mov edi, ebx
lea ebx, [edx + esi*4]
lea edx, [edx + esi*4 + 8]
cmp ebp, edx
jb 0x589121
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x34], ebp
sub edi, ebx
lea ebp, [edi - 8]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, edx
mov edx, dword [esp + 0x9c]
mov edi, edx
sub edx, ebx
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jae 0x589118
lea ebx, [edx - 8]
cmp ebx, 3
jbe 0x58910c
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebp
mov ebx, dword [esp + 0x40]
lea ebx, [ebx + esi*4]
movzx edx, byte [ecx + ebp + 1]
movzx ebp, byte [ecx + ebp]
shl ebp, 8
or edx, ebp
mov word [ebx], dx
mov edx, dword [esp + 0x34]
add edx, 0xfffffff6
cmp edx, 1
ja 0x58900c
jmp 0x589100
lea edi, [esp + 0xa4]
lea esi, [esp + 0x60]
call fcn.0046647e
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0x94
ret
mov eax, 1
mov ecx, edx
call fcn.00465e00
mov eax, 3
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, edx
mov ecx, ebp
call fcn.00465e60
mov eax, 1
call fcn.00465e00
mov ecx, ebx
call fcn.00465e60
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, ebx
call fcn.00465e60
mov eax, 1
call fcn.00465e00
mov ecx, ebx
call fcn.00465e60
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, ebx
call fcn.00465e60
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, esi
mov ecx, ebx
call fcn.00465e60
mov eax, esi
mov ecx, ebx
call fcn.00465e00
mov eax, 1
mov ecx, ebx
call fcn.00465e00
mov eax, edi
mov ecx, ebx
call fcn.00465e60
nop
call fcn.004649b0
jmp fcn.00588670