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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
xor eax, eax
mov dword [ebp - 0x9c], 0
push ebx
mov ebx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
cmp dword [ebx + 0x24], 0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x84], 0
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x50], eax
jne 0x4eba91
cmp byte [eax + 0x51], 0
jne 0x4eba91
push dword [ebp + 0xc]
push ebx
call fcn.004e8f90
mov esi, eax
add esp, 8
mov dword [ebp - 0xc], esi
test esi, esi
je 0x4eba8e
push dword [esi + 0x48]
push dword [ebx]
call fcn.004e5b50
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 0x10]
push 0x7a
push esi
push ebx
call fcn.004e9dc0
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
push esi
push ebx
mov dword [ebp - 0x70], eax
call fcn.004f7850
add esp, 0x24
test eax, eax
jne 0x4eba8e
push dword [ebp - 0x98]
push esi
push ebx
call fcn.004db770
add esp, 0xc
test eax, eax
jne 0x4eba8e
mov eax, dword [ebx + 0x28]
mov edx, eax
mov dword [ebp - 4], eax
inc eax
mov dword [ebx + 0x28], eax
test byte [esi + 0x24], 0x20
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x5c], eax
jne 0x4ea341
mov dword [ebp - 0x24], 0
jmp 0x4ea350
push esi
call fcn.004e30f0
mov dword [ebp - 0x24], eax
add esp, 4
mov eax, dword [ebp - 0x5c]
mov ecx, dword [esi + 8]
xor edi, edi
mov dword [ebp - 0x78], edi
test ecx, ecx
je 0x4ea383
mov esi, dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 0x24], ecx
mov eax, edx
cmovne eax, esi
inc edx
mov dword [ebx + 0x28], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov esi, eax
test ecx, ecx
jne 0x4ea361
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x78], edi
mov ecx, dword [ebp + 0x24]
test ecx, ecx
je 0x4ea39b
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 4], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebx + 0x28], edx
jmp 0x4ea39e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
add eax, edi
lea eax, [eax*4 + 2]
add eax, edi
push eax
push dword [ebp - 0x50]
call fcn.004c9310
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x20], edi
test edi, edi
je 0x4eba8e
movsx eax, word [esi + 0x2a]
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x88], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
push 1
push ecx
mov dword [ebp - 0x18], ecx
call fcn.0054f9f0
mov eax, dword [ebp - 0x78]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x4ea420
nop word [eax + eax]
mov dword [edi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4ea410
mov ecx, dword [ebp + 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0x100], ecx
mov eax, 0x200
mov ecx, dword [ebp + 0x10]
xor edi, edi
movups xmmword [ebp - 0xf8], xmm0
mov word [ebp - 0xf0], ax
xor al, al
mov dword [ebp - 0x108], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x104], ebx
mov byte [ebp - 0x6c], 0
mov byte [ebp - 5], al
mov dword [ebp - 0x48], edi
cmp dword [ecx], edi
jle 0x4ea642
lea ebx, [ecx + 4]
mov dword [ebp - 0x28], ebx
push dword [ebx]
lea eax, [ebp - 0x108]
push eax
call fcn.004e40d0
add esp, 8
test eax, eax
jne 0x4eb9f6
movsx eax, word [esi + 0x2a]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
test eax, eax
jle 0x4ea513
mov eax, dword [esi + 4]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov esi, dword [eax]
mov dl, byte [esi]
movzx eax, dl
movzx edi, byte [eax + 0x59e0d8]
movzx eax, byte [ebx]
movzx eax, byte [eax + 0x59e0d8]
sub edi, eax
jne 0x4ea4f5
sub ebx, esi
test dl, dl
je 0x4ea4e7
movzx eax, byte [ebx + esi + 1]
inc esi
mov dl, byte [esi]
movzx ecx, byte [eax + 0x59e0d8]
movzx eax, dl
movzx edi, byte [eax + 0x59e0d8]
sub edi, ecx
je 0x4ea4c4
jmp 0x4ea4ef
test edi, edi
je 0x4ea579
mov ebx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
inc ecx
mov eax, dword [ebp - 0x60]
add eax, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x60], eax
movsx edx, word [esi + 0x2a]
cmp ecx, edx
jl 0x4ea4a6
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x48]
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x4ea5d2
cmp dword [ebp - 0x24], 0
jne 0x4ea659
mov esi, dword [ebx + 4]
push str._ROWID_
push esi
call fcn.004e9850
add esp, 8
test eax, eax
je 0x4ea566
push str.ROWID
push esi
call fcn.004e9850
add esp, 8
test eax, eax
je 0x4ea566
push 0x5a60ec
push esi
call fcn.004e9850
add esp, 8
test eax, eax
jne 0x4ea659
mov eax, dword [ebx]
or esi, 0xffffffff
mov byte [ebp - 5], 1
mov edx, str.ROWID
mov dword [ebp - 0x40], eax
jmp 0x4ea5eb
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x28]
movsx eax, word [esi + 0x28]
cmp ecx, eax
jne 0x4ea5a1
mov eax, dword [ebx]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 5], 1
mov dword [eax + ecx*4], edi
jmp 0x4ea513
cmp dword [ebp - 0x24], 0
je 0x4ea5c4
mov edx, dword [esi + 4]
mov eax, ecx
add eax, eax
test byte [edx + eax*8 + 0xf], 1
mov edx, 1
mov eax, dword [ebp - 0x6c]
movzx eax, al
cmovne eax, edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x48]
mov dword [eax + ecx*4], edi
jmp 0x4ea513
test ecx, ecx
jns 0x4ea5e0
mov esi, dword [ebp - 0x10]
mov edx, str.ROWID
jmp 0x4ea5eb
mov eax, dword [esi + 4]
add ecx, ecx
mov esi, dword [ebp - 0x10]
mov edx, dword [eax + ecx*8]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [ebp - 0xc]
push edx
push dword [ecx]
push 0x17
push dword [ebp + 8]
call fcn.004c1b60
add esp, 0x14
cmp eax, 1
je 0x4eb9f6
cmp eax, 2
jne 0x4ea624
mov eax, dword [ebp - 0x20]
mov dword [eax + esi*4], 0xffffffff
mov ecx, dword [ebp + 0x10]
inc edi
mov esi, dword [ebp - 0xc]
add ebx, 0x18
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], ebx
cmp edi, dword [ecx]
jl 0x4ea474
mov al, byte [ebp - 5]
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebp - 0x6c]
add dl, al
cmp dword [esi + 0x38], 0
mov byte [ebp - 0x28], dl
je 0x4ea67d
mov eax, 0xffffffff
or ecx, eax
jmp 0x4ea694
mov ecx, dword [ebp + 0x10]
lea eax, [edi + edi*2]
mov ebx, dword [ebp + 8]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push ebx
call fcn.004caf50
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x4eb9f6
xorps xmm0, xmm0
movlpd qword [ebp - 0x90], xmm0
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp + 8]
mov dword [ebx + 0x40], eax
movzx eax, dl
push eax
push dword [ebp - 0x20]
mov dword [ebx + 0x44], ecx
push esi
push edi
mov dword [ebp - 0x60], eax
call fcn.004d1a20
add esp, 0x10
mov ecx, eax
cmp dword [ebp + 0x18], 5
mov edx, 1
mov eax, dword [ebp - 0x44]
cmove eax, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov esi, dword [esi + 8]
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x4ea86e
nop dword [eax + eax]
cmp byte [ebp - 0x28], 0
jne 0x4ea831
cmp ecx, 1
jg 0x4ea831
cmp esi, dword [ebp - 0x24]
je 0x4ea831
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4ea758
mov ecx, dword [ebp - 0x20]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0xcc]
mov dword [ebp - 0xb4], 0
movups xmmword [ebp - 0xcc], xmm0
push eax
movq qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xc8], 0x48e990
mov dword [ebp - 0xb4], ecx
call fcn.00508c40
mov al, byte [ebp - 0xb8]
add esp, 8
cmp byte [ebp - 5], 0
jne 0x4ea750
and al, 0xfd
test al, al
jne 0x4ea831
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x8c], ecx
cmp ax, word [esi + 0x32]
jae 0x4ea845
xor ebx, ebx
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4ea78a
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x4ea7e7
mov eax, dword [esi + 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd0], 0
movq qword [ebp - 0xd8], xmm0
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0xe4], 0x48e990
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x4ea7d1
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.00508c40
add esp, 8
cmp byte [ebp - 5], 0
mov cl, byte [ebp - 0xd4]
jne 0x4ea7e0
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x4ea806
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x18
cmp edi, eax
jl 0x4ea770
mov ecx, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x10]
jmp 0x4ea845
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x18], 0xb
mov dword [edi + 0x2c], eax
jne 0x4ea841
cmp byte [esi + 0x36], 5
jne 0x4ea841
mov dword [ebp - 0x44], 1
jmp 0x4ea841
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edi + 0x2c], eax
test ecx, ecx
jne 0x4ea84d
mov eax, dword [ebp - 0x18]
mov byte [ebx + eax + 1], 0
mov eax, dword [ebp - 0x88]
mov edi, dword [ebp + 8]
mov dword [eax + ebx*4], ecx
inc ebx
mov esi, dword [esi + 0x14]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ebx
test esi, esi
jne 0x4ea6e0
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x4ea884
mov eax, dword [ebp - 0x78]
inc eax
push eax
push 1
push dword [ebp - 0x18]
call fcn.0054f9f0
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
test edi, edi
jne 0x4ea8b8
cmp dword [esi + 0x74], edi
jne 0x4ea8a2
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x4ea8a2
mov byte [esi + 0x17], 1
push esi
call fcn.004ecd70
mov edi, eax
mov dword [ebp - 0x74], eax
add esp, 4
test edi, edi
je 0x4eb9f6
cmp byte [esi + 0x12], 0
jne 0x4ea8c5
or dword [edi + 0x98], 0x20
cmp dword [ebp - 0x1c], 0
jne 0x4ea8d5
cmp dword [ebp - 0x34], 0
jne 0x4ea8d5
xor bl, bl
jmp 0x4ea8d7
mov bl, 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [ebp - 0x2c]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x4ea907
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x4ea907
push esi
call fcn.004dda60
mov ecx, dword [ebp - 0x2c]
add esp, 4
or byte [esi + 0x14], bl
mov eax, dword [esi + 0x50]
mov ebx, dword [ebp - 0xc]
bts eax, ecx
mov dword [esi + 0x50], eax
mov esi, dword [ebp + 8]
cmp dword [ebx + 0x38], 0
jne 0x4ea983
mov eax, dword [esi + 0x2c]
mov edx, dword [ebp - 0x1c]
inc eax
cmp byte [ebp - 0x6c], 0
mov dword [ebp - 0x58], eax
lea ecx, [eax + 1]
mov dword [ebp - 0x38], ecx
mov dword [esi + 0x2c], ecx
mov dword [ebp - 0x14], ecx
jne 0x4ea946
test edx, edx
jne 0x4ea946
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4ea95b
lea eax, [ecx + 1]
mov dword [ebp - 0x94], eax
movsx eax, word [ebx + 0x2a]
add ecx, eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x2c], ecx
cmp byte [ebp - 0x28], 0
jne 0x4ea969
test edx, edx
jne 0x4ea969
test eax, eax
je 0x4ea974
lea eax, [ecx + 1]
mov dword [ebp - 0x38], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x80], eax
movsx eax, word [ebx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
mov edx, dword [ebp - 0x70]
test edx, edx
je 0x4ea9a6
mov ecx, dword [esi + 0xf0]
mov eax, dword [ebx]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x8c], ecx
mov dword [esi + 0xf0], eax
jmp 0x4ea9be
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], eax
test edx, edx
je 0x4ea9d8
push dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push ebx
push esi
call fcn.004dd210
add esp, 0x18
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push eax
call fcn.004e40d0
add esp, 8
test eax, eax
jne 0x4eb9e0
cmp dword [ebx + 0x38], eax
je 0x4eaa18
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x40]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00502310
add esp, 0x20
jmp 0x4eb9e0
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4eaa60
cmp dword [esi + 0x78], 0
jne 0x4eaa60
cmp byte [esi + 0x12], 0
jne 0x4eaa60
cmp dword [ebp + 0x24], 0
jne 0x4eaa60
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x46
push edi
mov dword [ebp - 0xa0], eax
call fcn.004ec510
add esp, 0x10
test byte [ebx + 0x24], 0x20
jne 0x4eaac3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eaa83
push dword [ebp - 0x14]
push dword [ebp - 0x58]
push 0
push 0x49
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eaab4
mov edx, dword [ebp - 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp + 0x24], 0
je 0x4eab9c
jmp 0x4eac3a
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp + 8]
movzx edx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, dx
mov dword [ebp - 0xac], edx
lea ecx, [eax + 1]
inc eax
add eax, esi
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 0x24], 0
mov dword [ebp - 0x30], eax
mov dword [ebx + 0x2c], eax
jne 0x4eac38
mov eax, dword [ebx + 0x28]
lea edx, [esi - 1]
mov dword [ebp - 0x4c], eax
add edx, ecx
inc eax
mov dword [ebx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eab1c
push edx
push dword [ebp - 0x54]
push 0
push 0x49
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eab4d
mov ebx, dword [ebp - 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [ebp - 0x4c]
push 0x71
push edi
call fcn.004ec510
push dword [ebp - 0x24]
mov esi, dword [ebx + 8]
push ebx
mov dword [ebp - 0x68], eax
call fcn.004dbb90
mov edx, eax
add esp, 0x18
test edx, edx
je 0x4eab99
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4eab87
push edx
push 0xfffffffffffffff7
push eax
call fcn.00499bf0
add esp, 0xc
jmp 0x4eab99
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov esi, dword [ebp + 8]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x4eabc5
cmp dword [ebp - 0x1c], 0
jne 0x4eabc5
cmp dword [ebp - 0x34], 0
jne 0x4eabc5
cmp byte [ebp - 0x28], 0
jne 0x4eabc5
cmp dword [ebp - 0x44], 0
mov ecx, 0x100c
cmove eax, ecx
push dword [ebp - 0x5c]
push eax
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.004f9260
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x64], esi
test esi, esi
je 0x4eb9e0
movzx ebx, byte [esi + 0x31]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x10], ebx
cmp ebx, 1
je 0x4eac6f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 4]
mov byte [ecx + 0x14], 1
cmp ebx, 2
jne 0x4eac72
test edx, edx
js 0x4eac72
cmp edx, eax
je 0x4eac72
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub eax, dword [ebp - 0x7c]
xor edx, edx
cmp byte [eax + ecx], dl
cmovne ebx, edx
mov dword [ebp - 0x10], ebx
jmp 0x4eac6f
mov esi, ebx
push 0x10
push dword [ebp - 0x2c]
mov ebx, 1
mov dword [ebp - 0x64], 0
push dword [ebp + 0x14]
mov dword [ebp - 0x10], ebx
push esi
call fcn.004ce260
mov eax, dword [ebp - 0x8c]
add esp, 0x10
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
test byte [ecx + 0x24], 0x20
jne 0x4eacad
mov esi, dword [ebp - 0x14]
push esi
push eax
push 0x80
push edi
call fcn.004ec510
add esp, 0x10
test ebx, ebx
jne 0x4ead69
push esi
push dword [ebp - 0x58]
push 0x94
push edi
call fcn.004ec510
add esp, 0x10
jmp 0x4ead69
mov eax, dword [ebp - 0xac]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x4eace6
nop dword [eax]
mov eax, dword [ebp - 0x54]
add eax, esi
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [ebp - 4]
push ecx
push edi
call fcn.004cbd00
mov ecx, dword [ebp - 0xc]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x4eacc0
cmp dword [ebp - 0x10], 0
je 0x4ead30
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x4ead22
mov edx, dword [edi]
cmp byte [edx + 0x51], 0
jne 0x4ead22
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.00499bf0
add esp, 0xc
mov word [esi], 0xaa
mov dword [esi + 0x10], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x30], eax
jmp 0x4ead66
push ebx
push dword [ebp - 0x24]
push dword [ebp - 0x50]
call fcn.004d9670
mov esi, dword [ebp - 0x54]
add esp, 8
push eax
push dword [ebp - 0x30]
push ebx
push esi
push 0x5c
push edi
call fcn.004ec5c0
push ebx
push esi
push dword [ebp - 0x30]
push dword [ebp - 0x4c]
push 0x84
push edi
call fcn.004ec640
add esp, 0x34
mov ebx, dword [ebp - 0x10]
cmp dword [ebp + 0x24], 0
jne 0x4eafa4
cmp ebx, 2
je 0x4ead83
push dword [ebp - 0x64]
call fcn.004fbf50
add esp, 4
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x4eae29
xor esi, esi
test ebx, ebx
je 0x4eadba
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x18]
test eax, eax
js 0x4eada8
sub eax, dword [ebp - 0x7c]
mov byte [eax + edx], 0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
js 0x4eadbd
mov eax, ecx
sub eax, dword [ebp - 0x7c]
mov byte [eax + edx], 0
jmp 0x4eadbd
mov ecx, dword [ebp - 0x48]
cmp ebx, 2
jne 0x4eaddf
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x78]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4eaddf
push 0x11
push edi
call fcn.004ec450
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xc]
push 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x7c]
push 0
push 0x6d
push ecx
push dword [ebp + 8]
call fcn.004dd850
add esp, 0x20
test esi, esi
je 0x4eae26
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4eae12
mov eax, 0x5de0e4
jmp 0x4eae23
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x70]
test ebx, ebx
je 0x4eaebf
test eax, eax
jne 0x4eae60
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xa4], eax
je 0x4eae60
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x48], eax
je 0x4eae63
push dword [ebp - 0x84]
push dword [ebp - 0x30]
push esi
push eax
push 0x1c
push edi
call fcn.004ec640
add esp, 0x18
jmp 0x4eae63
mov esi, dword [ebp - 0x2c]
cmp ebx, 1
je 0x4eae74
mov eax, dword [ebp + 8]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x14]
cmovne edx, dword [ebp - 0x30]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eae9b
push 0
push esi
push edx
push 0x32
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eafa4
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4eaf98
cmp dword [ebp - 0x24], 0
je 0x4eaf0c
push dword [ebp - 0x2c]
mov esi, dword [ebp + 8]
push dword [ebp - 0x4c]
push 0x24
dec dword [esi + 0x38]
mov ebx, dword [esi + 0x38]
push edi
mov dword [ebp - 0x3c], ebx
call fcn.004ec510
push dword [ebp - 0x30]
push dword [ebp - 0x4c]
push 0x7f
push edi
call fcn.004ec510
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x9c], eax
push ebx
push dword [ebp - 4]
push 0x1c
push edi
call fcn.004ec640
add esp, 0x38
jmp 0x4eafa7
mov ebx, dword [edi + 0x6c]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ebx
cmp dword [edi + 0x70], ebx
jg 0x4eaf33
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x58]
push 0x29
push edi
call fcn.004ab170
mov ebx, eax
add esp, 0x14
mov dword [ebp - 0x3c], ebx
jmp 0x4eaf60
mov edx, dword [ebp - 0x58]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + ecx*4], 0x29
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eaf7a
push esi
push ebx
push dword [ebp - 4]
push 0x1f
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eafa4
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 4], edx
mov esi, dword [ebp + 8]
cmp byte [ebp - 5], 0
je 0x4eb03a
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4eafcb
cmp byte [eax], 0xa8
jne 0x4eafcb
mov ebx, dword [ebp - 0x38]
push ebx
push dword [eax + 0x1c]
push 0x4e
push dword [esi + 8]
jmp 0x4eafe9
mov ebx, dword [ebp - 0x38]
push ebx
push eax
push esi
call fcn.004ccc60
add esp, 0xc
cmp eax, ebx
je 0x4eaff1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4eaff1
push ebx
push eax
push 0x4f
push ecx
call fcn.004ec510
add esp, 0x10
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb00b
push 0
push 0
push ebx
push 0xf
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb03a
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebp - 0x6c], 0
jne 0x4eb0d7
cmp dword [ebp - 0x34], 0
jne 0x4eb0e1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4eb1b5
mov ebx, dword [ebp - 0xc]
xor eax, eax
push dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
push ebx
push 3
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push esi
call fcn.004e9c90
mov edx, dword [ebp - 0x40]
add esp, 0x1c
or edx, eax
xor esi, esi
xor eax, eax
mov dword [ebp - 0x40], edx
cmp ax, word [ebx + 0x2a]
jge 0x4eb157
xor ebx, ebx
cmp edx, 0xffffffff
je 0x4eb127
cmp esi, 0x20
jge 0x4eb0ab
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x4eb127
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 4]
test byte [eax + ebx + 0xf], 1
jne 0x4eb12a
mov edx, dword [ebp - 0x94]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x4eb0f3
push 0
push edx
push 0
push 0x49
push edi
call fcn.004ab170
jmp 0x4eb13e
cmp dword [ebp - 0x34], 0
je 0x4eb059
mov ebx, dword [ebp - 0xc]
push ebx
push esi
call fcn.004d1940
add esp, 8
jmp 0x4eb05e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0x49
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
jmp 0x4eb141
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x94]
add eax, esi
push eax
push esi
push dword [ebp - 4]
push ecx
push edi
call fcn.004cbd00
add esp, 0x14
mov eax, dword [ebp - 0xc]
inc esi
mov edx, dword [ebp - 0x40]
add ebx, 0x10
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x4eb090
cmp byte [ebp - 5], 0
jne 0x4eb1b2
cmp dword [ebp - 0x24], 0
jne 0x4eb1b2
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb181
mov edx, dword [ebp - 0x38]
push 0
push edx
push dword [ebp - 0x14]
push 0x4e
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb1b2
mov edx, dword [ebp - 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x1c]
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0xc]
push 1
push 1
push ecx
push eax
push dword [ebp + 8]
call fcn.004e9c90
mov ecx, dword [ebp - 0xc]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x18], edx
add esp, 0x1c
xor ebx, ebx
cmp ax, word [ecx + 0x2a]
jge 0x4eb37b
mov esi, dword [ebp - 0x80]
movsx eax, word [ecx + 0x28]
cmp ebx, eax
jne 0x4eb241
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb20a
push 0
push esi
push 0
push 0x49
push edi
call fcn.004ab170
jmp 0x4eb364
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x74]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4eb36a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x4eb30b
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x4eb2ba
cmp byte [eax], 0xa8
jne 0x4eb2ba
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x68], eax
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4eb287
push 0
push esi
push eax
push 0x4e
push edx
call fcn.004ab170
jmp 0x4eb364
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov edx, dword [ebp - 0x68]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4eb367
push esi
push eax
push dword [ebp + 8]
call fcn.004ccc60
add esp, 0xc
mov dword [ebp - 0x68], eax
cmp eax, esi
je 0x4eb367
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
test edx, edx
je 0x4eb367
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x4eb2f6
push 0
push esi
push eax
push 0x4f
push edx
call fcn.004ab170
jmp 0x4eb364
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x4eb29a
test dword [ebp - 0x98], 1
je 0x4eb358
cmp ebx, 0x1f
jg 0x4eb358
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x4eb355
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x4eb1f8
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
jmp 0x4eb2a1
mov ecx, dword [ebp - 0xc]
push esi
push ebx
push dword [ebp - 4]
push ecx
push edi
call fcn.004cbd00
add esp, 0x14
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
inc ebx
inc esi
movsx eax, word [ecx + 0x2a]
cmp ebx, eax
jl 0x4eb1e8
test byte [ebp - 0x98], 1
je 0x4eb4eb
push dword [ebp - 0x80]
push ecx
push edi
call fcn.004e98e0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov ebx, dword [ebp - 0x3c]
mov esi, eax
test eax, eax
je 0x4eb3e0
mov edi, dword [ebp - 0xc]
cmp byte [esi + 8], 0x7a
jne 0x4eb3d6
cmp byte [esi + 9], 1
jne 0x4eb3d6
push dword [ebp + 0x10]
push dword [esi + 0x10]
call fcn.0048e8b0
add esp, 8
test eax, eax
je 0x4eb3d6
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push edi
push esi
push dword [ebp + 8]
call fcn.004c6bf0
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4eb3a4
mov edi, dword [ebp - 0x74]
cmp dword [ebp - 0x24], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4eb4a1
cmp eax, edx
jg 0x4eb40a
push dword [ebp - 0x30]
push ebx
push dword [ebp - 4]
push 0x1c
push edi
call fcn.004ab170
add esp, 0x14
mov edx, eax
jmp 0x4eb437
mov esi, dword [ebp - 4]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 0x30]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4eb454
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [ebp - 0x84]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov ebx, dword [ebp - 0x20]
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x4eb4ee
nop dword [eax + eax]
cmp dword [ebx + esi*4], 0
jge 0x4eb493
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x4eb493
mov eax, dword [ebp - 0x80]
add eax, esi
push eax
push esi
push edx
push ecx
push edi
call fcn.004cbd00
mov ecx, dword [ebp - 0xc]
add esp, 0x14
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [ebp - 4]
cmp esi, eax
jl 0x4eb470
jmp 0x4eb4ee
cmp eax, edx
jg 0x4eb4b9
push dword [ebp - 0x14]
push ebx
push dword [ebp - 4]
push 0x1f
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb454
mov esi, dword [ebp - 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [ebp - 4]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4eb457
mov ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x70], 0
jne 0x4eb736
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push ebx
mov ebx, dword [ebp - 0x3c]
push eax
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x28]
push dword [ebp - 0x14]
push dword [ebp - 0x38]
push dword [ebp - 0x5c]
push dword [ebp - 4]
push dword [ebp - 0x88]
push ecx
push dword [ebp + 8]
call fcn.004d6390
add esp, 0x34
cmp dword [ebp - 0x34], esi
je 0x4eb545
push dword [ebp - 0x60]
push dword [ebp - 0x20]
push esi
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004d0d60
add esp, 0x18
cmp dword [ebp - 0x44], esi
jne 0x4eb554
cmp byte [ebp - 0x28], 0
je 0x4eb617
cmp dword [ebp - 0x24], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x4eb5cb
cmp eax, esi
jg 0x4eb57b
push dword [ebp - 0x30]
push 0
push dword [ebp - 4]
push 0x1c
push edi
call fcn.004ab170
add esp, 0x14
mov esi, eax
jmp 0x4eb5ac
mov edx, dword [ebp - 4]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x30]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4eb617
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [ebp - 0x84]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4eb617
cmp eax, esi
jg 0x4eb5e6
push dword [ebp - 0x14]
push 0
push dword [ebp - 4]
push 0x1f
push edi
call fcn.004ab170
add esp, 0x14
mov esi, eax
jmp 0x4eb617
mov edx, dword [ebp - 4]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [ebp - 0x88]
push dword [ebp - 0x5c]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004d8040
add esp, 0x18
cmp dword [ebp - 0x34], 1
jg 0x4eb640
mov al, byte [ebp - 0x28]
test al, al
je 0x4eb691
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb65c
push 0
push 0
push dword [ebp - 4]
push 0x7b
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb68e
mov edx, dword [ebp - 4]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7b
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 al, byte [ebp - 0x28]
cmp dword [ebp - 0x44], 0
jne 0x4eb69b
test al, al
je 0x4eb6c1
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4eb6ad
mov eax, 0x5de0e4
jmp 0x4eb6be
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [ebp - 0x34], 0
je 0x4eb6e0
push dword [ebp - 0x60]
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004d0d60
add esp, 0x18
mov esi, dword [ebp - 0x10]
xor eax, eax
push 0
cmp esi, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [ebp - 0x88]
push dword [ebp - 0x38]
push dword [ebp - 0x5c]
push dword [ebp - 4]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004c7a50
add esp, 0x24
cmp dword [ebp - 0x34], 0
je 0x4eb73c
push dword [ebp - 0x60]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004d0cd0
add esp, 0x18
jmp 0x4eb73c
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0xa0]
test edx, edx
je 0x4eb792
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb760
push 0
push 1
push edx
push 0x53
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb792
mov ebx, dword [ebp - 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4eb7e5
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 8]
nop
cmp byte [eax + 8], 0x7a
jne 0x4eb7d5
cmp byte [eax + 9], 2
jne 0x4eb7d5
push dword [ebp + 0x10]
push dword [eax + 0x10]
call fcn.0048e8b0
add esp, 8
test eax, eax
je 0x4eb7d2
push ebx
push dword [ebp + 0x18]
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x1c]
push edi
call fcn.004c6bf0
add esp, 0x18
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x4eb7a0
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x10]
cmp esi, 1
je 0x4eb8ed
cmp esi, 2
jne 0x4eb834
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eb81b
push ebx
push edi
push ecx
call fcn.004b9130
add esp, 0xc
push dword [ebp - 0x64]
call fcn.004fbf50
add esp, 4
jmp 0x4eb8ed
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [ebp - 0x64]
mov dword [ecx + ebx*4], eax
call fcn.004fbf50
add esp, 4
jmp 0x4eb8ed
cmp dword [ebp - 0x24], 0
je 0x4eb8a4
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eb854
push ebx
push edi
push ecx
call fcn.004b9130
add esp, 0xc
jmp 0x4eb85d
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb87e
mov edx, dword [ebp - 0x9c]
push 0
push edx
push dword [ebp - 0x4c]
push 5
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb8ed
mov edx, dword [ebp - 0x4c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x9c]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x4eb8dd
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb8be
push 0
push ebx
push 0
push 0xb
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb8ed
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [ebp - 0x2c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4eb90a
push edx
push edi
push ecx
call fcn.004b9130
add esp, 0xc
jmp 0x4eb913
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x4eb937
cmp dword [eax + 0x78], 0
jne 0x4eb937
cmp dword [ebp + 0x24], 0
jne 0x4eb937
cmp dword [eax + 0x70], 0
je 0x4eb937
push eax
call fcn.0048a430
add esp, 4
mov edx, dword [ebp - 0xa0]
test edx, edx
je 0x4eb9e0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4eb95f
push 0
push 1
push edx
push 0x51
push edi
call fcn.004ab170
add esp, 0x14
jmp 0x4eb98e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 1
push edi
call fcn.004f6de0
mov eax, dword [edi]
add esp, 8
cmp byte [eax + 0x51], 0
jne 0x4eb9e0
mov esi, dword [edi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x4eb9b5
cmp dword [esi + 0x18], 0
je 0x4eb9be
push esi
call fcn.00503de0
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_updated
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xc
mov word [esi + 8], ax
mov byte [esi + 0xa], 1
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4eb9f6
mov ecx, dword [ebp - 0x8c]
mov dword [eax + 0xf0], ecx
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x1e8], 0
je 0x4eba13
push dword [ebp - 0x20]
push eax
call fcn.004ae310
add esp, 8
jmp 0x4eba8e
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [eax + 0x138]
jb 0x4eba39
cmp ebx, dword [eax + 0x13c]
jae 0x4eba39
mov eax, dword [eax + 0x134]
mov dword [ebx], eax
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x134], ebx
jmp 0x4eba8e
cmp dword [0x5d2340], 0
je 0x4eba84
mov eax, dword [0x5dde48]
test eax, eax
je 0x4eba55
push eax
call dword [0x5d239c]
add esp, 4
push ebx
call dword [0x5d2378]
sub dword [0x5ddd58], eax
dec dword [0x5ddd7c]
push ebx
call dword [0x5d2370]
mov eax, dword [0x5dde48]
add esp, 8
test eax, eax
je 0x4eba8e
push eax
call dword [0x5d23a4]
jmp 0x4eba8b
push ebx
call dword [0x5d2370]
add esp, 4
mov esi, dword [ebp + 0x14]
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x50]
push ebx
call fcn.004e8910
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x4ebab1
push eax
push ebx
call fcn.00496b50
add esp, 8
test esi, esi
je 0x4ebabf
push esi
push ebx
call fcn.004cdf80
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret