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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, ecx
mov dword [esp + 0x64], edx
xor eax, eax
mov dword [esp + 0x14], ebx
push esi
xor esi, esi
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov eax, dword [ebx]
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], esi
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x24], esi
jne 0x4b916f
call fcn.004b7bb0
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4b916f
push esi
push esi
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.004e0190
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x2b]
mov dword [esp + 0x8c], esi
mov byte [esp + 0x23], al
test esi, esi
jne 0x4b80bc
push esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.004c0060
add esp, 8
mov dword [esp + 0x30], esi
test eax, eax
je 0x4b80c4
mov dword [esp + 0x30], 1
mov edx, edi
mov ecx, ebx
call fcn.004b2400
test eax, eax
jne 0x4b916d
test esi, esi
mov edx, edi
mov ecx, ebx
setne al
push eax
call fcn.004b7d20
add esp, 4
test eax, eax
jne 0x4b916d
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4b811f
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x38], esi
cmp dword [eax], ecx
je 0x4b811f
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4b8113
mov dword [esp + 0x38], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov edx, 9
mov dword [esp + 0x14], ecx
push dword [eax + ecx]
mov ecx, ebx
push 0
push dword [edi]
call fcn.004acec0
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x4b916d
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x28]
inc ecx
mov dword [ebx + 0x28], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4b8180
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4b8170
mov dword [esp + 0x70], edx
cmp byte [esp + 0x23], 2
jne 0x4b81a2
mov ecx, dword [ebx + 0xf8]
mov eax, dword [edi]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [ebx + 0xf8], eax
jmp 0x4b81bb
mov eax, dword [esp + 0x88]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov edi, dword [ebx + 8]
lea eax, [ebx + 0x74]
mov dword [esp + 0x48], eax
test edi, edi
je 0x4b81d3
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], edi
jmp 0x4b8202
cmp dword [eax], 0
jne 0x4b81e4
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4b81e4
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.004843a0
mov edi, eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0x78], ecx
mov eax, ecx
mov dword [esp + 0x58], edi
test edi, edi
je 0x4b9152
cmp byte [ebx + 0x12], 0
jne 0x4b820f
or dword [edi + 0xa0], 0x10
mov eax, dword [eax]
mov edx, ebx
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x3c], edx
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x4b8242
bts ecx, esi
mov dword [edx + 0x54], ecx
cmp esi, 1
jne 0x4b8242
mov ecx, edx
call fcn.004b6500
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x50]
bts eax, esi
mov dword [edx + 0x50], eax
mov eax, dword [esp + 0x30]
or byte [edx + 0x14], al
cmp byte [esp + 0x23], 2
jne 0x4b827e
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
push dword [ebp + 8]
call fcn.004b7e10
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x90]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], eax
call fcn.0049ac60
test eax, eax
jne 0x4b9152
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4b8345
cmp byte [ebx + 0x12], 0
jne 0x4b8345
cmp dword [ebx + 0x78], 0
jne 0x4b8345
cmp byte [ebx + 0x95], 0
jne 0x4b8345
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x74]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x60], edx
cmp dword [edi + 0x78], ecx
jg 0x4b8312
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.004845f0
add esp, 0xc
jmp 0x4b8345
mov esi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
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
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jne 0x4b853e
cmp dword [ebp + 8], 0
jne 0x4b853e
test ecx, ecx
jne 0x4b853e
cmp byte [edx + 0x2b], 1
je 0x4b853e
cmp esi, 1
je 0x4b83a3
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x4b83a3
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.004acf50
mov edx, dword [esp + 0x38]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x4b8476
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x54], eax
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edi + 0x74]
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
cmp dword [edi + 0x78], edx
jg 0x4b83ef
push eax
push esi
push ecx
mov edx, 0x90
mov ecx, edi
call fcn.004845f0
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x58]
add eax, 0x70
jmp 0x4b8425
mov ebx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x70]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4b843f
mov edx, dword [esp + 0x54]
push edx
or edx, 0xffffffff
call fcn.00485100
add esp, 4
jmp 0x4b8476
test edx, edx
jns 0x4b8447
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x54]
je 0x4b846b
push 0xffffffffffffffff
push edx
mov edx, eax
mov ecx, edi
call fcn.00485350
add esp, 8
jmp 0x4b8476
test edx, edx
je 0x4b8476
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 8]
test esi, esi
je 0x4b9120
mov ebx, dword [esp + 0x38]
nop dword [eax]
mov ecx, dword [edi + 0x74]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x78], ecx
jg 0x4b84b7
push 0
push ebx
push eax
mov edx, 0x90
mov ecx, edi
call fcn.004845f0
add esp, 0xc
lea edx, [edi + 0x70]
jmp 0x4b84ec
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea edx, [edi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x4b852a
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x80
je 0x4b852a
mov eax, dword [edi]
mov ecx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4b8511
mov ecx, 0x5abdf0
jmp 0x4b851c
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 2]
lea ecx, [eax + ecx*4]
mov edx, dword [esp + 0x60]
or eax, 0xffffffff
test edx, edx
cmovne eax, edx
mov dword [ecx], eax
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4b8490
mov ebx, dword [esp + 0x1c]
jmp 0x4b9120
test byte [esp + 0xa8], 0x40
mov eax, 1
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [edx + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x14], eax
jne 0x4b85e3
inc dword [ebx + 0x2c]
lea esi, [edi + 0x74]
mov ecx, dword [esi]
lea eax, [edi + 0x78]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4b85b0
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.004845f0
add esp, 0xc
jmp 0x4b86e6
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
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 0x4b86e6
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4b8604
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4b8600
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4b85f0
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x2c]
lea esi, [edi + 0x74]
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
lea edx, [eax + 1]
mov dword [esp + 0x44], edx
movsx edx, cx
add eax, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
inc eax
mov dword [ebx + 0x28], eax
lea eax, [edi + 0x78]
mov ecx, dword [esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4b865d
push 0
push edx
push dword [esp + 0x3c]
mov edx, 0x74
mov ecx, edi
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4b868f
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
call fcn.004b6e90
mov dword [esp + 0x58], eax
test eax, eax
je 0x4b86e6
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4b86c5
push eax
mov edx, 0xfffffff7
call fcn.00485100
add esp, 4
jmp 0x4b86db
mov eax, dword [edx + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
lea eax, [edi + 0x78]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
inc eax
push eax
push dword [esp + 0x18]
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.004f7c80
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x4b9152
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x4c], eax
mov al, byte [edx + 0x32]
mov byte [esp + 0xf], al
mov byte [esp + 0x84], al
cmp al, 1
je 0x4b8746
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x34], 1
mov edx, dword [esp + 0x18]
je 0x4b87a9
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4b8773
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x8e
mov ecx, edi
call fcn.004845f0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4b87a9
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x8e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b87ff
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4b87cd
push 0
push 1
push eax
mov edx, 0x55
mov ecx, edi
call fcn.004845f0
add esp, 0xc
jmp 0x4b87ff
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x55
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
cmp dword [esp + 0x30], 0
je 0x4b8865
mov eax, dword [esp + 0x38]
xor ecx, ecx
cwde
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4b885b
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
nop dword [eax]
mov eax, dword [esp + 0x44]
mov edx, ebx
add eax, ecx
push eax
mov eax, dword [esi + 4]
movsx eax, word [eax + ecx*2]
mov ecx, edi
push eax
push dword [esp + 0x30]
call fcn.004a0f30
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x38]
inc ecx
movsx eax, dx
mov dword [esp + 0x48], ecx
cmp ecx, eax
jl 0x4b8820
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x4b88c8
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x18]
inc edx
mov dword [ebx + 0x2c], edx
mov ecx, dword [esi]
mov dword [esp + 0x14], edx
cmp dword [eax], ecx
jg 0x4b8896
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x86
mov ecx, edi
call fcn.004845f0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4b88c8
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0
lea ecx, [ebx + 0x2c]
je 0x4b8996
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
movzx eax, ax
mov dword [esp + 0x48], eax
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.004600a0
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4b890f
mov ecx, dword [esp + 0x58]
call fcn.004f88d0
jmp 0x4b9152
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.00533fc0
mov edx, dword [esp + 0x70]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov byte [esi + edx + 1], 0
test eax, eax
js 0x4b8939
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4b8947
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b897c
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4b897c
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x70]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00485100
add esp, 4
mov word [esi], 0xb6
mov dword [esi + 0x10], 0
dec dword [ebx + 0x38]
lea edx, [edi + 0x70]
mov eax, dword [ebx + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], edx
jmp 0x4b8af0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b8a7a
inc dword [ecx]
mov edx, eax
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
movsx ecx, cx
push ecx
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x50], 0
call fcn.004c15c0
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, 0x60
push eax
push dword [esp + 0x1c]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x54]
call fcn.00484990
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4b8a17
push dword [esp + 0x44]
mov edx, 0x89
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.004845f0
add esp, 0xc
lea edx, [edi + 0x70]
mov ecx, eax
jmp 0x4b8a53
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi], eax
lea edx, [edi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
mov dword [esp + 0x10], edx
cmp byte [eax + 0x57], 0
jne 0x4b8ae3
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x38]
movsx edx, bx
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4b8adf
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x48], 1
cmp dword [eax], ecx
jg 0x4b8aab
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x9b
mov ecx, edi
call fcn.004845f0
lea eax, [edi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4b8ae3
mov ebx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
lea eax, [edi + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x9b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
call fcn.004f88d0
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x23], 2
je 0x4b8bd3
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x44], eax
jne 0x4b8b62
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
cmp dword [eax], ecx
jg 0x4b8b31
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.004845f0
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4b8b62
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x34]
push 8
push 0x70
call fcn.004c6220
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4b8bd7
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
lea edx, [eax - 1]
cmp ecx, edx
jne 0x4b8ba3
mov dword [esi], edx
jmp 0x4b8bdf
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4b8bb9
mov ecx, dword [esp + 0x50]
mov eax, 0x5abde4
mov dword [eax + 8], ecx
jmp 0x4b8bdf
mov eax, dword [esp + 0x10]
test ecx, ecx
cmovns edx, ecx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x4b8bdf
mov al, byte [esp + 0xf]
test al, al
je 0x4b8c97
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp byte [eax + 0x2b], 1
je 0x4b8e2d
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x28]
cmp byte [eax + ecx], 0
je 0x4b8e2d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4b8c34
push dword [esp + 0x14]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x58]
push dword [esp + 0x2c]
call fcn.004845f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x4b8c71
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4b8e29
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
cwde
mov dword [ecx + 0x10], eax
jmp 0x4b8e29
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
je 0x4b8dcd
cmp eax, ecx
jg 0x4b8cd3
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x26
mov ecx, edi
call fcn.004845f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4b8d08
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x26
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
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x4b8d74
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4b8d3e
push dword [esp + 0x14]
mov edx, 0x5d
mov ecx, edi
push 0
push dword [esp + 0x3c]
call fcn.004845f0
add esp, 0xc
jmp 0x4b8e29
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b8e29
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4b8d9a
push 0
push dword [esp + 0x18]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x3c]
call fcn.004845f0
add esp, 0xc
jmp 0x4b8e29
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b8e29
cmp eax, ecx
jg 0x4b8dec
push dword [esp + 0x14]
mov edx, 0x2d
mov ecx, edi
push 0
push dword [esp + 0x70]
call fcn.004845f0
add esp, 0xc
jmp 0x4b8e25
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x2d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x2b], 1
jne 0x4b8fa7
mov esi, dword [edx + 0x34]
test esi, esi
je 0x4b8e51
mov eax, dword [esp + 0x5c]
cmp dword [esi], eax
je 0x4b8e51
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4b8e46
mov ecx, ebx
call fcn.004e7f40
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x4b8ed9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
cmp dword [eax], edx
jg 0x4b8e97
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x79
mov ecx, edi
call fcn.004845f0
add esp, 0xc
jmp 0x4b8ecc
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x79
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 eax, dword [esp + 0x78]
cmp dword [eax], 0
jne 0x4b8ed9
mov byte [ebx + 0x14], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4b8f0a
push dword [esp + 0x14]
mov edx, 0xa
mov ecx, edi
push 1
push 0
call fcn.004845f0
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, eax
jmp 0x4b8f47
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4b8f78
test ecx, ecx
jns 0x4b8f56
mov ecx, dword [edx]
dec ecx
mov edx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4b8f97
push 0xfffffffffffffff4
push esi
mov edx, eax
mov ecx, edi
call fcn.00485350
add esp, 8
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
jle 0x4b8fe0
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4b8fe0
test esi, esi
je 0x4b8f7c
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4b8f7c
push dword [esp + 0x4c]
cmp byte [ebx + 0x12], 0
push dword [esp + 0x88]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x8c]
push ecx
push dword [esp + 0xac]
mov ecx, ebx
call fcn.004b91b0
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x4b9027
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4b9011
push edx
mov edx, edi
call fcn.00484e10
mov ecx, dword [esp + 0x5c]
add esp, 4
call fcn.004f88d0
jmp 0x4b9120
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x58]
call fcn.004f88d0
jmp 0x4b9120
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
je 0x4b909e
mov edx, dword [esp + 0x40]
inc edx
cmp eax, ecx
jg 0x4b905e
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
mov ecx, edi
call fcn.004845f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b90f8
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
inc ebx
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4b90f8
cmp eax, ecx
jg 0x4b90bf
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.004845f0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4b90f8
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov esi, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4b9109
mov eax, 0x5abde4
jmp 0x4b911d
mov ecx, dword [esp + 0x40]
lea eax, [esi - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], esi
cmp byte [ebx + 0x12], 0
jne 0x4b9139
cmp dword [ebx + 0x78], 0
jne 0x4b9139
cmp dword [ebx + 0x70], 0
je 0x4b9139
mov ecx, ebx
call fcn.004c1c80
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4b9152
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.004b7c40
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x4b916f
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xf8], ecx
jmp 0x4b916f
xor esi, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
call fcn.004b5e20
mov eax, dword [ebp + 8]
test eax, eax
je 0x4b918e
mov edx, eax
mov ecx, ebx
call fcn.0049c740
test esi, esi
je 0x4b919b
mov edx, esi
mov ecx, ebx
call fcn.0045fcb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret