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

Disassembly:
sub esp, 0xd4
push ebx
mov ebx, dword [esp + 0xdc]
push esi
mov esi, dword [esp + 0xe4]
test esi, esi
push edi
mov edi, dword [ebx]
mov dword [esp + 0x20], 1
mov dword [esp + 0x38], edi
je 0x5809eb
cmp byte [edi + 0x1e], 0
jne 0x5809eb
cmp dword [ebx + 0x40], 0
jne 0x5809eb
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.00547af0
add esp, 0x10
test eax, eax
je 0x5809fa
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xd4
ret
push 0x2c
lea eax, [esp + 0x80]
push 0
push eax
call fcn.005b5540
mov ecx, dword [esp + 0xf8]
add esp, 0xc
cmp byte [ecx], 4
ja 0x580a33
mov edx, dword [esi + 0x18]
push edx
call fcn.00539490
add esp, 4
and word [esi + 6], 0xfffe
mov dword [esi + 0x18], 0
push ebp
push 0
push esi
push ebx
call fcn.00580910
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 8]
add esp, 0xc
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
jne 0x582023
mov edx, edi
cmp byte [edx + 0x1e], 0
jne 0x582023
mov eax, esi
movzx ecx, byte [eax + 6]
shr ecx, 2
and ecx, 1
mov edi, ebx
mov dword [esp + 0x48], ecx
call fcn.0054a230
mov ebp, eax
test ebp, ebp
je 0x582023
mov edi, esi
cmp dword [edi + 0x1c], 0
mov dword [esp + 0x2c], 0
mov esi, ebx
jne 0x580bc0
mov ecx, dword [esp + 0x54]
nop
movsx edx, word [ecx]
cmp dword [esp + 0x2c], edx
jge 0x580bc0
mov eax, dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov ebx, dword [ecx + edx*8 + 0x18]
test ebx, ebx
lea eax, [ecx + edx*8 + 8]
mov dword [esp + 0x60], eax
je 0x580bb1
cmp byte [eax + 0x14], 0
jne 0x580bb1
mov ecx, edi
call fcn.005393b0
add dword [esi + 0x220], eax
movzx eax, byte [ebx + 6]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
shr eax, 2
and eax, 1
push eax
push ecx
push edx
push edi
push esi
mov dword [esp + 0x48], eax
call fcn.00552a40
add esp, 0x14
test eax, eax
je 0x580b2a
cmp dword [esp + 0x34], 0
je 0x580b20
or word [edi + 6], 4
mov dword [esp + 0x48], 1
mov dword [esp + 0x2c], 0xffffffff
jmp 0x580b6e
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x18]
mov dword [esp + 0xd8], eax
xor eax, eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
lea eax, [esp + 0xd4]
push eax
push ebx
push esi
mov byte [esp + 0xe0], 9
mov byte [esp + 0xe1], 0
call fcn.005809a0
add esp, 0xc
mov byte [edi + 0x14], 1
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0x1e], 0
jne 0x582023
mov edi, dword [esp + 0xec]
mov ecx, edi
call fcn.005393b0
mov esi, dword [esp + 0xe8]
sub dword [esi + 0x220], eax
mov edx, dword [esp + 0xf0]
cmp byte [edx], 4
mov ecx, dword [edi + 8]
mov dword [esp + 0x54], ecx
jbe 0x580bb1
mov eax, dword [edi + 0x18]
mov dword [esp + 0x40], eax
add dword [esp + 0x2c], 1
cmp dword [edi + 0x1c], 0
je 0x580aa0
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x1c], edx
movzx edx, byte [edi + 6]
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x14]
and edx, 1
cmp dword [edi + 0x1c], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], edx
je 0x580c56
cmp dword [edi + 0x24], 0
jne 0x580c38
xor ecx, ecx
xor edx, edx
mov eax, edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edi
mov ecx, eax
mov eax, dword [eax + 0x1c]
add edx, 1
test eax, eax
jne 0x580bf8
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x580c38
cmp edx, eax
jle 0x580c38
push str.too_many_terms_in_compound_SELECT
mov edi, esi
call fcn.005452d0
add esp, 4
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xd4
ret
mov ecx, dword [esp + 0xf0]
push ecx
push esi
mov ecx, edi
call fcn.0056ea40
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd4
ret
mov edx, dword [eax]
mov eax, dword [esp + 0xf0]
push edx
mov edi, esi
call fcn.005499b0
add esp, 4
test eax, eax
jne 0x582023
mov esi, dword [esp + 0xec]
mov al, byte [esi + 6]
and al, 5
cmp al, 1
jne 0x580ca9
mov ecx, dword [esi]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push edx
call fcn.005413f0
add esp, 0xc
and word [esi + 6], 0xfffe
mov dword [esi + 0x10], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0x40]
mov eax, esi
mov edi, dword [eax + 0x10]
push ebx
call fcn.005399e0
add esp, 4
test eax, eax
jne 0x580dad
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0xc], 0x20
jne 0x580dad
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0xe8]
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0xf0]
cmp byte [eax], 9
jne 0x580d44
mov edx, dword [esp + 0x6c]
mov ecx, dword [edx]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x34], edx
jg 0x580d14
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x580d44
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x34]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x29
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x62], cl
mov eax, ebp
call fcn.005407a0
mov edx, dword [esp + 0xec]
push eax
push edx
push esi
mov dword [esp + 0xb8], eax
call fcn.0054a260
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x580e8c
mov edi, dword [esi + 0x44]
mov ecx, dword [esp + 0xec]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
mov edx, dword [ecx]
push edx
push esi
mov dword [esp + 0x58], edi
call fcn.00567e00
mov ebx, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], ebx
mov dword [esp + 0x28], eax
jg 0x580dfd
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x580df9
mov ebx, 1
jmp 0x580e25
test ebx, ebx
je 0x580cd5
mov esi, dword [esp + 0xe8]
push ebx
push esi
call fcn.00567e00
mov edx, dword [esi + 0x44]
mov dword [ebx + 8], edx
add dword [esi + 0x44], 1
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x29
xor eax, eax
mov edi, ebp
call fcn.005462c0
mov ecx, dword [esp + 0x100]
add esp, 0x14
mov dword [esp + 0x38], eax
mov dword [ecx + 0x40], eax
jmp 0x580ce4
mov edi, dword [esp + 0x50]
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov byte [eax], 0x29
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [ebp + 0x62], cl
mov ecx, dword [ebp + 0x14]
test ecx, ecx
mov edi, dword [ebp]
mov eax, ebx
je 0x580e7c
cmp byte [edi + 0x1e], 0
jne 0x580e7c
test ebx, ebx
jge 0x580e41
mov eax, dword [ebp + 0xc]
sub eax, 1
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0x10]
call fcn.005408f0
cmp dword [esp + 0x28], 0
mov dword [ebx + 0x10], 0
jne 0x580e6f
mov dword [ebx + 0x10], 0
mov byte [ebx + 1], 0
jmp 0x580e94
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x580e94
mov ecx, dword [esp + 0x28]
mov eax, 0xfffffff0
call fcn.005408f0
jmp 0x580e94
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x48], 0
mov edi, dword [esp + 0x1c]
jne 0x580f35
test edi, edi
jne 0x580f39
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
push edi
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push esi
call fcn.0057bc20
mov edi, eax
add esp, 0x14
test edi, edi
je 0x582023
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov esi, dword [esp + 0x40]
jl 0x580ef6
test esi, esi
jne 0x580ef6
lea eax, [esi + 1]
mov edx, ebp
call fcn.005409e0
mov ecx, dword [esp + 0xec]
mov dword [ecx + 0x40], 0xffffffff
mov edx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0xf0]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0xf4]
push 0xffffffffffffffff
push esi
push 0
push 0
push edx
push eax
push ecx
call fcn.00552380
push edi
call fcn.00543780
add esp, 0x2c
jmp 0x581faa
test edi, edi
je 0x580f7f
mov edx, dword [esp + 0xec]
mov ecx, dword [edx]
mov eax, dword [ecx]
test eax, eax
mov ecx, dword [ecx + 0xc]
jle 0x580f5f
add ecx, 0x10
mov edi, edi
mov word [ecx], 0
sub eax, 1
add ecx, 0x14
test eax, eax
jg 0x580f50
mov eax, dword [edi]
test eax, eax
mov ecx, dword [edi + 0xc]
jle 0x580f7f
add ecx, 0x10
jmp 0x580f70
mov word [ecx], 0
sub eax, 1
add ecx, 0x14
test eax, eax
jg 0x580f70
mov eax, ebp
call fcn.005407a0
mov dword [esp + 0x70], eax
xor eax, eax
test edi, edi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x80]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], eax
mov dword [esp + 0xcc], ecx
je 0x580ffd
mov edx, dword [edi]
add edx, 1
mov dword [esp + 0x8c], edx
jmp 0x581008
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x6c]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0x8c], eax
call fcn.0054f380
mov ebx, dword [esp + 0x44]
lea edx, [esp + 0xb4]
push edx
call fcn.0054f380
mov ecx, dword [esp + 0x68]
xor ebx, ebx
add esp, 8
cmp ecx, ebx
je 0x58104e
lea eax, [esp + 0xb0]
call fcn.0054f350
mov eax, dword [esp + 0x94]
xor edi, edi
cmp dword [esp + 0xa4], ebx
mov dword [esp + 0x9c], eax
jle 0x58109e
xor esi, esi
lea esp, [esp]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esi + ecx]
mov ebx, dword [edx + 0x10]
lea eax, [esp + 0xb0]
push eax
call fcn.0054f380
add edi, 1
add esp, 4
add esi, 0x10
cmp edi, dword [esp + 0xa4]
jl 0x581070
xor ebx, ebx
mov ecx, dword [esp + 0x3c]
cmp byte [ecx + 0x1e], bl
jne 0x582023
cmp dword [esp + 0x1c], ebx
je 0x581c90
mov esi, dword [esp + 0xe8]
mov eax, dword [esi + 0x44]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x84], eax
push edx
add eax, 1
push esi
mov dword [esi + 0x44], eax
call fcn.00567e00
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x94]
add esp, 8
cmp dword [ebp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
jg 0x58111a
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x581116
mov eax, 1
mov dword [esp + 0x34], eax
jmp 0x58114d
mov ecx, dword [esp + 0x34]
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov byte [eax], 0x29
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov edi, dword [ebp]
je 0x5811a0
cmp byte [edi + 0x1e], bl
jne 0x5811a0
cmp eax, ebx
jge 0x581166
mov eax, dword [ebp + 0xc]
sub eax, 1
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
movsx eax, byte [ecx + 1]
mov dword [esp + 0x28], ecx
mov ecx, dword [ecx + 0x10]
call fcn.005408f0
cmp dword [esp + 0x48], ebx
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x10], ebx
mov eax, ecx
jne 0x581193
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x5811ae
mov edx, dword [esp + 0x48]
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xfa
jmp 0x5811ae
mov ecx, dword [esp + 0x48]
mov eax, 0xfffffff0
call fcn.005408f0
mov eax, dword [esi + 0x48]
add eax, 1
lea edi, [eax + 1]
mov dword [esp + 0x78], eax
lea eax, [edi + 1]
mov dword [esp + 0x68], eax
mov dword [esi + 0x48], eax
mov eax, ebp
mov dword [esp + 0x7c], edi
call fcn.005407a0
add dword [esi + 0x48], 1
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x18], eax
mov eax, ebp
call fcn.005407a0
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
add ecx, eax
lea edx, [eax + 1]
mov dword [esi + 0x48], ecx
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], eax
jg 0x58122c
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581251
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x30]
add dword [ebp + 0xc], 1
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x30], eax
jg 0x58126c
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581295
mov eax, dword [esp + 0x30]
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x78]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x30], eax
jg 0x5812b0
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5812dd
mov eax, dword [esp + 0x30]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
push ebx
lea eax, [esp + 0x20]
push eax
push ecx
push edx
push esi
call fcn.0057bc20
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x30], eax
je 0x582023
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x581321
mov eax, dword [esp + 0xec]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ebx
jmp 0x58168a
mov eax, dword [eax]
mov edx, dword [esp + 0x94]
cmp edx, ebx
lea edi, [eax + 1]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], edi
mov ecx, edi
jle 0x581367
mov eax, dword [esp + 0x90]
add eax, 0xc
cmp dword [eax], ecx
jl 0x58135b
add edi, 1
add ecx, 1
add eax, 0x18
sub edx, 1
jne 0x581351
mov dword [esp + 0x58], edi
mov eax, dword [esi + 0x38]
cmp edi, eax
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x5c], ecx
jg 0x581381
add ecx, edi
sub eax, edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x38], eax
jmp 0x581390
mov eax, dword [esi + 0x48]
lea edx, [eax + 1]
add eax, edi
mov dword [esp + 0x5c], edx
mov dword [esi + 0x48], eax
mov edx, esi
call fcn.00539990
mov eax, dword [esp + 0x5c]
push ebx
push eax
mov eax, dword [esp + 0x24]
push esi
call fcn.0054ef20
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x90]
add esp, 0xc
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
jg 0x5813d4
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0x58]
jne 0x581407
mov eax, dword [esp + 0x24]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x5c]
add ecx, edx
mov byte [eax], 0x35
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x94], ebx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov dword [esp + 0x2c], ebx
jle 0x5814f8
mov eax, dword [esp + 0x5c]
mov ecx, edx
xor edi, edi
lea esi, [eax + ecx]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], edi
jmp 0x581440
mov edx, dword [esp + 0x14]
cmp dword [edi + eax + 0xc], edx
jl 0x5814ce
mov ecx, dword [edi + eax + 4]
mov edx, dword [edi + eax + 8]
mov eax, dword [edi + eax]
push ecx
mov ecx, dword [esp + 0xec]
push edx
push eax
mov eax, esi
call fcn.00570490
mov ecx, eax
add esp, 0xc
cmp esi, ecx
mov dword [esp + 0x44], ecx
je 0x5814bf
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x58149a
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0x24]
jne 0x5814bf
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
add dword [ebp + 0xc], 1
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 0xf
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
add dword [esp + 0x14], 1
mov eax, dword [esp + 0x90]
add esi, 1
mov ecx, dword [esp + 0x2c]
add ecx, 1
add edi, 0x18
cmp ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
jl 0x581440
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0x58]
mov al, byte [esi + 0x15]
cmp al, bl
jne 0x581508
add dword [esi + 0x48], 1
mov ecx, dword [esi + 0x48]
jmp 0x581514
sub al, 1
movzx ecx, al
mov byte [esi + 0x15], al
mov ecx, dword [esi + ecx*4 + 0x18]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jg 0x58153b
mov edi, ebp
call fcn.00540600
test eax, eax
mov ecx, dword [esp + 0x14]
jne 0x581564
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
add dword [ebp + 0xc], 1
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x5c]
mov byte [eax], 0x1e
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0x84]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x58158e
mov edi, ebp
call fcn.00540600
test eax, eax
mov ecx, dword [esp + 0x14]
jne 0x5815b7
mov eax, dword [esp + 0x10]
add dword [ebp + 0xc], 1
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
mov byte [eax], 0x46
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp ecx, ebx
je 0x5815ef
mov dl, byte [esi + 0x15]
cmp dl, 8
jae 0x5815ef
xor eax, eax
lea edi, [esi + 0x60]
jmp 0x5815d0
cmp dword [edi + 0x10], ecx
je 0x58170a
add eax, 1
add edi, 0x18
cmp eax, 0xa
jl 0x5815d0
movzx eax, dl
mov dword [esi + eax*4 + 0x18], ecx
add byte [esi + 0x15], 1
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0xe8]
mov eax, dword [esp + 0x58]
push ecx
mov esi, edi
call fcn.005398f0
mov eax, dword [esp + 0x5c]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x58161c
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
mov eax, dword [esp + 0x30]
push eax
call fcn.00543780
mov esi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x88]
add esp, 4
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x10], ecx
jg 0x58164e
mov edi, ebp
call fcn.00540600
test eax, eax
mov edi, dword [esp + 0xe8]
jne 0x58167b
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x70]
mov byte [eax], 0x40
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, edi
mov byte [esp + 0x81], 1
call fcn.00539990
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x44], eax
call fcn.00539990
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], ebx
mov dword [esp + 0x14], ebx
jle 0x58175c
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x4c], ebx
je 0x581713
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
jg 0x5816d5
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581740
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
add ecx, edx
mov byte [eax], 0x1c
mov byte [eax + 3], bl
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x581740
mov byte [edi + 8], 1
jmp 0x5815ef
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + eax]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x80], 1
mov eax, dword [edx + 0xc]
mov eax, dword [eax + ecx]
mov ecx, dword [esp + 0xe8]
call fcn.00541980
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add dword [esp + 0x24], 0x14
add eax, 1
cmp eax, dword [edx]
mov dword [esp + 0x14], eax
jl 0x5816b1
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
jg 0x581780
mov edi, ebp
call fcn.00540600
test eax, eax
je 0x581780
mov esi, 1
jmp 0x5817b1
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x64]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x18
mov byte [eax + 3], bl
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, dword [esp + 0x48]
push edx
push ebp
mov ecx, 0xfffffffa
mov eax, esi
call fcn.00540a30
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x10], esi
jg 0x5817dd
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581805
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 1]
mov byte [eax], 0x19
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0xe8]
push eax
call fcn.00541740
mov esi, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x10], esi
jg 0x581836
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581867
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
xor ebx, ebx
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x581869
xor ebx, ebx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x58187c
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5818a9
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x7c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x70]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5818bc
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5818e9
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jle 0x5818fe
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [esp + 0xe8]
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.005697f0
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
jg 0x581929
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581956
mov eax, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
cmp dword [esp + 0x4c], ebx
je 0x5819a9
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
jg 0x58197a
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x5819e8
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x10]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
jmp 0x5819e8
mov edx, dword [esp + 0x30]
push edx
call fcn.00543780
mov esi, dword [ebp + 0x14]
add esp, 4
cmp esi, ebx
je 0x5819e8
mov eax, dword [esp + 0x34]
mov edi, dword [ebp]
lea eax, [eax + eax*4]
mov ecx, dword [esi + eax*4 + 0x10]
lea esi, [esi + eax*4]
movsx eax, byte [esi + 1]
call fcn.005408f0
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi], 0x88
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x5819fb
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581a28
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x581a3b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581a64
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x70]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x44], esi
jg 0x581a7b
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581aa8
mov edx, dword [ebp + 0x14]
mov ecx, 1
add dword [ebp + 0xc], ecx
lea eax, [esi + esi*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x581abb
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581ae4
mov eax, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x68]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x581afd
mov edx, dword [esp + 0x74]
lea ecx, [edx*4 + 4]
mov edx, dword [ebp + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
jg 0x581b10
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581b3c
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x78]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x581b57
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581b80
mov eax, dword [esp + 0x10]
add dword [ebp + 0xc], 1
mov ecx, dword [esp + 0x68]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [esp + 0xe8]
lea edx, [esp + 0x80]
push edx
call fcn.0054a9a0
mov eax, dword [esp + 0x64]
push 8
lea edi, [esi + 1]
mov esi, dword [esp + 0xf0]
push edi
push eax
push esi
call fcn.0056ceb0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x104]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x58]
push edi
push edx
push eax
mov eax, dword [esp + 0x110]
mov edx, dword [eax]
push ecx
push ebx
push ebx
push edx
push eax
push esi
call fcn.00552380
mov esi, dword [ebp + 0xc]
add esp, 0x3c
cmp dword [ebp + 0x10], esi
jg 0x581bed
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581c16
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x68]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x581c2f
mov ecx, dword [esp + 0x38]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [esp + 0xe8]
lea edx, [esp + 0x80]
push edx
push eax
call fcn.005695d0
mov esi, dword [ebp + 0xc]
add esp, 8
cmp dword [ebp + 0x10], esi
jg 0x581c60
mov edi, ebp
call fcn.00540600
xor ebx, ebx
test eax, eax
jne 0x581f91
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x18]
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [eax], 3
mov dword [eax + 4], ecx
mov byte [ebp + 0x62], bl
xor ebx, ebx
jmp 0x581f91
mov esi, dword [esp + 0xec]
lea edx, [esp + 0x80]
mov eax, esi
mov dword [esp + 0x50], ebx
call fcn.0053b090
mov edi, eax
cmp edi, ebx
je 0x581e16
mov edx, dword [esp + 0xe8]
mov esi, dword [edi + 0x40]
mov ecx, dword [edx]
call fcn.0053ab00
mov edx, eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x38], ecx
add ecx, 1
mov dword [eax + 0x44], ecx
mov ecx, dword [edi + 0x14]
push edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], ebx
xor esi, esi
mov dword [esp + 0x14], ecx
call fcn.00560b30
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x38]
push edx
push ebx
push eax
mov eax, dword [esp + 0xf8]
push ecx
call fcn.00541ef0
mov eax, dword [edi + 0x10]
add esp, 0x14
cmp eax, ebx
je 0x581d51
cmp esi, ebx
je 0x581d20
mov edx, dword [eax + 4]
cmp edx, dword [esi + 4]
jge 0x581d22
mov esi, eax
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x581d14
cmp esi, ebx
je 0x581d51
mov eax, dword [esi + 4]
cmp eax, dword [edi + 8]
jge 0x581d51
mov ecx, dword [esp + 0xe8]
mov edi, dword [esi + 0x14]
push esi
push ecx
call fcn.00565e20
mov esi, eax
add esp, 8
mov dword [esp + 0x18], esi
jmp 0x581d59
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
push edx
push edi
push eax
push 0x26
mov eax, ebp
call fcn.00540680
add esp, 0x10
cmp esi, ebx
je 0x581db5
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
mov edi, dword [ebp]
je 0x581da9
cmp byte [edi + 0x1e], bl
jne 0x581da9
mov eax, dword [ebp + 0xc]
sub eax, 1
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea esi, [ecx + edx*4]
mov ecx, dword [esi + 0x10]
call fcn.005408f0
mov eax, dword [esp + 0x18]
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
jmp 0x581db5
mov ecx, esi
mov eax, 0xfffffff0
call fcn.005408f0
mov ecx, dword [esp + 0xa0]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], edx
jg 0x581dd6
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581e03
mov ecx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
mov edx, dword [esp + 0x38]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x1f
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edx, dword [esp + 0x38]
push edx
push 0x2b
mov eax, ebp
call fcn.00540730
jmp 0x581f3d
mov eax, esi
mov dword [esp + 0x18], ebx
call fcn.0053b030
cmp al, bl
mov byte [esp + 0x23], al
je 0x581e69
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x3c]
push ebx
push eax
push esi
call fcn.005413f0
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], eax
je 0x581e69
cmp byte [esi + 0x1e], bl
jne 0x581e69
cmp byte [esp + 0x23], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x98
mov edi, dword [esp + 0xe8]
lea edx, [esp + 0x80]
push edx
push edi
call fcn.005695d0
movzx ax, byte [esp + 0x2b]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push eax
push edi
call fcn.0057bc20
mov esi, eax
add esp, 0x1c
cmp esi, ebx
mov dword [esp + 0x30], esi
jne 0x581ebd
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
push ecx
call fcn.00539490
add esp, 4
jmp 0x582023
lea edx, [esp + 0x80]
push edx
push edi
call fcn.005697f0
add esp, 8
cmp dword [esp + 0x18], ebx
jne 0x581f28
cmp byte [esp + 0x23], bl
je 0x581f28
mov eax, dword [esi + 0x14]
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], esi
mov dword [esp + 0x10], eax
jg 0x581ef4
mov edi, ebp
call fcn.00540600
test eax, eax
jne 0x581f1d
mov edx, dword [ebp + 0x14]
add dword [ebp + 0xc], 1
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x10]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [ebp + 0x62], bl
mov edi, dword [esp + 0xe8]
mov esi, dword [esp + 0x30]
push esi
call fcn.00543780
lea edx, [esp + 0x84]
push edx
mov eax, edi
call fcn.0054a9a0
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0xf0]
add esp, 8
push 8
push esi
push eax
push edi
mov dword [esp + 0x50], ebx
call fcn.0056ceb0
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0xfc]
mov edx, dword [eax]
push esi
push esi
push ecx
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push edx
push eax
push edi
call fcn.00552380
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x74]
push eax
call fcn.00539490
add esp, 0x3c
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x581faa
mov ecx, dword [esp + 0x70]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x40], 0
je 0x581fd9
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [esp + 0xe8]
push edx
mov edx, dword [esp + 0xf0]
push ecx
push ebp
push edx
push eax
call fcn.005499e0
add esp, 0x14
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x581ff5
mov ecx, dword [esp + 0xac]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0xf0]
cmp byte [edx], 5
mov dword [esp + 0x24], 0
jne 0x582023
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0xe8]
push eax
push ecx
push edx
call fcn.00564500
add esp, 0xc
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x3c]
push eax
push esi
call fcn.00532d60
mov ecx, dword [esp + 0xa8]
push ecx
push esi
call fcn.00532d60
mov eax, dword [esp + 0x34]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd4
ret