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

Disassembly:
sub esp, 0x24
mov edx, dword [esp + 0x2c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
mov dword [esp + 0x3c], edx
mov edi, dword [esi + 0x160]
cmp edx, dword [esi + 0x90]
jne 0x5897af
lea edx, [esi + 0x11c]
lea eax, [esi + 0x120]
jmp 0x5897b8
mov edx, dword [esi + 0x128]
lea eax, [edx + 4]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x44]
mov dword [edx], ebp
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x40], 1
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
test ebx, ebx
jg 0x58981c
cmp byte [esp + 0x24], 0
je 0x589800
test ebx, ebx
jne 0x58b118
lea eax, [ebx + 0xf]
cmp eax, 0xf
ja case.0x58980f.14
movzx eax, byte [eax + 0x58b32c]
jmp dword [eax*4 + 0x58b314]
mov dword [esp + 0x4c], ecx
neg ebx
push edx
push dword [esp + 0x50]
lea eax, [esi + 0xfc]
push ebp
push ebx
push eax
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x14], ecx
lea eax, [ecx + 1]
cmp eax, 0x3d
ja case.default.0x589843
jmp dword [eax*4 + 0x58b33c]
push dword [esp + 0x4c]
push ebp
push 0
push esi
call fcn.0058f4c0
add esp, 0x10
test eax, eax
jne 0x58b309
mov ecx, dword [esi + 0x90]
mov dword [esp + 0x3c], ecx
jmp 0x58b04c
cmp dword [esi + 0x54], 0
je 0x5898ed
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
lea ebx, [esi + 0x19c]
push ebp
push ecx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b128
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x5898b1
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b128
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x13c], eax
test eax, eax
je 0x58b194
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
xor al, al
mov dword [esi + 0x144], ecx
mov dword [esi + 0x140], ecx
jmp 0x58a8fa
mov eax, dword [esp + 0x40]
mov dword [esi + 0x140], 0
jmp 0x58a8fa
mov eax, dword [esi + 0x54]
test eax, eax
je case.default.0x589843
push 1
push dword [esi + 0x144]
push dword [esi + 0x140]
push dword [esi + 0x13c]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
mov dword [esi + 0x13c], 0
push eax
call fcn.0058ec20
add esp, 0x18
jmp 0x58b048
push dword [esp + 0x4c]
push ebp
push 1
jmp 0x589851
push 0x24
push 0x690614
lea eax, [edi + 0x84]
mov byte [esi + 0x1e5], 0
push eax
push esi
call fcn.0058d2c0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x58b194
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je case.0x589843.14
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x58b16d
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x5899ed
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58b194
push ebx
call fcn.0058d7e0
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x144], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], 0
jmp 0x589a49
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x58b16d
cmp byte [edi + 0x80], 0
je 0x58a8f6
cmp dword [esi + 0x138], 0
je 0x58a8f6
mov ecx, dword [ebx + 0x40]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x40]
push eax
push ecx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x589aa3
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58b194
push ebx
call fcn.0058d7e0
mov eax, dword [esi + 0x138]
add esp, 4
mov dword [eax + 0x18], ebx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x58a8f6
cmp dword [esp + 0x14], 0xe
jne 0x58a8f6
jmp 0x58b048
cmp byte [esp + 0x58], 1
jne 0x58b098
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x589b2f
push 0
push dword [esi + 0x144]
push dword [esi + 0x140]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x54]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.0058ec20
add esp, 0x18
mov byte [esp + 0x40], 0
cmp dword [esi + 0x140], 0
jne 0x589b45
cmp byte [esi + 0x1e5], 0
je 0x589c02
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x589bfb
cmp dword [esi + 0x70], 0
je 0x589bfb
push 0x24
push 0x690614
lea eax, [edi + 0x84]
push eax
push esi
call fcn.0058d2c0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x58b194
cmp byte [esi + 0x1e5], 0
je 0x589b9c
mov eax, dword [esi + 0x164]
mov dword [edx + 0x14], eax
mov byte [edi + 0x83], 0
push dword [edx + 0x18]
mov eax, dword [esi + 0x70]
push dword [edx + 0x10]
push dword [edx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x58b2b7
cmp byte [edi + 0x83], 0
je 0x589bec
cmp byte [edi + 0x82], 0
jne 0x589bfb
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x589bfb
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x58b27e
jmp 0x589bfb
cmp dword [esi + 0x140], 0
jne 0x589bfb
mov byte [edi + 0x81], bl
mov byte [esi + 0x1e5], 0
mov eax, dword [esi + 0x58]
test eax, eax
je 0x58a8f6
push dword [esi + 4]
call eax
add esp, 4
jmp 0x58b048
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.0058cb70
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x58b194
jmp case.0x589843.33
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push esi
call fcn.0058c610
add esp, 0x10
mov dword [esi + 0x158], eax
test eax, eax
je 0x58b194
mov word [esi + 0x15c], 0
mov dword [esi + 0x148], 0
jmp case.0x589843.33
mov byte [esi + 0x15c], 1
mov dword [esi + 0x148], 0x690618
jmp case.0x589843.33
mov byte [esi + 0x15d], 1
mov dword [esi + 0x148], 0x690624
jmp case.0x589843.33
mov dword [esi + 0x148], 0x69062c
jmp case.0x589843.33
mov dword [esi + 0x148], 0x690638
jmp case.0x589843.33
mov dword [esi + 0x148], 0x690648
jmp case.0x589843.33
mov dword [esi + 0x148], 0x690658
jmp case.0x589843.33
mov dword [esi + 0x148], 0x69066c
jmp case.0x589843.33
mov dword [esi + 0x148], 0x69067c
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp dword [esi + 0x84], 0
je case.default.0x589843
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp dword [esi + 0x84], 0
je case.default.0x589843
cmp dword [esi + 0x148], 0
je 0x589d2b
mov eax, 0x6906a4
jmp 0x589d3b
cmp ecx, 0x20
mov eax, str.NOTATION_
mov ecx, 0x6906a8
cmovne eax, ecx
push eax
lea ebx, [esi + 0x19c]
push ebx
call fcn.0058e9f0
add esp, 8
test eax, eax
je 0x58b194
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push ebp
push ecx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x148], eax
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp byte [esi + 0x15d], 0
mov cl, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov byte [esp + 0x38], cl
je 0x589dd6
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x589dc7
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x589e61
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x589db7
cmp dword [ebp + 8], 0
jne 0x589dd6
cmp byte [ebx + 9], 0
jne 0x589dd6
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x589e3a
test eax, eax
jne 0x589e0e
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x589e3a
pop edi
pop esi
mov dword [ebp + 0x10], 0
mov eax, 1
pop ebp
pop ebx
add esp, 0x24
ret
add eax, eax
mov dword [esp + 0x20], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x58b194
mov eax, dword [esp + 0x20]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov dl, byte [esp + 0x38]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4], ebx
mov dword [eax + ecx*4 + 8], 0
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x589e5e
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x589843
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x589843
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x589e98
cmp ecx, 0x4e
jne 0x589f1b
cmp word [eax + 2], 0x4f
jne 0x589f1b
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x589ebd
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x589ef1
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x24
sete al
push eax
mov eax, dword [esi + 0x158]
push 0
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.0058ec20
add esp, 0x1c
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
mov ecx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov dl, byte [esi + 0x15c]
push ebx
mov ecx, dword [ecx + 0x40]
sub eax, ecx
push eax
mov byte [esp + 0x24], dl
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x28]
push dword [esp + 0x4c]
push esi
call fcn.00587c90
add esp, 0x18
test eax, eax
jne 0x58b309
cmp byte [esp + 0x1c], al
jne 0x589fcf
mov ecx, dword [ebx + 0xc]
mov eax, ecx
sub eax, dword [ebx + 0x10]
test eax, 0xfffffffe
je 0x589fcf
cmp word [ecx - 2], 0x20
lea eax, [ecx - 2]
jne 0x589fcf
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x589fe8
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [edi + 0x60]
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x15c]
mov ebx, dword [esi + 0x158]
mov ebp, dword [esi + 0x154]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x38], al
test ecx, ecx
je 0x58a037
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test edx, edx
jle 0x58a037
mov eax, dword [ebp + 0x14]
cmp ebx, dword [eax]
je 0x58a0b4
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x58a027
mov eax, dword [ebp + 0x10]
cmp dword [ebp + 0xc], eax
jne 0x58a08d
test eax, eax
jne 0x58a061
mov dword [ebp + 0x10], 8
mov eax, dword [esi + 0xc]
push 0x60
call eax
add esp, 4
mov dword [ebp + 0x14], eax
test eax, eax
je 0x589dfa
jmp 0x58a08d
add eax, eax
mov dword [esp + 0x28], eax
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [ebp + 0x14]
mov eax, dword [esi + 0x10]
call eax
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x58b194
mov eax, dword [esp + 0x28]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dl, byte [esp + 0x38]
mov dword [eax + ecx*4], ebx
mov byte [eax + ecx*4 + 4], dl
test dl, dl
jne 0x58a0b1
mov byte [ebx + 8], 1
inc dword [ebp + 0xc]
cmp dword [esi + 0x84], 0
je case.default.0x589843
mov eax, dword [esi + 0x148]
test eax, eax
je case.default.0x589843
movzx ecx, word [eax]
cmp ecx, 0x28
je 0x58a0eb
cmp ecx, 0x4e
jne 0x58a16e
cmp word [eax + 2], 0x4f
jne 0x58a16e
mov eax, dword [esi + 0x1a8]
lea ebx, [esi + 0x19c]
cmp eax, dword [esi + 0x1a4]
jne 0x58a110
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [esi + 0x1a8]
mov ecx, 0x29
mov word [eax], cx
add dword [esi + 0x1a8], 2
mov eax, dword [esi + 0x1a8]
cmp eax, dword [esi + 0x1a4]
jne 0x58a144
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [esi + 0x1a8]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [esi + 0x1ac]
add dword [esi + 0x1a8], 2
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
cmp dword [esp + 0x14], 0x26
sete al
push eax
push dword [esp + 0x24]
mov eax, dword [esi + 0x158]
push dword [esi + 0x148]
push dword [eax]
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x84]
push dword [esi + 4]
call eax
lea eax, [esi + 0x19c]
push eax
call fcn.0058ec20
add esp, 0x1c
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push esi
call fcn.00591070
mov ecx, dword [esi + 0x138]
add esp, 0x10
mov ebx, eax
mov eax, dword [edi + 0x78]
test ecx, ecx
je 0x58a251
mov dword [ecx + 4], eax
mov ecx, dword [edi + 0x74]
sub ecx, dword [edi + 0x78]
mov eax, dword [esi + 0x138]
sar ecx, 1
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
cmp dword [esi + 0x88], 0
je 0x58a254
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [esi + 0x164]
push dword [ecx + 8]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 4]
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
mov byte [esp + 0x40], 0
jmp 0x58a254
mov dword [edi + 0x74], eax
test ebx, ebx
je 0x58a8f6
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret
mov byte [esi + 0x1e5], 0
mov byte [edi + 0x81], 1
cmp dword [esi + 0x54], 0
je 0x58a2ec
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b13f
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a2bd
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b13f
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x140], eax
test eax, eax
je 0x58b194
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
mov byte [esp + 0x40], cl
jmp 0x58a2f6
mov dword [esi + 0x140], 0x690614
cmp byte [edi + 0x82], 0
jne 0x58a31f
cmp dword [esi + 0x1e8], 0
jne 0x58a31f
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x58a31f
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x58b27e
cmp dword [esi + 0x138], 0
jne case.0x589843.13
push 0x24
push 0x690614
lea eax, [edi + 0x84]
push eax
push esi
call fcn.0058d2c0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x58b194
mov dword [eax + 0x18], 0
cmp byte [edi + 0x80], 0
je 0x58a8f6
cmp dword [esi + 0x138], 0
je 0x58a8f6
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
jne 0x58a395
xor ecx, ecx
jmp 0x58a3bd
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a3ae
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
jne 0x58a3ae
xor ecx, ecx
jmp 0x58a3bd
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x138]
cmp dword [ecx + 0x10], 0
je 0x58b194
mov eax, dword [esi + 0x164]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x88], 0
je 0x58a8f6
cmp dword [esp + 0x14], 0xd
jne 0x58a8f6
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp dword [esi + 0x138], 0
je case.default.0x589843
cmp dword [esi + 0x88], 0
je case.default.0x589843
mov eax, dword [esp + 0x10]
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x138]
push dword [ecx + 0x18]
movzx eax, byte [ecx + 0x21]
push dword [ecx + 0x10]
push dword [ecx + 0x14]
push 0
push 0
push eax
push dword [ecx]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x58b048
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp dword [esi + 0x138], 0
je case.default.0x589843
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
jne 0x58a495
xor ecx, ecx
jmp 0x58a4bd
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a4ae
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
jne 0x58a4ae
xor ecx, ecx
jmp 0x58a4bd
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ecx, dword [ebx + 0x10]
mov eax, dword [esi + 0x138]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0x138]
cmp dword [eax + 0x1c], 0
je 0x58b194
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
cmp dword [esi + 0x5c], 0
je 0x58a50c
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push dword [eax]
mov eax, dword [esi + 0x5c]
push dword [esi + 4]
call eax
add esp, 0x18
jmp 0x58b048
cmp dword [esi + 0x88], 0
je case.default.0x589843
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov eax, dword [esi + 0x138]
push dword [eax + 0x1c]
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
push 0
push 0
push 0
push dword [eax]
mov eax, dword [esi + 0x88]
push dword [esi + 4]
call eax
add esp, 0x24
jmp 0x58b048
push dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
push ebp
push eax
mov eax, dword [eax + 0x2c]
call eax
add esp, 0xc
test eax, eax
je 0x58a571
mov dword [esi + 0x138], 0
jmp case.default.0x589843
cmp byte [edi + 0x80], 0
je 0x58a650
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a5b5
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58b194
push 0x24
push ebx
push edi
push esi
call fcn.0058d2c0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x58b194
cmp dword [eax], ebx
je 0x58a604
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
mov ebx, dword [esp + 0x48]
jmp 0x58b033
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 0
cmp dword [esi + 0x1d8], 0
jne 0x58a637
cmp dword [esi + 0x128], 0
jne 0x58a637
mov cl, 1
jmp 0x58a639
xor cl, cl
mov eax, dword [esi + 0x138]
mov byte [eax + 0x22], cl
cmp dword [esi + 0x88], 0
je 0x58a5fb
jmp 0x58b048
mov eax, dword [edi + 0x60]
mov dword [edi + 0x5c], eax
mov dword [esi + 0x138], 0
jmp case.default.0x589843
cmp byte [edi + 0x80], 0
je 0x58a650
push dword [esp + 0x4c]
lea ebx, [edi + 0x50]
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a6a5
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58b194
push 0x24
push ebx
lea eax, [edi + 0x84]
push eax
push esi
call fcn.0058d2c0
add esp, 0x10
mov dword [esi + 0x138], eax
test eax, eax
je 0x58b194
cmp dword [eax], ebx
jne 0x58a5eb
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x138]
mov dword [eax + 0x18], 0
mov eax, dword [esi + 0x138]
mov byte [eax + 0x21], 1
cmp dword [esi + 0x1d8], 0
jne 0x58a637
cmp dword [esi + 0x128], 0
jne 0x58a637
mov cl, 1
jmp 0x58a639
cmp dword [esi + 0x60], 0
mov dword [esi + 0x150], 0
mov dword [esi + 0x14c], 0
je case.default.0x589843
push dword [esp + 0x4c]
lea ebx, [esi + 0x19c]
push ebp
push dword [esp + 0x44]
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b156
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a77a
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b156
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x14c], eax
test eax, eax
je 0x58b194
mov eax, dword [esi + 0x1a8]
mov dword [esi + 0x1ac], eax
jmp 0x58b048
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x50]
mov eax, dword [ebx + 0x34]
push ebp
push ebx
call eax
add esp, 0x10
test eax, eax
je 0x58b16d
cmp dword [esi + 0x14c], 0
je case.default.0x589843
mov ecx, dword [ebx + 0x40]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push dword [esp + 0x44]
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a816
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebx, dword [ebx + 0x10]
test ebx, ebx
je 0x58b194
push ebx
call fcn.0058d7e0
mov eax, dword [esi + 0x1a8]
add esp, 4
mov dword [esi + 0x150], ebx
mov dword [esi + 0x1ac], eax
jmp 0x58b048
cmp dword [esi + 0x14c], 0
je 0x58a8e7
cmp dword [esi + 0x60], 0
je 0x58a8e7
mov edx, dword [esp + 0x3c]
lea ebx, [esi + 0x19c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58a8a7
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x58b194
mov ecx, dword [esp + 0x10]
mov dword [ecx], ebp
push dword [esi + 0x150]
push eax
push dword [esi + 0x164]
mov eax, dword [esi + 0x60]
push dword [esi + 0x14c]
push dword [esi + 4]
call eax
add esp, 0x14
mov byte [esp + 0x40], 0
lea eax, [esi + 0x19c]
push eax
call fcn.0058ec20
add esp, 4
mov eax, dword [esp + 0x40]
test al, al
je 0x58b048
jmp case.default.0x589843
cmp dword [esi + 0x150], 0
je 0x58a8e7
cmp dword [esi + 0x60], 0
je 0x58a8e7
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
push dword [esi + 0x150]
push 0
jmp 0x58a8cb
cmp dword [esi + 0x50], 0
je 0x58a93e
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0058f880
add esp, 0x10
push dword [esp + 0x24]
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x50]
mov ebx, dword [esp + 0x48]
push ebp
push ebx
push eax
push dword [esp + 0x4c]
push esi
call fcn.00589630
add esp, 0x18
test eax, eax
jne 0x58b309
cmp dword [esp + 0x4c], eax
je 0x58b17a
mov ecx, dword [esp + 0x3c]
jmp 0x58b054
mov eax, dword [esi + 0x1d0]
cmp dword [esi + 0x100], eax
jb 0x58a9ff
test eax, eax
je 0x58a9dd
add eax, eax
push eax
push dword [esi + 0x1cc]
mov dword [esi + 0x1d0], eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x58b18e
mov dword [esi + 0x1cc], eax
mov ecx, dword [edi + 0xb8]
test ecx, ecx
je 0x58a9ff
mov eax, dword [esi + 0x1d0]
shl eax, 2
push eax
mov eax, dword [esi + 0x10]
push ecx
call eax
add esp, 8
test eax, eax
je 0x58b194
mov dword [edi + 0xb8], eax
jmp 0x58a9ff
mov eax, dword [esi + 0xc]
push 0x20
mov dword [esi + 0x1d0], 0x20
call eax
add esp, 4
mov dword [esi + 0x1cc], eax
test eax, eax
je 0x58b1a1
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov byte [ecx + eax], 0
cmp byte [edi + 0xa0], 0
je case.default.0x589843
push esi
call fcn.0058d640
mov edx, eax
add esp, 4
test edx, edx
js 0x58b194
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov dword [eax + ecx*4], edx
lea ecx, [edx*8]
mov eax, dword [edi + 0xa4]
sub ecx, edx
inc dword [edi + 0xb4]
mov dword [eax + ecx*4], 6
cmp dword [esi + 0x80], 0
je case.default.0x589843
jmp 0x58b048
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
cmp byte [ecx + eax], 0x7c
je 0x58b2d9
mov byte [ecx + eax], 0x2c
cmp byte [edi + 0xa0], 0
je case.default.0x589843
cmp dword [esi + 0x80], 0
je case.default.0x589843
jmp 0x58b048
mov ecx, dword [esi + 0x1cc]
mov eax, dword [esi + 0x100]
mov al, byte [ecx + eax]
cmp al, 0x2c
je 0x58b2d9
cmp byte [edi + 0xa0], 0
je 0x58ab0b
test al, al
jne 0x58ab0b
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
cmp dword [eax + ecx*4], 3
je 0x58ab0b
mov dword [eax + ecx*4], 5
xor ecx, ecx
mov eax, dword [esp + 0x40]
cmp dword [esi + 0x80], ecx
movzx eax, al
cmovne eax, ecx
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x100]
mov eax, dword [esi + 0x1cc]
mov byte [ecx + eax], 0x7c
jmp 0x58a8f6
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
jne 0x58ab69
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
cmp byte [edi + 0x82], 0
jne 0x58a8f6
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x58a8f6
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
je 0x58b27e
jmp 0x58a8f6
mov edx, dword [esp + 0x3c]
lea ebx, [edi + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [edx + 0x40]
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push eax
push edx
push ebx
call fcn.0058e7c0
add esp, 0x10
test eax, eax
je 0x58b194
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x58aba9
push ebx
call fcn.0058f0f0
add esp, 4
test al, al
je 0x58b194
mov eax, dword [ebx + 0xc]
xor ecx, ecx
mov word [eax], cx
add dword [ebx + 0xc], 2
mov ebp, dword [ebx + 0x10]
test ebp, ebp
je 0x58b194
push ecx
push ebp
lea eax, [edi + 0x84]
push eax
push esi
call fcn.0058d2c0
mov ebx, eax
lea ecx, [edi + 0x82]
mov eax, dword [edi + 0x60]
add esp, 0x10
mov dword [edi + 0x5c], eax
cmp dword [esi + 0x10c], 0
je 0x58ac49
xor eax, eax
cmp byte [ecx], al
je 0x58abf7
cmp dword [esi + 0x128], eax
jmp 0x58abfd
cmp byte [edi + 0x81], al
sete al
test eax, eax
je 0x58ac49
test ebx, ebx
je 0x58b1c5
cmp byte [ebx + 0x22], 0
je 0x58b1b8
cmp byte [ebx + 0x20], 0
jne 0x58b1d2
cmp dword [ebx + 4], 0
je 0x58ac7d
cmp dword [esp + 0x14], 0x3c
sete al
movzx eax, al
push eax
push ebx
push esi
call fcn.0058f380
add esp, 0xc
test eax, eax
jne 0x58b309
jmp 0x58b048
mov eax, ecx
test ebx, ebx
jne 0x58ac16
cmp dword [esp + 0x14], 0x3c
mov al, byte [eax]
mov byte [edi + 0x80], al
jne case.default.0x589843
mov eax, dword [esi + 0x78]
test eax, eax
je case.default.0x589843
push 1
push ebp
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x58b048
cmp dword [esi + 0x70], 0
je 0x58acd3
mov byte [edi + 0x83], 0
push dword [ebx + 0x18]
mov byte [ebx + 0x20], 1
push dword [ebx + 0x10]
mov eax, dword [esi + 0x70]
push dword [ebx + 0x14]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
mov byte [ebx + 0x20], 0
test eax, eax
je 0x58b2b7
cmp byte [edi + 0x83], 0
mov byte [esp + 0x40], 0
jne 0x58ab3c
mov al, byte [edi + 0x82]
mov byte [edi + 0x80], al
jmp 0x58b048
mov al, byte [ecx]
mov byte [edi + 0x80], al
jmp case.default.0x589843
cmp dword [esi + 0x80], 0
je case.default.0x589843
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0058cb70
add esp, 0x10
mov dword [esi + 0x154], eax
test eax, eax
je 0x58b194
mov dword [edi + 0xb4], 0
mov dword [edi + 0xb0], 0
mov byte [edi + 0xa0], 1
jmp 0x58b048
cmp byte [edi + 0xa0], 0
je case.default.0x589843
cmp dword [esi + 0x80], 0
je 0x58ada2
mov eax, dword [esi + 0xc]
push 0x14
call eax
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x58b194
xor eax, eax
mov dword [ecx + 4], 0
cmp dword [esp + 0x14], 0x29
mov dword [ecx + 8], 0
sete al
mov dword [ecx + 0xc], 0
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
push ecx
mov dword [eax], ebp
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
add esp, 0xc
mov byte [esp + 0x40], 0
mov byte [edi + 0xa0], 0
jmp 0x58a8f6
cmp byte [edi + 0xa0], 0
je case.default.0x589843
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
mov eax, dword [eax + ecx*4 - 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ecx*4], 3
cmp dword [esi + 0x80], 0
je case.default.0x589843
jmp 0x58b048
xor ebx, ebx
jmp 0x58ae0a
mov ebx, 1
jmp 0x58ae0a
mov ebx, 2
jmp 0x58ae0a
mov ebx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x589843
test ebx, ebx
jne 0x58ae25
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
jmp 0x58ae34
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [eax + 0x40]
mov dword [esp + 0x38], ebp
push esi
call fcn.0058d640
add esp, 4
test eax, eax
js 0x58b194
push dword [esp + 0x38]
lea ebp, [eax*8]
sub ebp, eax
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4], 4
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 4], ebx
mov ebx, dword [esp + 0x4c]
push ebx
push dword [esp + 0x44]
push esi
call fcn.0058cb70
add esp, 0x10
test eax, eax
je 0x58b194
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [edi + 0xa4]
mov dword [eax + ebp*4 + 8], edx
lea eax, [ecx + ecx]
inc ecx
cmp word [eax + edx], 0
jne 0x58ae91
add dword [edi + 0xa8], ecx
cmp dword [esi + 0x80], 0
je 0x58b02f
jmp 0x58b048
xor edx, edx
jmp 0x58aecb
mov edx, 1
jmp 0x58aecb
mov edx, 2
jmp 0x58aecb
mov edx, 3
cmp byte [edi + 0xa0], 0
je case.default.0x589843
mov ecx, dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
dec ecx
mov ebx, dword [esi + 0x80]
mov dword [edi + 0xb4], ecx
mov eax, dword [eax + ecx*4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + 0xa4]
test ebx, ebx
mov dword [eax + ecx*4 + 4], edx
sete al
cmp dword [edi + 0xb4], 0
mov byte [esp + 0x38], al
jne 0x58a8fa
test ebx, ebx
je 0x58af9d
mov ebp, dword [esi + 0x160]
mov eax, dword [ebp + 0xb0]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xa8]
lea eax, [eax + ecx*2]
add eax, eax
push eax
mov eax, dword [esi + 0xc]
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x58b194
mov eax, dword [ebp + 0xb0]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*4]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x34]
push eax
push ebx
push 0
push esi
call fcn.00588160
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
push ebx
mov dword [ecx], eax
mov eax, dword [esi + 0x154]
push dword [eax]
mov eax, dword [esi + 0x80]
push dword [esi + 4]
call eax
mov al, byte [esp + 0x58]
add esp, 0x20
mov byte [edi + 0xa0], 0
mov dword [edi + 0xa8], 0
jmp 0x58a8fa
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0058f940
add esp, 0x10
test eax, eax
je 0x58b194
jmp 0x58b048
push dword [esp + 0x4c]
push ebp
push dword [esp + 0x44]
push esi
call fcn.0058f7d0
add esp, 0x10
test eax, eax
je 0x58b194
jmp 0x58b048
cmp ebx, 0xe
setne al
jmp 0x58a8fa
cmp dword [esi + 0x54], 0
sete al
jmp 0x58a8fa
cmp byte [edi + 0x80], 0
je case.default.0x589843
cmp dword [esi + 0x88], 0
je case.default.0x589843
jmp 0x58b048
cmp dword [esi + 0x60], 0
sete al
jmp 0x58a8fa
cmp dword [esi + 0x80], 0
jne 0x58b048
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x3c]
cmp dword [esi + 0x50], 0
je 0x58b048
push dword [esp + 0x4c]
push ebx
push ebp
push esi
call fcn.0058f880
add esp, 0x10
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
mov eax, dword [esi + 0x1dc]
sub eax, 2
je 0x58b304
sub eax, 1
je 0x58b2f3
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [ecx]
push ebx
push ebp
push ecx
mov dword [esp + 0x58], ebp
call eax
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ebx, eax
jmp 0x5897d4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x24
ret
mov ecx, dword [esi + 0x90]
cmp edx, ecx
je 0x58b0d5
mov eax, dword [esi + 0x128]
cmp byte [eax + 0x14], 0
je 0x58b118
cmp byte [esi + 0x1e4], 0
jne 0x58b0ef
cmp edx, ecx
jne 0x58b0ef
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x24
ret
mov ebx, dword [esp + 0x44]
lea eax, [esi + 0xfc]
push edx
push ebx
push ebx
push 0xfffffffffffffffc
push eax
mov eax, dword [eax]
call eax
add esp, 0x14
cmp eax, 0xffffffff
jne 0x58b118
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x50]
pop edi
pop esi
mov dword [eax], ebp
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x13c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x140], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x14c], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x20
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x114], 0x58cef0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
shr dword [esi + 0x1d0], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret
pop edi
mov dword [esi + 0x1d0], 0
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x24
ret
cmp byte [esi + 0x1e5], 0
je 0x58b291
mov bl, byte [edi + 0x81]
mov byte [edi + 0x81], 1
cmp dword [esi + 0x1e8], 0
je 0x58b291
cmp dword [esi + 0x70], 0
je 0x58b291
push 0x24
push 0x690614
lea eax, [edi + 0x84]
push eax
push esi
call fcn.0058d2c0
add esp, 0x10
test eax, eax
je 0x58b194
mov ecx, dword [esi + 0x164]
mov dword [eax + 0x14], ecx
mov byte [edi + 0x83], 0
push dword [eax + 0x18]
push dword [eax + 0x10]
push dword [eax + 0x14]
mov eax, dword [esi + 0x70]
push 0
push dword [esi + 0x74]
call eax
add esp, 0x14
test eax, eax
je 0x58b2b7
cmp byte [edi + 0x83], 0
je 0x58b28b
cmp byte [edi + 0x82], 0
jne 0x58b291
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x58b291
push dword [esi + 4]
call eax
add esp, 4
test eax, eax
jne 0x58b291
pop edi
pop esi
pop ebp
mov eax, 0x16
pop ebx
add esp, 0x24
ret
mov byte [edi + 0x81], bl
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
push eax
push ebx
push ebp
push esi
mov dword [esi + 0x114], fcn.00588340
call fcn.00588340
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x24
ret
cmp ebx, 0xc
je 0x58b2e6
cmp ebx, 0x1c
jne 0x58b2d9
pop edi
pop esi
pop ebp
lea eax, [ebx - 0x12]
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x24
ret
mov eax, dword [esp + 0x4c]
pop edi
pop esi
mov dword [ebp], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x24
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret