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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x108]
cmp eax, dword [ecx + 8]
jbe 0x598c96
sub esp, 0x188
mov edx, dword [esp + 0x194]
test edx, edx
je 0x5978c5
test edx, 0x200
jne 0x5978c5
lea eax, [0x6d0aa4]
mov ecx, dword [esp + 0x18c]
jmp 0x5978f2
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b9cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x194]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ecx
mov ebx, dword [0x86da64]
cmp dword [0x86da60], eax
jne 0x597934
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598250
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x86da84]
cmp dword [0x86da80], eax
jne 0x59796e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x598120
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x86da54]
cmp dword [0x86da50], eax
jne 0x5979a8
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x59806b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x86da6c]
cmp dword [0x86da68], eax
jne 0x5979e2
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x597f8d
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x194]
mov ebx, dword [0x86da4c]
cmp dword [0x86da48], eax
jne 0x597a14
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x597f12
mov edx, dword [esp + 0x194]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 6
jbe 0x597d7b
cmp edx, 0x17
je 0x597b65
cmp edx, 0x18
jne 0x597b09
mov edx, dword [esp + 0x1a4]
cmp edx, 0x12
jne 0x597a54
mov edx, dword [esp + 0x190]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x598bf5
cmp edx, 0x13
je 0x597abe
cmp edx, 0x16
jne 0x597a71
mov edx, dword [esp + 0x190]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x598b5f
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x6cfed8]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00596ac0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
cmp edx, 0x19
jne 0x597eae
test ebx, 0x200
jne 0x597b29
lea eax, [0x6d0aa4]
mov ecx, dword [esp + 0x18c]
jmp 0x597b56
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b9cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], eax
xor edx, edx
jmp 0x5984ae
test ebx, 0x200
jne 0x597b7c
lea eax, [0x6d0aa4]
mov ecx, dword [esp + 0x18c]
jmp 0x597ba2
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b9cb0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 8
je 0x597cec
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.0046391a
mov ecx, dword [esp + 0x190]
mov edx, dword [ecx + 4]
test edx, edx
je 0x597c9b
cmp edx, 1
je 0x597c16
mov dword [esp + 0x4c], edx
lea eax, [0x642d60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x5982fe
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004b7fe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf0]
call fcn.00463df4
call fcn.00598ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
cmp dword [0x86d54c], eax
jne 0x597d0c
mov eax, dword [esp + 0x190]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x597d36
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
call fcn.004b68e0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp edx, 1
jne 0x597dfc
mov eax, dword [esp + 0x190]
movzx eax, byte [eax]
test al, al
je 0x597dc5
mov eax, dword [0x8681c0]
mov ecx, dword [0x8681c4]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [0x8681b8]
mov ecx, dword [0x8681bc]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp edx, 2
jb 0x597eae
cmp edx, 3
ja 0x597e30
cmp edx, 2
jne 0x597e1f
mov eax, dword [esp + 0x190]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x597e6d
mov ecx, dword [esp + 0x190]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x597e6d
cmp edx, 4
jne 0x597e46
mov ecx, dword [esp + 0x190]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x597e6d
cmp edx, 5
jne 0x597e5b
mov ecx, dword [esp + 0x190]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x597e6d
mov ecx, dword [esp + 0x190]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409550
mov eax, dword [esp + 8]
lea ecx, [0x6cfe78]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
lea eax, [0x670d7b]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xf
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
lea ecx, [0x6cf7f8]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b8190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x66a7e0]
cmp ecx, edx
jne 0x5982e3
mov dword [esp], eax
call fcn.00595c00
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b8190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x645660]
cmp ecx, edx
jne 0x5982cd
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 2
jl 0x597fe9
mov ebx, dword [ecx]
cmp ebx, 2
jg 0x597fe9
jge 0x598028
cmp dword [ecx + 4], 0x28
jl 0x598028
lea eax, [0x67652d]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x19
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x6cf7f8]
xor edx, edx
xor ebx, ebx
jmp 0x598048
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409680
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x6cfea8]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b8190
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6551a0]
cmp ecx, edx
jne 0x5982b7
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
lea eax, [0x655220]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.004093b0
mov eax, dword [esp + 8]
lea ecx, [0x6cfe30]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov eax, dword [esp + 0x190]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b8190
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0046391b
mov eax, dword [esp + 0x88]
lea ecx, [0x6695a0]
cmp eax, ecx
jne 0x5982a1
lea edi, [esp + 0xdc]
call fcn.00463dfe
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.00463dfe
cmp dword [esp + 0x1a8], 0x18
je 0x5981c2
lea edi, [esp]
lea esi, [esp + 0xdc]
call fcn.00463dfe
call fcn.00596be0
movzx eax, byte [esp + 0x14]
test al, al
je 0x598209
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.00463dfe
call fcn.00596d20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.00463dfe
call fcn.00596c40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x638020]
mov dword [esp + 8], eax
call fcn.00409250
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x598400
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov edx, dword [esp + 0x190]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004b7fe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf0]
call fcn.00463df4
call fcn.00598ca0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x598496
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x893c80]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x5983b4
mov dword [ebx], eax
jmp 0x5983bf
mov ecx, edi
mov edi, ebx
call fcn.00463680
mov edi, ecx
test edx, edx
je 0x5982f9
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
movzx ecx, byte [esp + 0x1ac]
test cl, cl
je 0x598451
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfec0]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe90]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, esi
mov ecx, edi
call fcn.00463700
mov ebx, dword [esp + 0x64]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x64]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x64]
cmp dword [esp + 4], eax
jle 0x59856e
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.00463dae
lea edi, [esp + 0x120]
lea esi, [esp + 0x154]
call fcn.00463dae
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x59849f
lea eax, [0x67a4bc]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x21
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00409600
mov eax, dword [esp + 8]
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
lea ecx, [0x6cf7f8]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x598912
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], 0
call ecx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.00463dae
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x168]
mov edx, dword [0x86da74]
cmp dword [0x86da70], eax
je 0x5985d9
xor eax, eax
jmp 0x598686
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5985f9
xor eax, eax
jmp 0x598686
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004b7aa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x598641
mov edx, dword [ecx + 4]
jmp 0x598679
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b8380
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
test edx, edx
jg 0x59883e
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x5987ed
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x5986c9
mov dword [esp + 0x54], ecx
lea eax, [0x642d60]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a8a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x59896d
mov ecx, dword [esp + 0x18c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x190]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004b7aa0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + 0x2c]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
call ebx
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.00463dae
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x66c5ad]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b3280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00594a80
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00463df4
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00463df4
call fcn.00598ca0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], ebx
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
cmp dword [0x86d54c], eax
jne 0x598850
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x59886c
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b68e0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.00591200
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x5988aa
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
jmp 0x5988cd
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x598963
mov ebx, dword [esp + 0x48]
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0x70]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe60]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
call fcn.00463760
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x598b10
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x18c]
mov dword [esp], eax
mov edx, dword [esp + 0x190]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x50]
lea esi, [ecx + ebp]
mov dword [esp + 0x68], esi
mov dword [esp + 0xc], esi
call fcn.004b7aa0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x2c]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
call ebp
lea edi, [esp + 0x154]
lea esi, [esp + 8]
call fcn.00463dae
mov eax, dword [esp + 0x16c]
mov ecx, dword [esp + 0x170]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x66c5ad]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b3280
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00594a80
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00463df4
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00463df4
call fcn.00598ca0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
cmp esi, edi
jae 0x598b55
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x893c80]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x598ac4
mov dword [ebx], eax
jmp 0x598acf
mov ecx, edi
mov edi, ebx
call fcn.00463680
mov edi, ecx
test edx, edx
je 0x598968
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409680
mov eax, dword [esp + 0xc]
lea ecx, [0x6cfe90]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], 0
add esp, 0x188
ret
mov eax, esi
mov ecx, edi
call fcn.00463700
inc eax
cmp eax, ecx
jge 0x598bb0
jae 0x598bef
lea ebx, [eax + edx]
cmp byte [ebx], 0x7f
jbe 0x598b5e
lea eax, [0x67b364]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x24
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x6cf7f8]
xor edx, edx
xor ebx, ebx
jmp 0x598bcc
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x6cfed8]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], edx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
call fcn.00463700
inc eax
cmp eax, ecx
jge 0x598c51
jae 0x598c90
movzx ebx, byte [edx + eax]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x598bf4
cmp bl, 0x20
je 0x598bf4
lea eax, [0x67c8b8]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x28
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00409600
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x6cf7f8]
xor ebx, ebx
jmp 0x598c6d
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00409600
mov eax, dword [esp + 8]
lea ecx, [0x6cfed8]
xor edx, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], eax
add esp, 0x188
ret
call fcn.00463700
nop
call fcn.00462270
jmp fcn.00597880