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

Disassembly:
sub esp, 0xa0
xor eax, eax
push ebp
mov ebp, dword [esp + 0xa8]
mov ecx, dword [ebp]
push esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x48], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0xf], al
mov byte [esp + 0x1e], al
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
cmp dword [ebp + 0x40], eax
jne 0x1004f608
mov edx, ecx
cmp byte [edx + 0x41], al
jne 0x1004f608
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x1004e853
mov ecx, pe_nt_image_headers32
test word [eax + 6], cx
je 0x1004e853
cmp dword [eax + 0x34], 0
jne 0x1004e853
mov edx, dword [eax]
push eax
mov dword [eax], 0
mov eax, dword [esp + 0x34]
push eax
mov dword [esp + 0x40], edx
call fcn.1000b160
add esp, 8
mov dword [esp + 0xb8], 0
mov ecx, dword [esp + 0xb4]
cmp dword [ecx + 0x10], 0
je 0x1004f608
push ebx
push ebp
mov eax, ecx
call fcn.1002be50
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1004f607
mov edi, dword [esp + 0x34]
mov esi, dword [ebx + 0x40]
mov ecx, edi
call fcn.1000b080
mov edx, dword [edi + 0x10]
mov dword [esp + 0x1c], eax
shl eax, 4
mov eax, dword [eax + edx]
push eax
mov eax, dword [ebx]
push 0
push eax
push 0x12
mov eax, ebp
call fcn.10020620
add esp, 0x10
test eax, eax
jne 0x1004f607
mov al, byte [ebx + 0x2a]
shr al, 5
lea ecx, [esp + 0x50]
push ecx
and al, 1
mov byte [esp + 0x33], al
push 0
push 0x6c
mov edx, ebx
mov eax, ebp
call fcn.1000b870
xor edx, edx
cmp dword [ebx + 0xc], edx
mov dword [esp + 0x68], eax
setne dl
push ebx
mov eax, ebp
mov dword [esp + 0x7c], edx
call fcn.10031a40
add esp, 0x10
test eax, eax
jne 0x1004f607
mov eax, dword [esp + 0x50]
push eax
mov edx, ebx
mov eax, ebp
call fcn.100213a0
add esp, 4
test eax, eax
jne 0x1004f607
mov eax, ebp
call fcn.10017ea0
mov dword [esp + 0x18], eax
test eax, eax
je 0x1004f607
cmp byte [ebp + 0x12], 0
jne 0x1004e927
call fcn.10008290
cmp dword [esp + 0xbc], 0
jne 0x1004e93c
cmp dword [esp + 0x5c], 0
jne 0x1004e93c
xor eax, eax
jmp 0x1004e941
mov eax, 1
mov edi, dword [esp + 0x1c]
push eax
mov edx, ebp
call fcn.1003d2a0
add esp, 4
cmp dword [esp + 0xc0], 0
jne 0x1004e97c
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0xbc]
push edi
push ecx
push ebx
push ebp
call fcn.1003d4f0
add esp, 0x10
test eax, eax
jne 0x1004f5a6
mov esi, dword [esp + 0xc0]
push ebx
push edi
mov ecx, ebp
call fcn.10013f40
movsx edx, word [ebx + 0x22]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x48]
lea ecx, [eax + 1]
lea eax, [edx + eax + 1]
add esp, 8
mov dword [ebp + 0x48], eax
test byte [ebx + 0x2a], 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], ecx
je 0x1004e9bb
inc ecx
inc eax
mov dword [esp + 0x28], ecx
mov dword [ebp + 0x48], eax
mov al, byte [ebx + 0x2a]
shr al, 7
not al
inc ecx
and al, 1
mov dword [esp + 0x64], ecx
mov byte [esp + 0x23], al
test esi, esi
je 0x1004eaa2
xor eax, eax
cmp dword [esi + 4], eax
jle 0x1004e9f0
lea ecx, [ecx]
mov ecx, dword [esi]
mov dword [ecx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [esi + 4]
jl 0x1004e9e0
cmp dword [esi + 4], 0
mov dword [esp + 0x14], 0
jle 0x1004eaa2
movsx eax, word [ebx + 0x22]
xor esi, esi
test eax, eax
jle 0x1004ea54
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8]
mov edi, dword [ebx + 4]
lea eax, [eax + ecx*8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
lea ebx, [ebx]
mov eax, dword [edi]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call sym.idmindex.dll_sqlite3_stricmp
add esp, 8
test eax, eax
je 0x1004ec38
movsx eax, word [ebx + 0x22]
inc esi
add edi, 0x18
cmp esi, eax
jl 0x1004ea30
mov edi, dword [esp + 0x14]
movsx ecx, word [ebx + 0x22]
cmp esi, ecx
jl 0x1004ea8d
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
mov esi, dword [eax + edi*8]
call fcn.10009940
test eax, eax
je 0x1004ec61
cmp byte [esp + 0x2f], 0
jne 0x1004ec61
mov dword [esp + 0x44], edi
mov byte [esp + 0x23], 0
mov ecx, dword [esp + 0xc0]
inc edi
cmp edi, dword [ecx + 4]
mov dword [esp + 0x14], edi
jl 0x1004ea02
cmp dword [esp + 0xbc], 0
je 0x1004ec94
inc dword [ebp + 0x48]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp + 0x48]
mov eax, esi
mov dword [esp + 0x38], ecx
call fcn.10007940
mov edi, eax
inc edi
push edi
push 0
push ecx
push 0x11
call fcn.100113f0
mov edx, dword [esp + 0x48]
push 0xd
lea eax, [esp + 0x90]
call fcn.1000b140
movzx ecx, byte [esp + 0x37]
neg ecx
sbb ecx, ecx
and ecx, dword [esp + 0x78]
push eax
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xd4]
movsx edx, word [ebx + 0x22]
push ecx
push ebp
mov dword [esp + 0xa8], edx
call fcn.10042940
mov edx, dword [esp + 0xa4]
add esp, 0x20
mov dword [esp + 0x54], edx
test eax, eax
jne 0x1004f607
mov eax, dword [esp + 0x34]
cmp byte [eax + 0x41], 0
jne 0x1004f607
cmp dword [ebp + 0x40], 0
jne 0x1004f607
mov eax, dword [esp + 0x38]
mov ecx, 0x12
call fcn.10011460
dec edi
push edi
call fcn.100079d0
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov eax, dword [edx]
add esp, 4
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x30], eax
jne 0x1004eb88
mov ecx, dword [esp + 0x1c]
push ecx
mov edi, ebx
mov eax, ebp
call fcn.1001aeb0
add esp, 4
test eax, eax
je 0x1004ed39
mov edi, dword [ebp + 0x44]
lea edx, [edi + 1]
mov eax, ebp
mov byte [esp + 0x13], 1
mov dword [esp + 0x4c], edi
mov dword [ebp + 0x44], edx
call fcn.10009d70
mov dword [esp + 0x1c], eax
mov eax, ebp
call fcn.10009d70
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push 0x39
mov ecx, edi
call fcn.10011470
mov eax, dword [esp + 0x84]
mov ecx, 0x14
call fcn.10011460
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
push 0x31
call fcn.100113f0
mov eax, dword [esp + 0x28]
push 0x4b
mov ecx, edi
call fcn.10011470
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push edi
push 0x54
call fcn.100113f0
mov edi, dword [esp + 0x60]
push 0xe
mov eax, edi
xor ecx, ecx
call fcn.10011470
push edi
call fcn.100079d0
mov esi, dword [esp + 0x4c]
add esp, 0x30
mov edx, ebp
call fcn.10009d90
mov esi, dword [esp + 0x14]
call fcn.10009d90
jmp 0x1004ed39
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [edx + 4], esi
cmp edi, esi
je 0x1004ec4c
mov byte [esp + 0x23], 0
movsx eax, word [ebx + 0x20]
cmp esi, eax
jne 0x1004ea58
mov dword [esp + 0x44], edi
jmp 0x1004ea58
mov edx, dword [esp + 0xc0]
mov eax, dword [edx]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0xb8]
push edx
push 0
push eax
push str.table__S_has_no_column_named__s
mov edi, ebp
call fcn.1001d580
add esp, 0x10
mov byte [ebp + 0x11], 1
jmp 0x1004f607
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 + 0x3c]
mov dword [esp + 0x90], ebp
mov dword [esp + 0x4c], 0xffffffff
test eax, eax
je 0x1004ece9
mov esi, dword [eax]
jmp 0x1004eceb
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], 0
test esi, esi
jle 0x1004ed3d
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax + ecx]
lea esi, [esp + 0x90]
call fcn.1002b360
test eax, eax
jne 0x1004f607
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x18
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
jl 0x1004ed03
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0xc0]
xor edx, edx
cmp edi, edx
jne 0x1004ed56
cmp esi, edx
jle 0x1004ed56
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x44], eax
test byte [ebx + 0x2a], 0x10
je 0x1004eddd
movsx ecx, word [ebx + 0x22]
cmp ecx, 2
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], edx
jl 0x1004eda5
mov eax, dword [ebx + 4]
add ecx, 0xfffffffe
shr ecx, 1
add eax, 0x2f
inc ecx
lea edx, [ecx + ecx]
movzx esi, byte [eax - 0x18]
shr esi, 1
and esi, 1
add dword [esp + 0x14], esi
movzx esi, byte [eax]
shr esi, 1
and esi, 1
add dword [esp + 0x1c], esi
add eax, 0x30
sub ecx, 1
jne 0x1004ed80
mov esi, dword [esp + 0x30]
movsx eax, word [ebx + 0x22]
cmp edx, eax
jge 0x1004edcb
lea ecx, [edx + edx*2]
mov edx, dword [ebx + 4]
movzx eax, byte [edx + ecx*8 + 0x17]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
shr eax, 1
and eax, 1
add edx, ecx
add eax, edx
jmp 0x1004ede1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
add edx, ecx
add eax, edx
jmp 0x1004ede1
mov eax, dword [esp + 0x24]
test edi, edi
jne 0x1004ee12
test esi, esi
je 0x1004ee2f
movsx ecx, word [ebx + 0x22]
sub ecx, eax
cmp esi, ecx
je 0x1004ee2f
mov eax, dword [esp + 0xb8]
push esi
push ecx
push edi
push eax
push str.table__S_has__d_columns_but__d_values_were_supplied
mov edi, ebp
call fcn.1001d580
add esp, 0x14
jmp 0x1004f607
mov eax, dword [edi + 4]
cmp esi, eax
je 0x1004ee2f
push eax
push esi
push str._d_values_for__d_columns
mov edi, ebp
call fcn.1001d580
add esp, 0xc
jmp 0x1004f607
mov ecx, dword [esp + 0x34]
test byte [ecx + 0x18], 0x80
je 0x1004ee53
inc dword [ebp + 0x48]
mov eax, dword [ebp + 0x48]
mov esi, dword [esp + 0x18]
push 0x17
xor ecx, ecx
mov dword [esp + 0x7c], eax
call fcn.10011470
add esp, 4
cmp dword [esp + 0x6c], 0
jne 0x1004eeb3
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x4c]
push eax
push 0
push 0xffffffffffffffff
push 0x37
push ebx
push ebp
call fcn.10031fb0
mov esi, dword [esp + 0x50]
mov edi, eax
lea ecx, [edi*4 + 4]
push 0
push ecx
call fcn.1000e2b0
add esp, 0x24
mov dword [esp + 0x58], eax
test eax, eax
je 0x1004f607
xor eax, eax
test edi, edi
jle 0x1004eeb3
mov edx, dword [esp + 0x58]
mov esi, 1
add dword [ebp + 0x48], esi
mov ecx, dword [ebp + 0x48]
mov dword [edx + eax*4], ecx
add eax, esi
cmp eax, edi
jl 0x1004eea4
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x18]
je 0x1004eedb
mov eax, dword [esp + 0x4c]
mov ecx, 0x6d
mov esi, edi
call fcn.10011460
mov dword [esp + 0x70], eax
mov eax, edi
call fcn.10007940
jmp 0x1004eefc
cmp dword [esp + 0xbc], 0
je 0x1004ef00
mov eax, dword [esp + 0x80]
mov ecx, 0x14
mov esi, edi
call fcn.10011460
mov dword [esp + 0x70], eax
mov dword [esp + 0x68], eax
mov eax, edi
call fcn.10011490
test byte [esp + 0x50], 1
mov dword [esp + 0x1c], eax
je 0x1004f0e2
movsx esi, word [ebx + 0x22]
inc esi
mov ecx, ebp
call fcn.10009dc0
mov ecx, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
test eax, eax
jge 0x1004ef43
mov eax, ecx
push 0x17
or ecx, 0xffffffff
mov esi, edi
call fcn.10011470
add esp, 4
jmp 0x1004efaf
cmp byte [esp + 0x13], 0
push ecx
je 0x1004ef5f
mov edx, dword [esp + 0x50]
push eax
push edx
push 0x2f
mov esi, edi
call fcn.100113f0
add esp, 0x10
jmp 0x1004ef76
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
push ebp
call fcn.1004c470
add esp, 0xc
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov ecx, 0x4d
call fcn.10011460
mov edi, eax
mov eax, dword [esp + 0x24]
push 0x17
or ecx, 0xffffffff
call fcn.10011470
push edi
call fcn.100079d0
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, 0x26
call fcn.10011460
xor ecx, ecx
cmp cx, word [ebx + 0x22]
mov dword [esp + 0x14], 0
jge 0x1004f088
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0xc0]
mov eax, dword [esp + 0x14]
inc edi
mov dword [esp + 0x38], ecx
test esi, esi
je 0x1004f003
mov edx, dword [esi + 4]
xor eax, eax
test edx, edx
jle 0x1004f003
mov ecx, dword [esi]
mov esi, dword [esp + 0x14]
add ecx, 4
lea ecx, [ecx]
cmp dword [ecx], esi
je 0x1004effc
inc eax
add ecx, 8
cmp eax, edx
jl 0x1004eff0
mov esi, dword [esp + 0xc0]
mov cl, byte [esp + 0x13]
test cl, cl
jne 0x1004f012
cmp dword [esp + 0x3c], 0
je 0x1004f01b
test esi, esi
je 0x1004f033
cmp eax, dword [esi + 4]
jl 0x1004f033
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
mov ecx, dword [edx + eax + 4]
push edi
push ecx
push ebp
call fcn.1004c470
add esp, 0xc
jmp 0x1004f06d
push edi
test cl, cl
je 0x1004f055
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x1c]
push eax
push edx
push 0x2f
call fcn.100113f0
mov esi, dword [esp + 0xd0]
add esp, 0x10
jmp 0x1004f06d
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push eax
mov eax, ebp
call fcn.1004c510
add esp, 8
mov eax, dword [esp + 0x14]
movsx ecx, word [ebx + 0x22]
add dword [esp + 0x38], 0x18
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x1004efd7
cmp dword [esp + 0x6c], 0
jne 0x1004f0a4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc edx
push edx
push eax
mov edi, ebx
call fcn.10017c50
add esp, 8
mov ecx, dword [esp + 0x1c]
movsx eax, word [ebx + 0x22]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0xc4]
push ecx
push edx
mov edx, dword [esp + 0x64]
mov ecx, edi
sub ecx, eax
dec ecx
push ecx
push ebx
push 1
push 0
push 0x6c
push edx
push ebp
call fcn.1004fae0
movsx esi, word [ebx + 0x22]
add esp, 0x24
inc esi
mov ecx, edi
mov eax, ebp
call fcn.10009df0
cmp dword [esp + 0x6c], 0
jne 0x1004f495
test byte [ebx + 0x2a], 0x10
mov esi, dword [esp + 0x18]
je 0x1004f107
mov eax, dword [esp + 0x74]
push 0x1a
xor ecx, ecx
call fcn.10011470
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
jl 0x1004f214
cmp byte [esp + 0x13], 0
mov edi, dword [esp + 0x28]
je 0x1004f179
mov ecx, dword [esp + 0x4c]
push edi
push eax
push ecx
push 0x2f
call fcn.100113f0
add esp, 0x10
test byte [ebx + 0x2a], 0x10
jne 0x1004f1f0
mov eax, edi
mov ecx, 0x4d
call fcn.10011460
mov edx, dword [esp + 0x40]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x4c]
push edi
push eax
push 0x4b
call fcn.100113f0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.100079d0
add esp, 0x14
mov eax, edi
mov ecx, 0x26
call fcn.10011460
jmp 0x1004f253
cmp dword [esp + 0xbc], 0
je 0x1004f19c
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x54]
lea ecx, [eax + edx]
push 0x1f
mov eax, edi
call fcn.10011470
add esp, 4
jmp 0x1004f12f
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*8]
push edi
push ecx
push ebp
call fcn.1004c470
add esp, 0xc
or eax, 0xffffffff
mov ecx, esi
call fcn.10007a10
test eax, eax
je 0x1004f12f
cmp byte [eax], 0x1a
jne 0x1004f12f
test byte [ebx + 0x2a], 0x10
jne 0x1004f1f0
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x22], 1
mov byte [eax], 0x4b
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
jmp 0x1004f253
mov eax, esi
call fcn.10007940
add eax, 2
push 0x4c
mov ecx, edi
call fcn.10011470
add esp, 4
mov eax, edi
mov ecx, 0x26
call fcn.10011460
jmp 0x1004f253
test byte [ebx + 0x2a], 0x10
jne 0x1004f241
cmp byte [esp + 0x2f], 0
jne 0x1004f241
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push edx
push edi
push eax
push 0x4b
call fcn.100113f0
add esp, 0x10
mov byte [esp + 0x22], 1
jmp 0x1004f253
mov edi, dword [esp + 0x28]
push 0x1a
mov eax, edi
xor ecx, ecx
call fcn.10011470
add esp, 4
mov ecx, dword [esp + 0x40]
push ebp
mov eax, edi
call fcn.10013fc0
xor eax, eax
xor ecx, ecx
add esp, 4
cmp cx, word [ebx + 0x22]
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
jge 0x1004f300
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], edi
movsx edx, word [ebx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, edx
jne 0x1004f29e
mov eax, edi
mov ecx, 0x1b
call fcn.10011460
jmp 0x1004f2e5
mov ecx, dword [esp + 0xc0]
test ecx, ecx
jne 0x1004f36b
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x40]
test byte [ecx + edx + 0x17], 2
je 0x1004f365
inc dword [esp + 0x24]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edi, dword [edx + eax + 4]
push ecx
mov eax, ebp
call fcn.1004c4d0
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
add esp, 4
mov eax, dword [esp + 0x14]
movsx ecx, word [ebx + 0x22]
add dword [esp + 0x40], 0x18
inc eax
inc edi
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], edi
jl 0x1004f284
test byte [ebx + 0x2a], 0x10
je 0x1004f41e
mov ecx, dword [esp + 0x34]
mov eax, ebx
call fcn.1000b990
mov esi, eax
mov edi, ebx
mov eax, ebp
call fcn.10014590
movsx ecx, word [ebx + 0x22]
mov eax, dword [esp + 0x74]
push 0xfffffffffffffff6
push esi
mov esi, dword [esp + 0x20]
push 1
push 0xd
add ecx, 2
push esi
call fcn.10015ec0
mov eax, dword [esp + 0xd8]
add esp, 0x14
cmp eax, 0xa
jne 0x1004f350
mov eax, 2
mov dl, al
mov eax, esi
call fcn.100079b0
mov ecx, ebp
call fcn.1000a630
jmp 0x1004f495
sub eax, dword [esp + 0x24]
jmp 0x1004f390
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x1004f398
mov ecx, dword [ecx]
mov edi, dword [esp + 0x14]
add ecx, 4
lea ecx, [ecx]
cmp dword [ecx], edi
je 0x1004f38c
inc eax
add ecx, 8
cmp eax, edx
jl 0x1004f380
mov edi, dword [esp + 0x28]
test eax, eax
jl 0x1004f2c3
cmp dword [esp + 0x30], 0
je 0x1004f2c3
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x1004f3b7
cmp eax, dword [ecx + 4]
jge 0x1004f2c3
cmp byte [esp + 0x13], 0
je 0x1004f3d4
mov edx, dword [esp + 0x4c]
push edi
push eax
push edx
push 0x2f
call fcn.100113f0
add esp, 0x10
jmp 0x1004f2e5
cmp dword [esp + 0xbc], 0
je 0x1004f401
mov ecx, dword [esp + 0x64]
cmp dword [esp + 0x54], ecx
je 0x1004f2e5
mov edx, dword [esp + 0x54]
lea ecx, [eax + edx]
push 0x20
mov eax, edi
call fcn.10011470
jmp 0x1004f2e2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8]
push edi
push eax
push ebp
call fcn.1004c470
add esp, 0xc
jmp 0x1004f2e5
cmp dword [esp + 0x44], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x60]
lea edx, [esp + 0x50]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x54]
setge dl
movzx eax, dl
mov edx, dword [esp + 0x64]
push eax
push 0
push esi
push edi
push ecx
push edx
push ebx
push ebp
call fcn.1004c930
push 0
push 0
push esi
push 0
push ebx
push ebp
call fcn.10042530
movzx ecx, byte [esp + 0x66]
mov edx, dword [esp + 0x9c]
add esp, 0x44
xor eax, eax
cmp dword [esp + 0x50], eax
sete al
push eax
mov eax, dword [esp + 0x4c]
push ecx
push 0
push edx
push esi
push edi
push eax
push ebx
push ebp
call fcn.1001af50
add esp, 0x24
mov ecx, dword [esp + 0x34]
test byte [ecx + 0x18], 0x80
je 0x1004f4b6
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
push 0x25
mov eax, 1
call fcn.10011470
add esp, 4
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x1004f4ea
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xc4]
push edx
movsx edx, word [ebx + 0x22]
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 ebp
call fcn.1004fae0
add esp, 0x24
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
call fcn.10007900
add esp, 4
cmp byte [esp + 0x13], 0
je 0x1004f532
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
push 8
mov ecx, edi
call fcn.10011470
mov ecx, dword [esp + 0x74]
push ecx
call fcn.100079d0
add esp, 8
mov eax, edi
mov ecx, 0x3d
call fcn.10011460
jmp 0x1004f55a
cmp dword [esp + 0xbc], 0
je 0x1004f55a
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
push 0xe
xor ecx, ecx
call fcn.10011470
mov edx, dword [esp + 0x74]
push edx
call fcn.100079d0
add esp, 8
test byte [ebx + 0x2a], 0x10
jne 0x1004f5a6
cmp dword [esp + 0x6c], 0
jne 0x1004f5a6
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x48], eax
jge 0x1004f583
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x18]
mov ecx, 0x3d
call fcn.10011460
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x1004f5a6
mov edi, dword [esp + 0x60]
mov esi, dword [esp + 0x18]
mov eax, edi
mov ecx, 0x3d
call fcn.10011460
mov ebx, dword [ebx + 0x14]
inc edi
test ebx, ebx
jne 0x1004f592
cmp byte [ebp + 0x12], 0
jne 0x1004f5be
cmp dword [ebp + 0x19c], 0
jne 0x1004f5be
push ebp
call fcn.10031ed0
add esp, 4
mov ecx, dword [esp + 0x34]
test byte [ecx + 0x18], 0x80
je 0x1004f607
cmp byte [ebp + 0x12], 0
jne 0x1004f607
cmp dword [ebp + 0x19c], 0
jne 0x1004f607
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
push 0x21
mov eax, 1
call fcn.10011470
push 1
call fcn.10015fd0
push 0
push str.rows_inserted
push 0
push 0
mov ecx, esi
call fcn.10019570
add esp, 0x18
pop ebx
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0x30]
push edx
push esi
call fcn.1000a550
mov eax, dword [esp + 0x40]
push eax
push esi
call fcn.10012d50
mov ecx, dword [esp + 0xc8]
push ecx
push esi
call fcn.1000b160
mov edi, dword [esp + 0xd4]
push esi
call fcn.1000a470
mov edx, dword [esp + 0x70]
add esp, 0x1c
mov ecx, esi
call fcn.10001ed0
pop edi
pop esi
pop ebp
add esp, 0xa0
ret