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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xa4]
xor eax, eax
push esi
push edi
lea edi, [esp + 0x70]
xor edx, edx
mov esi, dword [ebx]
or ecx, 0xffffffff
stosd dword es:[edi], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], ecx
stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], edx
stosd dword es:[edi], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x1c], esi
stosd dword es:[edi], eax
cmp dword [ebx + 0x40], edx
jne 0x49eb06
cmp byte [esi + 0x1e], dl
jne 0x49eb06
mov eax, dword [esp + 0xb0]
cmp dword [eax + 0xc], edx
je 0x49eb06
push ebp
push eax
push ebx
call fcn.004a6401
mov ebp, eax
mov dword [esp + 0x78], ebp
pop ecx
pop ecx
test ebp, ebp
je 0x49eb05
push dword [ebp + 0x44]
push esi
call fcn.004a4a44
mov esi, eax
xor edi, edi
mov eax, dword [esp + 0x28]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 8]
push dword [eax + ecx*8]
push edi
push dword [ebp]
push 0x12
push ebx
call fcn.004934d6
add esp, 0x1c
test eax, eax
jne 0x49eb05
lea eax, [esp + 0x18]
push eax
push edi
push 0x69
push ebp
push ebx
call fcn.004a6f58
mov dword [esp + 0x74], eax
xor eax, eax
cmp dword [ebp + 0x1c], edi
push ebp
setne al
push ebx
mov dword [esp + 0x6c], eax
call fcn.004b0faa
add esp, 0x1c
test eax, eax
jne 0x49eb05
push dword [esp + 0x18]
push ebp
push ebx
call fcn.0049ebb5
add esp, 0xc
test eax, eax
jne 0x49eb05
push ebx
call fcn.0049d3e9
mov edi, eax
mov dword [esp + 0x3c], edi
pop ecx
test edi, edi
je 0x49eb05
cmp byte [ebx + 0x13], 0
jne 0x49df36
mov byte [edi + 0x62], 1
cmp dword [esp + 0xbc], 0
jne 0x49df4b
cmp dword [esp + 0x60], 0
jne 0x49df4b
xor eax, eax
jmp 0x49df4e
xor eax, eax
inc eax
push esi
push eax
push ebx
call fcn.00493e37
add esp, 0xc
cmp dword [esp + 0xc0], 0
jne 0x49df84
push esi
push dword [esp + 0xc8]
push dword [esp + 0xc4]
push ebp
push ebx
call fcn.004b71ed
add esp, 0x14
test eax, eax
jne 0x49eaaa
push ebp
push esi
push ebx
call fcn.0047e49d
add esp, 0xc
mov dword [esp + 0x2c], eax
cmp dword [esp + 0xbc], 0
je 0x49e179
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push edi
mov dword [esp + 0x2c], eax
call fcn.004a8e4a
mov eax, dword [ebx + 0x48]
xor ecx, ecx
inc eax
mov dword [esp + 0x8c], ecx
mov dword [ebx + 0x48], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x1c]
add ecx, 2
mov dword [esp + 0x88], eax
push eax
mov word [esp + 0x88], 0xa
mov dword [esp + 0x58], ecx
lea eax, [ecx - 1]
push eax
push 7
push edi
call fcn.004a8e4a
xor eax, eax
push eax
push eax
push eax
push 1
push edi
call fcn.004a8e65
mov dword [esp + 0x74], eax
lea eax, [esp + 0xa8]
push eax
push dword [esp + 0xf4]
push ebx
call fcn.004a4bd9
add esp, 0x40
test eax, eax
jne 0x49eb05
cmp dword [ebx + 0x40], eax
jne 0x49eb05
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x1e], 0
jne 0x49eb05
push dword [esp + 0x1c]
push 1
push 7
push edi
call fcn.004a8e4a
push dword [esp + 0x88]
push 4
push edi
call fcn.004a8e31
push 0
push 2
pop eax
push eax
push eax
push 6
push edi
call fcn.004a8e65
push dword [esp + 0x70]
push edi
call fcn.004aee60
mov eax, dword [esp + 0xb4]
add esp, 0x38
cmp dword [esp + 0x60], 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jne 0x49e0ae
push ebp
push esi
push dword [esp + 0x4c]
push ebx
call fcn.0048f983
add esp, 0x10
test eax, eax
je 0x49e1e2
mov edx, dword [ebx + 0x44]
push ebx
mov dword [esp + 0x34], 1
mov dword [esp + 0x18], edx
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
call fcn.0049cbf5
push dword [esp + 0xb4]
mov ebx, eax
call fcn.0049cbf5
push dword [esp + 0x30]
mov ebp, eax
push edx
push 0x2a
push edi
call fcn.004a8e4a
push dword [esp + 0x90]
push 4
push edi
call fcn.004a8e31
push dword [esp + 0x40]
mov esi, eax
push 0x1b
push edi
call fcn.004a8e31
push ebx
push dword [esp + 0x5c]
mov edi, eax
push dword [esp + 0x84]
push 0x1f
push dword [esp + 0x78]
call fcn.004a8e65
add esp, 0x44
push ebp
push dword [esp + 0x18]
push 0x38
push dword [esp + 0x44]
call fcn.004a8e4a
push ebp
push ebx
push dword [esp + 0x2c]
push 0x39
push dword [esp + 0x58]
call fcn.004a8e65
push esi
push 0
push 1
push dword [esp + 0x68]
call fcn.004a8e4a
push edi
mov edi, dword [esp + 0x70]
push edi
call fcn.004aee60
push ebx
mov ebx, dword [esp + 0xf0]
push ebx
call fcn.004a3c03
add esp, 0x44
push ebp
push ebx
call fcn.004a3c03
mov ebp, dword [esp + 0x78]
pop ecx
pop ecx
jmp 0x49e1e2
or dword [esp + 0x14], 0xffffffff
lea edi, [esp + 0x88]
push 9
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x88], ebx
test ecx, ecx
je 0x49e1a2
mov eax, dword [ecx]
jmp 0x49e1a4
xor eax, eax
xor edi, edi
mov dword [esp + 0x28], eax
test eax, eax
jle 0x49e1de
xor esi, esi
mov eax, dword [ecx + 0xc]
push dword [eax + esi]
lea eax, [esp + 0x8c]
push eax
call fcn.004a3d83
pop ecx
pop ecx
test eax, eax
jne 0x49eb05
mov ecx, dword [esp + 0xb8]
inc edi
add esi, 0x14
cmp edi, dword [esp + 0x28]
jl 0x49e1b0
mov edi, dword [esp + 0x38]
test byte [ebp + 0x22], 0x10
mov esi, dword [esp + 0x10]
je 0x49e208
mov edx, dword [ebp + 8]
test edx, edx
jle 0x49e208
mov ecx, dword [ebp + 0xc]
add ecx, 0x17
xor eax, eax
cmp byte [ecx], al
lea ecx, [ecx + 0x18]
setne al
add esi, eax
dec edx
jne 0x49e1f9
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x28]
test edx, edx
jne 0x49e2ef
test ecx, ecx
je 0x49e250
mov eax, dword [ebp + 8]
sub eax, esi
cmp ecx, eax
je 0x49e245
push ecx
push eax
push edx
push dword [esp + 0xc0]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebx
call fcn.00498e9a
add esp, 0x18
jmp 0x49eb05
test ecx, ecx
jle 0x49e250
mov ecx, dword [ebp + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x20]
test dword [eax + 0xc], 0x1000
je 0x49e275
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push edi
mov dword [esp + 0x74], eax
call fcn.004a8e4a
add esp, 0x10
cmp dword [esp + 0x50], 0
jne 0x49e2c5
mov eax, dword [ebx + 0x44]
push 0x28
push eax
push ebp
push ebx
mov dword [esp + 0x34], eax
call fcn.0049f902
mov esi, eax
lea eax, [esi*4 + 4]
push eax
push dword [esp + 0x34]
call fcn.00497cae
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x49eb05
xor ecx, ecx
test esi, esi
jle 0x49e2c5
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, esi
jl 0x49e2b7
cmp dword [esp + 0x30], 0
je 0x49e3ec
push dword [esp + 0x14]
push 0x48
push edi
call fcn.004a8e31
mov dword [esp + 0x68], eax
add esp, 0xc
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x48], eax
jmp 0x49e419
mov eax, dword [edx + 4]
cmp ecx, eax
je 0x49e30b
push eax
push ecx
push str._d_values_for__d_columns
push ebx
call fcn.00498e9a
add esp, 0x10
jmp 0x49eb05
xor ecx, ecx
test eax, eax
jle 0x49e31e
mov eax, dword [edx]
or dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x49e311
xor esi, esi
cmp dword [edx + 4], esi
jle 0x49e250
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 8]
jge 0x49e397
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + esi*8]
mov dword [esp + 0x40], edx
push dword [ecx]
push edx
call fcn.004a6b59
pop ecx
test eax, eax
mov eax, dword [esp + 0x14]
pop ecx
je 0x49e375
mov ecx, dword [esp + 0x3c]
inc eax
mov edx, dword [esp + 0x40]
add ecx, 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [ebp + 8]
jl 0x49e348
jmp 0x49e38b
mov ecx, dword [esp + 0x44]
mov dword [ecx + esi*8 + 4], eax
mov ecx, dword [esp + 0x34]
cmp eax, dword [ebp + 4]
cmove ecx, esi
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc0]
cmp eax, dword [ebp + 8]
jl 0x49e3b1
mov eax, dword [edx]
push dword [eax + esi*8]
call fcn.0049ec22
pop ecx
test eax, eax
je 0x49e3c0
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x34], esi
inc esi
cmp esi, dword [edx + 4]
jl 0x49e329
jmp 0x49e250
mov eax, dword [esp + 0xc0]
mov eax, dword [eax]
push dword [eax + esi*8]
push 0
push dword [esp + 0xbc]
push str.table__S_has_no_column_named__s
push ebx
call fcn.00498e9a
add esp, 0x14
mov byte [ebx + 0x12], 1
jmp 0x49eb05
cmp dword [esp + 0xbc], 0
je 0x49e419
push dword [esp + 0x78]
push 4
push edi
call fcn.004a8e31
push dword [esp + 0x28]
mov dword [esp + 0x58], eax
push 0x1b
push edi
call fcn.004a8e31
add esp, 0x18
mov dword [esp + 0x5c], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebp + 8]
inc eax
add eax, ecx
lea edx, [ecx + 1]
mov dword [ebx + 0x48], eax
test byte [ebp + 0x22], 0x10
mov esi, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x54], esi
je 0x49e443
lea esi, [edx + 1]
inc eax
mov dword [esp + 0x54], esi
mov dword [ebx + 0x48], eax
lea eax, [esi + 1]
push edi
mov dword [esp + 0x44], eax
call fcn.004af1c5
test byte [esp + 0x1c], 1
pop ecx
mov dword [esp + 0x10], eax
je 0x49e667
mov ecx, dword [ebp + 8]
inc ecx
push ecx
push ebx
call fcn.0049cbc4
pop ecx
mov esi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], esi
pop ecx
push esi
test eax, eax
jns 0x49e48b
push 0xffffffffffffffff
push 7
push edi
call fcn.004a8e4a
add esp, 0x10
jmp 0x49e4ee
cmp dword [esp + 0x34], 0
je 0x49e4a4
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a8e65
add esp, 0x14
jmp 0x49e4bd
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
push ebx
call fcn.00499494
add esp, 0xc
push esi
push 0x4a
push edi
call fcn.004a8e31
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
push 0xffffffffffffffff
push 7
push edi
call fcn.004a8e4a
push esi
push edi
call fcn.004aee60
mov esi, dword [esp + 0x40]
push esi
push 0x15
push edi
call fcn.004a8e31
add esp, 0x30
xor edx, edx
mov dword [esp + 0x44], edx
cmp dword [ebp + 8], edx
jle 0x49e60e
and dword [esp + 0x18], edx
mov eax, dword [esp + 0xc0]
test eax, eax
jne 0x49e510
mov ecx, edx
jmp 0x49e53e
xor ecx, ecx
cmp dword [eax + 4], ecx
jle 0x49e53e
mov eax, dword [eax]
mov ebx, dword [esp + 0xc0]
add eax, 4
cmp dword [eax], edx
je 0x49e530
inc ecx
add eax, 8
cmp ecx, dword [ebx + 4]
jl 0x49e523
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0xc0]
cmp dword [esp + 0x30], 0
jne 0x49e54f
cmp dword [esp + 0xb8], 0
je 0x49e558
test eax, eax
je 0x49e577
cmp ecx, dword [eax + 4]
jl 0x49e577
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
add eax, esi
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + ecx + 4]
push ebx
call fcn.00499494
add esp, 0xc
jmp 0x49e5f7
cmp dword [esp + 0x30], 0
je 0x49e596
lea eax, [edx + 1]
add eax, esi
push eax
push ecx
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a8e65
add esp, 0x14
jmp 0x49e5f7
mov eax, dword [esp + 0xb8]
imul ecx, ecx, 0x14
mov eax, dword [eax + 0xc]
mov esi, dword [ecx + eax]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x68], esi
add eax, edx
push eax
push esi
push ebx
call fcn.00499494
add esp, 0xc
cmp byte [esi], 0x84
je 0x49e5f3
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
push esi
push eax
push 0xe
push dword [esp + 0x90]
call fcn.004a8e4a
mov ecx, dword [esp + 0x78]
add esp, 0x10
mov al, byte [ecx]
mov dword [ecx + 0x18], esi
mov byte [ecx + 0x23], al
mov byte [ecx], 0x84
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x44]
add dword [esp + 0x18], 0x18
inc edx
mov dword [esp + 0x44], edx
cmp edx, dword [ebp + 8]
jl 0x49e501
cmp dword [esp + 0x50], 0
jne 0x49e62e
push dword [ebp + 8]
lea eax, [esi + 1]
push eax
push 0x1e
push edi
call fcn.004a8e4a
push ebp
push edi
call fcn.004a6c09
add esp, 0x18
push dword [esp + 0x10]
mov eax, esi
push dword [esp + 0xc8]
sub eax, dword [ebp + 8]
dec eax
push eax
push ebp
push 1
push 0
push 0x69
push dword [esp + 0x7c]
push ebx
call fcn.00496661
mov eax, dword [ebp + 8]
inc eax
push eax
push esi
push ebx
call fcn.004a3bda
mov esi, dword [esp + 0x84]
add esp, 0x30
cmp dword [esp + 0x50], 0
jne 0x49e9bd
test byte [ebp + 0x22], 0x10
je 0x49e689
push dword [esp + 0x3c]
push 0
push 0xa
push edi
call fcn.004a8e4a
add esp, 0x10
mov eax, dword [esp + 0x34]
test eax, eax
js 0x49e76f
cmp dword [esp + 0x30], 0
push esi
je 0x49e6e8
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a8e65
add esp, 0x14
test byte [ebp + 0x22], 0x10
jne 0x49e74e
push esi
push 0x4a
push edi
call fcn.004a8e31
mov ecx, dword [esp + 0x38]
mov esi, eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
push ecx
push 0x38
push edi
call fcn.004a8e65
push esi
push edi
call fcn.004aee60
mov esi, dword [esp + 0x7c]
add esp, 0x28
jmp 0x49e761
cmp dword [esp + 0xc0], 0
je 0x49e704
add eax, dword [esp + 0x50]
push eax
push 0xf
push edi
call fcn.004a8e4a
add esp, 0x10
jmp 0x49e6ad
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
push ebx
call fcn.00499494
push 0xffffffffffffffff
push edi
call fcn.004ae94d
add esp, 0x14
test eax, eax
je 0x49e6ad
cmp byte [eax], 0xa
jne 0x49e6ad
test byte [ebp + 0x22], 0x10
jne 0x49e74e
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov byte [eax], 0x38
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
jmp 0x49e79b
mov eax, dword [edi + 0x1c]
add eax, 2
push eax
push esi
push 0x49
push edi
call fcn.004a8e4a
add esp, 0x10
push esi
push 0x15
push edi
call fcn.004a8e31
add esp, 0xc
jmp 0x49e7a3
test byte [ebp + 0x22], 0x10
je 0x49e785
push esi
push 0
push 0xa
push edi
call fcn.004a8e4a
add esp, 0x10
jmp 0x49e7a3
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push esi
push ecx
push 0x38
push edi
call fcn.004a8e65
add esp, 0x14
mov dword [esp + 0x6c], 1
push esi
push dword [esp + 0x30]
push ebx
call fcn.0047e511
and dword [esp + 0x24], 0
xor esi, esi
add esp, 0xc
cmp dword [ebp + 8], esi
jle 0x49e820
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x40]
add edx, esi
cmp esi, dword [ebp + 4]
jne 0x49e7de
push edx
push 0
push 0xa
push edi
call fcn.004a8e4a
add esp, 0x10
jmp 0x49e80f
cmp dword [esp + 0xc0], 0
jne 0x49e898
mov eax, dword [ebp + 0xc]
cmp byte [eax + ecx + 0x17], 0
je 0x49e890
inc dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
push edx
push dword [eax + ecx + 4]
push ebx
call fcn.00499494
add esp, 0xc
mov ecx, dword [esp + 0x2c]
inc esi
add ecx, 0x18
mov dword [esp + 0x2c], ecx
cmp esi, dword [ebp + 8]
jl 0x49e7c3
test byte [ebp + 0x22], 0x10
je 0x49e955
push ebp
push dword [esp + 0x24]
call fcn.0049d1d5
push ebp
push ebx
mov esi, eax
call fcn.004b14ff
mov eax, dword [ebp + 8]
push 0xfffffffffffffff6
push esi
push dword [esp + 0x54]
push 2
pop esi
add eax, esi
push eax
push 1
push 0x8c
push edi
call fcn.004a8eb6
mov ecx, dword [esp + 0xf0]
cmp ecx, 0x63
movzx eax, cl
cmove eax, esi
movzx eax, al
push eax
push edi
call fcn.004a920d
mov eax, dword [ebx + 0x1a8]
add esp, 0x34
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov byte [ecx + 0x159], 1
jmp 0x49e9bd
mov eax, esi
sub eax, dword [esp + 0x18]
jmp 0x49e8d5
mov ebx, dword [esp + 0xc0]
xor eax, eax
cmp dword [ebx + 4], eax
mov ebx, dword [esp + 0xb0]
jle 0x49e8dd
mov ecx, dword [esp + 0xc0]
mov ebp, dword [esp + 0xc0]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], esi
je 0x49e8cd
inc eax
add ecx, 8
cmp eax, dword [ebp + 4]
jl 0x49e8c0
mov ebp, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
test eax, eax
js 0x49e7fe
cmp dword [esp + 0x28], 0
je 0x49e7fe
cmp dword [esp + 0xc0], 0
mov edi, dword [esp + 0x38]
je 0x49e90d
mov ebx, dword [esp + 0xc0]
cmp eax, dword [ebx + 4]
mov ebx, dword [esp + 0xb0]
jge 0x49e7fe
cmp dword [esp + 0x30], 0
push edx
je 0x49e92a
push eax
push dword [esp + 0x1c]
push 0x1d
push edi
call fcn.004a8e65
add esp, 0x14
jmp 0x49e80f
cmp dword [esp + 0xc0], 0
je 0x49e940
add eax, dword [esp + 0x50]
push eax
push 0xf
jmp 0x49e7d3
imul ecx, eax, 0x14
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 0xc]
push dword [ecx + eax]
jmp 0x49e806
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x68]
mov esi, dword [esp + 0x3c]
push eax
push dword [esp + 0x14]
xor eax, eax
test ecx, ecx
push dword [esp + 0xcc]
setns al
push 0
push eax
push dword [esp + 0x6c]
push esi
push dword [esp + 0x40]
push ebp
push ebx
call fcn.0049c127
push esi
push 0
push ebp
push ebx
call fcn.0049ba20
xor eax, eax
cmp dword [esp + 0xa0], eax
sete al
push eax
push dword [esp + 0xa8]
push 0
push dword [esp + 0x9c]
push esi
push dword [esp + 0x70]
push ebp
push ebx
call fcn.00496cd3
add esp, 0x58
mov esi, dword [esp + 0x20]
test dword [esi + 0xc], 0x1000
je 0x49e9db
push 1
push dword [esp + 0x68]
push 0x14
push edi
call fcn.004a8e4a
add esp, 0x10
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x49ea0b
push dword [esp + 0x10]
mov eax, dword [esp + 0x44]
push dword [esp + 0xc8]
sub eax, dword [ebp + 8]
push 2
pop edx
sub eax, edx
push eax
push ebp
push edx
push 0
push 0x69
push ecx
push ebx
call fcn.00496661
add esp, 0x24
push dword [esp + 0x10]
push edi
call fcn.004b05c5
cmp dword [esp + 0x38], 0
pop ecx
pop ecx
je 0x49ea49
push dword [esp + 0x48]
push dword [esp + 0x18]
push 0x5f
push edi
call fcn.004a8e4a
push dword [esp + 0x6c]
push edi
call fcn.004aee60
push dword [esp + 0x2c]
push 0x2d
push edi
call fcn.004a8e31
add esp, 0x24
jmp 0x49ea6e
cmp dword [esp + 0xbc], 0
je 0x49ea6e
push dword [esp + 0x48]
push 0
push 1
push edi
call fcn.004a8e4a
push dword [esp + 0x6c]
push edi
call fcn.004aee60
add esp, 0x18
test byte [ebp + 0x22], 0x10
jne 0x49eaae
cmp dword [esp + 0x50], 0
jne 0x49eaae
push dword [esp + 0x24]
push 0x2d
push edi
call fcn.004a8e31
mov esi, dword [ebp + 0x10]
add esp, 0xc
test esi, esi
je 0x49eaaa
mov ebp, dword [esp + 0x24]
inc ebp
push ebp
push 0x2d
push edi
call fcn.004a8e31
mov esi, dword [esi + 0x20]
add esp, 0xc
inc ebp
test esi, esi
jne 0x49ea96
mov esi, dword [esp + 0x20]
cmp byte [ebx + 0x13], 0
jne 0x49eac4
cmp dword [ebx + 0x1ac], 0
jne 0x49eac4
push ebx
call fcn.0049384f
pop ecx
test dword [esi + 0xc], 0x1000
je 0x49eb05
cmp byte [ebx + 0x13], 0
jne 0x49eb05
cmp dword [ebx + 0x1ac], 0
jne 0x49eb05
push 1
push dword [esp + 0x68]
push 0x10
push edi
call fcn.004a8e4a
push 1
push edi
call fcn.004b09e1
xor eax, eax
push eax
push str.rows_inserted
push eax
push eax
push edi
call fcn.004b09a8
add esp, 0x2c
pop ebp
push dword [esp + 0xb0]
mov ebx, dword [esp + 0x20]
push ebx
call fcn.004a60fd
push dword [esp + 0xbc]
push ebx
call fcn.0049abee
push dword [esp + 0xc8]
push ebx
call fcn.004a5ce4
push dword [esp + 0xd4]
push ebx
call fcn.0049d69b
push dword [esp + 0x74]
push ebx
call fcn.00497c57
add esp, 0x28
pop edi
pop esi
pop ebx
add esp, 0x9c
ret