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

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
or eax, 0xffffffff
push esi
mov dword [esp + 0x2c], eax
xor eax, eax
push edi
mov edi, dword [ebp]
mov dword [esp + 0x50], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x1b], al
mov byte [esp + 0x2b], al
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], edi
cmp dword [ebp + 0x24], eax
jne 0x4a576a
cmp byte [edi + 0x51], al
jne 0x4a576a
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x4a4794
test dword [esi + 4], 0x200
je 0x4a4794
cmp dword [esi + 0x34], eax
jne 0x4a4794
mov eax, dword [esi + 0x1c]
push esi
push edi
mov dword [esp + 0x4c], eax
mov dword [esi + 0x1c], 0
call fcn.004b2c90
add esp, 8
mov dword [esp + 0x10], 0
push dword [esp + 0xb0]
push ebp
call fcn.004b3eb0
mov ebx, eax
add esp, 8
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4a577d
push dword [ebx + 0x48]
push edi
call fcn.004b0720
mov esi, eax
mov eax, dword [edi + 0x10]
mov ecx, esi
mov dword [esp + 0x84], esi
add ecx, ecx
push dword [eax + ecx*8]
push 0
push dword [ebx]
push 0x12
push ebp
call fcn.00489d80
add esp, 0x1c
test eax, eax
jne 0x4a4b06
mov eax, dword [ebx + 0x24]
shr eax, 7
and eax, 0xffffff01
mov dword [esp + 0x84], eax
lea eax, [esp + 0x74]
push eax
push 0
push 0x7d
push ebx
push ebp
call fcn.004b5240
mov dword [esp + 0x78], eax
xor eax, eax
cmp dword [ebx + 0xc], eax
push ebx
setne al
push ebp
mov dword [esp + 0x9c], eax
call fcn.004c4050
add esp, 0x1c
test eax, eax
jne 0x4a4b06
push dword [esp + 0x74]
push ebx
push ebp
call fcn.004a5a30
add esp, 0xc
test eax, eax
jne 0x4a4b06
push ebp
call fcn.004a3670
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4a4b06
cmp byte [ebp + 0x12], 0
jne 0x4a4866
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x10], 0
jne 0x4a4878
cmp dword [esp + 0x64], 0
jne 0x4a4878
xor eax, eax
jmp 0x4a487d
mov eax, 1
push esi
push eax
push ebp
call fcn.0048a810
add esp, 0xc
cmp dword [esp + 0xb8], 0
jne 0x4a48b0
push esi
push dword [esp + 0xc0]
push dword [esp + 0x18]
push ebx
push ebp
call fcn.004dfe00
add esp, 0x14
test eax, eax
jne 0x4a563e
push ebx
push esi
push ebp
call fcn.004517f0
mov ecx, dword [ebp + 0x2c]
add esp, 0xc
mov dword [esp + 0x70], eax
movsx eax, word [ebx + 0x2a]
inc eax
lea esi, [ecx + 1]
add eax, ecx
mov edx, esi
mov dword [ebp + 0x2c], eax
cmp dword [ebx + 0x38], 0
mov dword [esp + 0x54], esi
mov dword [esp + 0x2c], edx
je 0x4a48ea
lea edx, [esi + 1]
inc eax
mov dword [esp + 0x2c], edx
mov dword [ebp + 0x2c], eax
test dword [ebx + 0x24], 0x440
lea eax, [edx + 1]
mov edx, dword [esp + 0xb8]
sete byte [esp + 0x23]
mov dword [esp + 0x3c], eax
test edx, edx
je 0x4a49c8
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x4a4923
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x4a4913
xor edi, edi
mov dword [esp + 0x38], edi
cmp dword [edx + 4], edi
jle 0x4a49c8
movsx ebx, word [ebx + 0x2a]
xor esi, esi
test ebx, ebx
jle 0x4a4bc6
mov eax, dword [edx]
mov edx, dword [esp + 0x14]
lea eax, [eax + edi*8]
mov edi, dword [edx + 4]
mov dword [esp + 0x48], eax
push dword [edi]
push dword [eax]
call fcn.004b47c0
add esp, 8
test eax, eax
mov eax, dword [esp + 0x48]
je 0x4a4abf
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x4a4950
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xb8]
movsx eax, word [ebx + 0x2a]
cmp esi, eax
jl 0x4a49ba
mov eax, dword [edx]
push dword [eax + edi*8]
call fcn.004a5a90
add esp, 4
test eax, eax
je 0x4a4bcf
cmp byte [esp + 0x84], 0
jne 0x4a4bcf
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x30], edi
mov byte [esp + 0x23], 0
inc edi
mov dword [esp + 0x38], edi
cmp edi, dword [edx + 4]
jl 0x4a4932
cmp dword [esp + 0x10], 0
je 0x4a4caa
mov eax, dword [esp + 0x1c]
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
mov esi, dword [eax + 0x6c]
inc esi
push esi
push 0
push edi
push 0xd
push eax
call fcn.004b8a40
movzx eax, byte [esp + 0x37]
neg eax
mov byte [esp + 0x9c], 0xd
mov dword [esp + 0xa0], edi
sbb eax, eax
mov dword [esp + 0xac], 0
and eax, dword [esp + 0x50]
mov dword [esp + 0xa4], eax
movsx eax, word [ebx + 0x2a]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x28]
push ebp
call fcn.004b0790
mov ecx, dword [esp + 0xb0]
add esp, 0x20
mov dword [esp + 0x5c], ecx
test eax, eax
jne 0x4a4b06
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x51], 0
jne 0x4a4b06
cmp dword [ebp + 0x24], 0
jne 0x4a4b06
push edi
mov edi, dword [esp + 0x20]
push edi
call fcn.004b9730
lea eax, [esi - 1]
push eax
push edi
call fcn.004c0950
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp dword [esp + 0x64], 0
mov eax, dword [eax + 0x1c]
mov esi, dword [eax]
mov dword [esp + 0x38], esi
jne 0x4a4bfb
push ebx
push dword [esp + 0x80]
push ebp
call fcn.00481a30
add esp, 0xc
test eax, eax
jne 0x4a4bfb
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x24], eax
jmp 0x4a4d26
mov edi, dword [esp + 0x38]
cmp edi, esi
mov ebx, dword [esp + 0x14]
mov dword [eax + 4], esi
setne al
dec al
and byte [esp + 0x23], al
movsx eax, word [ebx + 0x28]
cmp esi, eax
jne 0x4a4ae1
mov dword [esp + 0x30], edi
mov eax, dword [ebx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x4a4978
lea ecx, [esi + esi*4]
push dword [eax + ecx*4]
push str.cannot_INSERT_into_generated_column___s_
push ebp
call fcn.00493e20
add esp, 0xc
mov ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0x10]
push dword [esp + 0xb0]
mov ebp, dword [esp + 0x5c]
push ebp
call fcn.004b3800
mov eax, dword [esp + 0x4c]
add esp, 8
test eax, eax
je 0x4a4b37
push eax
push ebp
call fcn.0045f150
add esp, 8
mov edi, dword [esp + 0xc0]
test edi, edi
je 0x4a4b8f
mov eax, dword [edi]
test eax, eax
je 0x4a4b52
push eax
push ebp
call fcn.0045f150
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
je 0x4a4b63
push eax
push ebp
call fcn.00497330
add esp, 8
mov eax, dword [edi + 8]
test eax, eax
je 0x4a4b74
push eax
push ebp
call fcn.0045f150
add esp, 8
mov eax, dword [edi + 0xc]
test eax, eax
je 0x4a4b85
push eax
push ebp
call fcn.00497330
add esp, 8
push edi
push ebp
call fcn.00491cd0
add esp, 8
test esi, esi
je 0x4a4b9f
push 1
push esi
push ebp
call fcn.00456a20
add esp, 0xc
push ebx
push ebp
call fcn.004a3b70
mov eax, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x4a4bbb
push eax
push ebp
call fcn.00491cd0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret
mov ebx, dword [esp + 0x14]
jmp 0x4a497f
mov ebx, dword [esp + 0xb8]
mov eax, dword [ebx]
push dword [eax + edi*8]
push 0
push dword [esp + 0xb8]
push str.table__S_has_no_column_named__s
push ebp
call fcn.00493e20
add esp, 0x14
mov byte [ebp + 0x11], 1
jmp 0x4a4b0d
mov edx, dword [ebp + 0x28]
push ebp
mov byte [esp + 0x1f], 1
mov dword [esp + 0x38], edx
lea eax, [edx + 1]
mov dword [ebp + 0x28], eax
call fcn.004a2d30
push ebp
mov edi, eax
call fcn.004a2d30
push esi
mov esi, dword [esp + 0x28]
mov ebx, eax
push edx
push 0x64
push esi
call fcn.004b89e0
mov eax, dword [esp + 0xa4]
push eax
push 0xe
push esi
mov dword [esp + 0x48], eax
call fcn.004b8980
push edi
push dword [esp + 0x60]
mov esi, eax
push dword [esp + 0x88]
push 0x5b
push dword [esp + 0x50]
call fcn.004b8a40
push ebx
push dword [esp + 0x70]
push 0x78
push dword [esp + 0x60]
call fcn.004b89e0
add esp, 0x48
push ebx
push edi
push dword [esp + 0x3c]
push 0x79
push dword [esp + 0x2c]
call fcn.004b8a40
push esi
push dword [esp + 0x34]
call fcn.004c02d0
push esi
push dword [esp + 0x3c]
call fcn.004c0950
push edi
push ebp
call fcn.004ae9a0
push ebx
push ebp
call fcn.004ae9a0
mov esi, dword [esp + 0x6c]
add esp, 0x34
jmp 0x4a4d22
xor eax, eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 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 eax, dword [esp + 0x44]
mov dword [esp + 0x88], ebp
test eax, eax
je 0x4a4d1c
mov esi, dword [eax]
push eax
lea eax, [esp + 0x8c]
mov dword [esp + 0x3c], esi
push eax
call fcn.004aeec0
add esp, 8
test eax, eax
jne 0x4a4b06
jmp 0x4a4d22
xor esi, esi
mov dword [esp + 0x38], esi
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0xb8], 0
mov ebx, dword [esp + 0x14]
jne 0x4a4d75
test esi, esi
jle 0x4a4d75
movsx eax, word [ebx + 0x28]
mov dword [esp + 0x30], eax
test eax, eax
js 0x4a4d75
test byte [ebx + 0x24], 0x60
je 0x4a4d75
lea edx, [eax - 1]
test edx, edx
js 0x4a4d75
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
mov edi, dword [esp + 0x30]
lea eax, [eax + ecx*4]
add eax, 0x10
test byte [eax], 0x60
je 0x4a4d67
dec edi
sub eax, 0x14
dec edx
jns 0x4a4d61
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x1c]
movsx edx, word [ebx + 0x2a]
test edx, edx
jle 0x4a4d9e
mov eax, dword [ebx + 4]
mov ecx, edx
add eax, 0x10
xor ebp, ebp
test byte [eax], 0x62
je 0x4a4d8d
inc ebp
add eax, 0x14
dec ecx
jne 0x4a4d87
mov dword [esp + 0x50], ebp
mov ebp, dword [esp + 0xac]
mov eax, dword [esp + 0xb8]
test eax, eax
jne 0x4a4dd2
test esi, esi
je 0x4a4dee
sub edx, dword [esp + 0x50]
cmp esi, edx
je 0x4a4dee
push esi
push edx
push eax
push dword [esp + 0xbc]
push str.table__S_has__d_columns_but__d_values_were_supplied
push ebp
call fcn.00493e20
add esp, 0x18
jmp 0x4a4b06
mov eax, dword [eax + 4]
cmp esi, eax
je 0x4a4dee
push eax
push esi
push str._d_values_for__d_columns
push ebp
call fcn.00493e20
add esp, 0x10
jmp 0x4a4b06
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4a4e25
cmp byte [ebp + 0x12], 0
jne 0x4a4e25
cmp dword [ebp + 0x78], 0
jne 0x4a4e25
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x45
push edi
mov dword [esp + 0x88], eax
call fcn.004b89e0
add esp, 0x10
cmp dword [esp + 0x80], 0
jne 0x4a4ea9
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x61
push ebx
push ebp
call fcn.004a8020
mov esi, eax
push 0
lea eax, [esi*4 + 8]
push eax
push dword [esp + 0x80]
call fcn.00491d60
add esp, 0x2c
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4a4b06
mov edx, dword [ebx + 8]
xor ecx, ecx
test esi, esi
jle 0x4a4e9c
mov edi, eax
mov edi, edi
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [ebp + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, esi
jl 0x4a4e80
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edx + ecx*4], eax
mov esi, dword [esp + 0xc0]
test esi, esi
je 0x4a4f26
cmp dword [ebx + 0x38], 0
je 0x4a4ec6
push dword [ebx]
push str.UPSERT_not_implemented_for_virtual_table___s_
jmp 0x4a4afd
cmp dword [ebx + 0xc], 0
je 0x4a4edf
push str.cannot_UPSERT_a_view
push ebp
call fcn.00493e20
add esp, 8
jmp 0x4a4b06
push dword [esi]
push ebp
call fcn.004a3720
add esp, 8
test eax, eax
jne 0x4a4b06
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [ecx + 0x34], eax
cmp dword [esi], 0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], eax
je 0x4a4f2a
push esi
push ecx
push ebp
call fcn.004b7b10
add esp, 0xc
jmp 0x4a4f2a
mov ebx, dword [esp + 0x3c]
cmp byte [esp + 0x1b], 0
je 0x4a4f4d
push dword [esp + 0x34]
push 0x25
push edi
call fcn.004b8980
mov dword [esp + 0x6c], eax
add esp, 0xc
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x6c], eax
jmp 0x4a4f89
cmp dword [esp + 0x10], 0
je 0x4a4f89
push dword [esp + 0x24]
push 0xe
push edi
call fcn.004b8980
mov dword [esp + 0x78], eax
add esp, 0xc
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4a4f89
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x60]
add ecx, eax
push ecx
push 0x4d
push edi
call fcn.004b89e0
add esp, 0x10
mov edx, dword [esp + 0x14]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x50], 0
mov esi, ebx
mov dword [esp + 0x24], ecx
cmp ax, word [edx + 0x2a]
jge 0x4a50fa
xor ebx, ebx
mov dword [esp + 0x48], ebx
nop
movsx eax, word [edx + 0x28]
cmp ecx, eax
jne 0x4a4fc6
push esi
push 0x49
push edi
call fcn.004b8980
jmp 0x4a50d4
add ebx, dword [edx + 4]
movzx eax, word [ebx + 0x10]
test al, 0x62
je 0x4a5015
inc dword [esp + 0x50]
test al, 0x20
je 0x4a4fdf
dec esi
jmp 0x4a50df
test al, 0x40
je 0x4a4ffc
test byte [esp + 0x74], 1
je 0x4a50df
push esi
push 0x49
push edi
call fcn.004b8980
jmp 0x4a50d4
cmp dword [esp + 0xb8], 0
jne 0x4a501f
push esi
push dword [ebx + 4]
push ebp
call fcn.00494b30
jmp 0x4a50d4
cmp dword [esp + 0xb8], 0
je 0x4a506d
mov edx, dword [esp + 0xb8]
xor eax, eax
mov edx, dword [edx + 4]
test edx, edx
jle 0x4a5054
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x24]
mov ecx, dword [ecx]
add ecx, 4
nop
cmp dword [ecx], edi
je 0x4a504c
inc eax
add ecx, 8
cmp eax, edx
jl 0x4a5040
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp eax, edx
jl 0x4a5067
push esi
push dword [ebx + 4]
push ebp
call fcn.00494b30
jmp 0x4a50d4
mov edx, dword [esp + 0x14]
jmp 0x4a5086
cmp dword [esp + 0x38], 0
jne 0x4a5080
push esi
push dword [ebx + 4]
push ebp
call fcn.00494b30
jmp 0x4a50d4
mov eax, ecx
sub eax, dword [esp + 0x50]
cmp byte [esp + 0x1b], 0
je 0x4a50a0
push esi
push eax
push dword [esp + 0x3c]
push 0x59
push edi
call fcn.004b8a40
add esp, 0x14
jmp 0x4a50d7
cmp dword [esp + 0x10], 0
je 0x4a50c2
mov ebx, dword [esp + 0x5c]
cmp ebx, dword [esp + 0x3c]
je 0x4a50df
push esi
add eax, ebx
push eax
push 0x4e
push edi
call fcn.004b89e0
add esp, 0x10
jmp 0x4a50d7
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*4]
push esi
push dword [ecx + eax*4 + 4]
push ebp
call fcn.00494800
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add dword [esp + 0x48], 0x14
inc ecx
movsx eax, word [edx + 0x2a]
inc esi
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x4a4fb0
dec dword [ebp + 0x38]
test byte [esp + 0x74], 1
mov ebx, dword [ebp + 0x38]
je 0x4a52b0
movsx eax, word [edx + 0x2a]
inc eax
push eax
push ebp
call fcn.004a2cd0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x30]
push esi
test eax, eax
jns 0x4a5137
push 0xffffffffffffffff
push 0x45
push edi
call fcn.004b89e0
add esp, 0x10
jmp 0x4a51bc
cmp byte [esp + 0x1f], 0
je 0x4a5150
push eax
push dword [esp + 0x3c]
push 0x59
push edi
call fcn.004b8a40
add esp, 0x14
jmp 0x4a5164
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*4]
push dword [ecx + eax*4 + 4]
push ebp
call fcn.00494800
add esp, 0xc
push esi
push 0x33
push edi
call fcn.004b8980
push esi
push 0xffffffffffffffff
push 0x45
push dword [esp + 0x34]
mov edi, eax
call fcn.004b89e0
mov eax, dword [esp + 0x38]
add esp, 0x1c
mov edx, dword [eax + 0x6c]
test edi, edi
jns 0x4a518e
lea edi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x4a519d
mov eax, 0x50e22c
jmp 0x4a51aa
mov eax, dword [esp + 0x1c]
lea ecx, [edi + edi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
push esi
push 0xf
push dword [esp + 0x24]
mov dword [eax + 8], edx
call fcn.004b8980
add esp, 0xc
mov edx, dword [esp + 0x14]
lea edi, [esi + 1]
mov eax, dword [esp + 0x1c]
movsx edx, word [edx + 0x2c]
mov ecx, dword [eax + 0x6c]
dec edx
cmp dword [eax + 0x70], ecx
jg 0x4a51e7
push edx
push edi
push dword [esp + 0x44]
push 0x4d
push eax
call fcn.004752f0
add esp, 0x14
jmp 0x4a521f
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
lea ecx, [ecx + ecx*4]
mov dword [ebp + 0x6c], eax
mov eax, ebp
mov ebp, dword [esp + 0x3c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0xac]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
test byte [eax + 0x24], 0x60
je 0x4a5238
push eax
push edi
push ebp
call fcn.00490480
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x80], 0
jne 0x4a5250
push edi
push eax
push dword [esp + 0x24]
call fcn.004b4910
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, esi
push ebx
push dword [esp + 0xc0]
movsx eax, word [edx + 0x2a]
sub ecx, eax
dec ecx
push ecx
push edx
push 1
push 0
push 0x7d
push dword [esp + 0x80]
push ebp
call fcn.0048f650
mov edx, dword [esp + 0x38]
add esp, 0x24
movsx eax, word [edx + 0x2a]
inc eax
cmp eax, 1
jne 0x4a52a5
test esi, esi
je 0x4a52b0
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4a52b0
movzx eax, al
mov dword [ebp + eax*4 + 0x94], esi
inc byte [ebp + 0x13]
jmp 0x4a52b0
cmp eax, dword [ebp + 0x1c]
jle 0x4a52b0
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], esi
cmp dword [esp + 0x80], 0
mov edi, dword [esp + 0x1c]
jne 0x4a5534
cmp dword [edx + 0x38], 0
je 0x4a52dd
push dword [esp + 0x54]
push 0
push 0x48
push edi
call fcn.004b89e0
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4a53a3
cmp byte [esp + 0x1b], 0
je 0x4a5307
mov esi, dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x3c]
push 0x59
push edi
call fcn.004b8a40
add esp, 0x14
jmp 0x4a533d
cmp dword [esp + 0x10], 0
jne 0x4a5339
mov ecx, dword [esp + 0x44]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 4]
cmp byte [eax], 0x77
jne 0x4a5328
cmp dword [edx + 0x38], 0
je 0x4a53b3
mov esi, dword [esp + 0x2c]
push esi
push eax
push ebp
call fcn.00494800
add esp, 0xc
jmp 0x4a533d
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x38], 0
jne 0x4a5382
push esi
push 0x33
push edi
call fcn.004b8980
push dword [esp + 0x7c]
mov esi, eax
push dword [esp + 0x3c]
push dword [esp + 0x54]
push 0x78
push edi
call fcn.004b8a40
push esi
push edi
call fcn.004c0950
mov esi, dword [esp + 0x54]
add esp, 0x28
push esi
push 0xf
push edi
call fcn.004b8980
add esp, 0xc
jmp 0x4a53e4
mov eax, dword [edi + 0x6c]
add eax, 2
push eax
push esi
push 0x32
push edi
call fcn.004b89e0
add esp, 0x10
push esi
push 0xf
push edi
call fcn.004b8980
add esp, 0xc
jmp 0x4a53e4
cmp dword [edx + 0x38], 0
jne 0x4a53d2
cmp byte [esp + 0x84], 0
jne 0x4a53d2
push dword [esp + 0x70]
mov esi, dword [esp + 0x30]
push esi
push dword [esp + 0x48]
push 0x78
push edi
call fcn.004b8a40
add esp, 0x14
mov byte [esp + 0x2b], 1
jmp 0x4a53e4
mov esi, dword [esp + 0x2c]
push esi
push 0
push 0x48
push edi
call fcn.004b89e0
add esp, 0x10
mov eax, dword [esp + 0x70]
test eax, eax
jle 0x4a53fe
push esi
push eax
push 0x97
push dword [ebp + 8]
call fcn.004b89e0
add esp, 0x10
mov esi, dword [esp + 0x14]
test byte [esi + 0x24], 0x60
je 0x4a5416
push esi
push dword [esp + 0x40]
push ebp
call fcn.00490480
add esp, 0xc
cmp dword [esi + 0x38], 0
je 0x4a549d
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4a543b
mov eax, dword [esp + 0x58]
jmp 0x4a5430
cmp dword [esi], eax
je 0x4a543b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4a5430
mov edx, dword [esp + 0x14]
push edx
push ebp
call fcn.004c4db0
push 0xfffffffffffffff4
push esi
mov esi, dword [esp + 0x24]
push dword [esp + 0x64]
movsx eax, word [esi + 0x2a]
add eax, 2
push eax
push 1
push 0xa
push edi
call fcn.004b8aa0
mov eax, dword [esp + 0xe0]
add esp, 0x24
mov edx, 2
cmp eax, 0xb
je 0x4a5479
mov edx, eax
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4a548b
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x4a5494
mov eax, ebp
mov byte [eax + 0x15], 1
jmp 0x4a5538
push dword [esp + 0xc0]
lea eax, [esp + 0x80]
push 0
push eax
mov eax, dword [esp + 0x3c]
test eax, eax
push ebx
push dword [esp + 0xcc]
setns al
movzx eax, al
push eax
push 0
push dword [esp + 0x70]
push dword [esp + 0x88]
push dword [esp + 0x64]
push dword [esp + 0x74]
push esi
push ebp
call fcn.0049ff50
push 0
push 0
push dword [esp + 0x90]
push 0
push esi
push ebp
call fcn.0049a0e0
add esp, 0x4c
cmp dword [esp + 0x7c], 0
je 0x4a550a
cmp dword [edi + 0xd8], 0
je 0x4a550a
xor eax, eax
jmp 0x4a550f
mov eax, 1
push eax
movzx eax, byte [esp + 0x2f]
push eax
push 0
push dword [esp + 0x58]
push dword [esp + 0x64]
push dword [esp + 0x7c]
push dword [esp + 0x58]
push esi
push ebp
call fcn.00490270
add esp, 0x24
jmp 0x4a5538
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a554e
push 1
push eax
push 0x52
push edi
call fcn.004b89e0
add esp, 0x10
mov edx, dword [esp + 0x64]
test edx, edx
je 0x4a557d
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x3c]
push ebx
push dword [esp + 0xc0]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x7d
push edx
push ebp
call fcn.0048f650
add esp, 0x24
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a5597
push ebx
push edi
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4a55a0
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
cmp byte [esp + 0x1b], 0
je 0x4a5601
push dword [esp + 0x6c]
mov ebx, dword [esp + 0x38]
push ebx
push 5
push edi
call fcn.004b89e0
mov ecx, dword [esp + 0x70]
add esp, 0x10
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4a55c9
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4a55e7
mov eax, 0x50e22c
push ebx
push 0x74
push edi
mov dword [eax + 8], edx
call fcn.004b8980
add esp, 0xc
jmp 0x4a563e
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
push ebx
push 0x74
push edi
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
call fcn.004b8980
add esp, 0xc
jmp 0x4a563e
cmp dword [esp + 0x10], 0
je 0x4a563e
push dword [esp + 0x6c]
push edi
call fcn.004c02d0
mov ecx, dword [esp + 0x68]
add esp, 8
mov edx, dword [edi + 0x6c]
test ecx, ecx
jns 0x4a5623
lea ecx, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4a5632
mov eax, 0x50e22c
jmp 0x4a563b
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebp + 0x12], 0
jne 0x4a5659
cmp dword [ebp + 0x78], 0
jne 0x4a5659
cmp dword [ebp + 0x70], 0
je 0x4a5659
push ebp
call fcn.004518e0
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4a4b06
push 1
push eax
push 0x50
push edi
call fcn.004b89e0
push 1
push edi
call fcn.004c3400
mov eax, dword [edi]
add esp, 0x18
cmp byte [eax + 0x51], 0
jne 0x4a4b06
mov esi, dword [edi + 0x74]
mov eax, 0x2400
mov edi, 0x202
test word [esi + 8], ax
jne 0x4a56a0
cmp dword [esi + 0x18], 0
je 0x4a56a9
push esi
call fcn.004d16e0
add esp, 4
xor eax, eax
mov dword [esi + 0x10], str.rows_inserted
cmp eax, 0x4a75d0
jne 0x4a574e
mov eax, dword [esi + 0x20]
mov dword [esi + 0x14], str.rows_inserted
test eax, eax
je 0x4a5729
cmp dword [eax + 0x14c], str.rows_inserted
jbe 0x4a5729
cmp dword [eax + 0x144], str.rows_inserted
ja 0x4a56ff
mov eax, pe_nt_image_headers32
mov dword [esi + 0xc], 0xd
mov dword [esi + 0x18], eax
mov word [esi + 8], di
mov byte [esi + 0xa], 1
jmp 0x4a4b06
cmp dword [eax + 0x148], str.rows_inserted
ja 0x4a5729
movzx eax, word [eax + 0x11e]
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 0xd
mov word [esi + 8], di
mov byte [esi + 0xa], 1
jmp 0x4a4b06
push str.rows_inserted
call dword [0x506204]
add esp, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], 0xd
mov word [esi + 8], di
mov byte [esi + 0xa], 1
jmp 0x4a4b06
mov edi, 0xa02
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], 0xd
mov word [esi + 8], di
mov byte [esi + 0xa], 1
jmp 0x4a4b06
mov esi, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb8]
jmp 0x4a4b11
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0xb8]
jmp 0x4a4b11