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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x90]
cmp eax, dword [ecx + 8]
jbe 0x59044a
sub esp, 0x110
mov ecx, dword [esp + 0x11c]
cmp ecx, 2
jl 0x58f0b4
mov ebx, dword [esp + 0x120]
mov ebp, dword [esp + 0x118]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov word [esp + 0x22], ax
xor edx, edx
mov dword [esp + 0x28], edx
xor edx, edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0xcc], edx
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x120]
mov eax, ebp
mov edx, ebx
jmp 0x58f0f6
mov eax, dword [esp + 0x118]
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], ecx
mov eax, dword [esp + 0x120]
mov dword [esp + 0x12c], eax
add esp, 0x110
ret
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x38], ebx
mov ebx, ebp
mov ebp, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x120]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xe0], ebp
cmp ecx, esi
jl 0x58f6e1
mov dword [esp + 0x30], esi
jle 0x58f1d0
jbe 0x590442
mov ebp, dword [eax + esi*4]
cmp byte [ebp], 0x12
jne 0x58f140
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
test ebx, ebx
je 0x58f138
mov ebp, dword [esi]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
jmp 0x58f140
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
cmp byte [ebp], 3
je 0x58f161
xor ebp, ebp
xor ebp, ebp
mov dword [esp + 0x50], ebp
xor ebp, ebp
mov dword [esp + 0xe4], ebp
xor ebp, ebp
mov dword [esp + 0x54], ebp
xor ebp, ebp
jmp 0x58f1a4
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xc0], ebx
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
movzx ebp, word [ebp + 2]
and ebp, 1
mov dword [esp + 0x50], esi
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xe4], eax
mov dword [esp + 0x54], ebx
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0xb8]
movzx ebx, word [esp + 0x22]
cmp bx, bp
jne 0x59033c
mov word [esp + 0x24], bp
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
jmp 0x5903b9
mov dword [esp + 0x88], eax
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0xf8], eax
xor eax, eax
mov word [esp + 0x26], ax
mov eax, dword [esp + 0x88]
cmp edi, esi
jne 0x58f212
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xe0]
jmp 0x58f6b4
lea ebp, [edi + 1]
cmp esi, ebp
jne 0x58f2e1
cmp ecx, edi
jbe 0x590335
mov ebp, dword [esp + 0x38]
lea esi, [ebp + 1]
mov ebp, dword [eax + edi*4]
mov dword [esp + 0x108], ebp
cmp ebx, esi
jb 0x58f243
mov edi, dword [esp + 0xe0]
jmp 0x58f299
lea eax, [0x61e680]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov edi, ebp
mov ebp, dword [esp + 0x108]
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x7e77b0]
mov esi, dword [esp + 0x38]
lea ebp, [edi + esi*4]
test ebx, ebx
jne 0x58f2be
mov ebx, dword [esp + 0x108]
mov dword [edi + esi*4], ebx
jmp 0x58f2d4
mov ebx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x108]
call fcn.0045e950
mov eax, esi
mov edi, ebx
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x3c]
jmp 0x58f6b4
mov dword [esp + 0x70], edi
nop
mov ebp, dword [esp + 0x114]
mov ebx, dword [ebp + 0x10]
lea edx, [ebp + 0x10]
mov dword [esp + 0xf4], edx
test ebx, ebx
je 0x58f35b
mov ecx, dword [0x7e77b0]
mov esi, dword [ebx + 0x10]
test ecx, ecx
jne 0x58f31b
mov dword [ebp + 0x10], esi
mov edi, ebx
mov esi, eax
xor eax, eax
call fcn.0045eb71
jmp 0x58f387
mov dword [esp + 0xdc], ebx
mov edi, edx
mov eax, esi
call fcn.0045e950
lea ecx, [0x621a60]
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.004100f0
mov edx, dword [esp + 0xf4]
mov ebx, dword [esp + 0xdc]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
jmp 0x58f387
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov edx, dword [esp + 0xf4]
mov ebp, eax
mov esi, dword [esp + 0x118]
mov dword [esp + 0x108], ebx
mov byte [ebx], 3
movzx eax, word [esp + 0x22]
mov word [ebx + 2], ax
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x14]
mov edi, dword [esp + 0x28]
cmp edi, eax
jbe 0x58f3d6
lea edx, [0x606800]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edi
call fcn.00447740
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0xf0], ecx
mov dword [esp], ecx
mov edx, dword [esp + 0xcc]
mov dword [esp + 4], edx
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045f270
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x108]
mov dword [ecx + 0x18], eax
mov edx, dword [esp + 0x74]
mov dword [ecx + 0x1c], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x58f426
mov ebx, dword [esp + 0xf0]
mov dword [ecx + 0x14], ebx
jmp 0x58f439
lea edi, [ecx + 0x14]
mov edx, eax
mov eax, dword [esp + 0xf0]
call fcn.0045e950
mov eax, edx
mov ebx, dword [esp + 0x118]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x70]
jmp 0x5902cf
mov edi, dword [esp + 0x120]
cmp edi, edx
jb 0x590323
mov eax, dword [esp + 0x70]
cmp eax, edx
ja 0x59031c
mov dword [esp], ebp
sub edi, eax
mov esi, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
shl eax, 2
sar edi, 0x1f
and eax, edi
add eax, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x70]
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], 0x13
call fcn.0058ec20
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc8], eax
nop
mov ecx, dword [esp + 0x114]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x58f51e
mov dword [esp + 0xd8], edi
mov ebx, dword [0x7e77b0]
mov ebp, dword [edi + 0x10]
test ebx, ebx
jne 0x58f4e5
mov dword [ecx + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.0045eb71
jmp 0x58f50e
mov eax, ebp
mov ecx, edi
mov edi, dword [esp + 0xf4]
call fcn.0045e950
lea edx, [0x621a60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004100f0
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0xd8]
jmp 0x58f53a
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov dword [esp + 0xd8], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jb 0x58f556
mov ecx, 2
jmp 0x58f59b
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 2
mov edi, dword [esp + 0xd8]
mov ecx, eax
mov eax, dword [esp + 0x114]
mov esi, dword [0x7e77b0]
test esi, esi
jne 0x58f5bb
mov esi, dword [esp + 0x108]
mov dword [ebp], esi
mov esi, dword [esp + 0xc8]
mov dword [ebp + 4], esi
jmp 0x58f5e5
mov edx, edi
mov edi, ebp
mov eax, dword [esp + 0x108]
call fcn.0045e950
lea esi, [ebp + 4]
mov edi, esi
mov eax, dword [esp + 0xc8]
call fcn.0045e950
mov eax, dword [esp + 0x114]
mov edi, edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x58f5fa
mov dword [edi + 4], ebp
jmp 0x58f60e
lea ebx, [edi + 4]
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.0045e950
mov eax, edx
mov edi, ecx
mov ebx, dword [esp + 0x38]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x58f626
mov ecx, dword [esp + 0xe0]
jmp 0x58f670
lea eax, [0x61e680]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov edi, dword [esp + 0xd8]
mov ecx, ebp
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x114]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x3c], esi
mov edx, ebp
mov ebp, dword [0x7e77b0]
lea esi, [ecx + ebx*4]
test ebp, ebp
jne 0x58f688
mov dword [ecx + ebx*4], edi
jmp 0x58f697
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ebx
call fcn.0045e950
mov eax, ebp
mov eax, dword [esp + 0x118]
mov ebx, edx
mov ebp, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
mov esi, dword [esp + 0x30]
movzx esi, word [esp + 0x26]
mov word [esp + 0x22], si
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0xf8]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x30]
jmp 0x58f0de
mov ecx, dword [esp + 0x38]
mov eax, ebp
mov edx, ebx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0xec], eax
xor edx, edx
mov dword [esp + 0x7c], edx
mov eax, ebp
mov edx, ebx
jmp 0x58f715
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x7c], ebp
mov ebp, edi
mov edi, esi
mov esi, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10c], ebp
cmp esi, ecx
jg 0x58fbf4
mov dword [esp + 0x30], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x74], edi
jge 0x58f892
jae 0x5902a8
mov ebp, dword [eax + esi*4]
movzx ebx, byte [ebp]
cmp bl, 2
jne 0x58f74c
xor ebp, ebp
jmp 0x58f776
cmp bl, 0x12
jne 0x58f776
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 4]
test ebx, ebx
je 0x58f772
mov ebx, dword [esi]
cmp byte [ebx], 2
jne 0x58f76a
mov esi, dword [esp + 0x30]
xor ebp, ebp
jmp 0x58f776
mov esi, dword [esp + 0x30]
mov ebp, ebx
jmp 0x58f776
mov esi, dword [esp + 0x30]
mov dword [esp + 0xe8], ebp
mov ebx, dword [esp + 0xec]
test ebx, ebx
jne 0x58f79e
mov dword [esp + 0xb0], eax
xor eax, eax
mov byte [esp + 0x21], al
mov eax, dword [esp + 0xb0]
jmp 0x58f7d8
mov dword [esp], ebx
mov dword [esp + 4], ebp
call fcn.00597c50
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x74]
mov byte [esp + 0x21], al
mov eax, dword [esp + 0xe0]
movzx esi, byte [esp + 0x21]
xchg esi, eax
test al, al
xchg esi, eax
je 0x58f86f
movzx esi, byte [ebx]
xchg esi, eax
cmp al, 3
xchg esi, eax
jne 0x58f7f7
cmp dword [ebx + 0x18], 1
je 0x58f852
xchg esi, eax
cmp al, 4
xchg esi, eax
je 0x58f852
xchg esi, eax
cmp al, 5
xchg esi, eax
je 0x58f852
xchg esi, eax
cmp al, 6
xchg esi, eax
je 0x58f852
xchg esi, eax
cmp al, 0x11
xchg esi, eax
jne 0x58f86f
mov esi, dword [ebx + 0x28]
cmp dword [ebx + 0x2c], esi
jne 0x58f86f
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 4]
test esi, esi
jbe 0x59029f
mov ebp, dword [ebp]
movzx esi, byte [ebp]
xchg esi, eax
cmp al, 3
xchg esi, eax
jne 0x58f83d
cmp dword [ebp + 0x18], 1
je 0x58f852
xchg esi, eax
cmp al, 4
xchg esi, eax
je 0x58f852
xchg esi, eax
cmp al, 5
xchg esi, eax
je 0x58f852
xchg esi, eax
cmp al, 6
xchg esi, eax
jne 0x58f868
mov esi, edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x10c]
jmp 0x58f702
mov ebp, dword [esp + 0xe8]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x10c]
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x30]
jmp 0x58f8a9
mov dword [esp + 0xa8], eax
xor eax, eax
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xa8]
cmp edi, esi
jne 0x58f8bd
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x10c]
jmp 0x58fbd9
lea ebp, [edi + 1]
cmp esi, ebp
jne 0x58f986
cmp edi, ecx
jae 0x590298
mov ebp, dword [esp + 0x7c]
lea esi, [ebp + 1]
mov ebp, dword [eax + edi*4]
mov dword [esp + 0x104], ebp
cmp ebx, esi
jb 0x58f8ee
mov edi, dword [esp + 0x10c]
jmp 0x58f93e
lea eax, [0x61e680]
mov dword [esp], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, ebp
mov ebp, dword [esp + 0x104]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov ebx, dword [0x7e77b0]
mov esi, dword [esp + 0x7c]
lea ebp, [edi + esi*4]
test ebx, ebx
jne 0x58f963
mov ebx, dword [esp + 0x104]
mov dword [edi + esi*4], ebx
jmp 0x58f979
mov ebx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x104]
call fcn.0045e950
mov eax, esi
mov edi, ebx
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x74]
jmp 0x58fbd9
mov ebp, dword [esp + 0x114]
jmp 0x59022b
cmp esi, edx
ja 0x59028a
mov edi, dword [esp + 0x74]
cmp edi, esi
ja 0x590281
mov dword [esp], ebp
sub edx, edi
mov ebx, edx
neg edx
shl edi, 2
sar edx, 0x1f
and edi, edx
lea edx, [eax + edi]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
sub esi, edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0x13
call fcn.0058ec20
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
nop
mov ecx, dword [esp + 0x114]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x58fa49
mov dword [esp + 0xd4], edi
mov ebx, dword [0x7e77b0]
mov ebp, dword [edi + 0x10]
test ebx, ebx
jne 0x58fa12
mov dword [ecx + 0x10], ebp
mov edx, eax
xor eax, eax
call fcn.0045eb71
jmp 0x58fa39
lea edx, [ecx + 0x10]
mov eax, ebp
mov ebx, edi
mov edi, edx
call fcn.0045e950
lea edx, [0x621a60]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004100f0
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x114]
mov edi, dword [esp + 0xd4]
jmp 0x58fa65
lea eax, [0x621a60]
mov dword [esp], eax
call fcn.0040b440
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x114]
inc dword [eax + 0x2c]
mov dword [esp + 0xd4], edi
mov byte [edi], 0x12
mov ebx, dword [edi + 0xc]
mov ebp, dword [edi + 4]
cmp ebx, 2
jb 0x58fa81
mov ecx, 2
jmp 0x58fac6
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 2
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 2
mov edi, dword [esp + 0xd4]
mov ecx, eax
mov eax, dword [esp + 0x114]
mov esi, dword [0x7e77b0]
test esi, esi
jne 0x58fae6
mov esi, dword [esp + 0xec]
mov dword [ebp], esi
mov esi, dword [esp + 0xc4]
mov dword [ebp + 4], esi
jmp 0x58fb10
mov edx, edi
mov edi, ebp
mov eax, dword [esp + 0xec]
call fcn.0045e950
lea esi, [ebp + 4]
mov edi, esi
mov eax, dword [esp + 0xc4]
call fcn.0045e950
mov eax, dword [esp + 0x114]
mov edi, edx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ebx
mov ebx, dword [0x7e77b0]
test ebx, ebx
jne 0x58fb25
mov dword [edi + 4], ebp
jmp 0x58fb39
lea ebx, [edi + 4]
mov ecx, edi
mov edi, ebx
mov edx, eax
mov eax, ebp
call fcn.0045e950
mov eax, edx
mov edi, ecx
mov ebx, dword [esp + 0x7c]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x78]
cmp esi, ebp
jb 0x58fb51
mov ecx, dword [esp + 0x10c]
jmp 0x58fb9b
lea eax, [0x61e680]
mov dword [esp], eax
mov ecx, dword [esp + 0x10c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov edi, dword [esp + 0xd4]
mov ecx, ebp
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x114]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x7c], esi
mov edx, ebp
mov ebp, dword [0x7e77b0]
lea esi, [ecx + ebx*4]
test ebp, ebp
jne 0x58fbb3
mov dword [ecx + ebx*4], edi
jmp 0x58fbc2
mov ebx, edi
mov edi, esi
mov ebp, eax
mov eax, ebx
call fcn.0045e950
mov eax, ebp
mov eax, dword [esp + 0xe0]
mov ebx, dword [esp + 0x7c]
mov ebp, edx
mov edi, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov esi, dword [esp + 0x108]
mov dword [esp + 0xec], esi
mov esi, dword [esp + 0x30]
jmp 0x58f702
mov ecx, dword [esp + 0x7c]
mov eax, ebp
xor edx, edx
xor esi, esi
xor edi, edi
jmp 0x58fc16
inc eax
mov edi, ecx
mov ebp, esi
mov ecx, dword [esp + 0x7c]
mov esi, edx
mov edx, eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x38], edi
mov dword [esp + 0xe0], ebp
cmp edx, ecx
jg 0x58ff65
mov dword [esp + 0x58], edx
mov dword [esp + 0x6c], ebx
jge 0x58fc81
jae 0x590204
mov edx, dword [eax + edx*4]
movzx ebx, byte [edx]
cmp bl, 3
jne 0x58fc4a
cmp dword [edx + 0x18], 1
je 0x58fc59
cmp bl, 4
je 0x58fc59
cmp bl, 5
je 0x58fc59
cmp bl, 6
jne 0x58fc79
mov eax, dword [esp + 0x58]
mov ebp, ecx
mov edi, dword [esp + 0x10c]
mov edx, esi
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0xe0]
jmp 0x58fc02
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
cmp esi, edx
jne 0x58fc9d
cmp edx, ecx
mov eax, edx
mov edx, ecx
mov edi, dword [esp + 0x10c]
mov ecx, dword [esp + 0x38]
mov esi, ebp
jmp 0x58fec0
lea ebp, [esi + 1]
cmp edx, ebp
jne 0x58fd70
cmp esi, ecx
jae 0x5901fd
lea ebp, [edi + 1]
mov esi, dword [eax + esi*4]
cmp ebx, ebp
jae 0x58fd16
mov dword [esp + 0x108], esi
lea eax, [0x61e680]
mov dword [esp], eax
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x108]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xe0], ebp
mov ebp, eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x7e77b0]
mov ebp, dword [esp + 0xe0]
lea edx, [ebp + edi*4]
test ebx, ebx
jne 0x58fd3f
mov dword [ebp + edi*4], esi
mov edx, dword [esp + 0x58]
cmp edx, ecx
jmp 0x58fd56
mov edi, edx
mov edx, eax
mov eax, esi
call fcn.0045e950
mov eax, dword [esp + 0x58]
cmp eax, ecx
mov eax, edx
mov edx, dword [esp + 0x58]
mov eax, edx
mov edx, ecx
mov edi, dword [esp + 0x10c]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov esi, ebp
jmp 0x58fec0
mov dword [esp + 0x78], ebp
mov dword [esp + 0x68], esi
jmp 0x5900c1
mov ebp, dword [esp + 0x68]
cmp ebp, ecx
jae 0x5901e8
mov ebx, dword [eax + ebp*4]
lea edx, [eax + ebp*4]
cmp esi, ecx
jae 0x5901e1
mov dword [esp + 0xfc], edx
mov dword [esp + 0x108], ebx
mov edx, dword [0x7e77b0]
mov ebx, dword [eax + esi*4]
lea esi, [eax + esi*4]
test edx, edx
jne 0x58fdc8
mov dword [eax + ebp*4], ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x108]
mov dword [eax + edx*4], ebx
jmp 0x58fdef
mov edx, edi
mov edi, dword [esp + 0xfc]
mov eax, ebx
call fcn.0045e950
mov edi, esi
mov eax, dword [esp + 0x108]
call fcn.0045e950
mov eax, dword [esp + 0x10c]
mov edi, edx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x78]
jmp 0x590124
mov ecx, dword [eax + ebp*4]
mov dword [esp], ecx
call fcn.0058ea70
mov eax, dword [esp + 0x38]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x10c]
mov edx, dword [ebx + edx*4]
mov ebp, dword [esp + 0x6c]
cmp ebp, ecx
jb 0x58fe2d
mov esi, dword [esp + 0xe0]
jmp 0x58fe7e
mov dword [esp + 0x108], edx
lea edx, [0x61e680]
mov dword [esp], edx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x108]
mov esi, ebp
mov ebp, ebx
mov ebx, dword [esp + 0x10c]
mov dword [esp + 0x3c], ebp
mov edi, ebx
mov ebx, dword [0x7e77b0]
lea ebp, [esi + eax*4]
test ebx, ebx
jne 0x58fea0
mov dword [esi + eax*4], edx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x7c]
cmp eax, edx
jmp 0x58febc
mov eax, edx
mov edi, ebp
call fcn.0045e950
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x7c]
cmp eax, ebx
mov edx, ebx
mov edi, dword [esp + 0x10c]
mov ebx, dword [esp + 0x3c]
jge 0x58ff5b
jae 0x5901d3
lea ebp, [ecx + 1]
mov edx, dword [edi + eax*4]
cmp ebx, ebp
jae 0x58ff24
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x108], edx
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00447740
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0x10c]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov ebx, dword [0x7e77b0]
lea ebp, [esi + ecx*4]
test ebx, ebx
jne 0x58ff3e
mov dword [esi + ecx*4], edx
jmp 0x58ff4f
mov ecx, edi
mov edi, ebp
mov ebx, eax
mov eax, edx
call fcn.0045e950
mov eax, ebx
mov edi, ecx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, edx
lea edx, [eax + 1]
jmp 0x58fc02
mov eax, ebp
xor ecx, ecx
xor edx, edx
jmp 0x58ff6f
mov ecx, esi
cmp ecx, edi
jge 0x590075
lea esi, [ecx + 1]
cmp edi, esi
jle 0x58ffc7
cmp ecx, edi
jae 0x5900a3
mov dword [esp + 0x100], ebp
mov ebp, dword [eax + ecx*4]
cmp byte [ebp], 2
jne 0x58ffbc
cmp edi, esi
jbe 0x59009a
mov ebp, dword [eax + ecx*4 + 4]
cmp byte [ebp], 2
jne 0x58ffb1
mov ebp, dword [esp + 0x100]
jmp 0x58ff6d
cmp ecx, edi
mov ebp, dword [esp + 0x100]
jmp 0x58ffc9
cmp ecx, edi
mov ebp, dword [esp + 0x100]
jmp 0x58ffc9
cmp ecx, edi
jae 0x590091
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], esi
lea esi, [edx + 1]
mov edx, dword [eax + ecx*4]
mov dword [esp + 0x108], edx
cmp ebx, esi
jae 0x59002b
lea eax, [0x61e680]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00447740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0xe0]
mov edx, dword [esp + 0x108]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x7c], esi
mov ecx, ebx
mov ebx, dword [0x7e77b0]
mov esi, dword [esp + 0x64]
lea edx, [ebp + esi*4]
test ebx, ebx
jne 0x590050
mov edx, dword [esp + 0x108]
mov dword [ebp + esi*4], edx
jmp 0x590066
mov ebx, edi
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x108]
call fcn.0045e950
mov eax, esi
mov edi, ebx
mov esi, dword [esp + 0x60]
mov edx, dword [esp + 0x7c]
mov ebx, ecx
jmp 0x58ff6d
mov dword [esp + 0x124], ebp
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ebx
add esp, 0x110
ret
mov eax, ecx
mov ecx, edi
call fcn.0045e9d0
mov eax, esi
mov ecx, edi
call fcn.0045e9d0
mov eax, ecx
mov ecx, edi
call fcn.0045e9d0
mov ebx, dword [esp + 0x74]
lea ebp, [ebx + 1]
mov ebx, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
mov esi, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], esi
cmp ebp, edx
jge 0x58fd7d
cmp esi, ecx
jae 0x5901f6
mov ebx, dword [eax + esi*4]
movzx edx, byte [ebx]
cmp ebp, ecx
jae 0x5901ef
mov dword [esp + 0x74], ebp
mov esi, dword [eax + ebp*4]
movzx ebp, byte [esi]
xchg ebp, eax
cmp al, dl
xchg ebp, eax
ja 0x5900fd
jne 0x590103
mov edx, dword [ebx + 0x18]
cmp dword [esi + 0x18], edx
jle 0x590103
mov edx, dword [esp + 0x74]
jmp 0x5900ac
mov edx, dword [esp + 0x40]
jmp 0x5900ac
lea esi, [eax + 1]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x68]
mov edx, dword [esp + 0x58]
mov eax, ecx
mov ecx, dword [esp + 0x7c]
mov edi, dword [esp + 0x38]
mov ebx, esi
cmp ebx, edx
jge 0x58fdfc
mov esi, dword [eax + ebp*4]
cmp ebx, ecx
jae 0x5901da
mov dword [esp + 0x44], ebx
mov ecx, dword [eax + ebx*4]
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.00592500
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10c]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x114]
mov ebp, dword [ebx + 0x30]
test ebp, ebp
je 0x59019c
mov dword [esp + 0xd0], edx
lea ecx, [0x607940]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.0040e770
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10c]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x114]
test byte [edx], al
mov ebp, dword [0x7e77b0]
mov esi, dword [ebx + 0x10]
test ebp, ebp
jne 0x5901b6
mov dword [edx + 0x10], esi
mov dword [ebx + 0x10], edx
jmp 0x590109
lea edi, [edx + 0x10]
mov ebp, eax
mov eax, esi
call fcn.0045e950
lea edi, [ebx + 0x10]
mov eax, edx
call fcn.0045e950
mov eax, ebp
jmp 0x590109
mov ecx, edx
call fcn.0045e9d0
mov eax, ebx
call fcn.0045e9d0
mov eax, esi
call fcn.0045e9d0
mov eax, ebp
call fcn.0045e9d0
mov eax, ebp
call fcn.0045e9d0
mov eax, esi
call fcn.0045e9d0
mov eax, esi
call fcn.0045e9d0
mov eax, edx
call fcn.0045e9d0
lea edi, [edx + 1]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x114]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, ebx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x78]
cmp edi, esi
jge 0x58f992
cmp edi, ecx
jae 0x590291
mov dword [esp + 0x48], edi
mov ecx, dword [eax + edi*4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
cmp edi, ecx
setne dl
mov byte [esp + 8], dl
call fcn.005906f0
mov eax, dword [0x7e77b0]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0xe0]
lea edi, [ebx + edx*4]
test eax, eax
jne 0x590278
mov dword [ebx + edx*4], ecx
jmp 0x59020b
mov eax, ecx
call fcn.0045e950
jmp 0x59020b
mov eax, edi
mov ecx, esi
call fcn.0045ea30
mov ecx, esi
call fcn.0045ea10
mov eax, edi
call fcn.0045e9d0
mov eax, edi
call fcn.0045e9d0
xor eax, eax
mov ecx, esi
call fcn.0045e9d0
mov eax, esi
call fcn.0045e9d0
lea edi, [edx + 1]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x114]
mov esi, dword [esp + 0x11c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x108]
cmp edi, edx
jge 0x58f45b
cmp esi, edi
jbe 0x59032c
mov dword [esp + 0x4c], edi
mov ecx, dword [ebx + edi*4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00590460
mov eax, dword [0x7e77b0]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x118]
lea edi, [ebx + edx*4]
test eax, eax
jne 0x590313
mov dword [ebx + edx*4], ecx
jmp 0x5902af
mov eax, ecx
call fcn.0045e950
jmp 0x5902af
mov ecx, edx
call fcn.0045ea30
mov ecx, edx
mov edx, edi
call fcn.0045ea10
mov eax, edi
mov ecx, esi
call fcn.0045e9d0
mov eax, edi
call fcn.0045e9d0
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0xe4]
mov dword [esp + 0xf8], edx
mov word [esp + 0x26], bp
mov ebp, dword [esp + 0xe0]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
jmp 0x58f1fa
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x28]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
movzx ebx, word [esp + 0x22]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x34]
cmp esi, ebp
jle 0x5903f3
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jge 0x5903f7
cmp esi, ebp
jbe 0x590439
mov ebx, dword [esp + 0xcc]
mov ebx, dword [ebx + ebp*4]
mov esi, dword [esp + 0xe4]
lea esi, [esi + ebp*4]
cmp dword [esi], ebx
je 0x590399
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
jmp 0x5903f7
mov ebx, dword [esp + 0x50]
test ebp, ebp
jle 0x59041d
mov ebx, dword [esp + 0x2c]
cmp ebx, ebp
jb 0x590430
mov esi, edi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0xe0]
jmp 0x58f0de
movzx ebx, word [esp + 0x22]
movzx ebp, word [esp + 0x24]
mov esi, dword [esp + 0x30]
jmp 0x59033c
mov ecx, ebp
mov edx, ebx
call fcn.0045ea10
mov eax, ebp
mov ecx, esi
call fcn.0045e9d0
mov eax, esi
call fcn.0045e9d0
nop
call fcn.0045d540
jmp fcn.0058f040