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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x513040]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, ecx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], edx
push esi
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], esi
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x28], esi
jne 0x490e68
call fcn.0048f870
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x490e68
cmp dword [edi + 0x38], esi
jne 0x48fddf
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x48fde8
cmp dword [eax + 0x30], esi
je 0x48fde8
cmp byte [ebx + 0xa5], 0
je 0x48fdfb
mov al, byte [edi + 0x2b]
xor esi, esi
mov dword [esp + 0x54], esi
mov byte [esp + 0xf], al
mov byte [esp + 0x1b], al
jmp 0x48fe25
push 0
push 0
push 0x81
mov edx, edi
mov ecx, ebx
call fcn.004bcb70
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x2b]
mov dword [esp + 0x54], esi
mov byte [esp + 0xf], al
mov byte [esp + 0x1b], al
test esi, esi
jne 0x48fe41
push 0
push 0
mov edx, edi
mov ecx, ebx
call fcn.00498880
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x48fe49
mov dword [esp + 0x10], 1
cmp byte [edi + 0x2b], 1
je 0x48fe56
cmp word [edi + 0x22], 0
jg 0x48fe67
mov edx, edi
mov ecx, ebx
call fcn.00489e10
test eax, eax
jne 0x490e66
push esi
mov edx, edi
mov ecx, ebx
call fcn.0048f9e0
add esp, 4
test eax, eax
jne 0x490e66
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x48feac
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x48feac
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x48fea0
mov dword [esp + 0x1c], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov ecx, ebx
push 0
push dword [edi]
call fcn.00484700
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x490e66
mov ecx, dword [esp + 0x60]
xor edx, edx
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x2c]
inc ecx
mov dword [ebx + 0x2c], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x48ff08
inc ecx
inc edx
mov dword [ebx + 0x2c], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x48fef8
mov dword [esp + 0x68], edx
cmp byte [esp + 0xf], 2
jne 0x48ff2a
mov ecx, dword [ebx + 0x108]
mov eax, dword [edi]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [ebx + 0x108], eax
jmp 0x48ff3d
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov edi, dword [ebx + 8]
test edi, edi
jne 0x48ff69
cmp dword [ebx + 0x84], edi
jne 0x48ff58
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x48ff58
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00457d00
mov edi, eax
test edi, edi
je 0x490e4b
cmp byte [ebx + 0x12], 0
jne 0x48ff76
or dword [edi + 0x98], 0x10
mov eax, dword [ebx + 0x84]
mov edx, ebx
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], edx
mov ecx, dword [edx + 0x60]
test ecx, eax
jne 0x48ffad
bts ecx, esi
mov dword [edx + 0x60], ecx
cmp esi, 1
jne 0x48ffad
mov ecx, edx
call fcn.0048e0d0
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x5c]
bts eax, esi
mov dword [edx + 0x5c], eax
mov eax, dword [esp + 0x10]
or byte [edx + 0x14], al
cmp byte [esp + 0x1b], 2
jne 0x48ffea
push dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, ebx
push 0
push 0
push dword [esp + 0x70]
call fcn.0048fb20
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x88]
mov edx, dword [esp + 0x64]
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
call fcn.00470b30
test eax, eax
jne 0x490e4b
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4900c0
cmp byte [ebx + 0x12], 0
jne 0x4900c0
cmp dword [ebx + 0x88], 0
jne 0x4900c0
cmp byte [ebx + 0xa3], 0
jne 0x4900c0
inc dword [ebx + 0x30]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x5c], edx
cmp dword [edi + 0x70], ecx
jg 0x49008d
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x4900c0
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
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 + 0x24], 0
mov ecx, dword [esp + 0x10]
jne 0x4902bf
cmp dword [esp + 0x64], 0
jne 0x4902bf
test ecx, ecx
jne 0x4902bf
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x2b], 1
je 0x4902bf
cmp esi, 1
je 0x49011f
mov eax, dword [ebx]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x49011f
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.004847a0
mov edx, dword [esp + 0x20]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x4901ef
mov eax, dword [edx]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], edx
jg 0x490164
push eax
push esi
push ecx
mov edx, 0x91
mov ecx, edi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x490197
mov ebx, dword [esp + 0x54]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4901b3
mov ecx, dword [esp + 0x3c]
or edx, 0xffffffff
push ecx
mov ecx, eax
call fcn.00458ba0
add esp, 4
jmp 0x4901eb
test edx, edx
jns 0x4901bb
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
je 0x4901e0
push 0xffffffffffffffff
push ecx
mov edx, eax
mov ecx, edi
call fcn.00458cf0
add esp, 8
jmp 0x4901eb
test ecx, ecx
je 0x4901eb
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xff
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 8]
test esi, esi
je 0x490e13
mov ebx, dword [esp + 0x1c]
nop
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x490258
test byte [edx + 0x1c], 0x80
je 0x490258
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov ecx, dword [edi + 0x6c]
test eax, eax
cmovne edx, eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x54], eax
cmp dword [edi + 0x70], ecx
jg 0x49023e
push edx
push ebx
push eax
mov edx, 0x91
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x4902a7
mov ebx, dword [esp + 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 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x490290
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x490278
push 0
push ebx
push edx
mov edx, 0x91
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x4902a7
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 dword [eax + ecx*4 + 0xc], 0
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4], 0x91
mov esi, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
test esi, esi
jne 0x490200
mov ebx, dword [esp + 0x2c]
jmp 0x490e13
test byte [esp + 0xa0], 0x40
mov eax, 1
mov esi, dword [esp + 0x14]
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [esi + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x24], eax
jne 0x490355
inc dword [ebx + 0x30]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], edx
cmp dword [edi + 0x70], ecx
jg 0x490321
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x490440
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4b
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 0x490440
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x490374
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x490370
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x490360
mov dword [esp + 0x1c], ecx
movzx edx, word [ecx + 0x32]
mov eax, dword [ebx + 0x30]
mov dword [esp + 0x34], edx
movsx edx, dx
lea ecx, [eax + 1]
add eax, edx
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x70], ecx
jg 0x4903c1
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x75
mov ecx, edi
call fcn.00457f50
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4903f4
mov esi, dword [esp + 0x28]
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], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x75
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 + 0x1c]
mov dword [esp + 0x40], eax
call fcn.0048e9b0
mov dword [esp + 0x48], eax
test eax, eax
je 0x490440
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x49042a
push eax
mov edx, 0xfffffff8
call fcn.00458ba0
add esp, 4
jmp 0x490440
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x48]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x20]
mov ecx, ebx
mov edx, dword [esp + 0x60]
inc eax
push eax
push dword [esp + 0x28]
push 0
push 0
push 0
push dword [esp + 0x78]
call fcn.004d6810
mov edx, eax
add esp, 0x18
mov dword [esp + 0x48], edx
test edx, edx
je 0x490e4b
mov eax, dword [edx + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x40], eax
mov al, byte [edx + 0x2e]
mov byte [esp + 0xf], al
mov byte [esp + 0x84], al
cmp al, 1
je 0x4904a1
mov eax, dword [ebx + 0x84]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x30], 1
je 0x4904fb
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4904c8
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x8f
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x4904fb
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x8f
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 edx, dword [esp + 0x5c]
test edx, edx
je 0x490554
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x490521
push 0
push 1
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x490554
mov esi, dword [esp + 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], 0x56
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 + 0x1c], 0
je 0x4905b1
mov eax, dword [esp + 0x34]
xor ecx, ecx
cwde
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x4905a7
mov ebx, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x44]
mov edx, esi
add eax, ecx
push eax
mov eax, dword [ebx + 4]
movsx eax, word [eax + ecx*2]
mov ecx, edi
push eax
push dword [esp + 0x28]
call fcn.00477b60
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x34]
inc ecx
movsx eax, dx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x490570
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
jmp 0x490612
inc dword [ebx + 0x30]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x10], edx
cmp dword [edi + 0x70], ecx
jg 0x4905df
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x87
mov ecx, edi
call fcn.00457f50
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x490612
mov esi, dword [esp + 0x20]
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], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x87
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
je 0x4906df
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
add eax, 2
cdq
push edx
push eax
call fcn.0042f570
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x490656
mov ecx, dword [esp + 0x48]
call fcn.004d78c0
jmp 0x490e4b
mov eax, dword [esp + 0x68]
inc eax
push eax
push 1
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x74]
test eax, eax
js 0x490686
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x40]
test eax, eax
js 0x490694
sub eax, ecx
mov byte [eax + edx], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4906d0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4906d0
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.00458ba0
mov word [esi], 0xbb
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
dec dword [ebx + 0x3c]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x3c], eax
jmp 0x490867
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x490803
inc dword [ebx + 0x30]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0x30]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x490719
mov ecx, dword [ebx]
mov edx, eax
call fcn.00499ce0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x34]
cwde
mov dword [esp + 0x74], ecx
cmp dword [edi + 0x70], ecx
jg 0x490743
push edx
push eax
push dword [esp + 0x4c]
mov edx, 0x61
mov ecx, edi
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x490781
mov esi, dword [esp + 0x44]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
movsx esi, bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x34]
call fcn.00458db0
mov ecx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], ecx
jg 0x4907c7
mov ecx, dword [esp + 0x34]
mov edx, 0x8a
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x48]
push dword [esp + 0x18]
push dword [esp + 0x34]
call fcn.00457f90
add esp, 0x10
jmp 0x49085e
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], edx
movsx edx, bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd8a
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x49085e
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x24], 1
cmp dword [edi + 0x70], ecx
jg 0x49082b
push 0
push edx
push dword [esp + 0x60]
mov edx, 0x9c
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x49085e
mov esi, dword [esp + 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 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
call fcn.004d78c0
cmp byte [esp + 0x1b], 2
je 0x490932
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x30], eax
jne 0x4908d4
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [edi + 0x70], edx
jg 0x4908a1
push eax
push eax
push eax
lea edx, [eax + 0xf]
mov ecx, edi
call fcn.00457f50
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x4908d4
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
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
lea eax, [esp + 0x70]
mov edx, esi
push eax
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
push dword [esp + 0x54]
push dword [esp + 0x2c]
push 8
push 0x71
call fcn.0049ee60
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x490936
mov edx, dword [edi + 0x6c]
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x490911
mov dword [edi + 0x6c], eax
jmp 0x49093e
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x490923
mov eax, 0x515db8
mov dword [eax + 8], edx
jmp 0x49093e
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x49093e
mov al, byte [esp + 0xf]
test al, al
je 0x4909c8
cmp byte [esi + 0x2b], 1
je 0x490a63
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
cmp byte [eax + edx], 0
je 0x490a63
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x6c]
cwde
cmp dword [edi + 0x70], ecx
jg 0x490989
push eax
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x44]
push edx
mov edx, 0x1c
call fcn.00457f90
add esp, 0x10
jmp 0x490a63
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
movsx ebx, si
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x490a67
cmp dword [esp + 0x1c], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov dword [esp + 0x38], edx
je 0x490b5f
cmp eax, edx
jg 0x490a02
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x24
mov ecx, edi
call fcn.00457f50
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x490a35
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x24
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
cmp byte [esi + 0x2b], 1
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
jne 0x490b12
cmp eax, ecx
jg 0x490ada
push dword [esp + 0x10]
push 0
push edx
mov edx, 0x5e
mov ecx, edi
call fcn.00457f50
add esp, 0xc
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x2b], 1
jne 0x490cb4
mov esi, dword [esi + 0x34]
test esi, esi
je 0x490a8b
mov eax, dword [esp + 0x50]
nop dword [eax]
cmp dword [esi], eax
je 0x490a8b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x490a80
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004c4a90
mov eax, dword [ebx + 0x84]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x490c02
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x490bc2
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x7a
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x490bf5
mov ebx, dword [esp + 0x2c]
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 [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x490a67
cmp eax, ecx
jg 0x490b27
push 0
push dword [esp + 0x14]
push edx
mov edx, 0x86
jmp 0x490a59
mov esi, dword [esp + 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 [esp + 0x10]
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
jmp 0x490a67
cmp eax, edx
jg 0x490b82
push dword [esp + 0x10]
mov edx, 0x2e
mov ecx, edi
push 0
push dword [esp + 0x60]
call fcn.00457f50
mov dword [esp + 0x44], eax
jmp 0x490a60
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x2e
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 + 0x38]
mov dword [esp + 0x38], eax
jmp 0x490a67
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
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
cmp dword [ebx + 0x84], 0
jne 0x490c02
mov byte [ebx + 0x14], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x490c25
push dword [esp + 0x10]
mov edx, 7
mov ecx, edi
push 1
push 0
call fcn.00457f50
add esp, 0xc
mov edx, eax
jmp 0x490c5c
mov ebx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x490c9b
test edx, edx
jns 0x490c6c
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x490c8d
push 0xfffffffffffffff5
push esi
mov edx, eax
mov ecx, edi
call fcn.00458cf0
add esp, 8
jmp 0x490c9b
test esi, esi
je 0x490c9b
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf5
inc dword [esi + 0xc]
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x490cef
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x490cef
push dword [esp + 0x40]
cmp byte [ebx + 0x12], 0
mov ecx, ebx
push dword [esp + 0x88]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x34]
push edx
push dword [esp + 0x88]
mov edx, esi
push dword [esp + 0x88]
push dword [esp + 0x74]
call fcn.00490eb0
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x490d37
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x3c]
jns 0x490d20
push edx
mov edx, edi
call fcn.00458810
mov ecx, dword [esp + 0x4c]
add esp, 4
call fcn.004d78c0
jmp 0x490e13
mov ecx, dword [ecx + 0x44]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x48]
call fcn.004d78c0
jmp 0x490e13
cmp dword [esp + 0x1c], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x38]
je 0x490dac
lea edx, [esi + 1]
cmp eax, ecx
jg 0x490d67
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x27
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x490d9a
mov ebx, dword [esp + 0x28]
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], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x490e07
mov eax, 0x515db8
jmp 0x490e10
cmp eax, ecx
jg 0x490dc6
push 0
push esi
push 0
mov edx, 9
mov ecx, edi
call fcn.00457f50
add esp, 0xc
jmp 0x490df5
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 9
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
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x490e07
mov eax, 0x515db8
jmp 0x490e10
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x490e32
cmp dword [ebx + 0x88], 0
jne 0x490e32
cmp dword [ebx + 0x80], 0
je 0x490e32
mov ecx, ebx
call fcn.0049a440
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x490e4b
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.0048f900
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x490e68
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x108], ecx
jmp 0x490e68
xor esi, esi
mov ebx, dword [esp + 0x50]
mov ecx, ebx
mov edx, dword [esp + 0x60]
call fcn.0048d7c0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x490e88
mov edx, eax
mov ecx, ebx
call fcn.00472a80
test esi, esi
je 0x490e95
mov edx, esi
mov ecx, ebx
call fcn.0042f190
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f5edb
mov esp, ebp
pop ebp
ret