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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x24], edi
jne 0x4ba08d
cmp byte [eax + 0x49], 0
jne 0x4ba08d
mov ecx, dword [ebp + 0xc]
mov eax, esi
call fcn.004b9610
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, edi
je 0x4ba08d
push edi
push edi
push 0x75
mov edx, ebx
mov eax, esi
call fcn.004d3670
xor ecx, ecx
add esp, 0xc
cmp dword [ebx + 0xc], edi
mov dword [esp + 0x48], eax
setne cl
mov dword [esp + 0x5c], ecx
cmp eax, edi
jne 0x4b98f1
push edi
push ebx
xor ecx, ecx
mov eax, esi
call fcn.004bf0b0
add esp, 8
mov dword [esp + 0x14], edi
test eax, eax
je 0x4b98f9
mov dword [esp + 0x14], 1
push ebx
mov eax, esi
call fcn.004b56b0
add esp, 4
test eax, eax
jne 0x4ba08d
xor edx, edx
cmp dword [esp + 0x48], edi
mov ecx, ebx
setne dl
mov eax, esi
push edx
call fcn.004b9680
add esp, 4
test eax, eax
jne 0x4ba08d
mov edx, dword [ebx + 0x48]
mov ecx, dword [esp + 0x2c]
call fcn.004c7d20
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx]
mov dword [esp + 0x18], eax
shl eax, 4
mov eax, dword [eax + edx]
push eax
push edi
push ecx
push 9
mov eax, esi
call fcn.004b2480
add esp, 0x10
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x4ba08d
mov eax, dword [esi + 0x28]
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x34], eax
inc dword [esi + 0x28]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [esp + 0x54], edx
cmp eax, edi
je 0x4b9995
inc ecx
mov dword [esi + 0x28], ecx
mov eax, dword [eax + 0x14]
inc edx
cmp eax, edi
jne 0x4b9985
mov dword [esp + 0x54], edx
cmp dword [esp + 0x5c], edi
je 0x4b99b1
mov eax, dword [esi + 0xec]
mov ecx, dword [ebx]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], eax
mov dword [esi + 0xec], ecx
mov eax, esi
call fcn.004cb2f0
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4ba08d
cmp byte [esi + 0x12], 0
jne 0x4b99d1
or dword [eax + 0x94], 0x20
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
mov edx, esi
call fcn.004b8330
add esp, 4
cmp dword [esp + 0x5c], edi
je 0x4b9a0d
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push edi
push eax
push ecx
push edx
push ebx
push esi
call fcn.004b9700
add esp, 0x18
mov dword [esp + 0x60], edi
mov dword [esp + 0x40], edi
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
push ecx
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
call fcn.004a6b90
add esp, 4
test eax, eax
jne 0x4ba08d
mov edx, dword [esp + 0x2c]
test byte [edx + 0x1c], 0x80
je 0x4b9a99
cmp byte [esi + 0x12], al
jne 0x4b9a99
cmp dword [esi + 0x78], eax
jne 0x4b9a99
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
push 0x46
push eax
call fcn.00493fe0
add esp, 0x14
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x14]
jne 0x4b9b48
cmp dword [ebp + 0x10], 0
jne 0x4b9b48
test eax, eax
jne 0x4b9b48
cmp dword [ebx + 0x38], eax
jne 0x4b9b48
mov edi, ebx
mov ecx, dword [edi]
mov edx, dword [edi + 0x1c]
mov ebx, dword [esp + 0x18]
push ecx
push 1
push edx
mov eax, esi
call fcn.004b2510
add esp, 0xc
test byte [edi + 0x24], 0x20
jne 0x4b9b14
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x4b9aed
or eax, 0xffffffff
mov ebx, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [edx]
mov edx, dword [edx + 0x1c]
mov edi, dword [esp + 0x10]
push 0xffffffffffffffff
push ecx
push 0x8a
mov ecx, ebx
call fcn.004941e0
mov edi, dword [esp + 0x28]
add esp, 0xc
jmp 0x4b9b18
mov ebx, dword [esp + 0x18]
mov edi, dword [edi + 8]
test edi, edi
je 0x4ba038
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x10]
push 0
push ebx
push edx
push 0x8a
push eax
call fcn.00493fe0
mov edi, dword [edi + 0x14]
add esp, 0x14
test edi, edi
jne 0x4b9b23
jmp 0x4ba038
test byte [esp + 0x90], 0x40
je 0x4b9b57
mov eax, 1
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 8
mov ecx, 0x414
or ax, cx
test byte [ebx + 0x24], 0x20
movzx edi, ax
jne 0x4b9ba3
mov edx, dword [esp + 0x10]
mov eax, 1
add dword [esi + 0x2c], eax
push 0
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
push eax
push 0
push 0x49
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x78], eax
call fcn.00493fe0
add esp, 0x14
jmp 0x4b9bf6
mov eax, ebx
call fcn.004b36a0
mov ecx, dword [esi + 0x2c]
mov ebx, eax
movzx eax, word [ebx + 0x32]
lea edx, [ecx + 1]
mov dword [esp + 0x38], edx
movsx edx, ax
mov dword [esp + 0x14], eax
lea eax, [edx + ecx]
push 0
push edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x28]
push eax
lea ecx, [eax + 1]
push 0x71
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], eax
mov dword [esi + 0x28], ecx
call fcn.00493fe0
mov dword [esp + 0x48], eax
add esp, 0x14
mov eax, esi
call fcn.00494ca0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
inc eax
push eax
push edi
push 0
push 0
push ecx
push edx
push esi
call fcn.004e28a0
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4ba08d
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
movzx eax, byte [eax + 0x31]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x4b9c46
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x4b9c42
mov eax, esi
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b9c62
push 0
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x53
push eax
call fcn.00493fe0
add esp, 0x14
cmp dword [esp + 0x18], 0
je 0x4b9cad
movsx eax, word [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x4b9ca7
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
lea edx, [edi + ecx]
mov ecx, dword [eax + 4]
movsx eax, word [ecx + edi*2]
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push edx
push ecx
call fcn.004ab540
movsx eax, word [esp + 0x20]
inc edi
add esp, 0xc
cmp edi, eax
jl 0x4b9c78
mov ebx, dword [esp + 0x38]
jmp 0x4b9ccd
inc dword [esi + 0x2c]
mov ebx, dword [esi + 0x2c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push 0
push ebx
push edx
push 0x81
push eax
call fcn.00493fe0
add esp, 0x14
cmp dword [esp + 0x24], 0
je 0x4b9d6d
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0x14]
add eax, 2
cdq
push edx
push eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], ecx
call fcn.004754b0
mov edi, eax
add esp, 8
mov dword [esp + 0x50], edi
test edi, edi
jne 0x4b9d13
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e32a0
add esp, 4
jmp 0x4ba08d
mov eax, dword [esp + 0x54]
inc eax
push eax
push 1
push edi
call fcn.004f0a6a
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov byte [ecx + edi + 1], 0
test eax, eax
jl 0x4b9d3d
sub eax, dword [esp + 0x20]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x74]
test eax, eax
jl 0x4b9d4d
sub eax, dword [esp + 0x20]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4b9d5e
mov edx, dword [esp + 0x10]
call fcn.00494ac0
mov eax, dword [esp + 0x10]
call fcn.004944a0
mov dword [esp + 0x58], eax
jmp 0x4b9de4
cmp dword [esp + 0x18], 0
je 0x4b9e56
movsx edi, word [esp + 0x14]
inc dword [esi + 0x2c]
mov edx, dword [ebp + 8]
mov ebx, dword [esi + 0x2c]
mov esi, dword [esp + 0x18]
mov eax, dword [edx]
push edi
push ecx
mov dword [esp + 0x54], 0
call fcn.004bfb10
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
add esp, 4
push eax
mov ecx, edi
push 0x66
mov eax, ebx
mov edi, esi
call fcn.004941e0
movsx eax, word [esp + 0x20]
mov edx, dword [esp + 0x34]
add esp, 0xc
push eax
mov eax, dword [esp + 0x3c]
push 0x85
mov ecx, ebx
call fcn.00494440
mov esi, dword [ebp + 8]
add esp, 8
mov edx, dword [esp + 0x3c]
push edx
call fcn.004e32a0
add esp, 4
cmp dword [esp + 0x5c], 0
jne 0x4b9e7d
cmp dword [esp + 0x24], 2
mov dword [esp + 0x34], 0
jne 0x4b9e17
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
push 0x11
push eax
call fcn.00493fe0
add esp, 0x14
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push 8
push 0x6e
push edx
mov edi, esi
call fcn.004c2a50
add esp, 0x1c
cmp dword [esp + 0x24], 2
jne 0x4b9e7d
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edx, edi
call fcn.00494810
jmp 0x4b9e88
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
push 0
push ebx
push eax
push 0x95
push ecx
mov dword [esp + 0x60], 1
call fcn.00493fe0
add esp, 0x14
jmp 0x4b9dd7
cmp dword [esp + 0x24], 0
mov edi, dword [esp + 0x10]
je 0x4b9ecd
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], 0
jne 0x4b9f34
mov ecx, dword [esp + 0x50]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
cmp byte [ecx + edx], 0
je 0x4b9f34
movsx eax, word [esp + 0x4c]
mov ecx, dword [esp + 0x58]
push eax
push 0x1c
mov eax, ebx
mov esi, edi
call fcn.00494440
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x18]
add esp, 8
jmp 0x4b9f34
cmp dword [esp + 0x18], 0
je 0x4b9f1d
mov ecx, dword [esp + 0x28]
push 0
push 0
push ecx
push 0x24
push edi
call fcn.00493fe0
mov edx, dword [esp + 0x30]
add esp, 0x14
cmp dword [edx + 0x38], 0
mov dword [esp + 0x44], eax
je 0x4b9f08
mov eax, dword [esp + 0x28]
push ebx
push 0
push eax
push 0x5a
push edi
call fcn.00493fe0
jmp 0x4b9f31
mov ecx, dword [esp + 0x28]
push 0
push ebx
push ecx
push 0x80
push edi
call fcn.00493fe0
jmp 0x4b9f31
mov edx, dword [esp + 0x64]
push ebx
push 0
push edx
push 0x29
push edi
call fcn.00493fe0
mov dword [esp + 0x58], eax
add esp, 0x14
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], 0
je 0x4b9fac
mov ecx, dword [esp + 0x2c]
mov edx, eax
call fcn.004d6b10
mov dword [esp + 0x48], eax
push edx
mov eax, esi
call fcn.004d7e30
add esp, 4
mov ecx, esi
call fcn.004b8370
cmp dword [esp + 0x24], 1
jne 0x4b9f84
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
push 0x75
push edi
call fcn.00493fe0
add esp, 0x14
cmp dword [esi + 0x74], 0
jne 0x4b9f84
mov byte [esi + 0x14], 0
mov edx, dword [esp + 0x48]
push 0xfffffffffffffff4
push edx
push 0xa
mov eax, ebx
mov ecx, 1
xor edx, edx
call fcn.004941e0
add esp, 0xc
mov edx, 2
mov ecx, edi
call fcn.004947f0
jmp 0x4b9fe6
cmp byte [esi + 0x12], 0
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x24]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push 0xb
sete dl
movzx eax, dl
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push ebx
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push esi
call fcn.004ba120
add esp, 0x2c
cmp dword [esp + 0x24], 0
je 0x4ba007
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.004944f0
mov eax, dword [esp + 0x3c]
push eax
call fcn.004e32a0
add esp, 4
jmp 0x4ba038
cmp dword [esp + 0x18], 0
mov ebx, dword [esp + 0x44]
push 0
je 0x4ba021
mov edx, dword [esp + 0x2c]
lea ecx, [ebx + 1]
push ecx
push edx
push 5
jmp 0x4ba026
push ebx
push 0
push 0xb
push edi
call fcn.00493fe0
add esp, 0x14
mov eax, ebx
mov edx, edi
call fcn.00494810
cmp byte [esi + 0x12], 0
jne 0x4ba04f
cmp dword [esi + 0x78], 0
jne 0x4ba04f
cmp dword [esi + 0x70], 0
je 0x4ba04f
call fcn.004c0030
cmp dword [esp + 0x30], 0
je 0x4ba08d
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
push 0
push 1
push eax
push 0x51
push ebx
call fcn.00493fe0
add esp, 0x14
push 1
call fcn.00495c10
add esp, 4
push 0
push str.rows_deleted
push 0
push 0
mov ecx, ebx
call fcn.00495cd0
add esp, 0x10
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4ba09f
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xec], ecx
mov edx, dword [ebp + 0xc]
mov esi, dword [esp + 0x2c]
push edx
mov eax, esi
call fcn.004b7ba0
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x4ba0c2
push eax
push esi
call fcn.004a7fb0
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4ba113
test esi, esi
je 0x4ba10a
cmp dword [esi + 0x1d8], 0
je 0x4ba0e5
mov ecx, esi
call fcn.00475120
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x128]
jb 0x4ba10a
cmp eax, dword [esi + 0x12c]
jae 0x4ba10a
mov ecx, dword [esi + 0x124]
mov dword [eax], ecx
mov dword [esi + 0x124], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004750b0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret