Function at 0x4cc5f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4cc
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x4c8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x1e1
lea eax, [esp + 0xa4]
push 0
push eax
mov dword [esp + 0x20], ebx
call sub.MSVCR90.dll_memset
lea esi, [ebx + 0x17c1a]
push 0x2373
push esi
mov dword [esp + 0x34], esi
call fcn.00484080
add esp, 0x14
test eax, eax
jne 0x4cca79
push eax
push str.ALTER
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.00484ad0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4cd17e
mov edx, dword [str.public]
cmp byte [edx + 0x6f0], al
jne 0x4cc6c6
mov eax, dword [esp + 0x64]
push eax
call fcn.0047dc20
add esp, 4
test al, al
je 0x4cc6c6
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
mov edx, dword [str.public]
push esi
push str.alter
push edx
push 0xbb9
push 0x1f69
call fcn.00406f10
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [sym.imp.MSVCR90.dll_malloc]
push 0
push ecx
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x48]
push ecx
push 0
push 0
push 0
push esi
push 0
mov byte [esp + 0x65], 1
mov byte [esp + 0x64], 3
call fcn.004813c0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x4cd17e
mov edx, dword [esp + 0x235]
mov eax, dword [esp + 0x239]
lea ecx, [esp + 0x24]
push 0xe
push ecx
mov dword [ebx + 0x1f], edx
mov dword [ebx + 0x23], eax
call fcn.004cef00
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cd17e
cmp dword [esp + 0x24], eax
je 0x4ccae4
cmp dword [esp + 0x255], 0xffffffff
movsx ecx, word [esp + 0x247]
setne al
inc eax
test ecx, ecx
jle 0x4cc7bd
mov edx, dword [esp + 0x249]
mov dword [esp + 0x20], ecx
jmp 0x4cc770
mov ecx, 0x2b
mov esi, edx
lea edi, [esp + 0x288]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
inc eax
cmp dword [esp + 0x310], 0xffffffff
je 0x4cc78f
inc eax
or ecx, 0xffffffff
cmp dword [esp + 0x314], ecx
je 0x4cc79c
inc eax
cmp dword [esp + 0x318], ecx
je 0x4cc7a6
inc eax
cmp dword [esp + 0x31c], ecx
je 0x4cc7b0
inc eax
add edx, 0xaf
sub dword [esp + 0x20], 1
jne 0x4cc770
mov edx, dword [str.public]
cmp dword [edx + 0x124], 1
je 0x4cc7d6
mov edi, 0x55f6
jmp 0x4cca97
mov ecx, dword [esp + 0x235]
lea edx, [eax*8]
xor esi, esi
push edx
mov dword [ebx + 0x18821], 0xffffffff
mov dword [ebx + 0x18815], ecx
mov dword [ebx + 0x18819], esi
mov dword [ebx + 0x1881d], esi
mov byte [ebx + 0x18825], 0
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebx + 0x18819], eax
cmp eax, esi
jne 0x4cc84e
lea eax, [esp + 0xa0]
push eax
call fcn.004820b0
push 0x7dd
push 6
call fcn.00406f10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xa0]
call fcn.004c7b90
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x4cc8b4
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18819]
add esp, 4
cmp eax, ebx
je 0x4cc88a
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
add edi, 0x17f31
push edi
push 0xbb9
push esi
call fcn.00406f10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1881d]
cmp ecx, ebx
jle 0x4cc8d6
cmp ecx, 1
jle 0x4cc9e4
mov byte [eax + 0x18825], bl
jmp 0x4cc9e4
xor edx, edx
cmp dx, word [esp + 0x247]
mov dword [esp + 0x18], ebx
jge 0x4cc9b1
lea ebx, [ebx]
mov ecx, dword [esp + 0x249]
lea esi, [ebx + ecx]
mov ecx, 0x2b
lea edi, [esp + 0x288]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x308]
push edx
lea edx, [esp + 0xa4]
call fcn.004c4d60
mov ecx, dword [esp + 0x314]
add esp, 4
cmp ecx, 0xffffffff
je 0x4cc93e
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
mov ecx, dword [esp + 0x314]
cmp ecx, 0xffffffff
je 0x4cc95a
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
mov ecx, dword [esp + 0x318]
cmp ecx, 0xffffffff
je 0x4cc976
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
mov ecx, dword [esp + 0x31c]
cmp ecx, 0xffffffff
je 0x4cc992
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
mov ecx, dword [esp + 0x18]
movsx edx, word [esp + 0x247]
inc ecx
add ebx, 0xaf
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x4cc8f0
mov ecx, dword [esp + 0x255]
cmp ecx, 0xffffffff
je 0x4cc9cd
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
mov ecx, dword [esp + 0x235]
push ecx
lea edx, [esp + 0xa4]
call fcn.004c4d60
add esp, 4
cmp dword [0x6d3a60], 0x65
jne 0x4cca08
cmp dword [0x6d3a64], 0x4dc
jne 0x4cca08
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cca93
lea edx, [esp + 0x24]
push 0x10
push edx
call fcn.004cef00
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cd17a
cmp dword [esp + 0x24], eax
je 0x4cca8e
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1a], 0x96
cmp dword [0x6d3a60], 0x73
jne 0x4cca4a
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cd17a
mov ecx, dword [esp + 0x14]
add ecx, 0x18811
push ecx
call fcn.004ab080
mov edi, eax
add esp, 4
test edi, edi
jne 0x4cd17a
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
mov edi, 0x2346
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
mov ebx, dword [ebx + 0x18819]
add esp, 4
test ebx, ebx
je 0x4ccabb
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
call fcn.004a8360
push eax
push 0xbb9
push edi
call fcn.00406f10
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x24]
push 0x12
push edx
call fcn.004cef00
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cd17e
cmp dword [esp + 0x24], eax
je 0x4cd063
lea eax, [esp + 0x30]
push eax
push edi
push 0x413
call fcn.004aa500
add esp, 0xc
test eax, eax
jne 0x4cca79
cmp dword [esp + 0x30], eax
jne 0x4ccb3b
cmp dword [0x6d3a60], 0x66
je 0x4ccb3b
mov edi, 0x2346
jmp 0x4cca97
mov eax, dword [esp + 0x25c]
mov byte [esp + 0x13], 0
mov dword [ebx + 0x1a], 0xa0
test eax, eax
je 0x4ccb61
cmp eax, 1
je 0x4ccb61
mov edi, 0x55f5
jmp 0x4cca97
cmp byte [esp + 0x25b], 0
je 0x4ccb75
mov edi, 0x55f9
jmp 0x4cca97
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
call fcn.004aa4b0
add esp, 0xc
test eax, eax
jne 0x4cd451
mov dword [ebx + 0x6e4], eax
mov eax, ebx
call fcn.004cb700
test eax, eax
jne 0x4cca79
lea eax, [ebx + 0x172e8]
push eax
mov eax, dword [ebx + 0x6e4]
imul eax, eax, 0x16c
mov ecx, dword [eax + ebx + 0x6e8]
lea edx, [esp + 0xa4]
push edx
push ecx
mov edx, esi
push edx
push str.table
xor edi, edi
xor eax, eax
call fcn.004c76a0
add esp, 0x14
test eax, eax
jne 0x4cca79
mov eax, dword [ebx + 0x17a93]
test eax, eax
je 0x4ccc58
mov edi, dword [ebx + 0x17a9b]
xor esi, esi
test eax, eax
jle 0x4ccc3e
add edi, 0x1a
cmp dword [edi - 8], 0
je 0x4ccc0e
mov eax, dword [edi - 8]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp dword [edi], 0
je 0x4ccc1f
mov ecx, dword [edi]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
cmp dword [edi + 4], 0
je 0x4ccc32
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
inc esi
add edi, 0x30
cmp esi, dword [ebx + 0x17a93]
jl 0x4ccbfb
mov eax, dword [ebx + 0x17a9b]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov dword [ebx + 0x17a93], 0
push 0
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.004aa4b0
add esp, 0xc
test eax, eax
jne 0x4cd451
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x172e8]
inc eax
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, edx
mov dword [esp + 0x44], edx
lea edx, [esp + 0x40]
push edx
push 4
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x34]
push ecx
push fcn.00472210
xor esi, esi
push esi
push str.SELECT_constraintname_FROM____sysrefconstraint__WHERE__srcsegno____AND_srccpos_____OR__tarsegno____AND_tarcpos____
call fcn.0050dfb0
add esp, 0x1c
cmp eax, esi
jne 0x4cca79
mov edx, dword [esp + 0x28]
push edx
call fcn.0050dec0
add esp, 4
cmp eax, esi
jne 0x4cca79
cmp dword [esp + 0x2c], esi
je 0x4cccf3
mov edi, 0x55fd
jmp 0x4cca97
movsx eax, word [esp + 0x75]
mov ecx, dword [ebx + 0x172e8]
mov dword [ebx + 0x5c], eax
mov ax, word [esp + 0x23d]
mov dword [ebx + 0x6e4], ecx
xor ecx, ecx
cmp cx, ax
lea edx, [ebx + 0x6e8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jge 0x4ccde5
mov esi, edx
lea edx, [ebx + 0x172ec]
xor edi, edi
add esi, 4
mov dword [esp + 0x1c], edx
lea esp, [esp]
mov eax, dword [esp + 0x243]
mov edx, dword [edi + eax + 4]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
mov dx, word [edi + eax + 8]
mov word [ecx + 4], dx
movsx ecx, word [edi + eax + 0xa]
mov edx, dword [esp + 0x18]
mov dword [esi + 0xe], ecx
cmp edx, dword [ebx + 0x172e8]
jne 0x4ccd89
mov al, byte [edi + eax + 8]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], al
mov eax, ebx
mov dword [ecx], 0
call fcn.004cb700
jmp 0x4ccda9
mov edx, dword [edi + eax + 4]
mov dword [esi], edx
mov cx, word [edi + eax + 8]
mov word [esi + 4], cx
mov edx, dword [edi + eax]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.00484a70
add esp, 8
test eax, eax
jne 0x4cca79
mov ax, word [esp + 0x23d]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x1c], 6
add dword [esp + 0x14], 0x16c
movsx edx, ax
inc ecx
add edi, 0x2a
add esi, 0x16c
cmp ecx, edx
mov dword [esp + 0x18], ecx
jl 0x4ccd40
xor esi, esi
mov edx, dword [ebx + 0x172e8]
lea edi, [ebx + 0x172e8]
mov ecx, edx
imul ecx, ecx, 0x16c
cwde
mov dword [ebx + 0x6e4], eax
cmp byte [ecx + ebx + 0x6f0], 0
je 0x4cce2d
cmp byte [esp + 0x13], 0
jne 0x4cce2d
lea edx, [esp + 0xa0]
push edx
call fcn.004820b0
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
inc eax
push eax
push ecx
push esi
jmp 0x4cd46f
xor eax, eax
mov word [ebx + 0x178ec], ax
movsx eax, word [esp + 0x247]
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x4ccebe
mov eax, dword [esp + 0x249]
add eax, 0xab
movsx edi, word [eax - 6]
xor esi, esi
mov byte [esp + 0x13], 0
test edi, edi
jle 0x4ccea5
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
movsx ecx, word [ecx]
cmp edx, ecx
jne 0x4cce8d
cmp dword [eax - 0x23], 0xffffffff
mov byte [esp + 0x13], 1
jne 0x4ccee9
cmp dword [eax - 0xe], 5
je 0x4ccef3
cmp byte [eax - 0x11], 0
jne 0x4ccb6b
add dword [esp + 0x1c], 2
inc esi
cmp esi, edi
jl 0x4cce67
cmp byte [esp + 0x13], 0
je 0x4ccea5
inc word [ebx + 0x178ec]
movsx ecx, word [esp + 0x247]
inc dword [esp + 0x18]
add eax, 0xaf
cmp dword [esp + 0x18], ecx
jl 0x4cce52
xor esi, esi
movsx edx, word [ebx + 0x178ec]
imul edx, edx, 0xaf
push edx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebx + 0x178ee], eax
cmp eax, esi
jne 0x4ccefd
mov edi, 6
jmp 0x4cca97
mov edi, 0x55f8
jmp 0x4cca97
mov edi, 0x5601
jmp 0x4cca97
movsx ecx, word [ebx + 0x178ec]
imul ecx, ecx, 0xaf
push ecx
push esi
push eax
call sub.MSVCR90.dll_memset
xor edx, edx
add esp, 0xc
cmp dx, word [esp + 0x247]
mov dword [esp + 0x18], esi
jge 0x4cca67
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
jmp 0x4ccf40
mov ecx, dword [esp + 0x249]
movsx esi, word [eax + ecx + 0xa5]
add eax, ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], 0
test esi, esi
jle 0x4cd038
mov ecx, dword [ebx + 0x172e8]
mov eax, dword [eax + 0xab]
mov edi, esi
movsx edx, word [eax]
cmp ecx, edx
jne 0x4ccf7c
mov byte [esp + 0x13], 1
add eax, 2
sub edi, 1
jne 0x4ccf70
cmp byte [esp + 0x13], 0
je 0x4cd038
add esi, esi
push esi
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov edi, eax
push esi
mov dword [esp + 0x34], edi
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 8
mov dword [esp + 0x34], eax
test edi, edi
je 0x4ccedf
test eax, eax
je 0x4ccedf
mov edi, dword [ebx + 0x178ee]
mov eax, dword [esp + 0x14]
add edi, dword [esp + 0x1c]
mov esi, eax
mov ecx, 0x2b
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 0xab]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call sub.MSVCR90.dll_memcpy
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xa7]
mov esi, dword [esp + 0x40]
push ecx
push eax
push esi
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x34]
mov ecx, dword [ebx + 0x178ee]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx + 0xab], edx
mov ecx, dword [ebx + 0x178ee]
add esp, 0x18
mov dword [eax + ecx + 0xa7], esi
add eax, 0xaf
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
movsx edx, word [esp + 0x247]
inc ecx
add eax, 0xaf
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
jl 0x4ccf40
jmp 0x4cca67
cmp dword [0x6d3a60], 0x65
je 0x4cd076
mov edi, 0x2346
jmp 0x4cca97
mov esi, dword [0x6d3a64]
mov eax, esi
sub eax, 0x3eb
je 0x4cd219
sub eax, 2
je 0x4cd0a1
sub eax, 0x4e
je 0x4cd219
mov edi, 0x2346
jmp 0x4cca97
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cca97
push eax
push eax
push 0x413
call fcn.004aa500
add esp, 0xc
test eax, eax
jne 0x4cca79
push ebx
call fcn.00484dc0
add esp, 4
test eax, eax
jne 0x4cca79
mov eax, dword [esp + 0x64]
inc dword [ebx + 0x6e4]
push eax
push ebx
call fcn.00484f20
mov edi, eax
add esp, 8
test edi, edi
jne 0x4cd17e
cmp dword [0x6d3a60], 0x65
jne 0x4ccb31
mov eax, dword [0x6d3a64]
cmp eax, 0x4ba
jne 0x4cd1c8
mov dword [ebx + 0x1a], 0x70
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cca97
push eax
push str.DEFAULT
push 0x42f
call fcn.004aa500
add esp, 0xc
test eax, eax
jne 0x4cca79
mov edx, dword [esp + 0x14]
add edx, 0x6ec
add ebx, 0x6f6
push edx
call fcn.004c5040
add esp, 4
test eax, eax
je 0x4cca67
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
mov ebx, dword [ebx + 0x18819]
add esp, 4
test ebx, ebx
je 0x4cd1a2
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
push 0xbb9
push 0
call fcn.00406f10
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
cmp eax, 0x43b
jne 0x4ccb31
mov dword [ebx + 0x1a], 0x71
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cca97
push eax
push str.DEFAULT
push 0x42f
call fcn.004aa500
add esp, 0xc
test eax, eax
je 0x4cca67
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
call fcn.004a8be0
mov edi, eax
test edi, edi
jne 0x4cca97
lea eax, [esp + 0x30]
push eax
push edi
push 0x413
call fcn.004aa500
add esp, 0xc
test eax, eax
jne 0x4cca79
cmp dword [esp + 0x30], eax
jne 0x4cd32f
cmp dword [0x6d3a60], 0x66
je 0x4cd32f
cmp esi, 0x43b
jne 0x4cd293
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x1a], 0x73
lea ebx, [esp + 0x34]
call fcn.004c8840
test eax, eax
je 0x4cca67
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x338]
push ecx
push 0x72
lea edx, [esp + 0xa8]
mov ecx, ebx
mov dword [ebx + 0x1a], 0x72
call fcn.004cb840
add esp, 8
test eax, eax
jne 0x4cca79
xor edx, edx
cmp dword [ebx + 0x17a93], edx
jle 0x4cd2f8
xor ecx, ecx
lea esp, [esp]
mov eax, dword [ebx + 0x17a9b]
mov esi, dword [esp + 0x64]
add eax, ecx
cmp dword [eax], 0x4aa
jne 0x4cd2e9
mov dword [eax + 0x1a], esi
jmp 0x4cd2ec
mov dword [eax + 0x16], esi
inc edx
add ecx, 0x30
cmp edx, dword [ebx + 0x17a93]
jl 0x4cd2d0
lea ecx, [esp + 0x338]
push ecx
lea edx, [esp + 0xa4]
push edx
mov esi, ebx
call fcn.004cc420
add esp, 8
test eax, eax
je 0x4cca67
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c8]
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp esi, 0x43b
sete al
add eax, 0x6e
cmp dword [esp + 0x25c], 0
mov dword [ebx + 0x1a], eax
je 0x4cd354
mov edi, 0x55f5
jmp 0x4cca97
cmp esi, 0x43b
jne 0x4cd366
mov edi, 0x2346
jmp 0x4cca97
cmp dword [esp + 0x68], 0x100
jl 0x4cd37a
mov edi, 0x1f73
jmp 0x4cca97
movsx eax, word [esp + 0x23d]
movsx edx, word [esp + 0x75]
mov dword [ebx + 0x5c], edx
mov dword [ebx + 0x6e4], eax
mov dword [esp + 0x18], 0
lea edi, [ebx + 0x6e8]
test eax, eax
jle 0x4cd401
xor esi, esi
jmp 0x4cd3b0
mov eax, dword [esp + 0x243]
mov ecx, dword [esi + eax + 4]
mov dword [edi + 4], ecx
mov dx, word [esi + eax + 8]
mov word [edi + 8], dx
mov cl, byte [esi + eax + 8]
mov byte [edi + 8], cl
mov edx, dword [esi + eax]
push edx
push edi
call fcn.00484a70
add esp, 8
test eax, eax
jne 0x4cca79
mov eax, dword [esp + 0x18]
movsx ecx, word [esp + 0x23d]
inc eax
add esi, 0x2a
add edi, 0x16c
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4cd3b0
mov eax, ebx
call fcn.004cb700
test eax, eax
jne 0x4cca79
movsx edx, word [esp + 0x23d]
inc dword [ebx + 0x6e4]
imul edx, edx, 0x16c
cmp byte [edx + ebx + 0x6f0], al
lea ebx, [edx + ebx + 0x6e8]
je 0x4cca67
mov eax, dword [ebx + 0xe]
push eax
push str.NULL
call fcn.00576b30
add esp, 8
test eax, eax
jne 0x4cca67
lea ecx, [esp + 0xa0]
push ecx
call fcn.004820b0
movsx edx, word [esp + 0x241]
mov eax, dword [esp + 0x24]
inc edx
push edx
push eax
push 0
push 0xbb9
push 0x23bc
call fcn.00406f10
mov ecx, dword [esp + 0x4ec]
add esp, 0x18
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00586584
mov esp, ebp
pop ebp
ret