Function at 0x4cda80
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
push ebx
push esi
mov ebx, ecx
mov eax, 1
push edi
mov edi, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x50], edi
mov esi, dword [ebx]
mov dword [esp + 0x1c], esi
test edi, edi
je 0x4cf6f8
cmp byte [esi + 0x1e], 0
jne 0x4cf6f8
cmp dword [ebx + 0x40], 0
jne 0x4cf6f8
push 0x2c
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.004e14f0
mov eax, dword [ebp + 8]
add esp, 0xc
cmp byte [eax], 4
ja 0x4cdaf8
mov edx, dword [edi + 0x18]
mov ecx, esi
call fcn.004adb20
mov ecx, 0xfffe
mov dword [edi + 0x18], 0
and word [edi + 6], cx
push 0
mov edx, edi
mov ecx, ebx
call fcn.004cd3d0
mov eax, dword [edi + 0x18]
add esp, 4
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
jne 0x4cf654
cmp byte [esi + 0x1e], 0
jne 0x4cf654
movzx eax, word [edi + 6]
mov esi, dword [ebx + 0xc]
shr eax, 2
and eax, 1
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], eax
test esi, esi
jne 0x4cdb5d
mov ecx, dword [ebx]
call fcn.004a03e0
mov esi, eax
mov dword [esp + 0x64], esi
mov dword [ebx + 0xc], esi
test esi, esi
je 0x4cdd73
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
test edx, edx
jne 0x4cdcbf
mov eax, dword [esp + 0x48]
movsx eax, word [eax]
cmp ecx, eax
jge 0x4cdcbf
mov edx, dword [esp + 0x48]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [edx + eax*8]
mov edx, dword [eax + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], edx
test edx, edx
je 0x4cdcab
cmp byte [eax + 0x1c], 0
jne 0x4cdcab
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.004ac2b0
mov eax, dword [ebx + 0x208]
mov edx, edi
add eax, dword [esp + 0x40]
mov ecx, ebx
mov dword [ebx + 0x208], eax
mov eax, dword [esp + 0x18]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.004cc230
add esp, 0xc
test eax, eax
je 0x4cdc16
cmp dword [esp + 0x14], 0
je 0x4cdc0d
or word [edi + 6], 4
mov dword [esp + 0x24], 1
or eax, 0xffffffff
mov dword [esp + 0x20], eax
jmp 0x4cdc62
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
push eax
mov word [esp + 0xc8], 9
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call fcn.004cda80
mov eax, dword [esp + 0x3c]
add esp, 4
mov byte [eax + 0x1c], 1
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x1e], 0
jne 0x4cf64d
lea edx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov ecx, edi
call fcn.004ac2b0
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x40]
sub dword [ebx + 0x208], eax
mov eax, dword [edi + 8]
cmp byte [ecx], 4
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
jbe 0x4cdcaf
mov eax, dword [edi + 0x18]
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
mov edx, dword [edi + 0x1c]
inc ecx
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4cdb72
mov eax, dword [edi]
movzx ecx, word [edi + 6]
mov dword [esp + 0x68], eax
and ecx, 1
mov eax, dword [edi + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ecx
test edx, edx
je 0x4cdd4f
cmp dword [edi + 0x24], 0
jne 0x4cdd39
xor edx, edx
mov eax, edi
xor ecx, ecx
lea esp, [esp]
mov dword [eax + 0x20], edx
inc ecx
mov dword [eax + 0x24], edi
mov edx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4cdd00
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x4cdd39
cmp ecx, eax
jle 0x4cdd39
push str.too_many_terms_in_compound_SELECT
push ebx
call fcn.00492450
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov edx, edi
mov ecx, ebx
call fcn.004c84c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x68]
mov eax, dword [ebp + 8]
cmp dword [ecx], 1
mov al, byte [eax]
jle 0x4cdd7d
cmp al, 6
je 0x4cdd65
cmp al, 7
jne 0x4cdd7d
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
push ebx
call fcn.00492450
add esp, 8
mov ebx, 1
jmp 0x4cf65f
mov al, byte [edi + 6]
and al, 5
cmp al, 1
jne 0x4cddb2
mov edx, dword [edi]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.004ad110
mov dword [esp + 0x2c], eax
add esp, 4
mov dword [edi + 0x10], eax
mov dword [esp + 0x60], eax
mov eax, 0xfffe
and word [edi + 6], ax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4cde63
mov edx, eax
mov ecx, ebx
call fcn.004c6d10
mov edx, dword [esp + 0x54]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x78], eax
mov dword [edx + 8], ecx
inc dword [ebx + 0x44]
mov eax, dword [edx]
add eax, 2
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x4cde0e
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4cde0a
mov edx, 1
mov dword [esp + 0x20], edx
jmp 0x4cde4a
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x7c]
mov ecx, esi
call fcn.004a0b00
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [edi + 0x40], eax
jmp 0x4cde6a
or eax, 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx], 9
jne 0x4cded6
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4cde9e
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cded6
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, esi
call fcn.004a0600
push eax
mov edx, edi
mov dword [esp + 0x88], eax
mov ecx, ebx
call fcn.004c8090
add esp, 4
cmp dword [esp + 0x18], 0
je 0x4cdf94
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x44], eax
mov edx, dword [edi]
call fcn.004c6d10
mov edx, dword [esi + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], edx
cmp dword [esi + 0x10], edx
jg 0x4cdf46
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4cdf42
push 0xfffffffffffffff0
push dword [esp + 0x60]
mov edx, 1
mov ecx, esi
call fcn.004a0b00
add esp, 8
jmp 0x4cdf9c
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [esi + 0xc]
mov edi, dword [esp + 0x74]
push 0xfffffffffffffff0
push dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x58]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, esi
mov byte [esi + 0x6e], 0
call fcn.004a0b00
add esp, 8
jmp 0x4cdf9c
mov dword [esp + 0x74], 0xffffffff
cmp dword [esp + 0x24], 0
jne 0x4ce06a
cmp dword [esp + 0x28], 0
jne 0x4ce071
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x3c]
push 0
push eax
push dword [esp + 0x74]
mov ecx, ebx
call fcn.004d6970
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x4cdd73
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
test eax, eax
js 0x4ce032
test edx, edx
jne 0x4ce032
mov edx, dword [esi + 0x14]
test edx, edx
je 0x4ce027
mov ecx, dword [esi]
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.004a07a0
mov ecx, dword [esp + 0x44]
add esp, 4
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov byte [edi], 0x85
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [edi + 0x40], 0xffffffff
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, ebx
push dword [ebp + 8]
push 0xffffffffffffffff
push edx
push 0
push 0
push dword [esp + 0x84]
mov edx, edi
call fcn.004c6440
mov ecx, dword [esp + 0x60]
add esp, 0x20
call fcn.004d7370
lea eax, [esi + 0x20]
mov dword [esp + 0x24], eax
jmp 0x4cf5e5
cmp dword [esp + 0x28], 0
je 0x4ce0ae
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [eax + 0xc]
test ecx, ecx
jle 0x4ce08e
lea eax, [edx + 0x10]
nop
xor edx, edx
lea eax, [eax + 0x14]
dec ecx
mov word [eax - 0x14], dx
test ecx, ecx
jg 0x4ce080
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx]
test ecx, ecx
jle 0x4ce0ae
add eax, 0x10
mov edi, edi
xor edx, edx
lea eax, [eax + 0x14]
dec ecx
mov word [eax - 0x14], dx
test ecx, ecx
jg 0x4ce0a0
mov ecx, esi
call fcn.004a0600
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x98]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xf0], eax
test ecx, ecx
je 0x4ce12f
mov eax, dword [ecx]
inc eax
mov dword [esp + 0xa4], eax
jmp 0x4ce13a
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x68]
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x4ce1a6
mov edi, eax
xor esi, esi
mov ebx, ecx
jmp 0x4ce160
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x4b2690
mov dword [esp + 0x8c], 0x4b2950
mov dword [esp + 0x94], eax
call fcn.004aa440
inc esi
lea edi, [edi + 0x14]
cmp esi, dword [ebx]
jl 0x4ce160
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4ce206
cmp dword [ecx], 0
mov eax, dword [ecx + 0xc]
jle 0x4ce206
mov ebx, eax
xor edi, edi
mov esi, ecx
lea esp, [esp]
mov edx, dword [ebx]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x4b2690
mov dword [esp + 0x8c], 0x4b2950
mov dword [esp + 0x94], eax
call fcn.004aa440
inc edi
lea ebx, [ebx + 0x14]
cmp edi, dword [esi]
jl 0x4ce1c0
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4ce240
lea ecx, [esp + 0xd4]
mov dword [esp + 0x88], 0x4b2690
mov dword [esp + 0x94], ecx
mov edx, eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x8c], 0x4b2950
call fcn.004aa440
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
mov dword [esp + 0x18], 0
test ecx, ecx
jle 0x4ce2f5
xor edx, edx
mov dword [esp + 0x38], edx
jmp 0x4ce270
mov eax, dword [esp + 0xb8]
mov eax, dword [edx + eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4ce2d5
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x4ce2d5
mov esi, eax
mov edx, dword [edi]
lea eax, [esp + 0xd4]
lea ecx, [esp + 0x88]
mov dword [esp + 0x88], 0x4b2690
mov dword [esp + 0x8c], 0x4b2950
mov dword [esp + 0x94], eax
call fcn.004aa440
inc ebx
lea edi, [edi + 0x14]
cmp ebx, dword [esi]
jl 0x4ce290
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
add edx, 0x10
inc eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], eax
cmp eax, ecx
jl 0x4ce270
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x1e], 0
jne 0x4cf64d
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4cf0a7
mov eax, dword [ebx + 0x44]
mov edx, ecx
mov dword [esp + 0x9c], eax
mov ecx, ebx
inc eax
mov dword [ebx + 0x44], eax
call fcn.004c6d10
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
mov eax, ecx
mov dword [esp + 0x24], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ce36b
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4ce364
mov edx, 1
mov dword [esp + 0x24], edx
jmp 0x4ce3a8
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x7c]
mov ecx, esi
call fcn.004a0b00
mov eax, dword [ebx + 0x48]
add esp, 8
inc eax
mov ecx, esi
mov dword [esp + 0x44], eax
add eax, 2
mov dword [ebx + 0x48], eax
call fcn.004a0600
inc dword [ebx + 0x48]
mov ecx, esi
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x18], eax
call fcn.004a0600
mov edx, dword [ebx + 0x48]
mov dword [esp + 0x38], eax
lea eax, [edx + 1]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
add edx, dword [eax]
mov dword [ebx + 0x48], edx
lea ecx, [edx + 1]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax]
add ecx, edx
mov dword [ebx + 0x48], ecx
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ce42a
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce468
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov edi, dword [esp + 0x50]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ce488
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce4c1
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
cmp dword [esi + 0x10], eax
jg 0x4ce4dc
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce514
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push 0
push eax
push dword [esp + 0x74]
mov ecx, ebx
call fcn.004d6970
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cdd73
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x4ce559
mov eax, dword [edi + 0x10]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x6c], 0
jmp 0x4ce8f6
mov eax, dword [eax]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x2c], eax
inc eax
mov dword [esp + 0x6c], 1
mov edi, eax
mov dword [esp + 0x3c], eax
mov ecx, eax
mov dword [esp + 0x4c], eax
test edx, edx
jle 0x4ce5a2
mov eax, dword [esp + 0xa8]
add eax, 0xc
lea esp, [esp]
cmp dword [eax], ecx
jl 0x4ce596
inc edi
inc ecx
add eax, 0x18
sub edx, 1
jne 0x4ce590
mov dword [esp + 0x4c], edi
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x58], eax
cmp edi, eax
jg 0x4ce604
xor edi, edi
lea edx, [ebx + 0x70]
lea esp, [esp]
mov ecx, dword [edx]
mov esi, dword [esp + 0x64]
cmp ecx, dword [esp + 0x28]
jl 0x4ce5df
mov esi, dword [esp + 0x28]
dec esi
add eax, esi
mov esi, dword [esp + 0x64]
cmp ecx, eax
jle 0x4ce600
mov eax, dword [esp + 0x58]
inc edi
add edx, 0x18
cmp edi, 0xa
jl 0x4ce5c0
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x4c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x4c]
mov dword [ebx + 0x38], eax
jmp 0x4ce613
mov edi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x48]
lea ecx, [eax + 1]
add eax, edi
mov dword [esp + 0x28], ecx
mov dword [ebx + 0x48], eax
mov ecx, ebx
call fcn.004af620
mov edx, dword [esp + 0x60]
push 0
push dword [esp + 0x2c]
call fcn.004b1af0
mov eax, dword [esp + 0xa4]
add esp, 8
mov edi, dword [esi + 0xc]
mov dword [esp + 0x58], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4ce64f
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce690
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x34
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x58]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
add eax, edx
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
jmp 0x4ce694
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x58], 0
test ecx, ecx
jle 0x4ce770
mov edi, dword [esp + 0x3c]
add edi, edx
xor edx, edx
mov dword [esp + 0x60], edx
jmp 0x4ce6c0
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x3c]
cmp dword [edx + eax + 0xc], ebx
mov ebx, dword [esp + 0x34]
jl 0x4ce758
push 0
push edi
push dword [edx + eax + 4]
mov ecx, ebx
push dword [edx + eax + 8]
mov edx, dword [edx + eax]
call fcn.004af440
add esp, 0x10
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x4ce748
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x10], eax
jg 0x4ce714
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce748
mov eax, dword [esp + 0x2c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
inc dword [esp + 0x3c]
inc edi
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
add edx, 0x18
inc eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], eax
cmp eax, ecx
jl 0x4ce6c0
mov al, byte [ebx + 0x15]
test al, al
jne 0x4ce77f
inc dword [ebx + 0x48]
mov edi, dword [ebx + 0x48]
jmp 0x4ce78b
dec al
mov byte [ebx + 0x15], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x18]
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ce7ab
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce7e0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0x1e
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ce80b
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce840
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x43
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
test edi, edi
je 0x4ce86f
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4ce86f
xor ecx, ecx
lea eax, [ebx + 0x60]
cmp dword [eax + 0x10], edi
je 0x4ce86b
inc ecx
add eax, 0x18
cmp ecx, 0xa
jl 0x4ce851
movzx eax, dl
mov dword [ebx + eax*4 + 0x18], edi
inc byte [ebx + 0x15]
jmp 0x4ce86f
mov byte [eax + 9], 1
mov eax, dword [esp + 0x4c]
cmp eax, dword [ebx + 0x38]
jle 0x4ce882
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x14]
call fcn.004d7370
mov eax, dword [esp + 0x9c]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4ce8ae
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ce8e7
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x3f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, ebx
mov byte [esp + 0x99], 1
call fcn.004af620
mov eax, dword [esi + 0xc]
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.004af620
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x3c], 0
mov edi, dword [eax]
test edi, edi
jle 0x4cea46
mov edi, dword [esp + 0x80]
xor edx, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], edi
jmp 0x4ce934
mov eax, dword [esp + 0x7c]
cmp dword [esp + 0x6c], 0
je 0x4ce99e
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4ce965
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cea1d
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4cea1d
mov byte [esp + 0x98], 1
mov ecx, ebx
mov eax, dword [eax + 0xc]
push edi
mov edx, dword [edx + eax]
call fcn.004afa90
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
je 0x4cea1d
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4cea19
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x10], eax
jg 0x4ce9e1
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4cea19
mov eax, dword [esp + 0x10]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x7c]
inc edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x58]
inc eax
add edx, 0x14
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x58], edx
cmp eax, ecx
jl 0x4ce930
mov edi, ecx
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [esi + 0x10], edx
jg 0x4cea6d
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4cea66
mov edx, 1
jmp 0x4ceaa9
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x5c]
lea ecx, [edx + edx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffffa
push dword [esp + 0x7c]
mov ecx, esi
call fcn.004a0b00
mov edi, dword [esi + 0xc]
add esp, 8
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cead1
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ceb05
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
lea ecx, [eax + ecx*4]
lea eax, [edi + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x7c]
mov ecx, ebx
mov edx, dword [esp + 0x80]
push dword [eax]
push dword [esp + 0x60]
call fcn.004af910
mov ecx, dword [esi + 0xc]
add esp, 8
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ceb40
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ceb84
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4ceba4
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cebe2
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cec02
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cec3b
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
cmp edx, edi
jle 0x4cec4c
mov eax, dword [esi + 0x14]
lea ecx, [edi + edi*4]
mov dword [eax + ecx*4 + 8], edx
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd730
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cec72
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cecab
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
cmp dword [esp + 0x6c], 0
je 0x4ced14
mov eax, dword [esp + 0x9c]
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cecd9
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ced54
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x60]
mov word [eax + ecx*4], 0x42
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4ced54
mov ecx, dword [esp + 0x14]
call fcn.004d7370
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4ced54
mov eax, dword [esp + 0x24]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 0x10]
movsx edx, byte [ecx + eax*4 + 1]
lea edi, [ecx + eax*4]
mov ecx, dword [esi]
call fcn.004a07a0
add esp, 4
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov byte [edi], 0x85
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4ced6c
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cedac
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cedc4
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cedfd
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x4cee19
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cee53
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
inc edx
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4cee6b
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4ceeab
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x20]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4ceecb
mov eax, dword [esp + 0x70]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4ceee3
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cef1b
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea eax, [edi + 2]
mov dword [ecx + 8], eax
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cef3b
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cef7f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x64]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd660
mov edx, dword [esp + 0x40]
inc edi
push 8
push edi
mov ecx, ebx
call fcn.004b2060
push dword [esp + 0x34]
mov ecx, ebx
push edi
push dword [ebp + 8]
mov edi, dword [esp + 0x64]
mov edx, edi
push dword [esp + 0x88]
push dword [esp + 0x6c]
push 0
push 0
push dword [edi]
call fcn.004c6440
mov ecx, dword [esi + 0xc]
add esp, 0x28
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cefe5
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf025
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
add edx, 2
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4cf03e
mov eax, dword [esp + 0x38]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd480
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cf067
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf09f
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 3
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
lea ecx, [esi + 0x20]
jmp 0x4cf5c9
cmp dword [edi + 0xc], 0
mov dword [esp + 0x70], 0
jne 0x4cf330
mov eax, dword [edi]
cmp dword [eax], 1
jne 0x4cf330
mov ecx, dword [edi + 8]
cmp word [ecx], 1
jne 0x4cf330
cmp dword [ecx + 0x18], 0
jne 0x4cf330
mov ecx, dword [ecx + 0x14]
mov dword [esp + 0x18], ecx
test byte [ecx + 0x22], 0x10
jne 0x4cf330
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
cmp byte [edx], 0x99
jne 0x4cf330
mov eax, dword [esp + 0xb8]
mov eax, dword [eax + 4]
test byte [eax + 3], 0x20
je 0x4cf330
test byte [edx + 2], 0x10
jne 0x4cf330
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0xfff0bdc0
test eax, eax
je 0x4cf15e
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x24], eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4cf15e
mov ecx, dword [ebx]
mov edi, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
add ecx, 0xc
cmp dword [ecx], edi
je 0x4cf152
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x4cf146
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
inc eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x18]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004b9910
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4cf1c7
xor edx, edx
mov edi, edi
test edx, edx
je 0x4cf19c
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jge 0x4cf19e
mov edx, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4cf190
test edx, edx
je 0x4cf1c7
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
cmp eax, dword [ecx + 0xc]
jge 0x4cf1c7
mov eax, dword [edx + 0x14]
mov ecx, ebx
mov dword [esp + 0x14], eax
call fcn.004b9a70
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4cf1e7
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf220
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov word [eax + ecx*4], 0x26
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4cf26d
mov edx, dword [esi + 0x14]
mov ecx, dword [esi]
test edx, edx
je 0x4cf25f
cmp byte [ecx + 0x1e], 0
jne 0x4cf25f
mov eax, dword [esi + 0xc]
dec eax
lea eax, [eax + eax*4]
push dword [edx + eax*4 + 0x10]
lea edi, [edx + eax*4]
movsx edx, byte [edi + 1]
call fcn.004a07a0
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x10], eax
mov byte [edi + 1], 0xfa
mov edi, dword [esp + 0x54]
jmp 0x4cf26a
push eax
mov edx, 0xfffffff0
call fcn.004a07a0
add esp, 4
mov eax, dword [esp + 0xb8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4cf29b
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf2d4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cf2f3
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf57a
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x74]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
jmp 0x4cf57a
mov eax, dword [edi]
mov dword [esp + 0x18], 0
cmp dword [eax], 1
jne 0x4cf49a
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
cmp byte [ecx], 0x99
jne 0x4cf49a
mov eax, 0x1000
test word [ecx + 2], ax
jne 0x4cf49a
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cf49a
cmp dword [eax], 1
jne 0x4cf49a
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp byte [eax], 0x9a
jne 0x4cf49a
mov ecx, dword [ecx + 4]
mov edx, 0x5259f8
mov al, byte [ecx]
mov byte [esp + 0xf], al
mov byte [esp + 0x33], al
test al, al
je 0x4cf3d9
sub ecx, edx
mov dword [esp + 0x10], ecx
mov ebx, ecx
jmp 0x4cf3b0
movzx ecx, byte [edx]
mov byte [esp + 0x33], al
movzx eax, al
mov al, byte [eax + 0x5205b0]
cmp al, byte [ecx + 0x5205b0]
jne 0x4cf3d5
mov al, byte [edx + ebx + 1]
inc edx
mov byte [esp + 0x33], al
test al, al
jne 0x4cf3b0
mov ebx, dword [esp + 0x34]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5205b0]
movzx eax, byte [esp + 0x33]
movzx eax, byte [eax + 0x5205b0]
sub eax, ecx
jne 0x4cf3fa
mov byte [esp + 0xf], 1
jmp 0x4cf458
mov al, byte [esp + 0xf]
mov edx, 0x5259fc
test al, al
je 0x4cf439
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx + 4]
sub ebx, edx
movzx ecx, byte [edx]
mov byte [esp + 0xf], al
movzx eax, al
mov al, byte [eax + 0x5205b0]
cmp al, byte [ecx + 0x5205b0]
jne 0x4cf435
mov al, byte [edx + ebx + 1]
inc edx
mov byte [esp + 0xf], al
test al, al
jne 0x4cf410
mov ebx, dword [esp + 0x34]
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x5205b0]
movzx eax, byte [esp + 0xf]
movzx eax, byte [eax + 0x5205b0]
sub eax, ecx
jne 0x4cf49a
mov byte [esp + 0xf], 2
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push 0
call fcn.004ad110
mov edx, eax
add esp, 4
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], edx
test edx, edx
je 0x4cf49f
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x1e], 0
jne 0x4cf49f
mov eax, dword [edx + 0xc]
cmp byte [esp + 0xf], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
jmp 0x4cf49f
mov byte [esp + 0xf], 0
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd480
movzx eax, byte [esp + 0xf]
mov ecx, ebx
mov edx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x74]
call fcn.004d6970
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4cf4e9
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
call fcn.004adb20
mov ebx, 1
jmp 0x4cf65f
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd730
cmp dword [esp + 0x18], 0
jne 0x4cf563
cmp byte [esp + 0xf], 0
je 0x4cf563
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
cmp dword [esi + 0x10], eax
jg 0x4cf52b
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4cf563
mov eax, dword [esp + 0x10]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x14]
call fcn.004d7370
lea edx, [esp + 0x98]
mov ecx, ebx
call fcn.004cd660
mov edx, dword [esp + 0x40]
mov ecx, ebx
push 8
push dword [esp + 0x24]
mov dword [esp + 0x5c], 0
call fcn.004b2060
mov eax, dword [esp + 0x28]
mov edx, edi
push eax
push eax
push dword [ebp + 8]
mov ecx, ebx
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [edi]
call fcn.004c6440
mov edx, dword [esp + 0x98]
add esp, 0x28
mov ecx, dword [esp + 0x1c]
call fcn.004adb20
lea ecx, [esi + 0x20]
mov dword [esp + 0x24], ecx
mov edx, dword [ecx]
test edx, edx
je 0x4cf5e5
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
lea eax, [eax*4 + 4]
sub edx, eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
cmp dword [esp + 0x54], 0
je 0x4cf602
mov eax, dword [esp + 0x68]
mov edx, edi
push dword [ebp + 8]
mov ecx, ebx
push dword [eax]
push esi
call fcn.004c6e20
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cf621
mov eax, dword [esp + 0x84]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
xor eax, eax
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x4cf65d
push dword [esp + 0x68]
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.004c7600
mov ebx, dword [esp + 0x88]
add esp, 4
jmp 0x4cf65f
mov ebx, 1
jmp 0x4cf663
mov ebx, 1
mov ecx, esi
jmp 0x4cf663
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa8]
test edx, edx
je 0x4cf6a0
cmp edx, dword [ecx + 0xf0]
lea esi, [ecx + 0xf0]
jb 0x4cf6a0
cmp edx, dword [ecx + 0xf4]
lea edi, [ecx + 0xf4]
jae 0x4cf6a0
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x4cf6b9
mov edi, dword [esp + 0x1c]
lea esi, [ecx + 0xf0]
push edx
add edi, 0xf4
call fcn.00490120
add esp, 4
mov ecx, dword [esp + 0xb8]
test ecx, ecx
je 0x4cf6ed
cmp ecx, dword [esi]
jb 0x4cf6ed
cmp ecx, dword [edi]
jae 0x4cf6ed
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xec]
mov dword [ecx], eax
mov eax, ebx
dec dword [edx + 0xe4]
mov dword [edx + 0xec], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ecx
call fcn.00490120
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret