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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x7cdffc]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
xor ebx, ebx
mov dword [esp + 0x14], 0
mov eax, ecx
mov dword [esp + 0xc], ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x2c], eax
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x64], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x100], ebx
mov byte [esp + 0x104], bl
mov dword [esp + 0x24], ecx
push edi
test esi, esi
jne 0x4cc405
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret
movzx edi, word [eax + 0x12]
movzx ecx, byte [eax + 1]
lea esi, [ecx + edi]
cmp esi, 2
jae 0x4cc419
xor edx, edx
jmp 0x4cc436
test edx, edx
je 0x4cc42c
cmp edx, esi
jne 0x4cc42b
mov eax, dword [ebp + 0x10]
lea edx, [eax - 2]
add edx, esi
jmp 0x4cc42f
dec edx
mov eax, dword [ebp + 0x10]
mov esi, 2
sub esi, eax
lea eax, [esi + 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x40], esi
lea ecx, [eax + esi]
cmp ecx, edi
jne 0x4cc462
mov eax, dword [esp + 0x30]
mov edi, dword [eax + 0x38]
movzx ecx, byte [eax + 6]
add edi, 8
add edi, ecx
jmp 0x4cc480
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x40]
movzx edi, byte [eax + ecx*2 + 1]
movzx eax, byte [eax + ecx*2]
shl eax, 8
or edi, eax
movzx eax, word [edx + 0x14]
and edi, eax
add edi, dword [edx + 0x38]
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x58], edi
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
lea edi, [esp + 0xf8]
or ecx, eax
lea edi, [edi + esi*4]
mov dword [esp + 0x20], ecx
mov edx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
push 0
push edi
call fcn.004c7090
add esp, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
test eax, eax
jne 0x4cd258
mov eax, dword [edi]
movzx ecx, word [eax + 0x12]
movzx eax, byte [eax + 1]
inc eax
add eax, ebx
add ecx, eax
mov eax, esi
dec esi
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4cc6a1
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
movzx ecx, word [edi + 0x16]
lea eax, [edx + esi]
cmp eax, ecx
jne 0x4cc55a
cmp byte [edi + 1], 0
je 0x4cc55a
mov edx, dword [edi + 0x20]
lea ebx, [esi*4]
mov dword [esp + ebx + 0x6c], edx
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
mov ecx, edi
call fcn.004c64d0
movzx eax, ax
mov dword [esp + ebx + 0x8c], eax
mov byte [edi + 1], 0
jmp 0x4cc630
movzx eax, byte [edi + 1]
mov ecx, edx
mov ebx, dword [edi + 0x38]
sub ecx, eax
mov eax, dword [edi + 0x40]
add ecx, esi
movzx edi, word [edi + 0x14]
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edx, 8
or edx, eax
and edi, edx
add edi, ebx
lea ebx, [esi*4]
mov edx, edi
mov dword [esp + ebx + 0x6c], edi
movzx eax, byte [edi]
movzx ecx, byte [edi + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 3]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
call fcn.004c64d0
movzx edx, ax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x34], edx
mov dword [esp + ebx + 0x8c], edx
test byte [eax + 0x16], 4
je 0x4cc612
mov eax, dword [esp + 0x30]
mov ecx, edi
sub ecx, dword [eax + 0x38]
lea eax, [edx + ecx]
mov edx, dword [esp + 0x28]
cmp eax, dword [edx + 0x24]
mov edx, dword [esp + 0x34]
jg 0x4cc667
push edx
push edi
mov edi, dword [esp + 0x70]
lea eax, [edi + ecx]
push eax
call fcn.006e6940
mov ecx, dword [esp + 0x3c]
mov eax, edi
mov edx, dword [esp + 0x40]
add esp, 0xc
sub eax, dword [ecx + 0x38]
add dword [esp + ebx + 0x6c], eax
jmp 0x4cc616
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
movzx eax, byte [ecx + 1]
push edx
mov edx, dword [esp + 0x54]
sub edx, eax
add edx, esi
call fcn.004cb860
add esp, 8
mov edx, dword [esp + 0x20]
lea edi, [esp + 0xf8]
mov ecx, dword [esp + 0x28]
add edi, ebx
push 0
push edi
call fcn.004c7090
mov edx, eax
add esp, 8
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], edx
test edx, edx
jne 0x4cd258
mov ebx, dword [esp + 0x3c]
jmp 0x4cc4d5
push 0x7961e4
push 0xe80b
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004b68a0
lea eax, [esi*4 + 4]
mov ebx, 0xb
push eax
lea eax, [esp + 0x10c]
push 0
push eax
call fcn.006e6ec0
add esp, 0x1c
jmp 0x4cd276
mov eax, dword [esp + 0x28]
lea esi, [ecx + 3]
and esi, 0xfffffffc
mov eax, dword [eax + 0x20]
lea ecx, [esi + esi*2]
lea ecx, [eax + ecx*2]
call fcn.004b43c0
mov ebx, eax
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x4cc6cb
lea ebx, [eax + 7]
jmp 0x4cd276
mov ecx, dword [esp + 0xf8]
lea eax, [ebx + esi*4]
mov dword [esp + 0x2c], eax
xor edi, edi
lea eax, [eax + esi*2]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x54], eax
movzx eax, byte [ecx + 5]
shl ax, 2
movzx eax, ax
mov dword [esp + 0x50], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x48], edi
jle 0x4cc8d3
nop word [eax + eax]
lea eax, [edi*4]
mov ebx, dword [esp + eax + 0xf8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], ebx
mov dl, byte [ebx + 1]
movzx esi, word [ebx + 0x12]
movzx eax, dl
add esi, eax
mov dword [esp + 0x34], esi
test dl, dl
je 0x4cc7b9
xor edi, edi
test esi, esi
je 0x4cc815
movzx edx, byte [ebx + 1]
mov ecx, edi
sub edx, 1
js 0x4cc76b
lea esi, [edx + 0xb]
lea esi, [ebx + esi*2]
movzx eax, word [esi]
cmp eax, ecx
jg 0x4cc75f
je 0x4cc7af
dec ecx
sub esi, 2
sub edx, 1
jns 0x4cc755
mov esi, dword [esp + 0x34]
mov eax, dword [ebx + 0x40]
movzx edx, byte [eax + ecx*2]
movzx eax, byte [eax + ecx*2 + 1]
shl edx, 8
or edx, eax
movzx eax, word [ebx + 0x14]
and edx, eax
add edx, dword [ebx + 0x38]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [ecx + eax*4], edx
mov ecx, ebx
call fcn.004c64d0
mov edx, dword [esp + 0x1c]
inc edi
mov ecx, dword [esp + 0x2c]
mov word [ecx + edx*2], ax
inc edx
mov dword [esp + 0x1c], edx
cmp edi, esi
jl 0x4cc744
jmp 0x4cc819
mov edx, dword [ebx + edx*4 + 0x20]
mov esi, dword [esp + 0x34]
jmp 0x4cc785
mov edi, dword [ebx + 0x38]
movzx eax, word [ebx + 0x14]
movzx ecx, word [ebx + 0xe]
test esi, esi
je 0x4cc815
mov ebx, eax
lea esi, [edi + ecx]
nop dword [eax]
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
mov ecx, dword [esp + 0x44]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x1c]
and edx, ebx
add edx, edi
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x64]
call fcn.004c64d0
mov edx, dword [esp + 0x1c]
lea esi, [esi + 2]
mov ecx, dword [esp + 0x2c]
mov word [ecx + edx*2], ax
inc edx
sub dword [esp + 0x34], 1
mov dword [esp + 0x1c], edx
jne 0x4cc7d0
mov ebx, dword [esp + 0x64]
jmp 0x4cc819
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x3c]
mov dword [esp + ecx + 0xd0], edx
cmp edi, dword [esp + 0x40]
jge 0x4cc8c4
cmp dword [esp + 0x38], 0
jne 0x4cc8c4
mov esi, dword [esp + 0x2c]
movzx eax, word [esp + ecx + 0x8c]
push eax
push dword [esp + ecx + 0x70]
mov word [esi + edx*2], ax
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
add esi, edx
add edx, eax
push esi
mov dword [esp + 0x30], edx
call fcn.006e6940
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x2c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x50]
sub word [esi + edx*2], ax
cmp byte [ebx + 5], 0
jne 0x4cc89e
mov eax, dword [ebx + 0x38]
mov ecx, dword [ecx + edx*4]
mov eax, dword [eax + 8]
mov dword [ecx], eax
jmp 0x4cc8bf
cmp word [esi + edx*2], 4
jae 0x4cc8bf
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
mov byte [ecx + eax], 0
inc eax
mov dword [esp + 0x24], eax
mov eax, 4
mov word [esi + edx*2], ax
inc edx
mov dword [esp + 0x1c], edx
inc edi
mov dword [esp + 0x3c], edi
cmp edi, dword [esp + 0x48]
jl 0x4cc710
mov eax, dword [esp + 0x50]
xor edx, edx
mov edi, dword [esp + 0x1c]
xor ebx, ebx
movzx esi, ax
xor ecx, ecx
mov eax, dword [esp + 0x28]
add esi, 0xfffffff4
mov eax, dword [eax + 0x24]
add esi, eax
mov dword [esp + 0x5c], esi
test edi, edi
jle 0x4cc93e
nop dword [eax + eax]
mov eax, dword [esp + 0x2c]
add ecx, 2
movzx eax, word [eax + edx*2]
add ecx, eax
cmp ecx, esi
jle 0x4cc939
sub ecx, eax
mov dword [esp + ebx*4 + 0x78], edx
sub ecx, 2
lea eax, [edx - 1]
mov dword [esp + ebx*4 + 0x8c], ecx
xor ecx, ecx
inc ebx
cmp dword [esp + 0x38], ecx
cmove eax, edx
mov edx, eax
cmp ebx, 4
jg 0x4cc9cc
inc edx
cmp edx, edi
jl 0x4cc900
mov dword [esp + 0x24], ebx
mov dword [esp + ebx*4 + 0x8c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + ebx*4 + 0x78], edi
inc ebx
mov dword [esp + 0x40], ebx
test ecx, ecx
jle 0x4cca16
mov eax, dword [esp + 0x38]
mov edx, dword [esp + ecx*4 + 0x8c]
mov ebx, dword [esp + ecx*4 + 0x88]
mov edi, dword [esp + ecx*4 + 0x74]
dec edi
mov esi, edi
sub esi, eax
inc esi
test edx, edx
je 0x4cc9a4
cmp dword [ebp + 0x10], 0
jne 0x4cc9f7
mov eax, dword [esp + 0x2c]
mov ecx, ebx
movzx eax, word [eax + edi*2]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, 2
movzx eax, word [eax + esi*2]
add eax, 2
add eax, edx
cmp eax, ecx
jg 0x4cc9ef
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx + esi*2]
add eax, 2
add edx, eax
movzx eax, word [ecx + edi*2]
mov ecx, 0xfffffffe
sub ecx, eax
mov eax, dword [esp + 0x38]
add ebx, ecx
mov ecx, dword [esp + 0x24]
dec dword [esp + ecx*4 + 0x74]
jmp 0x4cc970
push 0x7961e4
push 0xe895
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004b68a0
add esp, 0x10
mov ebx, 0xb
jmp 0x4cd276
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
mov dword [esp + ecx*4 + 0x8c], edx
mov dword [esp + ecx*4 + 0x88], ebx
dec ecx
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x4cc962
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0xf8]
cmp dword [eax + 0x48], 1
ja 0x4cca46
push 0x7961e4
push 0xe8d0
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004b68a0
add esp, 0x10
mov ebx, 0xb
jmp 0x4cd276
mov eax, dword [eax + 0x38]
xor esi, esi
movzx eax, byte [eax]
mov dword [esp + 0x54], eax
lea eax, [esi + 1]
test ebx, ebx
jle 0x4ccb61
nop dword [eax]
cmp esi, dword [esp + 0x48]
jge 0x4ccabe
mov eax, dword [esp + esi*4 + 0xf8]
mov dword [esp + esi*4 + 0xe4], eax
mov dword [esp + esi*4 + 0xf8], 0
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 0x44]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x4cca9e
call fcn.004c2570
jmp 0x4ccaa3
call fcn.004c2390
inc dword [esp + 0x14]
mov edi, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4cd272
jmp 0x4ccb53
cmp dword [ebp + 0x10], 0
lea edx, [esp + 0x3c]
mov ecx, dword [esp + 0x20]
cmovne ecx, eax
lea eax, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push eax
call fcn.004ca650
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4cd272
mov edi, dword [esp + 0x3c]
mov ecx, edi
mov edx, dword [esp + 0x54]
call fcn.004c6f70
mov ecx, dword [esp + 0x28]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov dword [esp + esi*4 + 0xe4], edi
cmp byte [ecx + 0x11], 0
mov dword [esp + esi*4 + 0xd0], eax
je 0x4ccb4b
mov edx, dword [edi + 0x48]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x48]
push 5
call fcn.004c6140
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], edi
test edi, edi
jne 0x4cd272
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
inc esi
mov eax, 1
cmp esi, ebx
jl 0x4cca60
mov edi, dword [esp + 0x14]
xor ecx, ecx
test edi, edi
jle 0x4ccbb7
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0xe4]
mov edx, dword [eax + 0x48]
mov eax, dword [eax + 0x44]
mov dword [esp + ecx*4 + 0xb8], edx
mov dword [esp + ecx*4 + 0xa0], edx
mov ax, word [eax + 0x18]
mov word [esp + ecx*2 + 0x6c], ax
xor eax, eax
test ecx, ecx
jle 0x4ccbb2
nop word [eax + eax]
cmp dword [esp + eax*4 + 0xb8], edx
je 0x4ccd9d
inc eax
cmp eax, ecx
jl 0x4ccba0
inc ecx
cmp ecx, edi
jl 0x4ccb70
xor ebx, ebx
mov dword [esp + 0x10], ebx
test edi, edi
jle 0x4cccc8
mov ecx, 1
xor edi, edi
cmp dword [esp + 0x14], ecx
jle 0x4ccc04
mov ebx, dword [esp + 0x14]
xor esi, esi
nop dword [eax + eax]
lea edx, [ecx*4]
mov eax, dword [esp + edx + 0xa0]
cmp eax, dword [esp + esi + 0xa0]
jae 0x4ccbfb
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, ebx
jl 0x4ccbe0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + edi*4 + 0xa0]
mov dword [esp + 0x40], eax
mov dword [esp + edi*4 + 0xa0], 0xffffffff
cmp edi, ebx
je 0x4cccb7
jle 0x4ccc6c
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + edi*4 + 0xe4]
inc esi
add esi, edi
push esi
mov ebx, dword [eax + 0x44]
xor eax, eax
push dword [ebx + 0x14]
mov word [ebx + 0x18], ax
mov eax, dword [ebx + 0x1c]
push dword [ebx]
push dword [eax + 0x28]
call dword [0x81ea8c]
mov al, byte [ebx + 0x18]
add esp, 0x10
and al, 6
mov dword [ebx + 0x14], esi
cmp al, 6
jne 0x4ccc68
mov dl, 3
mov ecx, ebx
call fcn.004bc8c0
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + ebx*4 + 0xe4]
mov esi, dword [eax + 0x44]
mov ax, word [esp + edi*2 + 0x6c]
mov edi, dword [esp + 0x40]
push edi
push dword [esi + 0x14]
mov word [esi + 0x18], ax
mov eax, dword [esi + 0x1c]
push dword [esi]
push dword [eax + 0x28]
call dword [0x81ea8c]
mov al, byte [esi + 0x18]
add esp, 0x10
and al, 6
mov dword [esi + 0x14], edi
cmp al, 6
jne 0x4cccad
mov dl, 3
mov ecx, esi
call fcn.004bc8c0
mov eax, dword [esp + ebx*4 + 0xe4]
mov dword [eax + 0x48], edi
mov edi, dword [esp + 0x14]
inc ebx
mov dword [esp + 0x10], ebx
cmp ebx, edi
jl 0x4ccbc5
mov eax, dword [esp + edi*4 + 0xe0]
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x48]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
mov eax, ecx
shr eax, 8
test byte [esp + 0x54], 8
mov byte [edx + 2], al
mov byte [edx + 3], cl
jne 0x4ccd29
mov ecx, dword [esp + 0x48]
cmp ecx, edi
je 0x4ccd29
cmp edi, ecx
lea edx, [esp + 0xf8]
lea eax, [esp + 0xe4]
cmovle eax, edx
mov eax, dword [eax + ecx*4 - 4]
mov edx, dword [eax + 0x38]
mov eax, dword [esp + edi*4 + 0xe0]
mov ecx, dword [eax + 0x38]
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0xe4]
cmp byte [ebx + 0x11], 0
je 0x4ccf2e
movzx eax, byte [esi + 1]
xor edi, edi
movzx edx, word [esi + 0x12]
mov ecx, dword [esi + 0x38]
add edx, eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x24], edx
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x10], edx
cmp dword [esp + 0x1c], edx
jle 0x4ccf2a
xor eax, eax
mov dword [esp + 0x20], eax
nop word [eax + eax]
mov ebx, dword [esp + 0x44]
mov ebx, dword [ebx + edx*4]
cmp edx, dword [esp + 0x24]
jne 0x4ccdfb
inc edi
cmp edi, dword [esp + 0x14]
jge 0x4ccdc0
mov eax, dword [esp + edi*4 + 0xe4]
jmp 0x4ccdc7
push 0x7961e4
push 0xe907
push str.database_corruption_at_line__d_of___.10s_
push 0xb
call fcn.004b68a0
add esp, 0x10
mov ebx, 0xb
jmp 0x4cd276
mov eax, dword [esp + edi*4 + 0xf8]
xor ecx, ecx
mov dword [esp + 0x34], eax
cmp dword [esp + 0x38], ecx
movzx eax, word [eax + 0x12]
sete cl
add ecx, eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 1]
add eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], ecx
cmp edx, dword [esp + eax + 0x78]
jne 0x4cce23
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
shl eax, 2
cmp dword [esp + 0x38], 0
mov dword [esp + 0x20], eax
mov esi, dword [esp + eax + 0xe4]
je 0x4ccf10
cmp edi, dword [esp + 0x14]
jge 0x4cce47
mov eax, dword [esi + 0x48]
cmp eax, dword [esp + edi*4 + 0xb8]
jne 0x4cce47
cmp ebx, ecx
jb 0x4cce47
mov eax, dword [esp + 0x40]
add eax, ecx
cmp ebx, eax
jb 0x4ccf0c
cmp word [esp + 0x50], 0
jne 0x4cce91
movzx edx, byte [ebx]
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x28]
push eax
movzx eax, byte [ebx + 1]
push dword [esi + 0x48]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ebx + 3]
shl edx, 8
push 5
or edx, eax
call fcn.004c6140
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
jmp 0x4cce95
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ax, word [eax + edx*2]
cmp ax, word [esi + 0xc]
jbe 0x4ccf0c
test ecx, ecx
jne 0x4ccf0c
lea eax, [esp + 0xa0]
mov edx, ebx
push eax
mov ecx, esi
call fcn.004c6390
mov ax, word [esp + 0xb6]
add esp, 4
test ax, ax
je 0x4ccf08
movzx ecx, ax
lea eax, [esp + 0x18]
add ecx, ebx
push eax
push dword [esi + 0x48]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 3]
mov ecx, dword [esi + 0x34]
shl edx, 8
push 3
or edx, eax
call fcn.004c6140
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
inc edx
mov dword [esp + 0x10], edx
cmp edx, dword [esp + 0x1c]
jl 0x4ccd80
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0x14]
lea eax, [edi - 1]
xor ebx, ebx
test eax, eax
jle 0x4cd081
nop dword [eax + eax]
mov eax, dword [esp + ebx*4 + 0x78]
mov edx, dword [esp + 0x44]
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
mov ecx, dword [esp + ebx*4 + 0xe4]
mov edi, dword [esp + 0x68]
add edi, dword [esp + 0x60]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
movzx eax, word [edx + eax*2]
movzx edx, cx
mov ecx, dword [esp + 0x10]
add edx, eax
cmp byte [ecx + 5], 0
jne 0x4ccf8d
mov ecx, dword [ecx + 0x38]
mov eax, dword [esi]
mov dword [ecx + 8], eax
jmp 0x4cd034
cmp dword [esp + 0x38], 0
je 0x4cd01e
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xb8]
push eax
mov edx, dword [edx - 4]
call fcn.004c6390
mov edx, dword [esp + 0xc0]
add esp, 4
mov ecx, dword [esp + 0xb8]
mov esi, edi
test edx, edx
ja 0x4cd00a
jb 0x4ccfca
cmp ecx, 0x7f
ja 0x4ccfdc
mov eax, 1
and cl, 0x7f
mov byte [edi + 4], cl
xor edi, edi
lea edx, [eax + 4]
jmp 0x4cd034
test edx, edx
ja 0x4cd00a
jb 0x4ccfea
cmp ecx, 0x3fff
ja 0x4cd00a
mov eax, ecx
and cl, 0x7f
shrd eax, edx, 7
mov byte [edi + 5], cl
or al, 0x80
shr edx, 7
mov byte [edi + 4], al
mov eax, 2
xor edi, edi
lea edx, [eax + 4]
jmp 0x4cd034
push edx
push ecx
lea ecx, [edi + 4]
call fcn.004b8230
add esp, 8
xor edi, edi
lea edx, [eax + 4]
jmp 0x4cd034
sub esi, 4
cmp eax, 4
jne 0x4cd038
mov ecx, dword [esp + 0x30]
mov edx, esi
call fcn.004c64d0
movzx edx, ax
mov ecx, dword [esp + 0x10]
add dword [esp + 0x60], edx
lea eax, [esp + 0x18]
push eax
push dword [ecx + 0x48]
mov ecx, dword [esp + 0x38]
push edi
push edx
mov edx, dword [esp + 0x5c]
push esi
lea edx, [edx + ebx]
call fcn.004cb990
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov dword [esp + 0xc], edi
test edi, edi
jne 0x4cd272
mov edi, dword [esp + 0x14]
inc ebx
lea eax, [edi - 1]
cmp ebx, eax
jl 0x4ccf40
mov esi, dword [esp + 0xe4]
mov ebx, 1
sub ebx, edi
cmp ebx, edi
jge 0x4cd14a
mov edi, dword [esp + 0x78]
mov eax, ebx
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [esp + esi + 0x104], 0
jne 0x4cd134
test ebx, ebx
jns 0x4cd0c0
mov eax, dword [esp + esi*4 + 0xcc]
cmp eax, dword [esp + esi*4 + 0x74]
jl 0x4cd134
test esi, esi
jne 0x4cd0cc
xor edx, edx
mov ecx, edi
xor eax, eax
jmp 0x4cd0fb
cmp esi, dword [esp + 0x48]
jge 0x4cd0e4
xor edx, edx
cmp dword [esp + 0x38], edx
sete dl
add edx, dword [esp + esi*4 + 0xcc]
jmp 0x4cd0e8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + esi*4 + 0x78]
xor eax, eax
cmp dword [esp + 0x38], eax
sete al
add eax, dword [esp + esi*4 + 0x74]
sub ecx, eax
push dword [esp + 0x2c]
push dword [esp + 0x48]
push ecx
mov ecx, dword [esp + esi*4 + 0xf0]
push eax
call fcn.004cbe30
mov eax, dword [esp + esi*4 + 0xf4]
add esp, 0x10
mov cx, word [esp + 0x5c]
sub cx, word [esp + esi*4 + 0x8c]
mov byte [esp + esi + 0x104], 1
mov word [eax + 0x10], cx
inc ebx
cmp ebx, dword [esp + 0x14]
jl 0x4cd094
mov esi, dword [esp + 0xe4]
mov edi, dword [esp + 0x14]
cmp dword [ebp + 0xc], 0
je 0x4cd1b5
mov ebx, dword [esp + 0x30]
cmp word [ebx + 0x12], 0
jne 0x4cd1b5
movzx eax, byte [ebx + 6]
cmp ax, word [esi + 0x10]
ja 0x4cd1b5
mov ecx, esi
call fcn.004c65a0
mov ecx, dword [esp + 0xe4]
mov edx, ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.004cc2c0
mov edi, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x4cd220
mov ecx, dword [esp + 0xe4]
mov edx, ecx
push dword [ecx + 0x48]
mov ecx, dword [ecx + 0x34]
call fcn.004caee0
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
jmp 0x4cd220
mov ebx, dword [esp + 0x28]
cmp byte [ebx + 0x11], 0
je 0x4cd21c
cmp word [esp + 0x50], 0
jne 0x4cd21c
xor esi, esi
test edi, edi
jle 0x4cd21c
nop dword [eax]
mov eax, dword [esp + esi*4 + 0xe4]
lea edx, [esp + 0x18]
push edx
mov ecx, dword [eax + 0x38]
push dword [eax + 0x48]
push 5
movzx eax, byte [ecx + 8]
movzx edx, byte [ecx + 9]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 0xb]
shl edx, 8
mov ecx, ebx
or edx, eax
call fcn.004c6140
inc esi
add esp, 0xc
cmp esi, edi
jl 0x4cd1d0
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], edi
jmp 0x4cd220
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
cmp esi, ebx
jge 0x4cd272
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0xf8]
test edi, edi
jne 0x4cd24d
push dword [ecx + 0x48]
mov edx, ecx
mov ecx, dword [ecx + 0x34]
call fcn.004caee0
add esp, 4
mov edi, eax
inc esi
cmp esi, ebx
jl 0x4cd230
mov dword [esp + 0xc], edi
jmp 0x4cd272
lea eax, [esi*4 + 4]
push eax
lea eax, [esp + 0xfc]
push 0
push eax
call fcn.006e6ec0
add esp, 0xc
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
call fcn.004b44e0
mov eax, dword [esp + 0x48]
xor esi, esi
test eax, eax
jle 0x4cd2c3
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0xf8]
test ecx, ecx
je 0x4cd2be
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x4cd2ae
call fcn.004c0a30
jmp 0x4cd2b3
call fcn.004bcb30
mov ecx, edi
call fcn.004c1cc0
mov eax, dword [esp + 0x48]
inc esi
cmp esi, eax
jl 0x4cd290
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x4cd303
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0xe4]
test ecx, ecx
je 0x4cd2fe
mov ecx, dword [ecx + 0x44]
test byte [ecx + 0x18], 0x40
mov edi, dword [ecx + 0x10]
je 0x4cd2ee
call fcn.004c0a30
jmp 0x4cd2f3
call fcn.004bcb30
mov ecx, edi
call fcn.004c1cc0
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x4cd2d0
mov ecx, dword [esp + 0x10c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.006a7b19
mov esp, ebp
pop ebp
ret