Function at 0x4984fb
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 0x49890c
cmp byte [edi + 0x1e], al
jne 0x49890c
push ebp
push esi
push ebx
call fcn.004a69ba
mov ebp, eax
pop ecx
pop ecx
test ebp, ebp
je 0x498907
push 0
push 0
push 0x6a
push ebp
push ebx
call fcn.004a7511
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.004b1563
add esp, 0x1c
test eax, eax
jne 0x498903
test esi, esi
setne al
push eax
push ebp
push ebx
call fcn.0049f190
add esp, 0xc
test eax, eax
jne 0x498903
push dword [ebp + 0x44]
push edi
call fcn.004a4ffd
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.00493ab1
add esp, 0x1c
mov dword [esp + 0x30], eax
cmp eax, 1
je 0x498903
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 0x4985e1
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4985da
cmp dword [esp + 0x1c], eax
je 0x498602
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.0049d9c4
mov esi, eax
mov dword [esp + 0x38], esi
pop ecx
test esi, esi
je 0x498903
cmp byte [ebx + 0x13], 0
jne 0x498621
mov byte [esi + 0x62], 1
push dword [esp + 0x24]
push 1
push ebx
call fcn.00494412
add esp, 0xc
cmp dword [esp + 0x1c], 0
je 0x498649
push dword [esp + 0x14]
push dword [esp + 0x6c]
push ebp
push ebx
call fcn.0049f86d
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.004a433c
mov edi, dword [esp + 0x20]
pop ecx
pop ecx
test eax, eax
jne 0x498903
test dword [edi + 0xc], 0x1000
je 0x49869d
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 7
push esi
mov dword [esp + 0x30], eax
call fcn.004a9403
add esp, 0x10
cmp dword [esp + 0x30], 0
jne 0x498713
cmp dword [esp + 0x68], 0
jne 0x498713
cmp dword [esp + 0x28], 0
jne 0x498713
test byte [ebp + 0x22], 0x10
jne 0x498713
push 0
push 0
push ebp
push ebx
call fcn.0049c580
add esp, 0x10
test eax, eax
jne 0x498713
push 0xfffffffffffffffe
push dword [ebp]
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [ebp + 0x14]
push 0x67
push esi
call fcn.004a946f
mov edi, dword [ebp + 0x10]
add esp, 0x1c
test edi, edi
je 0x4988aa
mov ebx, dword [esp + 0x24]
push ebx
push dword [edi + 0x14]
push 0x67
push esi
call fcn.004a9403
mov edi, dword [edi + 0x20]
add esp, 0x10
test edi, edi
jne 0x4986f4
mov ebx, dword [esp + 0x60]
jmp 0x4988aa
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.004a9403
push 8
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0x84]
push ebx
call fcn.004b281f
add esp, 0x28
mov dword [esp + 0x30], eax
test eax, eax
je 0x498903
mov ecx, dword [esp + 0x60]
inc ecx
push ecx
push dword [esp + 0x18]
push 0xffffffffffffffff
push ebp
push ebx
call fcn.00499b23
push eax
push dword [esp + 0x78]
push 0x70
push esi
call fcn.004a9403
add esp, 0x24
test dword [edi + 0xc], 0x1000
je 0x498792
push 1
push dword [esp + 0x24]
push 0x14
push esi
call fcn.004a9403
add esp, 0x10
push dword [esp + 0x30]
call fcn.004b315e
push esi
call fcn.004af77e
cmp dword [esp + 0x24], 0
pop ecx
pop ecx
mov dword [esp + 0x24], eax
jne 0x4987be
push 0x28
push dword [esp + 0x18]
push ebp
push ebx
call fcn.0049fedc
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.004a941e
add esp, 0x14
mov dword [esp + 0x30], eax
test byte [ebp + 0x22], 0x10
je 0x49882d
push ebp
push edi
call fcn.0049d7b0
push ebp
push ebx
mov esi, eax
call fcn.004b1ab8
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.004a946f
push 2
push esi
call fcn.004a97c6
mov eax, dword [ebx + 0x1a8]
add esp, 0x34
test eax, eax
mov ecx, ebx
cmovne ecx, eax
mov byte [ecx + 0x159], 1
jmp 0x498850
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.0049ce6d
add esp, 0x1c
push dword [esp + 0x30]
push 0
push 1
push esi
call fcn.004a9403
push dword [esp + 0x34]
push esi
call fcn.004b0b7e
add esp, 0x18
cmp dword [esp + 0x1c], 0
jne 0x4988ae
test byte [ebp + 0x22], 0x10
jne 0x4988ae
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x49889b
mov ebp, dword [esp + 0x14]
inc ebp
push dword [edi + 0x14]
push ebp
push 0x2d
push esi
call fcn.004a9403
mov edi, dword [edi + 0x20]
add esp, 0x10
inc ebp
test edi, edi
jne 0x498884
push dword [esp + 0x14]
push 0x2d
push esi
call fcn.004a93ea
add esp, 0xc
mov edi, dword [esp + 0x18]
xor ebp, ebp
cmp byte [ebx + 0x13], 0
jne 0x4988c5
cmp dword [ebx + 0x1ac], ebp
jne 0x4988c5
push ebx
call fcn.00493e2a
pop ecx
test dword [edi + 0xc], 0x1000
je 0x498903
cmp byte [ebx + 0x13], 0
jne 0x498903
cmp dword [ebx + 0x1ac], ebp
jne 0x498903
push 1
push dword [esp + 0x24]
push 0x10
push esi
call fcn.004a9403
push 1
push esi
call fcn.004b0f9a
push ebp
push str.rows_deleted
push ebp
push ebp
push esi
call fcn.004b0f61
add esp, 0x2c
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x10]
pop ebp
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x49891a
mov dword [ebx + 0x204], eax
push esi
push edi
call fcn.004a66b6
push dword [esp + 0x6c]
push edi
call fcn.0049ab0d
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x4c
ret