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

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, dword [esp + 0xac]
push ebp
push esi
mov esi, dword [esp + 0xb0]
mov ebp, dword [esi]
xor eax, eax
push edi
xor edi, edi
cmp dword [esi + 0x44], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
jne 0x4876c2
cmp byte [ebp + 0x40], al
jne 0x4876c2
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x4869ff
test byte [eax + 6], 0x80
je 0x4869ff
cmp dword [eax + 0x3c], edi
jne 0x4869ff
mov ecx, dword [eax]
push eax
push ebp
mov dword [esp + 0x30], ecx
mov dword [eax], edi
call fcn.00462600
add esp, 8
mov dword [esp + 0xbc], edi
cmp dword [ebx + 0x10], edi
je 0x4876c2
push ebx
push esi
call fcn.0048a110
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x4876c2
mov edx, dword [ebx + 0x44]
push edx
push ebp
call fcn.00442960
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x18], eax
shl eax, 4
mov eax, dword [eax + ecx]
push eax
push edi
push edx
push 0x12
push esi
call fcn.00481160
add esp, 0x1c
test eax, eax
jne 0x4876c2
movzx eax, byte [ebx + 0x2c]
lea ecx, [esp + 0x78]
push ecx
push edi
push 0x6c
shr eax, 5
and eax, 1
push ebx
push esi
mov dword [esp + 0x58], eax
call fcn.004893b0
xor edx, edx
cmp dword [ebx + 0xc], edi
push ebx
setne dl
push esi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
call fcn.00460080
add esp, 0x1c
test eax, eax
jne 0x4876c2
mov eax, dword [esp + 0x78]
push eax
push ebx
push esi
call fcn.0048a160
add esp, 0xc
test eax, eax
jne 0x4876c2
push esi
call fcn.00464060
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x4876c2
cmp byte [esi + 0x12], 0
jne 0x486ac3
push ebp
call fcn.0045a560
add esp, 4
cmp dword [esp + 0xbc], edi
jne 0x486ad6
cmp dword [esp + 0x54], edi
jne 0x486ad6
xor eax, eax
jmp 0x486adb
mov eax, 1
mov ecx, dword [esp + 0x10]
push ecx
push eax
push esi
call fcn.0045f640
add esp, 0xc
cmp dword [esp + 0xc0], edi
jne 0x486b19
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc4]
push edx
push eax
mov eax, dword [esp + 0xc4]
push ebx
push esi
call fcn.00486370
add esp, 0x10
test eax, eax
jne 0x487666
mov ecx, dword [esp + 0x10]
push ecx
mov edi, ebx
mov ecx, esi
call fcn.00485260
add esp, 4
cmp dword [esp + 0xbc], 0
mov dword [esp + 0x1c], eax
je 0x486cf4
mov eax, dword [esp + 0xbc]
lea edx, [esp + 0x7c]
push edx
push eax
push esi
call fcn.00485630
add esp, 0xc
test eax, eax
jne 0x4876c2
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0xbc]
add ecx, 1
cmp dword [esp + 0x54], 0
mov dword [esp + 0x24], ecx
mov ecx, dword [eax]
mov dword [esp + 0x5c], edx
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
jne 0x486ba3
mov eax, dword [esp + 0x10]
push ebx
push eax
xor edi, edi
mov eax, esi
call fcn.004851a0
add esp, 8
test eax, eax
je 0x486c7f
mov edi, dword [esi + 0x48]
lea ecx, [edi + 1]
push esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], edi
mov dword [esi + 0x48], ecx
call fcn.00479500
push esi
mov dword [esp + 0x1c], eax
call fcn.00479500
mov edx, dword [esp + 0x28]
push edx
push edi
push 0x35
push ebp
mov dword [esp + 0x28], eax
call fcn.00457ef0
mov eax, dword [esp + 0x98]
push eax
push 0x14
push ebp
call fcn.00457e90
mov ecx, dword [esp + 0x48]
push ecx
push 0x29
push ebp
mov dword [esp + 0x94], eax
call fcn.00457e90
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x8c]
push edx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x54]
push eax
push ecx
push 0x2d
push ebp
call fcn.00457de0
mov edx, dword [esp + 0x54]
add esp, 0x44
push edx
push edi
push 0x43
push ebp
call fcn.00457ef0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push edi
push 0x44
push ebp
call fcn.00457de0
mov edx, dword [esp + 0x88]
push edx
push 0
push 0x10
push ebp
call fcn.00457ef0
mov eax, dword [esp + 0x94]
push eax
push ebp
call fcn.00458250
mov ecx, dword [esp + 0x50]
push ecx
push esi
call fcn.00479530
mov edx, dword [esp + 0x54]
add esp, 0x44
push edx
push esi
call fcn.00479530
add esp, 8
mov edx, dword [esp + 0x20]
test byte [ebx + 0x2c], 0x10
je 0x486caf
movsx edi, word [ebx + 0x26]
test edi, edi
jle 0x486caf
mov eax, dword [ebx + 4]
add eax, 0x17
movzx edx, byte [eax]
shr edx, 1
and edx, 1
add dword [esp + 0x18], edx
add eax, 0x18
sub edi, 1
jne 0x486c97
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jne 0x486d9c
test edx, edx
je 0x486ece
movsx eax, word [ebx + 0x26]
sub eax, dword [esp + 0x18]
cmp edx, eax
je 0x486ec2
push edx
push eax
mov eax, dword [esp + 0xc0]
push ecx
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.0045aec0
add esp, 0x18
jmp 0x4876c2
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x90], esi
mov dword [esp + 0x2c], 0xffffffff
je 0x486d4b
mov eax, dword [eax]
jmp 0x486d4d
xor eax, eax
cmp eax, edi
mov dword [esp + 0x20], eax
jle 0x486c7f
mov dword [esp + 0x14], edi
lea ecx, [ecx]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx]
push eax
lea ecx, [esp + 0x94]
push ecx
call fcn.0048c620
add esp, 8
test eax, eax
jne 0x4876c2
mov edx, dword [esp + 0x20]
add dword [esp + 0x14], 0x18
add edi, 1
cmp edi, edx
jl 0x486d60
jmp 0x486c83
mov edi, dword [ecx + 4]
cmp edx, edi
je 0x486db8
push edi
push edx
push str._d_values_for__d_columns
push esi
call fcn.0045aec0
add esp, 0x10
jmp 0x4876c2
xor eax, eax
test edi, edi
jle 0x486dd2
mov edi, edi
mov edx, dword [ecx]
mov dword [edx + eax*8 + 4], 0xffffffff
add eax, 1
cmp eax, dword [ecx + 4]
jl 0x486dc0
cmp dword [ecx + 4], 0
mov dword [esp + 0x10], 0
jle 0x486ece
xor edi, edi
cmp word [ebx + 0x26], di
jle 0x486e47
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax]
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx*8]
push eax
call fcn.0045afd0
add esp, 8
test eax, eax
je 0x486e2a
movsx ecx, word [ebx + 0x26]
add dword [esp + 0x14], 0x18
add edi, 1
cmp edi, ecx
jl 0x486df0
jmp 0x486e47
mov edx, dword [esp + 0xc0]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
mov dword [ecx + eax*8 + 4], edi
movsx edx, word [ebx + 0x24]
cmp edi, edx
jne 0x486e47
mov dword [esp + 0x40], eax
movsx eax, word [ebx + 0x26]
cmp edi, eax
jl 0x486e77
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov edi, dword [esp + 0x10]
mov eax, dword [edx + edi*8]
push eax
call fcn.00478bf0
add esp, 4
test eax, eax
je 0x486e94
cmp dword [esp + 0x44], 0
jne 0x486e94
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc0]
add eax, 1
cmp eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
jl 0x486de4
jmp 0x486ece
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
mov ecx, dword [eax + edi*8]
mov edx, dword [esp + 0xb8]
push ecx
push 0
push edx
push str.table__S_has_no_column_named__s
push esi
call fcn.0045aec0
add esp, 0x14
mov byte [esi + 0x11], 1
jmp 0x4876c2
test edx, edx
jle 0x486ece
movsx eax, word [ebx + 0x24]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x18], 0x80
je 0x486ef1
add dword [esi + 0x4c], 1
mov eax, dword [esi + 0x4c]
push eax
push 0
push 0x17
push ebp
mov dword [esp + 0x7c], eax
call fcn.00457ef0
add esp, 0x10
cmp dword [esp + 0x58], 0
jne 0x486f51
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push 0xffffffffffffffff
push 0x33
push ebx
push esi
call fcn.00486160
mov edx, dword [esp + 0x58]
mov edi, eax
lea ecx, [edi*4 + 4]
push ecx
push edx
call fcn.0043fd50
add esp, 0x24
test eax, eax
mov dword [esp + 0x4c], eax
je 0x4876c2
xor eax, eax
test edi, edi
jle 0x486f51
mov edx, dword [esp + 0x4c]
lea esp, [esp]
add dword [esi + 0x4c], 1
mov ecx, dword [esi + 0x4c]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, edi
jl 0x486f40
cmp dword [esp + 0x34], 0
je 0x486f78
mov eax, dword [esp + 0x2c]
push eax
push 0x67
push ebp
call fcn.00457e90
push ebp
mov dword [esp + 0x78], eax
call fcn.004580e0
add esp, 0x10
mov dword [esp + 0x50], eax
jmp 0x486faa
cmp dword [esp + 0xbc], 0
je 0x486faa
mov ecx, dword [esp + 0x80]
push ecx
push 0x14
push ebp
call fcn.00457e90
mov edx, dword [esp + 0x30]
push edx
push 0x29
push ebp
mov dword [esp + 0x68], eax
call fcn.00457e90
add esp, 0x18
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x4c]
movsx ecx, word [ebx + 0x26]
lea edi, [eax + 1]
lea eax, [ecx + eax + 1]
mov dword [esi + 0x4c], eax
test byte [ebx + 0x2c], 0x10
mov dword [esp + 0x74], edi
mov dword [esp + 0x60], edi
je 0x486fd6
add edi, 1
add eax, 1
mov dword [esp + 0x60], edi
mov dword [esi + 0x4c], eax
lea edx, [edi + 1]
push ebp
mov dword [esp + 0x68], edx
call fcn.00457f10
add esp, 4
test byte [esp + 0x78], 1
mov dword [esp + 0x14], eax
je 0x4871d1
movsx eax, word [ebx + 0x26]
add eax, 1
push eax
push esi
call fcn.00479570
mov edi, eax
mov eax, dword [esp + 0x48]
add esp, 8
test eax, eax
mov dword [esp + 0x38], edi
push edi
jge 0x487024
push 0xffffffffffffffff
push 0x17
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x487084
cmp dword [esp + 0x38], 0
je 0x48703e
mov ecx, dword [esp + 0x30]
push eax
push ecx
push 0x2b
push ebp
call fcn.00457de0
add esp, 0x14
jmp 0x487055
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8]
push edx
push esi
call fcn.004792f0
add esp, 0xc
push edi
push 0x4d
push ebp
call fcn.00457e90
push edi
push 0xffffffffffffffff
push 0x17
push ebp
mov dword [esp + 0x40], eax
call fcn.00457ef0
mov eax, dword [esp + 0x40]
push eax
push ebp
call fcn.00458250
push edi
push 0x23
push ebp
call fcn.00457e90
add esp, 0x30
cmp word [ebx + 0x26], 0
mov dword [esp + 0x10], 0
jle 0x487167
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
add edi, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], 0
mov edi, edi
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x4870e9
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x4870e9
mov ecx, dword [ecx]
mov edi, dword [esp + 0x10]
add ecx, 4
lea ecx, [ecx]
cmp dword [ecx], edi
je 0x4870de
add eax, 1
add ecx, 8
cmp eax, edx
jl 0x4870d0
mov ecx, dword [esp + 0xc0]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x4870f7
cmp dword [esp + 0x28], edx
je 0x487100
test ecx, ecx
je 0x487115
cmp eax, dword [ecx + 4]
jl 0x487115
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax + 4]
push edi
push ecx
push esi
call fcn.004792f0
jmp 0x487141
test edx, edx
push edi
je 0x48712d
mov edx, dword [esp + 0x30]
push eax
push edx
push 0x2b
push ebp
call fcn.00457de0
add esp, 0x14
jmp 0x487144
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 8]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
push esi
call fcn.00479350
add esp, 0xc
mov eax, dword [esp + 0x10]
movsx ecx, word [ebx + 0x26]
add dword [esp + 0x24], 0x18
add eax, 1
add edi, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
jl 0x4870b0
cmp dword [esp + 0x58], 0
mov edi, dword [esp + 0x38]
jne 0x48718d
movsx edx, word [ebx + 0x26]
push edx
lea eax, [edi + 1]
push eax
push 0x2c
push ebp
call fcn.00457ef0
push ebx
push ebp
call fcn.00485120
add esp, 0x18
mov ecx, dword [esp + 0x14]
movsx eax, word [ebx + 0x26]
mov edx, dword [esp + 0xc4]
push ecx
push edx
mov edx, dword [esp + 0x5c]
mov ecx, edi
sub ecx, eax
sub ecx, 1
push ecx
push ebx
push 1
push 0
push 0x6c
push edx
push esi
call fcn.004898d0
movsx eax, word [ebx + 0x26]
add eax, 1
push eax
push edi
push esi
call fcn.004795a0
mov edi, dword [esp + 0x90]
add esp, 0x30
cmp dword [esp + 0x58], 0
jne 0x487564
test byte [ebx + 0x2c], 0x10
je 0x4871f4
mov ecx, dword [esp + 0x74]
push ecx
push 0
push 0x1a
push ebp
call fcn.00457ef0
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x4872f8
cmp dword [esp + 0x34], 0
push edi
je 0x487262
mov edx, dword [esp + 0x30]
push eax
push edx
push 0x2b
push ebp
call fcn.00457de0
add esp, 0x14
test byte [ebx + 0x2c], 0x10
jne 0x4872d4
push edi
push 0x4d
push ebp
call fcn.00457e90
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
push eax
push edi
push ecx
push 0x43
push ebp
call fcn.00457de0
mov edx, dword [esp + 0x64]
push edx
push ebp
call fcn.00458250
add esp, 0x28
push edi
push 0x23
push ebp
call fcn.00457e90
add esp, 0xc
jmp 0x487333
cmp dword [esp + 0xc0], 0
je 0x487280
mov ecx, dword [esp + 0x60]
add ecx, eax
push ecx
push 0x1f
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x487219
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8]
push edx
push esi
call fcn.004792f0
push 0xffffffffffffffff
push ebp
call fcn.004585e0
add esp, 0x14
test eax, eax
je 0x487219
cmp byte [eax], 0x1a
jne 0x487219
test byte [ebx + 0x2c], 0x10
jne 0x4872d4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], 1
mov byte [eax], 0x43
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
jmp 0x487333
push ebp
call fcn.004580e0
add eax, 2
push eax
push edi
push 0x4c
push ebp
call fcn.00457ef0
add esp, 0x14
push edi
push 0x23
push ebp
call fcn.00457e90
add esp, 0xc
jmp 0x487333
test byte [ebx + 0x2c], 0x10
jne 0x487325
cmp dword [esp + 0x44], 0
jne 0x487325
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
push eax
push edi
push ecx
push 0x43
push ebp
call fcn.00457de0
add esp, 0x14
mov dword [esp + 0x70], 1
jmp 0x487333
push edi
push 0
push 0x1a
push ebp
call fcn.00457ef0
add esp, 0x10
cmp dword [esp + 0x1c], 0
jle 0x48734e
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 8]
push edi
push edx
push 0x7f
push eax
call fcn.00457ef0
add esp, 0x10
xor eax, eax
cmp word [ebx + 0x26], ax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
jle 0x4873e3
mov edi, dword [esp + 0x64]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edi
mov edi, edi
movsx ecx, word [ebx + 0x24]
cmp eax, ecx
jne 0x487388
push edi
push 0
push 0x1a
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x4873c4
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jne 0x48744d
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
test byte [edx + ecx + 0x17], 2
je 0x487447
add dword [esp + 0x18], 1
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx + 4]
push edi
push edx
push esi
call fcn.004792f0
add esp, 0xc
mov eax, dword [esp + 0x10]
movsx ecx, word [ebx + 0x26]
add dword [esp + 0x1c], 0x18
add eax, 1
add edi, 1
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], edi
jl 0x487370
test byte [ebx + 0x2c], 0x10
je 0x4874ea
mov edx, dword [esp + 0x3c]
push ebx
push edx
call fcn.0045c370
push ebx
push esi
mov edi, eax
call fcn.0045d2f0
movsx ecx, word [ebx + 0x26]
mov eax, dword [esp + 0x84]
push 0xfffffffffffffff6
push edi
push eax
add ecx, 2
push ecx
push 1
push 0xf
push ebp
call fcn.0045a660
mov eax, dword [esp + 0xf0]
add esp, 0x2c
cmp eax, 0xa
jne 0x487432
mov eax, 2
push eax
push ebp
call fcn.00458230
push esi
call fcn.0045f6a0
add esp, 0xc
jmp 0x487564
sub eax, dword [esp + 0x18]
jmp 0x487472
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x487481
mov ecx, dword [ecx]
mov edi, dword [esp + 0x10]
add ecx, 4
nop
cmp dword [ecx], edi
je 0x48746e
add eax, 1
add ecx, 8
cmp eax, edx
jl 0x487460
mov edi, dword [esp + 0x38]
test eax, eax
jl 0x4873ae
mov ecx, dword [esp + 0xc0]
cmp dword [esp + 0x20], 0
je 0x4873ae
test ecx, ecx
je 0x487499
cmp eax, dword [ecx + 4]
jge 0x4873ae
cmp dword [esp + 0x34], 0
push edi
je 0x4874b7
mov edx, dword [esp + 0x30]
push eax
push edx
push 0x2b
push ebp
call fcn.00457de0
add esp, 0x14
jmp 0x4873c4
cmp dword [esp + 0xc0], 0
je 0x4874d8
mov ecx, dword [esp + 0x60]
add eax, ecx
push eax
push 0x1f
push ebp
call fcn.00457ef0
add esp, 0x10
jmp 0x4873c4
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8]
jmp 0x4873ba
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc4]
mov edi, dword [esp + 0x74]
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x3c]
setge dl
push edx
mov edx, dword [esp + 0x5c]
push 0
push edi
push eax
push ecx
push edx
push ebx
push esi
call fcn.004856f0
push 0
push 0
push edi
push 0
push ebx
push esi
call fcn.00488220
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x90]
add esp, 0x44
xor eax, eax
cmp dword [esp + 0x44], eax
sete al
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x38]
push 0
push edx
push edi
push eax
push ecx
push ebx
push esi
call fcn.00485fd0
add esp, 0x24
mov edx, dword [esp + 0x3c]
test byte [edx + 0x18], 0x80
je 0x487580
mov eax, dword [esp + 0x6c]
push 1
push eax
push 0x22
push ebp
call fcn.00457ef0
add esp, 0x10
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4875b4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc4]
push edx
movsx edx, word [ebx + 0x26]
push eax
mov eax, dword [esp + 0x6c]
sub eax, edx
sub eax, 2
push eax
push ebx
push 2
push 0
push 0x6c
push ecx
push esi
call fcn.004898d0
add esp, 0x24
mov eax, dword [esp + 0x14]
push eax
push ebp
call fcn.00457f60
add esp, 8
cmp dword [esp + 0x34], 0
je 0x4875f4
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
push ecx
push edi
push 9
push ebp
call fcn.00457ef0
mov edx, dword [esp + 0x78]
push edx
push ebp
call fcn.00458250
push edi
push 0x38
push ebp
call fcn.00457e90
add esp, 0x24
jmp 0x48761b
cmp dword [esp + 0xbc], 0
je 0x48761b
mov eax, dword [esp + 0x50]
push eax
push 0
push 0x10
push ebp
call fcn.00457ef0
mov ecx, dword [esp + 0x78]
push ecx
push ebp
call fcn.00458250
add esp, 0x18
test byte [ebx + 0x2c], 0x10
jne 0x487666
cmp dword [esp + 0x58], 0
jne 0x487666
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x48]
jge 0x48763e
push eax
push 0x38
push ebp
call fcn.00457e90
add esp, 0xc
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x487666
mov edi, dword [esp + 0x48]
lea esp, [esp]
push edi
push 0x38
push ebp
call fcn.00457e90
mov ebx, dword [ebx + 0x14]
add esp, 0xc
add edi, 1
test ebx, ebx
jne 0x487650
cmp byte [esi + 0x12], 0
jne 0x48767e
cmp dword [esi + 0x1cc], 0
jne 0x48767e
push esi
call fcn.00485460
add esp, 4
mov edx, dword [esp + 0x3c]
test byte [edx + 0x18], 0x80
je 0x4876c2
cmp byte [esi + 0x12], 0
jne 0x4876c2
cmp dword [esi + 0x1cc], 0
jne 0x4876c2
mov eax, dword [esp + 0x6c]
push 1
push eax
push 0x20
push ebp
call fcn.00457ef0
push 1
push ebp
call fcn.00459280
push 0
push str.rows_inserted
push 0
push 0
push ebp
call fcn.004592f0
add esp, 0x2c
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0x3c]
push ecx
push esi
call fcn.0045f1a0
mov edx, dword [esp + 0x30]
push edx
push esi
call fcn.00478810
mov eax, dword [esp + 0xcc]
push eax
push esi
call fcn.00462600
mov ecx, dword [esp + 0xd8]
push ecx
push esi
call fcn.0045efa0
mov edx, dword [esp + 0x6c]
push edx
push esi
call fcn.0043f760
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret