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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 0x38]
mov edx, dword [edi]
dec eax
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], eax
dec eax
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], edx
mov dword [esp + 0x50], ebx
mov ebp, dword [eax + 0x30]
mov cl, byte [eax]
mov byte [esp + 0x13], cl
mov dword [esp + 0x44], ebp
mov esi, dword [ebp]
mov dword [esp + 0x28], esi
cmp cl, 0x87
je 0x58cff4
cmp byte [edx + 0x57], 0
mov edi, 1
jne 0x58cfed
lea ecx, [esi + esi*4]
shl ecx, 2
mov dword [esp + 0x48], ecx
nop word [eax + eax]
mov eax, dword [eax + 0x1c]
cmp edi, dword [eax]
jg 0x58cfed
xor ecx, ecx
test esi, esi
jle 0x58ced7
lea edx, [ebp + 0x18]
movzx eax, word [edx]
cmp eax, edi
je 0x58ced3
inc ecx
add edx, 0x14
cmp ecx, esi
jl 0x58cec4
mov edx, dword [esp + 0x14]
cmp ecx, esi
jne 0x58cf79
push 0
push 0x35
push edx
call fcn.005a9cf0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x58cfdd
push 0x34
push 0
push esi
call fcn.00621d30
or eax, 0xffffffff
mov byte [esi], 0x9b
mov word [esi + 0x22], ax
add esp, 0xc
lea eax, [esi + 0x34]
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
or dword [esi + 4], 0x800
mov dword [esi + 8], edi
test ebp, ebp
jne 0x58cf3f
mov eax, dword [esp + 0x94]
push esi
push dword [eax]
call fcn.005b0a00
add esp, 8
jmp 0x58cf5d
mov eax, dword [ebp]
lea edx, [eax + 1]
cmp dword [ebp + 4], edx
jge 0x58cf8c
mov eax, dword [esp + 0x94]
push esi
push ebp
push dword [eax]
call fcn.005b0940
add esp, 0xc
mov ecx, dword [esp + 0x98]
mov ebp, eax
mov dword [esp + 0x44], ebp
mov dword [ecx + 0x30], eax
test eax, eax
jne 0x58cfc2
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc edi
cmp byte [edx + 0x57], 0
jne 0x58cfed
mov eax, dword [esp + 0x98]
jmp 0x58ceb0
movups xmm0, xmmword [0x68af20]
lea eax, [eax + eax*4]
mov dword [ebp], edx
lea ecx, [eax*4]
mov eax, dword [0x68af30]
movups xmmword [ecx + ebp + 8], xmm0
mov dword [ecx + ebp + 0x18], eax
mov eax, ebp
mov dword [ecx + ebp + 8], esi
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x44], eax
mov dword [ecx + 0x30], ebp
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x28]
inc esi
mov dword [esp + 0x28], esi
mov word [eax + ecx + 0x18], di
add ecx, 0x14
mov dword [esp + 0x48], ecx
jmp 0x58cf75
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x80
ret
mov edi, dword [esp + 0x94]
movzx eax, word [edx + 0x134]
lea ecx, [esi*4 + 4]
xor esi, esi
cdq
cmp esi, edx
jb 0x58d062
ja 0x58d00f
cmp ecx, eax
jbe 0x58d062
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x130], esi
jne 0x58d026
inc dword [eax + 0x144]
jmp 0x58d10d
cmp byte [eax + 0x57], 0
je 0x58d10d
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x98]
mov dword [esp + 0x48], 0
mov dl, byte [esp + 0x13]
cmp dl, 0x87
jne 0x58d172
mov dword [esp + 0x3c], 0
mov ecx, 1
jmp 0x58d2d6
mov eax, dword [esp + 0x14]
cmp ecx, 0x80
ja 0x58d0bd
mov edx, dword [eax + 0x158]
mov dword [esp + 0x20], edx
test edx, edx
je 0x58d097
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [edx]
mov dword [ecx + 0x158], eax
mov eax, ecx
inc dword [eax + 0x140]
jmp 0x58d128
mov edx, dword [eax + 0x154]
mov dword [esp + 0x20], edx
test edx, edx
je 0x58d0bd
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [edx]
mov dword [ecx + 0x154], eax
mov eax, ecx
inc dword [eax + 0x140]
jmp 0x58d128
mov edx, dword [eax + 0x150]
mov dword [esp + 0x20], edx
test edx, edx
je 0x58d0e3
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [edx]
mov dword [ecx + 0x150], eax
mov eax, ecx
inc dword [eax + 0x140]
jmp 0x58d128
mov edx, dword [eax + 0x14c]
mov dword [esp + 0x20], edx
test edx, edx
je 0x58d107
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [edx]
inc dword [ecx + 0x140]
mov dword [ecx + 0x14c], eax
jmp 0x58d128
inc dword [eax + 0x148]
push esi
push ecx
push eax
call fcn.00575630
mov edx, eax
add esp, 0xc
mov dword [esp + 0x20], edx
mov esi, edx
test edx, edx
je 0x58d034
mov edi, dword [esp + 0x28]
mov ecx, 1
mov dword [edx], edi
cmp edi, ecx
jl 0x58d14f
lea edx, [ebp + 0x18]
nop word [eax + eax]
movzx eax, word [edx]
lea edx, [edx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edi
jle 0x58d140
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
push 1
push esi
push edi
call fcn.0058e250
add esp, 0xc
mov dword [esp + 0x48], eax
jmp 0x58d043
mov eax, dword [esi + 0x1c]
mov ebp, dword [eax]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x54], ebp
lea edx, [eax + 1]
inc eax
add eax, ebp
mov dword [esp + 0x3c], edx
mov dword [edi + 0x2c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d1a5
push 0
push edx
push 0
push 0x47
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d1d4
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x14]
lea esi, [ebp*4 + 1]
add esi, ebp
push 0
lea eax, [esi + 0x18]
push eax
push ecx
call fcn.005a9cf0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x58d233
mov ecx, dword [esp + 0x14]
lea eax, [edi + 0x18]
lea eax, [eax + ebp*4]
mov dword [edi + 0x10], eax
movzx eax, bp
mov word [edi + 6], ax
inc eax
mov word [edi + 8], ax
mov al, byte [ecx + 0x54]
push esi
mov byte [edi + 4], al
lea eax, [edi + 0x18]
push 0
push eax
mov dword [edi + 0xc], ecx
mov dword [edi], 1
call fcn.00621d30
add esp, 0xc
mov dword [esp + 0x2c], edi
jmp 0x58d249
push dword [esp + 0x14]
call fcn.005bd9c0
add esp, 4
mov dword [esp + 0x2c], eax
mov edi, eax
test eax, eax
je 0x58d2c8
xor esi, esi
test ebp, ebp
jle 0x58d2c8
mov ebx, dword [esp + 0x54]
lea eax, [edi + 0x14]
xor ebp, ebp
mov dword [esp + 0x40], eax
nop dword [eax]
mov eax, dword [esp + 0x98]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x58d285
push esi
push eax
push dword [esp + 0x9c]
call fcn.0058cde0
add esp, 0xc
test eax, eax
jne 0x58d2a8
jmp 0x58d287
xor eax, eax
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx + 0x1c]
cmp esi, dword [ecx]
jge 0x58d2a8
push dword [ecx + ebp + 8]
push dword [esp + 0x98]
call fcn.005af430
add esp, 8
mov ecx, dword [esp + 0x40]
add ebp, 0x14
mov dword [ecx], eax
add ecx, 4
mov eax, dword [edi + 0x10]
mov dword [esp + 0x40], ecx
mov byte [esi + eax], 0
inc esi
cmp esi, ebx
jl 0x58d260
mov ebx, dword [esp + 0x50]
mov dl, byte [esp + 0x13]
mov ecx, 1
cmp dl, 0x86
jne 0x58d31e
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x98]
test dword [eax + 0x50], 0x200000
jne 0x58d325
cmp dword [ebp + 0x34], 0
mov eax, ebp
je 0x58d325
cmp byte [eax], dl
jne 0x58d300
mov eax, dword [eax + 0x34]
inc ecx
cmp dword [eax + 0x34], 0
jne 0x58d2f2
cmp ecx, 3
jle 0x58d325
lea eax, [ecx - 3]
mov edx, ebp
shr eax, 1
inc eax
nop dword [eax]
mov edx, dword [edx + 0x34]
sub eax, 1
jne 0x58d310
mov dword [esp + 0x54], edx
jmp 0x58d32b
mov ebp, dword [esp + 0x98]
mov edx, ebp
mov dword [esp + 0x54], ebp
mov esi, dword [edx + 0x34]
mov edi, dword [esp + 0x94]
push 0
push dword [esp + 0x48]
mov dword [edx + 0x34], 0
mov dword [esi + 0x38], 0
push dword [edi]
mov dword [esp + 0x4c], esi
call fcn.005b0cf0
push str.ORDER
mov dword [esi + 0x30], eax
push dword [ebp + 0x30]
push ebp
push edi
call fcn.005c7610
push str.ORDER
push dword [esi + 0x30]
push esi
push edi
call fcn.005c7610
push dword [esp + 0x44]
push ebp
push edi
call fcn.00572e50
add esp, 0x38
cmp dword [ebp + 8], 0
je 0x58d459
cmp byte [esp + 0x13], 0x87
jne 0x58d459
mov esi, dword [edi + 0x2c]
mov eax, dword [esp + 0x94]
inc esi
lea edi, [esi + 1]
mov dword [eax + 0x2c], edi
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x44], edi
test edx, edx
je 0x58d3b7
inc edx
jmp 0x58d3ba
mov edx, dword [ebp + 8]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d3d3
push 0
push esi
push edx
push 0x50
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d405
mov ebp, dword [esp + 0x98]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d425
push 0
push edi
push esi
push 0x50
push ebx
call fcn.005815b0
mov edi, dword [esp + 0xa8]
add esp, 0x14
jmp 0x58d463
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x94]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x58d463
mov dword [esp + 0x44], 0
xor esi, esi
mov eax, dword [ebp + 0x3c]
test eax, eax
je 0x58d477
push eax
push dword [esp + 0x18]
call fcn.005afab0
add esp, 8
mov dword [ebp + 0x3c], 0
mov eax, dword [edi + 0x2c]
mov byte [esp + 0x74], 0xd
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], 0
lea ecx, [eax + 1]
mov dword [esp + 0x80], 0
lea edx, [eax + 2]
mov dword [esp + 0x1c], ecx
add eax, 3
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x34], eax
mov dword [edi + 0x2c], eax
movzx eax, byte [ebp]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], 0
mov byte [esp + 0x58], 0xd
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
sub eax, 0x87
je 0x58d523
sub eax, 1
je 0x58d51c
sub eax, 1
je 0x58d515
mov eax, str.UNION
jmp 0x58d528
mov eax, str.INTERSECT
jmp 0x58d528
mov eax, str.EXCEPT
jmp 0x58d528
mov eax, str.UNION_ALL
push eax
push str.MERGE___s_
push 1
push edi
call fcn.005dc1e0
mov edi, dword [ebx + 0x6c]
add esp, 0x10
lea edx, [edi + 1]
cmp dword [ebx + 0x70], edi
jg 0x58d55a
push edx
push 0
push dword [esp + 0x24]
push 0xb
push ebx
call fcn.005815b0
add esp, 0x14
mov edi, eax
jmp 0x58d58d
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx + 0x6c], edx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x98]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
push str.LEFT
push 1
mov dword [eax + 8], esi
mov esi, dword [esp + 0x9c]
push esi
call fcn.005dc1e0
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x50]
push esi
call fcn.005c8dd0
mov ecx, dword [ebx + 0x6c]
add esp, 0x18
cmp dword [ebx + 0x70], ecx
jg 0x58d5da
push 0
push 0
push dword [esp + 0x24]
push 0x44
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d60d
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
mov dword [eax + 0x1c], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x58d630
mov eax, 0x6ecf90
jmp 0x58d639
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x24]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x4c], eax
lea edx, [eax + 1]
cmp dword [ebx + 0x70], eax
jg 0x58d664
push edx
push 0
push esi
push 0xb
push ebx
call fcn.005815b0
add esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x58d68c
lea ecx, [eax + eax*4]
mov dword [ebx + 0x6c], edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x44]
push str.RIGHT
push 1
push dword [esp + 0x9c]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], 0
call fcn.005dc1e0
lea eax, [esp + 0x64]
push eax
push ebp
push dword [esp + 0xa8]
call fcn.005c8dd0
mov dword [ebp + 8], edi
add esp, 0x18
mov edi, dword [esp + 0x24]
mov dword [ebp + 0xc], esi
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d6ec
push 0
push 0
push edi
push 0x44
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d71b
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x44
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x18]
mov eax, dword [ebx + 0xc]
push dword [esp + 0x30]
mov esi, dword [esp + 0xa4]
push dword [esp + 0x44]
mov byte [eax + 0x13], 0
mov eax, dword [ebx + 0xc]
push dword [esp + 0x3c]
push esi
mov dword [eax + 0x1c], 0
lea eax, [esp + 0x88]
push eax
push ebp
push dword [esp + 0xb0]
call fcn.0057f6a0
mov dword [esp + 0x64], eax
add esp, 0x20
mov al, byte [esp + 0x13]
cmp al, 0x87
je 0x58d76c
cmp al, 0x86
jne 0x58d796
push dword [esp + 0x18]
lea eax, [esp + 0x5c]
push dword [esp + 0x30]
push dword [esp + 0x44]
push dword [esp + 0x40]
push esi
push eax
push ebp
push dword [esp + 0xb0]
call fcn.0057f6a0
add esp, 0x20
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x58d7af
add dword [eax], 0xffffffff
jne 0x58d7af
push eax
push dword [eax + 0xc]
call fcn.005a9e10
add esp, 8
mov al, byte [esp + 0x13]
cmp al, 0x88
je 0x58d941
cmp al, 0x89
je 0x58d941
mov esi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], esi
jg 0x58d7e4
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xa
push ebx
call fcn.005815b0
add esp, 0x14
mov esi, eax
jmp 0x58d817
mov edx, dword [esp + 0x34]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x3c], edx
cmp dword [ebx + 0x70], edx
jg 0x58d83b
push 0
push dword [esp + 0x1c]
push edi
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
mov dword [esp + 0x3c], eax
jmp 0x58d86a
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d884
push 0
push esi
push 0
push 9
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d8b3
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
movzx ebp, word [ebp + 2]
movsx ecx, bp
movzx edi, word [eax + 2]
movsx edx, di
cmp bp, di
jl 0x58d8ef
lea eax, [edx + 0x31]
cmp ecx, eax
jle 0x58d8d5
mov eax, ebp
jmp 0x58d915
lea eax, [edx + 0x1f]
cmp ecx, eax
jle 0x58d8e1
lea eax, [ebp + 1]
jmp 0x58d912
sub ecx, edx
movzx eax, byte [ecx + str._n_n_t_t_b_b_a_a_a]
add ax, bp
jmp 0x58d912
lea eax, [ecx + 0x31]
cmp edx, eax
jle 0x58d8fa
mov eax, edi
jmp 0x58d915
lea eax, [ecx + 0x1f]
cmp edx, eax
jle 0x58d906
lea eax, [edi + 1]
jmp 0x58d912
sub edx, ecx
movzx eax, byte [edx + str._n_n_t_t_b_b_a_a_a]
add ax, di
movzx eax, ax
mov ecx, dword [esp + 0x98]
mov word [ecx + 2], ax
mov edi, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edi
jg 0x58d96c
push 0
push dword [esp + 0x48]
push dword [esp + 0x38]
push 0xa
push ebx
call fcn.005815b0
add esp, 0x14
mov edi, eax
jmp 0x58d99f
mov ecx, dword [esp + 0x18]
mov esi, ecx
mov dword [esp + 0x3c], ecx
cmp al, 0x89
jne 0x58d920
mov eax, dword [esp + 0x40]
mov edi, esi
movzx eax, word [eax + 2]
cmp word [ebp + 2], ax
jle 0x58d963
mov word [ebp + 2], ax
mov dword [esp + 0x3c], ecx
jmp 0x58da3a
mov edx, dword [esp + 0x30]
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58d9be
push 0
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58d9f1
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58da0b
push 0
push edi
push 0
push 9
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58da3a
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [ebx + 0x6c]
mov dword [esp + 0x2c], ebp
cmp dword [ebx + 0x70], ebp
jg 0x58da63
push 0
push dword [esp + 0x48]
push dword [esp + 0x38]
push 0xa
push ebx
call fcn.005815b0
mov ebp, eax
add esp, 0x14
mov dword [esp + 0x2c], ebp
jmp 0x58da9c
mov edx, dword [esp + 0x30]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58dab8
push 0
push esi
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dae7
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58db06
mov eax, dword [esp + 0x18]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58db3e
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov ebp, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x13]
cmp al, 0x87
jne 0x58db52
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], ecx
jmp 0x58dc1a
cmp al, 0x89
jne 0x58db66
mov eax, dword [ebx + 0x6c]
inc dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jmp 0x58dc69
mov ebp, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ebp
jg 0x58db84
push 0
push esi
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
mov ebp, eax
jmp 0x58dbb9
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ebp*4]
mov eax, dword [ebx + 0x68]
add ecx, ebp
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58dbd8
mov eax, dword [esp + 0x18]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dc0c
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
dec edx
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x13], 0x86
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x30], ecx
jne 0x58dc69
cmp dword [ebx + 0x70], ecx
jg 0x58dc36
push 0
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push 0xa
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dc69
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x24]
cmp dword [ebx + 0x70], ecx
jg 0x58dc86
push 0
push edi
push esi
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dcb1
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58dcd0
mov eax, dword [esp + 0x18]
push 0
dec eax
push eax
push 0
push 9
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dd08
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
dec edx
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
mov edx, dword [ebx + 0x6c]
cmp byte [eax + 0x57], 0
je 0x58dd1a
mov eax, 0x6ecf90
jmp 0x58dd27
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58dd4a
mov edx, dword [esp + 0x3c]
push 0
push edx
push dword [esp + 0x24]
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dd7d
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58dd96
push 0
push edi
push esi
push 0xc
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58ddc1
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x18]
dec edx
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x58dde0
push edx
push ebx
push ecx
call fcn.00598020
add esp, 0xc
jmp 0x58dde9
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x58de06
push 0
push 0
push 0
push 0x59
push ebx
call fcn.005815b0
add esp, 0x14
mov edx, eax
jmp 0x58de39
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x58de55
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x58de8b
push ecx
push eax
call fcn.005a9e10
add esp, 8
jmp 0x58de8b
test edx, edx
jns 0x58de5d
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x20]
je 0x58de80
push 0xfffffffffffffff2
push ecx
push eax
push ebx
call fcn.005ee540
add esp, 0x10
jmp 0x58de8b
test ecx, ecx
je 0x58de8b
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf2
mov edx, dword [ebx + 0x6c]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x80]
cmp dword [ebx + 0x70], edx
jg 0x58deb3
push dword [esp + 0x28]
push esi
push edi
push 0x5a
push ebx
call fcn.005815b0
add esp, 0x14
mov edx, eax
jmp 0x58dee2
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x58df0e
cmp dword [eax + 0x210], 0
jne 0x58df44
mov eax, dword [esp + 0x48]
test eax, eax
je 0x58df44
add dword [eax], 0xffffffff
jne 0x58df44
push eax
push dword [eax + 0xc]
call fcn.005a9e10
add esp, 8
jmp 0x58df44
test edx, edx
jns 0x58df16
mov edx, dword [ebx + 0x6c]
dec edx
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x48]
je 0x58df39
push 0xfffffffffffffff8
push ecx
push eax
push ebx
call fcn.005ee540
add esp, 0x10
jmp 0x58df44
test ecx, ecx
je 0x58df44
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xf8
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x58df5b
lea ecx, [eax + eax*4]
mov edx, 1
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x58df7b
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ebp
push edx
push 0xe
push ebx
call fcn.005815b0
add esp, 0x14
jmp 0x58dfaa
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x18]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x58dfc8
push edx
push ebx
push ecx
call fcn.00598020
add esp, 0xc
jmp 0x58dfd1
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov ebp, dword [esp + 0x54]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x58e1d2
mov eax, dword [0x6d4d38]
test eax, eax
je 0x58e0fb
push 0x12c
call eax
mov ebx, dword [esp + 0x98]
add esp, 4
mov ecx, dword [ebx]
test eax, eax
je 0x58e104
push ecx
call fcn.005bd9c0
add esp, 4
mov edi, dword [ebx]
mov eax, dword [esi + 0x1c]
mov ebx, dword [esi + 0x34]
test eax, eax
je 0x58e027
push eax
push edi
call fcn.00579c60
add esp, 8
push dword [esi + 0x20]
push edi
call fcn.005ccad0
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x58e044
push eax
push edi
call fcn.005afab0
add esp, 8
mov eax, dword [esi + 0x28]
test eax, eax
je 0x58e055
push eax
push edi
call fcn.00579c60
add esp, 8
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x58e066
push eax
push edi
call fcn.005afab0
add esp, 8
mov eax, dword [esi + 0x30]
test eax, eax
je 0x58e077
push eax
push edi
call fcn.00579c60
add esp, 8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x58e088
push eax
push edi
call fcn.005afab0
add esp, 8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x58e099
push eax
push edi
call fcn.005ea090
add esp, 8
mov eax, dword [esi + 0x48]
test eax, eax
je 0x58e0aa
push eax
push edi
call fcn.005e9200
add esp, 8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x58e0d8
mov edx, dword [ecx + 0x20]
test edx, edx
je 0x58e0d1
mov eax, dword [ecx + 0x24]
mov dword [edx], eax
mov edx, dword [ecx + 0x24]
test edx, edx
je 0x58e0ca
mov eax, dword [ecx + 0x20]
mov dword [edx + 0x20], eax
mov dword [ecx + 0x20], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
jne 0x58e0b1
cmp esi, dword [edi + 0x164]
jae 0x58e15e
cmp esi, dword [edi + 0x15c]
jb 0x58e146
mov eax, dword [edi + 0x158]
mov dword [esi], eax
mov dword [edi + 0x158], esi
jmp 0x58e1c8
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx]
push 0
push 0xc
test ecx, ecx
je 0x58e117
push ecx
call fcn.005a9cf0
add esp, 0xc
jmp 0x58e11f
call fcn.005bcc80
add esp, 8
mov ecx, eax
test ecx, ecx
je 0x58e011
mov eax, dword [ebx + 0x8c]
mov dword [ecx], eax
mov dword [ebx + 0x8c], ecx
mov dword [ecx + 4], esi
mov dword [ecx + 8], fcn.005cbed0
jmp 0x58e1d9
cmp esi, dword [edi + 0x160]
jb 0x58e15e
mov eax, dword [edi + 0x150]
mov dword [esi], eax
mov dword [edi + 0x150], esi
jmp 0x58e1c8
cmp dword [edi + 0x210], 0
je 0x58e173
push esi
push edi
call fcn.0058bbf0
add esp, 8
jmp 0x58e1c8
cmp dword [0x6d4c38], 0
je 0x58e1be
mov eax, dword [0x6ecdc0]
test eax, eax
je 0x58e18f
push eax
call dword [0x6d4c88]
add esp, 4
push esi
call dword [0x6d4c64]
sub dword [0x6ecd58], eax
dec dword [0x6ecd7c]
push esi
call dword [0x6d4c5c]
mov eax, dword [0x6ecdc0]
add esp, 8
test eax, eax
je 0x58e1c8
push eax
call dword [0x6d4c90]
jmp 0x58e1c5
push esi
call dword [0x6d4c5c]
add esp, 4
mov esi, ebx
test ebx, ebx
jne 0x58e013
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x40]
mov dword [ebp + 0x34], esi
mov eax, dword [esi + 0x30]
mov dword [esi + 0x38], ebp
test eax, eax
je 0x58e1f7
push eax
push dword [esp + 0x18]
call fcn.00579c60
add esp, 8
mov dword [esi + 0x30], 0
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
jne 0x58e20c
xor eax, eax
jmp 0x58e22a
mov edx, dword [ebx + 8]
mov eax, dword [edx]
cmp byte [eax + 0x57], 0
je 0x58e21e
mov eax, 0x6ecf90
jmp 0x58e227
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebx + 0xe8], eax
xor eax, eax
cmp dword [ebx + 0x24], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
add esp, 0x80
ret