Function at 0x4b4cd7
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 0x4b59cf
cmp byte [eax + 0x1e], 0
jne 0x4b59cf
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0xc], esi
je 0x4b59cf
push ebx
call fcn.004b29b3
pop ecx
mov dword [esp + 0x34], eax
cmp eax, esi
je 0x4b59cf
mov ecx, dword [esp + 0x50]
mov edi, eax
mov esi, dword [edi + 0x4c]
call fcn.004b8bf9
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.004aece1
add esp, 0x10
test eax, eax
jne 0x4b59cf
push esi
push 0x65
mov eax, edi
call fcn.004bdb66
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.004b2a03
add esp, 0xc
test eax, eax
jne 0x4b59cf
push edi
push ebx
call fcn.004b090c
pop ecx
pop ecx
test eax, eax
jne 0x4b59cf
mov edi, ebx
call fcn.004bae57
mov esi, eax
mov dword [esp + 0x2c], esi
test esi, esi
je 0x4b59cf
cmp byte [ebx + 0x13], 0
jne 0x4b4df7
mov byte [esi + 0xfd], 1
xor edi, edi
cmp dword [ebp + 0x14], edi
jne 0x4b4e08
cmp dword [esp + 0x44], edi
jne 0x4b4e08
xor eax, eax
jmp 0x4b4e0b
xor eax, eax
inc eax
push eax
mov eax, dword [esp + 0x5c]
mov ecx, ebx
call fcn.004b2220
pop ecx
cmp dword [esp + 0x44], edi
je 0x4b4e29
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x54], eax
inc eax
mov dword [ebx + 0x44], eax
cmp dword [ebp + 0x18], edi
jne 0x4b4e4f
push dword [esp + 0x58]
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x1c]
push dword [esp + 0x3c]
push ebx
call fcn.004b6351
add esp, 0x10
test eax, eax
jne 0x4b59cf
xor edi, edi
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x5c]
call fcn.004b4b11
pop ecx
pop ecx
mov dword [esp + 0x5c], eax
cmp dword [ebp + 0x14], edi
je 0x4b5026
push edi
push edi
push edi
push 0x5b
mov eax, esi
call fcn.004a39a6
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x34], eax
mov eax, esi
call fcn.004a3a85
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.004bc213
add esp, 0x2c
test eax, eax
jne 0x4b59cf
cmp dword [ebx + 0x40], edi
jne 0x4b59cf
mov eax, dword [esp + 0x50]
cmp byte [eax + 0x1e], 0
jne 0x4b59cf
mov eax, dword [esp + 0x84]
mov dword [esp + 0x74], eax
mov eax, esi
call fcn.004a3a85
push edi
push eax
mov dword [esp + 0x50], eax
push edi
push 0x5b
mov eax, esi
call fcn.004a39a6
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 0x4b4f40
push dword [esp + 0x58]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov ebx, esi
call fcn.004b4aa0
pop ecx
test eax, eax
je 0x4b5016
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.004ad3b3
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.004ad3b3
mov edx, dword [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004a3ac7
push dword [esp + 0x20]
mov eax, esi
push dword [esp + 0x2c]
push dword [esp + 0x8c]
push 0x55
call fcn.004a39a6
push dword [esp + 0x50]
mov eax, esi
push edi
push 0x19
call fcn.004a3a3f
add esp, 0x1c
push dword [esp + 0x40]
mov eax, esi
push dword [esp + 0x24]
push edi
push 0x69
call fcn.004a39a6
xor eax, eax
push eax
push eax
push eax
push 0x18
mov eax, esi
call fcn.004a39a6
mov edx, dword [esp + 0x40]
mov eax, ebx
call fcn.004ad410
mov edx, dword [esp + 0x60]
call fcn.004ad410
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, esi
call fcn.004a3cb1
push dword [esp + 0x48]
mov eax, esi
push edi
push 0x70
call fcn.004a3a3f
add esp, 0x2c
push 0
push dword [esp + 0x28]
mov eax, esi
push 0
push 0x5b
call fcn.004a39a6
mov edx, dword [esp + 0x58]
add esp, 0x10
mov ecx, esi
call fcn.004a3ac7
jmp 0x4b509e
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
mov ecx, esi
call fcn.004a3cb1
jmp 0x4b509b
push 0x24
lea eax, [esp + 0x90]
push edi
push eax
call fcn.004f3c10
mov eax, dword [ebp + 0x10]
or dword [esp + 0x44], 0xffffffff
add esp, 0xc
mov dword [esp + 0x8c], ebx
cmp eax, edi
je 0x4b5054
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0x4b5058
mov dword [esp + 0x28], edi
cmp dword [esp + 0x28], edi
mov dword [esp + 0x14], edi
jle 0x4b509e
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.004ab656
test eax, eax
jne 0x4b59cf
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x20], 0xc
cmp eax, dword [esp + 0x28]
jl 0x4b5067
mov ebx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
cmp byte [edi + 0x39], 0
je 0x4b50cd
mov ecx, dword [edi + 4]
test ecx, ecx
jle 0x4b50cd
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 0x4b50b9
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4b510e
cmp dword [esp + 0x28], edx
je 0x4b522b
mov eax, dword [edi + 4]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp dword [esp + 0x28], ecx
je 0x4b521d
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.00497d9d
add esp, 0x14
jmp 0x4b59cf
mov ecx, dword [edx + 4]
cmp dword [esp + 0x28], ecx
je 0x4b5130
push ecx
push dword [esp + 0x2c]
mov esi, ebx
push str._d_values_for__d_columns
call fcn.00497d9d
add esp, 0xc
jmp 0x4b59cf
xor eax, eax
test ecx, ecx
jle 0x4b5143
mov ecx, dword [edx]
or dword [ecx + eax*8 + 4], 0xffffffff
inc eax
cmp eax, dword [edx + 4]
jl 0x4b5136
and dword [esp + 0x14], 0
cmp dword [edx + 4], 0
jle 0x4b522b
and dword [esp + 0x18], 0
cmp dword [edi + 4], 0
jle 0x4b51b5
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.00497e42
test eax, eax
je 0x4b519d
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
add dword [esp + 0x20], 0x14
cmp eax, dword [edi + 4]
jl 0x4b5174
jmp 0x4b51b5
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], eax
cmp eax, dword [edi + 0xc]
jne 0x4b51b5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [edi + 4]
jl 0x4b51df
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx*8]
call fcn.004aae01
test eax, eax
je 0x4b51f5
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 0x4b5152
jmp 0x4b522b
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.00497d9d
add esp, 0x10
inc dword [ebx + 0x40]
jmp 0x4b59cf
cmp dword [esp + 0x28], 0
jle 0x4b522b
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x44], 0
je 0x4b5256
push 0
push dword [edi + 4]
mov eax, esi
push 0
push 0x62
call fcn.004a39a6
push 0
push 0
push dword [esp + 0x6c]
mov eax, esi
push 0x6f
call fcn.004a39a6
add esp, 0x20
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4b527b
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.004a39a6
add esp, 0x10
cmp dword [esp + 0x68], 0
jne 0x4b52d9
mov eax, dword [ebx + 0x44]
push 9
mov dword [esp + 0x40], eax
push eax
mov eax, edi
mov ecx, ebx
call fcn.004b624f
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], eax
lea eax, [eax*4 + 4]
push eax
call fcn.00496372
add esp, 0xc
mov dword [esp + 0x60], eax
test eax, eax
je 0x4b59cf
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
jle 0x4b52d5
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 0x4b52c1
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x4c], 0
je 0x4b5305
mov eax, esi
call fcn.004a3a85
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x6c], eax
push 0x74
mov eax, esi
call fcn.004a3a3f
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [esp + 0x78], eax
jmp 0x4b532a
cmp dword [ebp + 0x14], 0
je 0x4b532a
push 0
push dword [esp + 0x28]
mov eax, esi
push 0
push 0x5b
call fcn.004a39a6
mov edx, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
call fcn.004a3ac7
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 0x4b5354
inc ecx
inc eax
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x48], eax
mov eax, esi
call fcn.004a3a85
test byte [esp + 0x44], 1
mov dword [esp + 0x20], eax
je 0x4b5556
mov ecx, ebx
call fcn.004ad3b3
cmp dword [esp + 0x30], 0
mov dword [esp + 0x18], eax
jge 0x4b5385
push 0
push eax
push 0xffffffffffffffff
push 0x2f
jmp 0x4b539a
cmp dword [esp + 0x4c], 0
push dword [esp + 0x18]
je 0x4b53a6
push dword [esp + 0x34]
push dword [esp + 0x40]
push 3
mov eax, esi
call fcn.004a39a6
add esp, 0x10
jmp 0x4b53ff
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.004ac9c4
add esp, 0xc
push dword [esp + 0x18]
mov eax, esi
push 0x42
call fcn.004a3a28
push 0
push dword [esp + 0x24]
mov dword [esp + 0x2c], eax
push 0xffffffffffffffff
push 0x2f
mov eax, esi
call fcn.004a39a6
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.004a3cb1
push dword [esp + 0x30]
mov eax, esi
push 0x25
call fcn.004a3a28
add esp, 0x20
push dword [edi + 4]
mov esi, ebx
call fcn.004ad427
and dword [esp + 0x18], 0
cmp dword [edi + 4], 0
pop ecx
mov dword [esp + 0x24], eax
jle 0x4b54bf
and dword [esp + 0x1c], 0
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4b5452
mov eax, esi
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x24]
je 0x4b548d
add ecx, esi
push ecx
push eax
push dword [esp + 0x40]
mov eax, dword [esp + 0x38]
push 3
call fcn.004a39a6
add esp, 0x10
jmp 0x4b54ac
mov edx, dword [ecx + 4]
xor eax, eax
test edx, edx
jle 0x4b546c
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], esi
je 0x4b546c
inc eax
add ecx, 8
cmp eax, edx
jl 0x4b5460
cmp eax, edx
jl 0x4b542f
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.004ac9c4
add esp, 0xc
jmp 0x4b54ac
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.004aca00
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 0x4b5426
mov ecx, ebx
call fcn.004ad3b3
mov esi, eax
mov eax, dword [esp + 0x2c]
push esi
push dword [edi + 4]
push dword [esp + 0x2c]
push 0x55
call fcn.004a39a6
add esp, 0x10
cmp dword [esp + 0x68], 0
jne 0x4b54ef
push dword [esp + 0x2c]
call fcn.004b4a48
pop ecx
push dword [esp + 0x18]
mov eax, dword [esp + 0x30]
push esi
push dword [esp + 0x5c]
push 0x69
call fcn.004a39a6
add esp, 0x10
mov edx, esi
mov eax, ebx
call fcn.004ad410
mov edx, dword [esp + 0x18]
call fcn.004ad410
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 0x38]
jle 0x4b552a
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.004bdde3
add esp, 0x2c
test eax, eax
jne 0x4b59cf
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x68], 0
jne 0x4b585f
cmp byte [edi + 0x39], 0
je 0x4b557b
push 0
push dword [esp + 0x44]
mov eax, esi
push 0
push 0x71
call fcn.004a39a6
add esp, 0x10
xor eax, eax
cmp dword [esp + 0x30], eax
jl 0x4b5664
push dword [esp + 0x10]
cmp dword [esp + 0x50], eax
je 0x4b55ee
push dword [esp + 0x34]
mov eax, esi
push dword [esp + 0x40]
push 3
call fcn.004a39a6
add esp, 0x10
push dword [esp + 0x10]
mov eax, esi
push 0x42
call fcn.004a3a28
push dword [esp + 0x64]
mov dword [esp + 0x28], eax
push dword [esp + 0x1c]
mov eax, esi
push dword [esp + 0x4c]
push 0x19
call fcn.004a39a6
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x34]
mov ecx, esi
call fcn.004a3cb1
push dword [esp + 0x28]
mov eax, esi
push 0x25
call fcn.004a3a28
add esp, 0x20
jmp 0x4b569e
cmp dword [ebp + 0x14], eax
mov eax, dword [esp + 0x34]
je 0x4b560c
mov ecx, dword [esp + 0x78]
add ecx, eax
push ecx
push 8
mov eax, esi
call fcn.004a3a3f
add esp, 0xc
jmp 0x4b55a5
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx]
push ebx
call fcn.004ac9c4
mov ecx, dword [esi + 0xc]
lea eax, [ecx - 1]
add esp, 0xc
test eax, eax
jl 0x4b5637
cmp eax, ecx
jge 0x4b5637
imul eax, eax, 0x14
add eax, dword [esi + 0x14]
jmp 0x4b5639
xor eax, eax
test eax, eax
je 0x4b55a5
cmp byte [eax], 0x71
jne 0x4b55a5
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 0x4b5696
cmp byte [edi + 0x39], 0
mov eax, esi
je 0x4b5680
push 0
push dword [esp + 0x14]
push 0
push 0x71
call fcn.004a39a6
add esp, 0x10
jmp 0x4b569e
push dword [esp + 0x5c]
push dword [esp + 0x14]
push dword [esp + 0x44]
push 0x19
call fcn.004a39a6
add esp, 0x10
mov dword [esp + 0x70], 1
push dword [esp + 0x10]
mov eax, ebx
push dword [esp + 0x60]
call fcn.004b4c17
xor eax, eax
cmp dword [edi + 4], eax
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jle 0x4b5734
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 0x4b56ea
push 0
push dword [esp + 0x14]
push 0
push 0x71
mov eax, esi
call fcn.004a39a6
add esp, 0x10
jmp 0x4b571e
mov edx, dword [ebp + 0x18]
test edx, edx
jne 0x4b5784
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x24]
cmp byte [eax + ecx + 0x13], dl
je 0x4b577a
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.004ac9c4
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 0x4b56cb
cmp byte [edi + 0x39], 0
je 0x4b5807
mov esi, dword [ebp + 8]
mov ebx, edi
call fcn.004bfb6d
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.004a3a56
mov edi, dword [esp + 0x4c]
mov ebx, esi
mov esi, dword [esp + 0x44]
add esp, 0x18
jmp 0x4b585f
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
jmp 0x4b57a4
xor eax, eax
cmp dword [edx + 4], eax
jle 0x4b57ac
mov ecx, dword [edx]
add ecx, 4
mov edx, dword [esp + 0x14]
cmp dword [ecx], edx
mov edx, dword [ebp + 0x18]
je 0x4b57a4
inc eax
add ecx, 8
cmp eax, dword [edx + 4]
jl 0x4b5790
test eax, eax
jl 0x4b5706
cmp dword [esp + 0x28], 0
je 0x4b5706
test edx, edx
je 0x4b57c4
cmp eax, dword [edx + 4]
jge 0x4b5706
cmp dword [esp + 0x4c], 0
push dword [esp + 0x10]
je 0x4b57db
push eax
push dword [esp + 0x40]
push 3
jmp 0x4b56de
cmp dword [ebp + 0x14], 0
je 0x4b57f6
mov ecx, dword [esp + 0x78]
add eax, ecx
push eax
push 8
mov eax, esi
call fcn.004a3a3f
jmp 0x4b571b
mov ecx, dword [ebp + 0x10]
imul eax, eax, 0xc
mov ecx, dword [ecx + 0xc]
push dword [eax + ecx]
jmp 0x4b5715
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.004b5a00
add esp, 0x20
test byte [esp + 0x44], 2
je 0x4b583e
mov eax, dword [esp + 0x54]
jmp 0x4b5841
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.004b614b
add esp, 0x1c
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4b587d
push 0
push 1
push dword [esp + 0x74]
mov eax, esi
push 0x29
call fcn.004a39a6
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x4b58ac
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.004bdde3
add esp, 0x2c
test eax, eax
jne 0x4b59cf
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.004a3ac7
cmp dword [esp + 0x4c], 0
je 0x4b58f3
push dword [esp + 0x78]
mov eax, esi
push dword [esp + 0x3c]
push 0x67
call fcn.004a3a3f
mov edx, dword [esp + 0x70]
add esp, 0xc
mov ecx, esi
call fcn.004a3ac7
push 0
push 0
push dword [esp + 0x40]
mov eax, esi
push 0x20
call fcn.004a39a6
add esp, 0x10
jmp 0x4b5915
cmp dword [ebp + 0x14], 0
je 0x4b5915
xor eax, eax
push eax
push eax
push eax
push 0x18
mov eax, esi
call fcn.004a39a6
mov edx, dword [esp + 0x58]
add esp, 0x10
mov ecx, esi
call fcn.004a3ac7
cmp byte [edi + 0x39], 0
jne 0x4b5971
cmp dword [esp + 0x68], 0
jne 0x4b5971
push 0
push 0
push dword [esp + 0x44]
mov eax, esi
push 0x20
call fcn.004a39a6
mov eax, dword [edi + 0x10]
add esp, 0x10
mov dword [esp + 0x64], eax
test eax, eax
je 0x4b5971
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.004a39a6
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 0x4b594a
cmp byte [edi + 0x38], 0
je 0x4b5987
push dword [esp + 0x58]
mov ecx, dword [esp + 0x60]
mov eax, ebx
call fcn.004b4c36
pop ecx
mov eax, dword [esp + 0x50]
test byte [eax + 0xc], 0x80
je 0x4b59cf
cmp byte [ebx + 0x13], 0
jne 0x4b59cf
cmp dword [ebx + 0x188], 0
jne 0x4b59cf
xor ebx, ebx
push ebx
xor edi, edi
inc edi
push edi
push dword [esp + 0x74]
mov eax, esi
push 0x56
call fcn.004a39a6
call fcn.004a452b
mov eax, dword [esp + 0x3c]
push ebx
push ebx
push 0xfffffffffffffffe
pop ebx
mov ecx, str.rows_inserted
call fcn.004a4581
add esp, 0x18
mov ebx, dword [ebp + 0xc]
call fcn.004b1ee1
mov esi, dword [ebp + 0x10]
call fcn.004aabce
mov esi, dword [ebp + 0x14]
call fcn.004b91e5
mov esi, dword [ebp + 0x18]
call fcn.004b1d69
push dword [esp + 0x60]
call fcn.004960e2
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret