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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
or dword [esp + 0x24], 0xffffffff
or dword [esp + 0x48], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x40], esi
jne 0x4aa133
cmp byte [eax + 0x1e], 0
jne 0x4aa133
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0xc], esi
je 0x4aa133
push ebx
call fcn.004a7117
pop ecx
mov dword [esp + 0x34], eax
cmp eax, esi
je 0x4aa133
mov ecx, dword [esp + 0x50]
mov edi, eax
mov esi, dword [edi + 0x4c]
call fcn.004ad35d
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x58], eax
imul eax, eax, 0x18
push dword [eax + ecx]
xor esi, esi
push esi
push dword [edi]
mov eax, ebx
push 0x12
call fcn.004a3445
add esp, 0x10
test eax, eax
jne 0x4aa133
push esi
push 0x65
mov eax, edi
call fcn.004b22ca
xor ecx, ecx
cmp dword [edi + 0x18], esi
mov dword [esp + 0x4c], eax
setne cl
push eax
mov eax, edi
mov dword [esp + 0x74], ecx
mov ecx, ebx
call fcn.004a7167
add esp, 0xc
test eax, eax
jne 0x4aa133
push edi
push ebx
call fcn.004a5070
pop ecx
pop ecx
test eax, eax
jne 0x4aa133
mov edi, ebx
call fcn.004af5bb
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4aa133
cmp byte [ebx + 0x13], 0
jne 0x4a955b
mov byte [esi + 0xfd], 1
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x4a956c
cmp dword [esp + 0x44], edi
jne 0x4a956c
xor eax, eax
jmp 0x4a956f
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x5c]
mov ecx, ebx
call fcn.004a6984
pop ecx
cmp dword [esp + 0x44], edi
je 0x4a958d
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x54], eax
inc eax
mov dword [ebx + 0x44], eax
cmp dword [ebp + 0x18], edi
jne 0x4a95b3
push dword [esp + 0x58]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [esp + 0x3c]
push ebx
call fcn.004aaab5
add esp, 0x10
test eax, eax
jne 0x4aa133
xor edi, edi
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x5c]
call fcn.004a9275
pop ecx
pop ecx
mov dword [esp + 0x5c], eax
cmp dword [ebp + 0x14], edi
je 0x4a978a
push edi
push edi
push edi
push 0x5b
mov eax, esi
call fcn.0049810a
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, esi
call fcn.004981e9
push edi
push edi
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x9c], eax
push edi
lea eax, [esp + 0x9c]
push eax
push dword [ebp + 0x14]
mov byte [esp + 0xa4], 0xa
push ebx
mov byte [esp + 0xa9], 0
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
call fcn.004b0977
add esp, 0x2c
test eax, eax
jne 0x4aa133
cmp dword [ebx + 0x40], edi
jne 0x4aa133
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x1e], 0
jne 0x4aa133
mov eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov eax, esi
call fcn.004981e9
push edi
push eax
mov dword [esp + 0x50], eax
push edi
push 0x5b
mov eax, esi
call fcn.0049810a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
add esp, 0x10
mov dword [esp + 0x28], eax
cmp dword [esp + 0x44], edi
jne 0x4a96a4
push dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ebx, esi
call fcn.004a9204
pop ecx
test eax, eax
je 0x4a977a
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 0x44]
lea eax, [edi + 1]
mov ecx, ebx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x38], edi
mov dword [ebx + 0x44], eax
call fcn.004a1b17
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.004a1b17
mov edx, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.0049822b
push dword [esp + 0x20]
mov eax, esi
push dword [esp + 0x2c]
push dword [esp + 0x8c]
push 0x55
call fcn.0049810a
push dword [esp + 0x50]
mov eax, esi
push edi
push 0x19
call fcn.004981a3
add esp, 0x1c
push dword [esp + 0x40]
mov eax, esi
push dword [esp + 0x24]
push edi
push 0x69
call fcn.0049810a
xor eax, eax
push eax
push eax
push eax
push 0x18
mov eax, esi
call fcn.0049810a
mov edx, dword [esp + 0x40]
mov eax, ebx
call fcn.004a1b74
mov edx, dword [esp + 0x60]
call fcn.004a1b74
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, esi
call fcn.00498415
push dword [esp + 0x48]
mov eax, esi
push edi
push 0x70
call fcn.004981a3
add esp, 0x2c
push 0
push dword [esp + 0x28]
mov eax, esi
push 0
push 0x5b
call fcn.0049810a
mov edx, dword [esp + 0x58]
add esp, 0x10
mov ecx, esi
call fcn.0049822b
jmp 0x4a9802
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, esi
call fcn.00498415
jmp 0x4a97ff
push 0x24
lea eax, [esp + 0x90]
push edi
push eax
call fcn.004de430
mov eax, dword [ebp + 0x10]
or dword [esp + 0x44], 0xffffffff
add esp, 0xc
mov dword [esp + 0x8c], ebx
cmp eax, edi
je 0x4a97b8
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x4a97bc
mov dword [esp + 0x28], edi
cmp dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
jle 0x4a9802
and dword [esp + 0x20], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x20]
mov ebx, dword [eax + ecx]
lea edi, [esp + 0x8c]
call fcn.0049fdba
test eax, eax
jne 0x4aa133
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 0xc
cmp eax, dword [esp + 0x28]
jl 0x4a97cb
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x39], 0
je 0x4a9831
mov ecx, dword [edi + 4]
test ecx, ecx
jle 0x4a9831
mov eax, dword [edi + 8]
add eax, 0x13
mov dword [esp + 0x1c], ecx
xor ecx, ecx
cmp byte [eax], cl
setne cl
add eax, 0x14
add dword [esp + 0x18], ecx
dec dword [esp + 0x1c]
jne 0x4a981d
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4a9872
cmp dword [esp + 0x28], edx
je 0x4a998f
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp dword [esp + 0x28], ecx
je 0x4a9981
push dword [esp + 0x28]
mov esi, ebx
push eax
push edx
push dword [ebp + 0xc]
push str.table__S_has__d_columns_but__d_values_were_supplied
call fcn.0048c501
add esp, 0x14
jmp 0x4aa133
mov ecx, dword [edx + 4]
cmp dword [esp + 0x28], ecx
je 0x4a9894
push ecx
push dword [esp + 0x2c]
mov esi, ebx
push str._d_values_for__d_columns
call fcn.0048c501
add esp, 0xc
jmp 0x4aa133
xor eax, eax
test ecx, ecx
jle 0x4a98a7
mov ecx, dword [edx]
or dword [ecx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [edx + 4]
jl 0x4a989a
and dword [esp + 0x14], 0
cmp dword [edx + 4], 0
jle 0x4a998f
and dword [esp + 0x18], 0
cmp dword [edi + 4], 0
jle 0x4a9919
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*8]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.0048c5a6
test eax, eax
je 0x4a9901
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 0x14
cmp eax, dword [edi + 4]
jl 0x4a98d8
jmp 0x4a9919
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
cmp eax, dword [edi + 0xc]
jne 0x4a9919
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jl 0x4a9943
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*8]
call fcn.0049f565
test eax, eax
je 0x4a9959
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
inc dword [esp + 0x14]
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 4]
jl 0x4a98b6
jmp 0x4a998f
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push dword [eax + ecx*8]
mov esi, ebx
push 0
push dword [ebp + 0xc]
push str.table__S_has_no_column_named__s
call fcn.0048c501
add esp, 0x10
inc dword [ebx + 0x40]
jmp 0x4aa133
cmp dword [esp + 0x28], 0
jle 0x4a998f
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x44], 0
je 0x4a99ba
push 0
push dword [edi + 4]
mov eax, esi
push 0
push 0x62
call fcn.0049810a
push 0
push 0
push dword [esp + 0x6c]
mov eax, esi
push 0x6f
call fcn.0049810a
add esp, 0x20
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4a99df
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push 0
push eax
mov dword [esp + 0x74], eax
push 0
push 0x2f
mov eax, esi
call fcn.0049810a
add esp, 0x10
cmp dword [esp + 0x68], 0
jne 0x4a9a3d
mov eax, dword [ebx + 0x44]
push 9
mov dword [esp + 0x40], eax
push eax
mov eax, edi
mov ecx, ebx
call fcn.004aa9b3
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], eax
lea eax, [eax*4 + 4]
push eax
call fcn.0048aad6
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
je 0x4aa133
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x4a9a39
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov edx, dword [esp + 0x60]
mov dword [edx + ecx*4], eax
inc ecx
cmp ecx, dword [esp + 0x1c]
jl 0x4a9a25
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x4c], 0
je 0x4a9a69
mov eax, esi
call fcn.004981e9
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
push 0x74
mov eax, esi
call fcn.004981a3
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x78], eax
jmp 0x4a9a8e
cmp dword [ebp + 0x14], 0
je 0x4a9a8e
push 0
push dword [esp + 0x28]
mov eax, esi
push 0
push 0x5b
call fcn.0049810a
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
call fcn.0049822b
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov edx, dword [edi + 4]
lea ecx, [eax + 1]
lea eax, [edx + eax + 1]
mov dword [ebx + 0x48], eax
cmp byte [edi + 0x39], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x10], ecx
je 0x4a9ab8
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x48], eax
mov eax, esi
call fcn.004981e9
test byte [esp + 0x44], 1
mov dword [esp + 0x20], eax
je 0x4a9cba
mov ecx, ebx
call fcn.004a1b17
cmp dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
jge 0x4a9ae9
push 0
push eax
push 0xffffffffffffffff
push 0x2f
jmp 0x4a9afe
cmp dword [esp + 0x4c], 0
push dword [esp + 0x18]
je 0x4a9b0a
push dword [esp + 0x34]
push dword [esp + 0x40]
push 3
mov eax, esi
call fcn.0049810a
add esp, 0x10
jmp 0x4a9b63
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx]
push ebx
call fcn.004a1128
add esp, 0xc
push dword [esp + 0x18]
mov eax, esi
push 0x42
call fcn.0049818c
push 0
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
push 0xffffffffffffffff
push 0x2f
mov eax, esi
call fcn.0049810a
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.00498415
push dword [esp + 0x30]
mov eax, esi
push 0x25
call fcn.0049818c
add esp, 0x20
push dword [edi + 4]
mov esi, ebx
call fcn.004a1b8b
and dword [esp + 0x18], 0
cmp dword [edi + 4], 0
pop ecx
mov dword [esp + 0x24], eax
jle 0x4a9c23
and dword [esp + 0x1c], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4a9bb6
mov eax, esi
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x24]
je 0x4a9bf1
add ecx, esi
push ecx
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push 3
call fcn.0049810a
add esp, 0x10
jmp 0x4a9c10
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x4a9bd0
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], esi
je 0x4a9bd0
inc eax
add ecx, 8
cmp eax, edx
jl 0x4a9bc4
cmp eax, edx
jl 0x4a9b93
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
add eax, esi
push eax
mov eax, dword [edi + 8]
push dword [eax + ecx + 4]
push ebx
call fcn.004a1128
add esp, 0xc
jmp 0x4a9c10
mov edx, dword [esp + 0x14]
imul eax, eax, 0xc
add ecx, edx
push ecx
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
mov esi, dword [eax + ecx]
mov eax, ebx
call fcn.004a1164
mov esi, dword [esp + 0x18]
pop ecx
add dword [esp + 0x1c], 0x14
inc esi
cmp esi, dword [edi + 4]
mov dword [esp + 0x14], esi
jl 0x4a9b8a
mov ecx, ebx
call fcn.004a1b17
mov esi, eax
mov eax, dword [esp + 0x2c]
push esi
push dword [edi + 4]
push dword [esp + 0x2c]
push 0x55
call fcn.0049810a
add esp, 0x10
cmp dword [esp + 0x68], 0
jne 0x4a9c53
push dword [esp + 0x2c]
call fcn.004a91ac
pop ecx
push dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push esi
push dword [esp + 0x5c]
push 0x69
call fcn.0049810a
add esp, 0x10
mov edx, esi
mov eax, ebx
call fcn.004a1b74
mov edx, dword [esp + 0x18]
call fcn.004a1b74
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x38]
jle 0x4a9c8e
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x3c], eax
xor eax, eax
push eax
push eax
push dword [esp + 0x28]
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push dword [esp + 0x68]
push edi
push 1
push eax
push 0x65
push ebx
call fcn.004b2547
add esp, 0x2c
test eax, eax
jne 0x4aa133
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x68], 0
jne 0x4a9fc3
cmp byte [edi + 0x39], 0
je 0x4a9cdf
push 0
push dword [esp + 0x44]
mov eax, esi
push 0
push 0x71
call fcn.0049810a
add esp, 0x10
xor eax, eax
cmp dword [esp + 0x30], eax
jl 0x4a9dc8
push dword [esp + 0x10]
cmp dword [esp + 0x50], eax
je 0x4a9d52
push dword [esp + 0x34]
mov eax, esi
push dword [esp + 0x40]
push 3
call fcn.0049810a
add esp, 0x10
push dword [esp + 0x10]
mov eax, esi
push 0x42
call fcn.0049818c
push dword [esp + 0x64]
mov dword [esp + 0x28], eax
push dword [esp + 0x1c]
mov eax, esi
push dword [esp + 0x4c]
push 0x19
call fcn.0049810a
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.00498415
push dword [esp + 0x28]
mov eax, esi
push 0x25
call fcn.0049818c
add esp, 0x20
jmp 0x4a9e02
cmp dword [ebp + 0x14], eax
mov eax, dword [esp + 0x34]
je 0x4a9d70
mov ecx, dword [esp + 0x78]
add ecx, eax
push ecx
push 8
mov eax, esi
call fcn.004981a3
add esp, 0xc
jmp 0x4a9d09
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx]
push ebx
call fcn.004a1128
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
jl 0x4a9d9b
cmp eax, ecx
jge 0x4a9d9b
imul eax, eax, 0x14
add eax, dword [esi + 0x14]
jmp 0x4a9d9d
xor eax, eax
test eax, eax
je 0x4a9d09
cmp byte [eax], 0x71
jne 0x4a9d09
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x19
mov dword [eax + 0xc], ecx
jmp 0x4a9dfa
cmp byte [edi + 0x39], 0
mov eax, esi
je 0x4a9de4
push 0
push dword [esp + 0x14]
push 0
push 0x71
call fcn.0049810a
add esp, 0x10
jmp 0x4a9e02
push dword [esp + 0x5c]
push dword [esp + 0x14]
push dword [esp + 0x44]
push 0x19
call fcn.0049810a
add esp, 0x10
mov dword [esp + 0x70], 1
push dword [esp + 0x10]
mov eax, ebx
push dword [esp + 0x60]
call fcn.004a937b
xor eax, eax
cmp dword [edi + 4], eax
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jle 0x4a9e98
and dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
cmp eax, dword [edi + 0xc]
jne 0x4a9e4e
push 0
push dword [esp + 0x14]
push 0
push 0x71
mov eax, esi
call fcn.0049810a
add esp, 0x10
jmp 0x4a9e82
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4a9ee8
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
cmp byte [eax + ecx + 0x13], dl
je 0x4a9ede
inc dword [esp + 0x18]
push dword [esp + 0x10]
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x28]
push dword [eax + ecx + 4]
push ebx
call fcn.004a1128
add esp, 0xc
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
add dword [esp + 0x24], 0x14
cmp eax, dword [edi + 4]
jl 0x4a9e2f
cmp byte [edi + 0x39], 0
je 0x4a9f6b
mov esi, dword [ebp + 8]
mov ebx, edi
call fcn.004b42d1
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 4]
mov ebx, dword [eax + 0x40]
push 0xfffffffffffffff6
push dword [esp + 0x44]
inc ecx
inc ecx
push ecx
push 1
push 0x77
push dword [esp + 0x40]
call fcn.004981ba
mov edi, dword [esp + 0x4c]
mov ebx, esi
mov esi, dword [esp + 0x44]
add esp, 0x18
jmp 0x4a9fc3
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
jmp 0x4a9f08
xor eax, eax
cmp dword [edx + 4], eax
jle 0x4a9f10
mov ecx, dword [edx]
add ecx, 4
mov edx, dword [esp + 0x14]
cmp dword [ecx], edx
mov edx, dword [ebp + 0x18]
je 0x4a9f08
inc eax
add ecx, 8
cmp eax, dword [edx + 4]
jl 0x4a9ef4
test eax, eax
jl 0x4a9e6a
cmp dword [esp + 0x28], 0
je 0x4a9e6a
test edx, edx
je 0x4a9f28
cmp eax, dword [edx + 4]
jge 0x4a9e6a
cmp dword [esp + 0x4c], 0
push dword [esp + 0x10]
je 0x4a9f3f
push eax
push dword [esp + 0x40]
push 3
jmp 0x4a9e42
cmp dword [ebp + 0x14], 0
je 0x4a9f5a
mov ecx, dword [esp + 0x78]
add eax, ecx
push eax
push 8
mov eax, esi
call fcn.004981a3
jmp 0x4a9e7f
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx]
jmp 0x4a9e79
push dword [esp + 0x20]
xor eax, eax
cmp dword [esp + 0x34], eax
push dword [ebp + 0x1c]
setge al
push 0
mov ecx, edi
push eax
push dword [esp + 0x70]
push dword [esp + 0x54]
push dword [esp + 0x54]
push ebx
call fcn.004aa164
add esp, 0x20
test byte [esp + 0x44], 2
je 0x4a9fa2
mov eax, dword [esp + 0x54]
jmp 0x4a9fa5
or eax, 0xffffffff
push dword [esp + 0x70]
push eax
push 0
push dword [esp + 0x6c]
mov eax, edi
push dword [esp + 0x50]
push dword [esp + 0x50]
push ebx
call fcn.004aa8af
add esp, 0x1c
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4a9fe1
push 0
push 1
push dword [esp + 0x74]
mov eax, esi
push 0x29
call fcn.0049810a
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x4aa010
xor eax, eax
push eax
push eax
push dword [esp + 0x28]
push dword [ebp + 0x1c]
push 0xffffffffffffffff
push dword [esp + 0x68]
push edi
push 2
push eax
push 0x65
push ebx
call fcn.004b2547
add esp, 0x2c
test eax, eax
jne 0x4aa133
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.0049822b
cmp dword [esp + 0x4c], 0
je 0x4aa057
push dword [esp + 0x78]
mov eax, esi
push dword [esp + 0x3c]
push 0x67
call fcn.004981a3
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
call fcn.0049822b
push 0
push 0
push dword [esp + 0x40]
mov eax, esi
push 0x20
call fcn.0049810a
add esp, 0x10
jmp 0x4aa079
cmp dword [ebp + 0x14], 0
je 0x4aa079
xor eax, eax
push eax
push eax
push eax
push 0x18
mov eax, esi
call fcn.0049810a
mov edx, dword [esp + 0x58]
add esp, 0x10
mov ecx, esi
call fcn.0049822b
cmp byte [edi + 0x39], 0
jne 0x4aa0d5
cmp dword [esp + 0x68], 0
jne 0x4aa0d5
push 0
push 0
push dword [esp + 0x44]
mov eax, esi
push 0x20
call fcn.0049810a
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x64], eax
test eax, eax
je 0x4aa0d5
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x48], eax
push 0
push 0
push dword [esp + 0x50]
mov eax, esi
push 0x20
call fcn.0049810a
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x20]
add esp, 0x10
inc dword [esp + 0x48]
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4aa0ae
cmp byte [edi + 0x38], 0
je 0x4aa0eb
push dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov eax, ebx
call fcn.004a939a
pop ecx
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4aa133
cmp byte [ebx + 0x13], 0
jne 0x4aa133
cmp dword [ebx + 0x188], 0
jne 0x4aa133
xor ebx, ebx
push ebx
xor edi, edi
inc edi
push edi
push dword [esp + 0x74]
mov eax, esi
push 0x56
call fcn.0049810a
call fcn.00498c8f
mov eax, dword [esp + 0x3c]
push ebx
push ebx
push 0xfffffffffffffffe
pop ebx
mov ecx, str.rows_inserted
call fcn.00498ce5
add esp, 0x18
mov ebx, dword [ebp + 0xc]
call fcn.004a6645
mov esi, dword [ebp + 0x10]
call fcn.0049f332
mov esi, dword [ebp + 0x14]
call fcn.004ad949
mov esi, dword [ebp + 0x18]
call fcn.004a64cd
push dword [esp + 0x60]
call fcn.0048a842
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret