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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xd8]
cmp eax, dword [ecx + 8]
jbe 0x58ed13
sub esp, 0x158
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax]
mov dword [esp + 0xd0], ecx
mov dword [esp], ecx
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
test eax, eax
jne 0x58ec70
lea eax, [0x63de40]
cmp ebp, eax
je 0x58d95a
mov ebx, 0
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xec], ebp
jne 0x58ebab
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x58ebab
mov dword [esp], ebx
call fcn.005a3460
mov eax, dword [esp + 0x15c]
lea ecx, [eax + 0x18]
mov dword [esp + 0xe8], ecx
mov dword [esp], ecx
call fcn.005aaa00
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
test eax, eax
jne 0x58eb96
lea edx, [0x63dfc0]
cmp ebx, edx
je 0x58d9e3
mov ebp, 0
jne 0x58dad8
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 0xc]
movzx ecx, byte [ecx + 0x2b]
test cl, cl
je 0x58da88
mov dword [esp + 0xc0], ebp
mov dword [esp], ebp
call fcn.005a5330
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.005aaa00
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0xd0]
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], eax
mov eax, dword [0x84d450]
test eax, eax
jne 0x58da49
mov dword [ebx + 0x34], ecx
jmp 0x58da53
lea edi, [ebx + 0x34]
mov eax, ecx
call fcn.0045f3a0
mov dword [esp], ebx
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
je 0x58dadc
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x673e12]
mov dword [eax], ecx
lea ecx, [0x6cf2f4]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov ebx, esi
mov ebp, edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x7c], ebx
mov edx, dword [esp + 0xd0]
mov esi, dword [edx + 0x2c]
test esi, esi
je 0x58db98
mov ecx, dword [edx + 0x50]
mov esi, dword [edx + 0x4c]
test ecx, ecx
jbe 0x58ed0b
mov esi, dword [esi]
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov ebp, dword [esp + 0xcc]
mov ecx, dword [ebp + 0x10]
mov ebp, dword [ebp + 0xc]
test ecx, ecx
jbe 0x58ed04
mov ecx, dword [ebp]
cmp dword [ebp + 4], edi
jne 0x58db4f
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.00402620
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58dbd0
mov edx, dword [esp + 0xd0]
mov dword [esp], edx
mov byte [esp + 4], 0x2a
call fcn.00587370
lea eax, [0x63c100]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x67403f]
mov dword [eax], ecx
lea ecx, [0x6cf2f4]
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov eax, dword [esp + 0xcc]
mov ecx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00590110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x58eb81
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx]
mov ebx, dword [esp + 0xd0]
movzx ebp, word [ebx + 0x24]
mov word [esp], bp
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x7c]
lea ebp, [0x63e440]
cmp ebx, ebp
jne 0x58dc0f
mov edx, dword [esp + 0xa4]
jmp 0x58dc14
mov edx, 0
mov dword [esp + 0xac], ecx
mov dword [esp + 0x80], eax
jne 0x58de2d
mov dword [esp + 0x94], edx
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
test ebx, ebx
jne 0x58dd19
mov eax, dword [edx + 0x10]
mov dword [esp + 0x8c], eax
lea ecx, [0x634640]
mov dword [esp], ecx
lea ebx, [eax + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
test ecx, ecx
jbe 0x58ecfd
mov byte [eax], 0xc
cmp ecx, 1
jbe 0x58ecf3
mov edx, dword [esp + 0x8c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x58ece9
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x58ecdf
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0x94]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp esi, ebx
jl 0x58dccd
mov esi, ebx
cmp ebp, edx
je 0x58dcfa
mov dword [esp + 0xe4], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045fd30
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x94]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x84d450]
test edx, edx
jne 0x58dd0e
mov dword [edi], eax
jmp 0x58dd13
call fcn.0045f3a0
mov esi, ecx
mov ebp, esi
mov ebx, eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.005aaa00
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0x15c]
mov ebx, dword [edx + 0x10]
mov ebp, dword [edx + 0xc]
mov esi, dword [eax + 0x50]
mov edi, dword [eax + 0x4c]
test esi, esi
jbe 0x58ecd6
mov eax, dword [esp + 0x80]
mov edx, dword [eax + 0x1c]
mov esi, dword [edi]
mov edi, dword [esp + 0xac]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x58dde8
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x58ddd3
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
jmp 0x58de34
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov dword [esp + 0xbc], edx
mov dword [esp + 0xec], ecx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov ebp, dword [esp + 0xa4]
lea edx, [0x63df00]
cmp ebx, edx
jne 0x58de42
mov esi, ebp
jmp 0x58de49
mov esi, ebp
mov ebp, 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xc8], ebp
je 0x58de68
mov edi, ebx
xor ebx, ebx
mov dword [esp + 0xc4], ebx
mov ebx, edi
jmp 0x58df35
mov dword [esp], ebp
call fcn.005a5ff0
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.005aaa00
mov eax, dword [esp + 0x15c]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0xd0]
movzx ebp, word [ebx + 0x24]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov word [esp + 8], bp
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xc], ecx
call fcn.00590790
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xd0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00590bb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x58eb3c
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
call fcn.00588080
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x58eb27
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xac]
lea edx, [0x63df00]
mov edi, dword [esp + 0x7c]
mov esi, ebp
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0xa4], esi
lea ebp, [0x63e380]
cmp ebx, ebp
je 0x58df4b
mov esi, 0
jne 0x58ea5a
lea eax, [0x634640]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov byte [eax], 0xe
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.005aaa00
mov eax, dword [esp + 0x7c]
lea ecx, [0x63df00]
cmp eax, ecx
jne 0x58e05c
lea eax, [0x640fa0]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebp
mov ebx, dword [0x84d450]
test ebx, ebx
jne 0x58dfe1
mov dword [eax + 0xc], edx
jmp 0x58dfef
lea edi, [eax + 0xc]
mov ebx, eax
mov eax, edx
call fcn.0045f3a0
mov eax, ebx
mov dword [esp + 0xcc], eax
mov dword [esp], eax
call fcn.005a3460
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.005aaa00
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.005a3460
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00587f50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x58ea45
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0x15c]
mov esi, dword [ebp + 0x10]
mov ecx, dword [edx + 0x50]
mov edi, dword [edx + 0x4c]
test ecx, ecx
jbe 0x58eccf
mov eax, dword [esp + 0x80]
mov eax, dword [eax + 0x10]
mov ecx, dword [edi]
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
test ebp, ebp
jne 0x58ea00
mov dword [esp + 0x74], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x78], ebx
test eax, eax
je 0x58e330
mov dword [esp + 0xa8], eax
mov ebp, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
test ebp, ebp
jne 0x58e1ce
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x8c], ecx
lea edx, [0x634640]
mov dword [esp], edx
lea ebx, [ecx + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jbe 0x58ecc8
mov byte [eax], 0x10
cmp ecx, 1
jbe 0x58ecbe
mov edx, dword [esp + 0x8c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x58ecb4
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x58ecaa
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0xa8]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp esi, ebx
jl 0x58e182
mov esi, ebx
cmp ebp, edx
je 0x58e1af
mov dword [esp + 0xe0], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045fd30
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x84d450]
test edx, edx
jne 0x58e1c3
mov dword [edi], eax
jmp 0x58e1c8
call fcn.0045f3a0
mov edi, ecx
mov esi, edi
mov ebp, eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.005aaa00
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
test ecx, ecx
jne 0x58e2da
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x8c], ecx
lea edx, [0x634640]
mov dword [esp], edx
lea edx, [ecx + 4]
mov dword [esp + 0x58], edx
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.004483e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
test ecx, ecx
jbe 0x58eca3
mov byte [eax], 0x10
cmp ecx, 1
jbe 0x58ec99
mov edx, dword [esp + 0x8c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x58ec8f
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x58ec85
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0xa8]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp esi, ebx
jl 0x58e28e
mov esi, ebx
cmp ebp, edx
je 0x58e2bb
mov dword [esp + 0xdc], eax
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045fd30
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0xa8]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x84d450]
test edx, edx
jne 0x58e2cf
mov dword [edi], eax
jmp 0x58e2d4
call fcn.0045f3a0
mov ebx, ecx
mov edx, ebx
mov ecx, eax
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x16
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00587f50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x58e31b
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
jmp 0x58e330
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov ebp, dword [esp + 0xc4]
test ebp, ebp
je 0x58e7d2
mov esi, dword [ebp + 4]
test esi, esi
je 0x58e7d2
lea edi, [esp + 0x108]
xor eax, eax
call fcn.0045f639
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea ebx, [0x63cdc0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409160
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test ecx, ecx
je 0x58e73f
mov dword [esp + 0x84], ecx
mov dword [esp + 0xb0], edx
mov eax, dword [esp + 0xd0]
movzx ebx, word [eax + 0x24]
cmp bx, 0x303
jb 0x58e49c
mov eax, dword [esp + 0xc8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov word [esp], bx
mov ebx, dword [esp + 0xc4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0057fe70
movzx eax, word [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x58e457
mov word [esp + 0x56], ax
mov word [esp], ax
call fcn.0057f570
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x58e426
mov byte [esp + 0x114], 1
movzx edx, word [esp + 0x56]
mov word [esp + 0x116], dx
jmp 0x58e4d5
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x158
ret
mov dword [esp + 0xec], edx
mov dword [esp + 0xb8], ebx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0057f7b0
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x58e6fa
mov byte [esp + 0x55], al
mov dword [esp + 0x70], ecx
lea edi, [esp + 0x124]
mov esi, dword [esp + 0xe8]
call fcn.0045face
mov ecx, dword [esp + 0x15c]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
lea edi, [esp]
lea esi, [esp + 0x124]
call fcn.0045face
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
call fcn.005aaec0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call fcn.00408d20
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x55]
cmp cl, 0xe2
je 0x58e569
lea ecx, [0x6cf650]
jmp 0x58e58e
lea eax, [0x640e20]
mov dword [esp], eax
call fcn.0040b470
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
lea ecx, [0x6cf2a4]
mov edx, dword [esp + 0xd0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
test ebp, ebp
jne 0x58e5ad
mov ebp, dword [0x825c98]
mov ebx, dword [0x825c9c]
mov edx, dword [esp + 0x84]
mov edx, dword [edx + 0x14]
mov esi, dword [esp + 0xb0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x120], edx
mov dword [esp + 0x118], eax
test ebx, ebx
jne 0x58e6b5
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.005a68c0
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.005aaa00
lea eax, [esp + 0x108]
mov dword [esp], eax
call fcn.005a68c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xd0]
mov dword [esp], ebx
mov byte [esp + 4], 0x16
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00587f50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x58e6a0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
jmp 0x58e7d2
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov dword [esp + 0xbc], esi
mov dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xec], ebx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
lea eax, [0x67663d]
mov dword [esp], eax
mov dword [esp + 4], 0x4f
lea eax, [esp + 0xf0]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b25f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x158
ret
mov eax, dword [esp + 0x15c]
mov ebp, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
mov edi, dword [esp + 0xd0]
movzx edi, word [edi + 0x24]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xd8], ebx
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
mov dword [esp + 0x8c], ebp
mov ebp, dword [esi + 0x10]
mov dword [esp + 0xd4], ebp
mov ebp, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
mov word [esp], di
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], esi
call fcn.005aa1a0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x15c]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], edx
mov ebp, dword [0x84d450]
test ebp, ebp
jne 0x58e886
mov dword [ebx + 0x4c], eax
jmp 0x58e88e
lea edi, [ebx + 0x4c]
call fcn.0045f3a0
mov ebp, dword [ebx + 0x10]
mov esi, dword [esp + 0xd0]
mov edi, dword [esi + 0x28]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov ebp, dword [ebp + 0x18]
mov dword [esp], edi
lea edi, [0x664cc5]
mov dword [esp + 4], edi
mov dword [esp + 8], 0xd
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.00582040
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x58e932
nop
mov ecx, dword [esp + 0x15c]
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x40], 0
mov edx, dword [0x84d450]
test edx, edx
jne 0x58e90b
mov dword [ecx + 0x38], 0
jmp 0x58e915
lea edi, [ecx + 0x38]
xor eax, eax
call fcn.0045f3a0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
add esp, 0x158
ret
mov dword [esp + 0x88], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xb4]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x66ea6e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044b990
mov eax, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x63c100]
mov dword [esp], edx
call fcn.0040b470
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x84d450]
test eax, eax
jne 0x58e9d9
mov eax, dword [esp + 0x90]
mov dword [edi], eax
jmp 0x58e9e5
mov eax, dword [esp + 0x90]
call fcn.0045f3a0
lea eax, [0x6cf2f4]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], edi
add esp, 0x158
ret
mov dword [esp + 0xbc], edi
mov dword [esp + 0xec], esi
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov dword [esp + 0x9c], esi
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00587370
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xfc], eax
lea eax, [0x63e380]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x104], eax
lea eax, [0x67621a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b25f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x158
ret
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov dword [esp + 0xec], edx
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00587370
mov eax, dword [esp + 0xec]
mov dword [esp + 0x160], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x164], eax
add esp, 0x158
ret
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00587370
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov eax, dword [esp + 0xec]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xfc], eax
lea eax, [0x63de40]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x104], eax
lea eax, [0x67621a]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b25f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], ecx
add esp, 0x158
ret
mov dword [esp + 0x160], ecx
mov dword [esp + 0x164], edx
add esp, 0x158
ret
mov eax, 3
call fcn.0045f420
mov eax, 2
call fcn.0045f420
mov eax, 1
call fcn.0045f420
xor eax, eax
call fcn.0045f420
mov eax, 3
call fcn.0045f420
mov eax, 2
call fcn.0045f420
mov eax, 1
call fcn.0045f420
xor eax, eax
call fcn.0045f420
xor eax, eax
call fcn.0045f420
xor eax, eax
mov ecx, esi
call fcn.0045f420
mov eax, 3
call fcn.0045f420
mov eax, 2
call fcn.0045f420
mov eax, 1
call fcn.0045f420
xor eax, eax
call fcn.0045f420
xor eax, eax
call fcn.0045f420
xor eax, eax
call fcn.0045f420
nop
call fcn.0045df90
jmp fcn.0058d8f0