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

Disassembly:
sub esp, 0x4c
or dword [esp + 0x10], 0xffffffff
xor eax, eax
and dword [esp + 0x1c], eax
push ebx
mov ebx, dword [esp + 0x54]
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [ebx]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x40], eax
jne 0x492482
cmp byte [edi + 0x1e], al
jne 0x492482
push ebp
push esi
push ebx
call fcn.004a0531
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x49247d
push 0
push 0
push 0x6a
push ebp
push ebx
call fcn.004a1088
mov esi, eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
push ebp
setne al
mov dword [esp + 0x40], esi
push ebx
mov dword [esp + 0x38], eax
call fcn.004ab0da
add esp, 0x1c
test eax, eax
jne 0x492479
test esi, esi
setne al
push eax
push ebp
push ebx
call fcn.00498d09
add esp, 0xc
test eax, eax
jne 0x492479
push dword [ebp + 0x44]
push edi
call fcn.0049eb74
mov ecx, dword [edi + 8]
mov edx, eax
add edx, edx
mov dword [esp + 0x2c], eax
push dword [ecx + edx*8]
push 0
push dword [ebp]
push 9
push ebx
call fcn.0048d627
add esp, 0x1c
mov dword [esp + 0x30], eax
cmp eax, 1
je 0x492479
mov ecx, dword [esp + 0x64]
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x28], eax
inc dword [ebx + 0x44]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebp + 0x10]
jmp 0x492157
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x492150
cmp dword [esp + 0x1c], eax
je 0x492178
mov eax, dword [ebx + 0x204]
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 0x2c], ebx
mov dword [ebx + 0x204], eax
push ebx
call fcn.0049753d
mov esi, eax
mov dword [esp + 0x38], esi
pop ecx
test esi, esi
je 0x492479
cmp byte [ebx + 0x13], 0
jne 0x492197
mov byte [esi + 0x62], 1
push dword [esp + 0x24]
push 1
push ebx
call fcn.0048df88
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x4921bf
push dword [esp + 0x14]
push dword [esp + 0x6c]
push ebp
push ebx
call fcn.004993e6
add esp, 0x10
push 9
xor eax, eax
lea edi, [esp + 0x3c]
pop ecx
push dword [esp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], ebx
call fcn.0049deb3
mov edi, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
jne 0x492479
test dword [edi + 0xc], 0x1000
je 0x492213
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push esi
mov dword [esp + 0x30], eax
call fcn.004a2f7a
add esp, 0x10
cmp dword [esp + 0x30], 0
jne 0x492289
cmp dword [esp + 0x68], 0
jne 0x492289
cmp dword [esp + 0x28], 0
jne 0x492289
test byte [ebp + 0x22], 0x10
jne 0x492289
push 0
push 0
push ebp
push ebx
call fcn.004960f6
add esp, 0x10
test eax, eax
jne 0x492289
push 0xfffffffffffffffe
push dword [ebp]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [ebp + 0x14]
push 0x67
push esi
call fcn.004a2fe6
mov edi, dword [ebp + 0x10]
add esp, 0x1c
test edi, edi
je 0x492420
mov ebx, dword [esp + 0x24]
push ebx
push dword [edi + 0x14]
push 0x67
push esi
call fcn.004a2f7a
mov edi, dword [edi + 0x20]
add esp, 0x10
test edi, edi
jne 0x49226a
mov ebx, dword [esp + 0x60]
jmp 0x492420
mov ecx, dword [ebx + 0x48]
inc ecx
push ecx
push 0
push 0xa
lea eax, [ecx + 1]
mov dword [esp + 0x6c], ecx
push esi
mov dword [ebx + 0x48], eax
call fcn.004a2f7a
push 8
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
call fcn.004ac396
add esp, 0x28
mov dword [esp + 0x30], eax
test eax, eax
je 0x492479
mov ecx, dword [esp + 0x60]
inc ecx
push ecx
push dword [esp + 0x18]
push 0xffffffffffffffff
push ebp
push ebx
call fcn.00493699
push eax
push dword [esp + 0x78]
push 0x70
push esi
call fcn.004a2f7a
add esp, 0x24
test dword [edi + 0xc], 0x1000
je 0x492308
push 1
push dword [esp + 0x24]
push 0x14
push esi
call fcn.004a2f7a
add esp, 0x10
push dword [esp + 0x30]
call fcn.004accd5
push esi
call fcn.004a92f5
cmp dword [esp + 0x24], 0
pop ecx
pop ecx
mov dword [esp + 0x24], eax
jne 0x492334
push 0x28
push dword [esp + 0x18]
push ebp
push ebx
call fcn.00499a55
add esp, 0x10
mov ecx, dword [esp + 0x60]
lea eax, [ecx + 1]
push eax
push dword [esp + 0x28]
push ecx
push 0x71
push esi
call fcn.004a2f95
add esp, 0x14
mov dword [esp + 0x30], eax
test byte [ebp + 0x22], 0x10
je 0x4923a3
push ebp
push edi
call fcn.00497329
push ebp
push ebx
mov esi, eax
call fcn.004ab62f
mov eax, dword [esp + 0x70]
push 0xfffffffffffffff6
push esi
mov esi, dword [esp + 0x4c]
inc eax
push eax
push 1
push 0
push 0x8c
push esi
call fcn.004a2fe6
push 2
push esi
call fcn.004a333d
mov eax, dword [ebx + 0x1a8]
add esp, 0x34
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov byte [ecx + 0x159], 1
jmp 0x4923c6
xor eax, eax
cmp byte [ebx + 0x13], al
push 0x63
push dword [esp + 0x2c]
sete al
push eax
mov eax, dword [esp + 0x6c]
inc eax
push eax
push dword [esp + 0x24]
push ebp
push ebx
call fcn.004969e3
add esp, 0x1c
push dword [esp + 0x30]
push 0
push 1
push esi
call fcn.004a2f7a
push dword [esp + 0x34]
push esi
call fcn.004aa6f5
add esp, 0x18
cmp dword [esp + 0x1c], 0
jne 0x492424
test byte [ebp + 0x22], 0x10
jne 0x492424
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x492411
mov ebp, dword [esp + 0x14]
inc ebp
push dword [edi + 0x14]
push ebp
push 0x2d
push esi
call fcn.004a2f7a
mov edi, dword [edi + 0x20]
add esp, 0x10
inc ebp
test edi, edi
jne 0x4923fa
push dword [esp + 0x14]
push 0x2d
push esi
call fcn.004a2f61
add esp, 0xc
mov edi, dword [esp + 0x18]
xor ebp, ebp
cmp byte [ebx + 0x13], 0
jne 0x49243b
cmp dword [ebx + 0x1ac], ebp
jne 0x49243b
push ebx
call fcn.0048d9a0
pop ecx
test dword [edi + 0xc], 0x1000
je 0x492479
cmp byte [ebx + 0x13], 0
jne 0x492479
cmp dword [ebx + 0x1ac], ebp
jne 0x492479
push 1
push dword [esp + 0x24]
push 0x10
push esi
call fcn.004a2f7a
push 1
push esi
call fcn.004aab11
push ebp
push str.rows_deleted
push ebp
push ebp
push esi
call fcn.004aaad8
add esp, 0x2c
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
pop ebp
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x492490
mov dword [ebx + 0x204], eax
push esi
push edi
call fcn.004a022d
push dword [esp + 0x6c]
push edi
call fcn.00494683
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x4c
ret