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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xe0]
cmp eax, dword [ecx + 8]
jbe 0x5880b9
sub esp, 0x160
mov eax, dword [esp + 0x164]
mov ecx, dword [eax]
mov dword [esp + 0xe0], ecx
mov dword [esp], ecx
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x588012
lea eax, [0x640b40]
cmp eax, ecx
jne 0x588006
mov ebx, edx
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0x8c], ecx
jne 0x586d15
mov ebp, dword [edx + 0x10]
test ebp, ebp
jne 0x586dda
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00581150
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x104], eax
lea eax, [0x640b40]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x10c], eax
lea eax, [0x682ddc]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov dword [esp], edx
call fcn.005921e0
mov eax, dword [esp + 0x164]
lea ecx, [eax + 0x10]
mov dword [esp + 0xec], ecx
mov dword [esp], ecx
call fcn.00598a00
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x587ff1
lea ebx, [0x640cc0]
cmp ebx, ecx
jne 0x587fe5
mov eax, edx
jne 0x587fde
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 4]
movzx ecx, byte [ecx + 0x2b]
test cl, cl
je 0x587f8e
mov dword [esp + 0xd0], edx
mov dword [esp], edx
call fcn.005932d0
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call fcn.00598a00
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov ebx, dword [esp + 0xe0]
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x587f7f
mov dword [ebx + 0x34], ecx
mov dword [esp], ebx
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x587f6a
mov dword [esp + 0xac], edx
mov dword [esp + 0x7c], ecx
mov ebx, dword [esp + 0xe0]
mov ebp, dword [ebx + 0x2c]
test ebp, ebp
je 0x587f21
mov ebp, dword [esp + 0xf4]
mov esi, dword [ebp + 0x10]
mov ebp, dword [ebp + 0xc]
test esi, esi
jbe 0x5880af
mov esi, dword [ebx + 0x50]
mov edi, dword [ebx + 0x4c]
mov edx, dword [ebp]
mov ebp, dword [ebp + 4]
test esi, esi
jbe 0x5880a6
mov esi, dword [edi]
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp edi, ebp
je 0x586f54
mov dword [esp], ebx
mov byte [esp + 4], 0x2a
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x33
lea ecx, [0x680a99]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], edi
call fcn.00402950
movzx eax, byte [esp + 0xc]
test al, al
je 0x587f15
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0xe0]
movzx ebx, word [ecx + 0x24]
mov word [esp], bx
mov ebx, dword [edx]
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x7c]
lea ebp, [0x641140]
cmp ebx, ebp
jne 0x587f0b
mov edx, dword [esp + 0xac]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x80], eax
jne 0x587efd
mov dword [esp + 0xb0], edx
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
test ebx, ebx
je 0x587e15
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call fcn.00598a00
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0x164]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov ebp, dword [edx + 0x50]
mov eax, dword [edx + 0x4c]
test ebp, ebp
jbe 0x588078
mov eax, dword [eax]
mov edx, dword [esp + 0xbc]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x587dd0
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x587dbb
lea eax, [0x640c00]
cmp ecx, eax
jne 0x587daf
mov eax, edx
mov dword [esp + 0xd8], edx
je 0x587cb4
xor ebx, ebx
xor ebp, ebp
lea esi, [0x641080]
cmp esi, ecx
jne 0x587ca8
mov edi, eax
jne 0x587bce
mov dword [esp + 0xd4], ebp
mov byte [esp + 0x55], bl
lea eax, [0x633cc0]
mov dword [esp], eax
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call fcn.00442930
mov eax, dword [esp + 0xc]
mov byte [eax], 0xe
mov ecx, dword [esp + 0xec]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.00598a00
movzx eax, byte [esp + 0x55]
test al, al
jne 0x587b05
mov edx, dword [esp + 0x80]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0xe0]
mov ebp, dword [ebx + 0x28]
mov esi, dword [esp + 0x164]
mov edi, dword [esi + 8]
mov ecx, dword [ebx + 0x50]
mov ebx, dword [ebx + 0x4c]
test ecx, ecx
jbe 0x588071
mov eax, dword [ebx]
mov ecx, dword [esp + 0xbc]
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
test ecx, ecx
jne 0x587ac0
mov dword [esp + 0xa8], edx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
test eax, eax
je 0x587210
mov dword [esp + 0xb4], eax
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
test ecx, ecx
je 0x5879d8
mov eax, dword [esp + 0xec]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call fcn.00598a00
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
test ecx, ecx
je 0x5878f0
mov eax, dword [esp + 0xe0]
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.00581ab0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x5878db
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je 0x587226
mov edx, dword [ecx + 4]
test edx, edx
jg 0x58744a
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0xe0]
movzx ebp, word [ebx + 0x24]
mov esi, dword [eax + 0xc]
mov edi, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xe8], eax
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov word [esp], bp
mov dword [esp + 4], esi
mov ebp, dword [esp + 0xa8]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
call fcn.00598130
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x164]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], edx
mov ebp, dword [0x8326a0]
test ebp, ebp
jne 0x58743d
mov dword [ebx + 0x44], eax
mov ebp, dword [ebx + 8]
mov esi, dword [esp + 0xe0]
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, [0x6714ce]
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.0057b920
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
test eax, eax
jne 0x58736f
nop
mov ecx, dword [esp + 0x164]
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
mov edx, dword [0x8326a0]
test edx, edx
jne 0x587363
mov dword [ecx + 0x30], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0x16c], 0
add esp, 0x160
ret
lea edi, [ecx + 0x30]
xor eax, eax
call fcn.0045ace0
jmp 0x587346
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0xc8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x67b777]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x21
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00445d20
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x63eca0]
mov dword [esp], edx
call fcn.0040b4f0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x8326a0]
test eax, eax
jne 0x58742f
mov eax, dword [esp + 0xa0]
mov dword [edi], eax
lea eax, [0x6c8150]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], edi
add esp, 0x160
ret
mov eax, dword [esp + 0xa0]
call fcn.0045ace0
jmp 0x587414
lea edi, [ebx + 0x44]
call fcn.0045ace0
jmp 0x5872cb
lea edi, [esp + 0x110]
xor eax, eax
call fcn.0045af89
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
lea ebp, [0x63fa00]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.004090f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
movzx ebx, byte [esp + 0x14]
test bl, bl
je 0x587848
mov dword [esp + 0xc0], edx
mov dword [esp + 0x84], ecx
mov eax, dword [esp + 0xe0]
movzx ebx, word [eax + 0x24]
cmp bx, 0x303
jb 0x5877ce
mov eax, dword [esp + 0xd8]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov word [esp], bx
mov ebx, dword [esp + 0xd4]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00579620
mov eax, dword [esp + 0x18]
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
jne 0x587789
mov word [esp + 0x56], cx
mov word [esp], cx
call fcn.00578cc0
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x587758
mov byte [esp + 0x11c], 1
movzx eax, word [esp + 0x56]
mov word [esp + 0x11e], ax
mov byte [esp + 0x54], cl
mov dword [esp + 0x70], edx
lea edi, [esp + 0x12c]
mov esi, dword [esp + 0xec]
call fcn.0045b41e
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0xe8], ecx
mov ebx, dword [eax + 0x48]
mov ebp, dword [eax + 0x4c]
mov edi, esp
lea esi, [esp + 0x12c]
call fcn.0045b41e
movzx ecx, byte [esp + 0x54]
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
call fcn.00598ea0
mov eax, dword [esp + 0x48]
mov dword [esp + 0xa4], 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.00408b00
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x54]
cmp cl, 0xe2
je 0x58772e
lea ecx, [0x6c8710]
mov edx, dword [esp + 0xe0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
test ebp, ebp
je 0x58771d
mov edx, dword [esp + 0x84]
mov edx, dword [edx + 0x14]
mov esi, dword [esp + 0xc0]
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa4]
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 + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x120], ecx
test eax, eax
jne 0x5876d8
lea eax, [esp + 0x110]
mov dword [esp], eax
call fcn.00594560
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call fcn.00598a00
lea eax, [esp + 0x110]
mov dword [esp], eax
call fcn.00594560
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xe0]
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.00581ab0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x587226
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov dword [esp + 0xc4], ebp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 0x90]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov ebp, dword [0x81b960]
mov ebx, dword [0x81b964]
jmp 0x5875ec
lea eax, [0x644360]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
lea ecx, [0x6c8050]
jmp 0x5875d5
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov dword [esp + 0xcc], edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00581150
mov eax, dword [esp + 0x94]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x16c], eax
add esp, 0x160
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.00578f50
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x587531
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x2f
call fcn.00581150
mov eax, dword [esp + 0x90]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
lea eax, [0x6830d0]
mov dword [esp], eax
mov dword [esp + 4], 0x4f
lea eax, [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x9c], ecx
lea edx, [0x633cc0]
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.00442930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
test ecx, ecx
jbe 0x588045
mov byte [eax], 0x10
cmp ecx, 1
jbe 0x58803b
mov edx, dword [esp + 0x9c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x588031
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x588027
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0xb4]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp ebx, esi
jle 0x5879d4
mov dword [esp + 0xe4], eax
cmp edx, ebp
je 0x587997
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045b690
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0xb4]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x5879c6
mov eax, dword [esp + 0xe4]
mov dword [edi], eax
mov ebx, ecx
mov edx, ebx
mov ecx, eax
jmp 0x5871e0
mov eax, dword [esp + 0xe4]
call fcn.0045ace0
jmp 0x5879bb
mov esi, ebx
jmp 0x58797c
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x9c], ecx
lea edx, [0x633cc0]
mov dword [esp], edx
lea ebx, [ecx + 4]
mov dword [esp + 0x60], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00442930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
test ecx, ecx
jbe 0x58806a
mov byte [eax], 0x10
cmp ecx, 1
jbe 0x588060
mov edx, dword [esp + 0x9c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x588056
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x58804c
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0xb4]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp esi, ebx
jge 0x587abc
mov dword [esp + 0xe4], eax
cmp edx, ebp
je 0x587a7f
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045b690
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0xb4]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x587aae
mov eax, dword [esp + 0xe4]
mov dword [edi], eax
mov esi, ecx
mov edi, esi
mov ecx, eax
jmp 0x5871ae
mov eax, dword [esp + 0xe4]
call fcn.0045ace0
jmp 0x587aa3
mov esi, ebx
jmp 0x587a64
mov dword [esp + 0xc4], esi
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 0x90]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
lea eax, [0x6444e0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xd4]
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 [0x8326a0]
test ebx, ebx
jne 0x587bbb
mov dword [eax + 0xc], edx
mov dword [esp + 0xdc], eax
mov dword [esp], eax
call fcn.005921e0
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call fcn.00598a00
mov eax, dword [esp + 0xdc]
mov dword [esp], eax
call fcn.005921e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xe0]
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.00581ab0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
test eax, eax
je 0x58711e
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
lea edi, [eax + 0xc]
mov ebx, eax
mov eax, edx
call fcn.0045ace0
mov eax, ebx
jmp 0x587b3d
mov dword [esp + 0xb8], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0xf0], edi
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00581150
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x104], eax
lea eax, [0x641080]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10c], eax
lea eax, [0x682ddc]
mov dword [esp], eax
mov dword [esp + 4], 0x49
lea eax, [esp + 0x100]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004a95f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
add esp, 0x160
ret
mov edi, eax
mov eax, 0
jmp 0x5870b8
mov dword [esp], edx
call fcn.00593c60
mov eax, dword [esp + 0xec]
mov dword [esp], eax
call fcn.00598a00
mov eax, dword [esp + 0xe0]
movzx ecx, word [eax + 0x24]
mov word [esp], cx
mov ecx, dword [esp + 0xd8]
mov dword [esp + 4], ecx
call fcn.00589b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00589ef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x587d6a
mov dword [esp + 0xd4], ecx
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
call fcn.00581b90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x587d55
mov eax, edx
mov ebx, 1
mov ebp, dword [esp + 0xd4]
mov edx, dword [esp + 0xd8]
jmp 0x5870a8
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ebx
add esp, 0x160
ret
mov dword [esp + 0x90], eax
mov dword [esp + 0xc4], edx
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0x50
call fcn.00581150
mov eax, dword [esp + 0x90]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov eax, edx
mov edx, 0
jmp 0x587097
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ebx
add esp, 0x160
ret
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00581150
mov eax, dword [esp + 0x90]
mov dword [esp + 0x168], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov eax, dword [edx + 0x10]
mov dword [esp + 0x9c], eax
lea ecx, [0x633cc0]
mov dword [esp], ecx
lea ebx, [eax + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.00442930
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jbe 0x58809f
mov byte [eax], 0xc
cmp ecx, 1
jbe 0x588095
mov edx, dword [esp + 0x9c]
mov ebx, edx
sar edx, 0x10
mov byte [eax + 1], dl
cmp ecx, 2
jbe 0x58808b
mov edx, ebx
sar ebx, 8
mov byte [eax + 2], bl
cmp ecx, 3
jbe 0x588081
mov byte [eax + 3], dl
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, 4
add edx, eax
mov edi, dword [esp + 0xb0]
mov ebp, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
cmp ebx, esi
jle 0x587ef9
mov dword [esp + 0xe4], eax
cmp ebp, edx
je 0x587ebc
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.0045b690
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0xb0]
mov dword [edi + 4], ecx
mov dword [edi + 8], ecx
mov edx, dword [0x8326a0]
test edx, edx
jne 0x587eeb
mov eax, dword [esp + 0xe4]
mov dword [edi], eax
mov esi, ecx
mov ebp, esi
mov ebx, eax
jmp 0x586fdd
mov eax, dword [esp + 0xe4]
call fcn.0045ace0
jmp 0x587ee0
mov esi, ebx
jmp 0x587ea1
mov ecx, ebx
mov edx, dword [esp + 0xac]
jmp 0x587087
mov edx, 0
jmp 0x586fb2
mov ebx, dword [esp + 0xe0]
jmp 0x586f0b
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00589450
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x586f71
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ebx
add esp, 0x160
ret
lea edi, [ebx + 0x34]
mov eax, ecx
call fcn.0045ace0
jmp 0x586e9a
mov eax, dword [esp + 0xe0]
mov dword [esp], eax
mov byte [esp + 4], 0xa
call fcn.00581150
lea eax, [0x63eca0]
mov dword [esp], eax
call fcn.0040b4f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x32
lea ecx, [0x68086b]
mov dword [eax], ecx
lea ecx, [0x6c8150]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], eax
add esp, 0x160
ret
mov edx, eax
jmp 0x586eba
mov eax, edx
mov edx, 0
jmp 0x586e32
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ebx
add esp, 0x160
ret
mov ebx, edx
mov edx, 0
jmp 0x586cf3
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ebx
add esp, 0x160
ret
mov eax, 3
call fcn.0045ad60
mov eax, 2
call fcn.0045ad60
mov eax, 1
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
mov eax, 3
call fcn.0045ad60
mov eax, 2
call fcn.0045ad60
mov eax, 1
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
xor eax, eax
mov ecx, ebp
call fcn.0045ad60
mov eax, 3
call fcn.0045ad60
mov eax, 2
call fcn.0045ad60
mov eax, 1
call fcn.0045ad60
xor eax, eax
call fcn.0045ad60
xor eax, eax
mov ecx, esi
call fcn.0045ad60
xor eax, eax
mov ecx, esi
call fcn.0045ad60
nop
call fcn.00459790
jmp fcn.00586c90