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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x94]
xor eax, eax
push ebp
push esi
push edi
mov esi, dword [ebx]
xor edi, edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], esi
cmp dword [ebx + 0x24], eax
jne 0x4f1e5a
push dword [esp + 0xa4]
push ebx
call fcn.00515170
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4f1e5a
push edi
push edi
push pe_nt_image_headers32
push ebp
push ebx
call fcn.005166d0
mov ecx, eax
add esp, 0x14
xor eax, eax
mov dword [esp + 0x70], ecx
cmp byte [ebp + 0x2b], 2
sete al
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x4f1606
push ecx
push ecx
push ebp
push ebx
call fcn.004faef0
add esp, 0x10
test eax, eax
jne 0x4f1606
xor esi, esi
jmp 0x4f160b
mov esi, 1
mov edi, dword [esp + 0x5c]
test edi, edi
jne 0x4f1647
push str.DELETE
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0xb4]
push ebx
call fcn.00506960
add esp, 0x18
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], edi
jmp 0x4f1664
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xa8]
push ebp
push ebx
mov dword [esp + 0x18], eax
call fcn.00526520
add esp, 8
test eax, eax
jne 0x4f1e78
cmp dword [esp + 0x70], eax
setne al
push eax
push ebp
push ebx
call fcn.00505cb0
add esp, 0xc
test eax, eax
jne 0x4f1e78
push dword [ebp + 0x3c]
push dword [esp + 0x18]
call fcn.00511750
mov ecx, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push 0
push dword [ebp]
push 9
push ebx
call fcn.004e7a40
add esp, 0x1c
mov dword [esp + 0x54], eax
cmp eax, 1
je 0x4f1e78
mov ecx, dword [esp + 0xa4]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], edx
mov dword [ecx + 0x34], eax
inc dword [ebx + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x28]
test eax, eax
je 0x4f1703
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4f16f3
mov dword [esp + 0x4c], edx
test edi, edi
je 0x4f1720
mov eax, ebx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xf8]
mov dword [esp + 0x78], eax
mov eax, dword [ebp]
mov dword [ebx + 0xf8], eax
mov edi, dword [ebx + 8]
test edi, edi
jne 0x4f174b
cmp dword [ebx + 0x74], edi
jne 0x4f1738
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4f1738
mov byte [ebx + 0x17], 1
push ebx
call fcn.0051ae50
mov edi, eax
add esp, 4
test edi, edi
je 0x4f1e78
cmp byte [ebx + 0x12], 0
jne 0x4f1758
or dword [edi + 0xa0], 0x10
push dword [esp + 0x20]
push esi
push ebx
call fcn.004e8500
add esp, 0xc
cmp dword [esp + 0x5c], 0
je 0x4f17a3
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x4c]
push dword [esp + 0x1c]
push ebp
push ebx
call fcn.00507b10
mov eax, dword [esp + 0x34]
add esp, 0x18
mov dword [esp + 0x64], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x18], 0
push dword [esp + 0x10]
xor eax, 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 dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x84], ebx
call fcn.005100f0
add esp, 8
test eax, eax
jne 0x4f1e78
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4f184b
cmp byte [ebx + 0x12], 0
jne 0x4f184b
cmp dword [ebx + 0x78], 0
jne 0x4f184b
cmp byte [ebx + 0x95], 0
jne 0x4f184b
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x47
push edi
mov dword [esp + 0x4c], eax
call fcn.0051a3d0
add esp, 0x10
cmp dword [esp + 0x54], 0
jne 0x4f1923
cmp dword [esp + 0x10], 0
jne 0x4f1923
test esi, esi
jne 0x4f1923
cmp byte [ebp + 0x2b], 1
je 0x4f1923
push dword [ebp]
mov esi, dword [esp + 0x24]
push 1
push dword [ebp + 0x14]
push esi
push ebx
call fcn.00515e90
add esp, 0x14
test byte [ebp + 0x1c], 0x80
jne 0x4f18b2
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4f189a
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [ebp]
push eax
push esi
push dword [ebp + 0x14]
push 0x90
push edi
call fcn.0051a490
add esp, 0x1c
mov esi, dword [ebp + 8]
test esi, esi
je 0x4f1e25
mov ebx, dword [esp + 0x20]
push ebx
push dword [esi + 0x2c]
push 0x90
push edi
call fcn.0051a3d0
mov eax, dword [esi + 0x38]
add esp, 0x10
and al, 3
cmp al, 2
jne 0x4f1910
test byte [ebp + 0x1c], 0x80
je 0x4f1910
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f18ee
mov edx, eax
jmp 0x4f18f1
or edx, 0xffffffff
mov eax, dword [edi]
mov ecx, dword [edi + 0x74]
dec ecx
cmp byte [eax + 0x57], 0
je 0x4f1904
mov eax, 0x6a4314
jmp 0x4f190d
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 0xc], edx
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4f18c1
mov ebx, dword [esp + 0xa0]
jmp 0x4f1e25
test byte [esp + 0x94], 0x40
je 0x4f1932
mov esi, 1
neg esi
sbb esi, esi
and esi, 0xfffffff8
add esi, 8
or si, 0x14
test byte [ebp + 0x1c], 0x80
movzx esi, si
jne 0x4f1973
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push eax
push 0
push 0x4a
push edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x58], 1
mov dword [esp + 0x68], eax
call fcn.0051a3d0
add esp, 0x10
jmp 0x4f19bf
push ebp
call fcn.0050ec30
mov dword [esp + 0x30], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x28]
push edx
mov dword [ebx + 0x2c], eax
push 0x74
lea eax, [edx + 1]
mov dword [esp + 0x48], edx
push edi
mov dword [ebx + 0x28], eax
call fcn.0051a3d0
push dword [esp + 0x40]
mov dword [esp + 0x3c], eax
push ebx
call fcn.005258f0
add esp, 0x1c
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push 0
push 0
push dword [esp + 0x24]
push dword [esp + 0xbc]
push ebx
call fcn.00528c50
mov edx, eax
add esp, 0x20
mov dword [esp + 0x68], edx
test edx, edx
je 0x4f1e78
mov eax, dword [edx + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x54], eax
movzx eax, byte [edx + 0x32]
mov dword [esp + 0x30], eax
cmp eax, 1
je 0x4f1a12
push ebx
call fcn.00508020
add esp, 4
test byte [edx + 0x34], 1
je 0x4f1a2a
push dword [esp + 0x1c]
push 0x8e
push edi
call fcn.0051a370
add esp, 0xc
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f1a40
push 1
push eax
push 0x55
push edi
call fcn.0051a3d0
add esp, 0x10
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4f1a88
mov eax, dword [esp + 0x48]
xor esi, esi
cwde
test eax, eax
jle 0x4f1a82
mov ebx, eax
mov eax, dword [esp + 0x40]
add eax, esi
push eax
mov eax, dword [ecx + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x24]
push ebp
push edi
call fcn.004f43c0
mov ecx, dword [esp + 0x40]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x4f1a55
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x40]
jmp 0x4f1a9f
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
push esi
push 0xffffffffffffffff
push dword [esp + 0x24]
push ebp
push edi
call fcn.004f43c0
add esp, 0x14
cmp dword [esp + 0x30], 0
je 0x4f1bbd
mov eax, dword [esp + 0x48]
movzx eax, ax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
add eax, 2
cdq
push edx
push eax
push dword [esp + 0x1c]
call fcn.004f0ee0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x34], ecx
test ecx, ecx
jne 0x4f1b5e
push dword [esp + 0x68]
call fcn.0052b800
add esp, 4
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4f1b07
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xf8], ecx
push dword [esp + 0xa4]
push esi
call fcn.00514ab0
add esp, 8
test ebx, ebx
je 0x4f1b25
push ebx
push esi
call fcn.004f6c70
add esp, 8
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4f1b37
push eax
push esi
call fcn.004b85c0
add esp, 8
test ebp, ebp
je 0x4f1b45
push ebp
push esi
call fcn.004f6c70
add esp, 8
test edi, edi
je 0x4f1b53
push edi
push esi
call fcn.004f0e00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret
mov eax, dword [esp + 0x4c]
inc eax
push eax
push 1
push ecx
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x58]
add esp, 0xc
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x60]
test eax, eax
js 0x4f1b8e
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4f1b9c
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4f1bae
push eax
push edi
call fcn.0051a9f0
add esp, 8
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x6c], eax
jmp 0x4f1c41
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4f1c1a
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x48]
movsx esi, ax
push esi
push ecx
push dword [ebx]
mov dword [esp + 0x2c], 0
call fcn.00504060
add esp, 8
push eax
push dword [esp + 0x2c]
push esi
push dword [esp + 0x50]
push 0x60
push edi
call fcn.0051a490
push esi
push dword [esp + 0x60]
mov esi, dword [esp + 0x48]
push esi
push dword [esp + 0x60]
push 0x89
push edi
call fcn.0051a560
add esp, 0x34
jmp 0x4f1c35
push esi
push dword [esp + 0x5c]
mov dword [esp + 0x28], 1
push 0x9b
push edi
call fcn.0051a3d0
add esp, 0x10
push dword [esp + 0x68]
call fcn.0052b800
add esp, 4
cmp dword [esp + 0x5c], 0
jne 0x4f1c9e
cmp dword [esp + 0x30], 2
mov dword [esp + 0x24], 0
jne 0x4f1c66
push 0x11
push edi
call fcn.0051a320
add esp, 8
mov dword [esp + 0x24], eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x28]
push 8
push 0x70
push ebp
push ebx
call fcn.00508520
mov eax, dword [esp + 0x50]
add esp, 0x20
cmp eax, 2
jne 0x4f1ca2
push dword [esp + 0x24]
push edi
call fcn.00522e80
add esp, 8
jmp 0x4f1ca6
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4f1cdb
cmp byte [ebp + 0x2b], 1
mov ecx, dword [esp + 0x28]
je 0x4f1d40
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x1c]
cmp byte [eax + ecx], 0
je 0x4f1d3a
mov eax, dword [esp + 0x20]
cwde
push eax
push esi
push dword [esp + 0x74]
push ecx
push 0x1e
push edi
call fcn.0051a560
add esp, 0x18
jmp 0x4f1d36
cmp dword [esp + 0x2c], 0
je 0x4f1d20
push dword [esp + 0x38]
push 0x26
push edi
call fcn.0051a370
add esp, 0xc
mov dword [esp + 0x50], eax
cmp byte [ebp + 0x2b], 1
push esi
jne 0x4f1d0c
push 0
push dword [esp + 0x40]
push 0x5d
push edi
call fcn.0051a430
jmp 0x4f1d33
push dword [esp + 0x3c]
push 0x85
push edi
call fcn.0051a3d0
add esp, 0x10
jmp 0x4f1d36
push esi
push 0
push dword [esp + 0x60]
push 0x2d
push edi
call fcn.0051a430
mov dword [esp + 0x64], eax
add esp, 0x14
mov ecx, dword [esp + 0x28]
cmp byte [ebp + 0x2b], 1
jne 0x4f1d9e
push ebp
push dword [esp + 0x18]
call fcn.005035c0
push ebp
push ebx
mov dword [esp + 0x70], eax
call fcn.00527200
push ebx
call fcn.00507c50
add esp, 0x14
cmp dword [esp + 0x30], 1
jne 0x4f1d7e
push dword [esp + 0x1c]
push 0x79
push edi
call fcn.0051a370
add esp, 0xc
cmp dword [ebx + 0x74], 0
jne 0x4f1d7e
mov byte [ebx + 0x14], 0
push 0xfffffffffffffff4
push dword [esp + 0x64]
push esi
push 1
push 0
push 0xa
push edi
call fcn.0051a490
push 2
push edi
call fcn.0051a9d0
add esp, 0x24
jmp 0x4f1dce
push dword [esp + 0x54]
cmp byte [ebx + 0x12], 0
push dword [esp + 0x34]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x30]
push esi
push dword [esp + 0x7c]
push ecx
push dword [esp + 0x90]
push ebp
push ebx
call fcn.005025b0
add esp, 0x2c
cmp dword [esp + 0x30], 0
je 0x4f1ded
push dword [esp + 0x6c]
push edi
call fcn.00525570
push dword [esp + 0x70]
call fcn.0052b800
add esp, 0xc
jmp 0x4f1e25
cmp dword [esp + 0x2c], 0
mov esi, dword [esp + 0x50]
je 0x4f1e14
lea eax, [esi + 1]
push eax
push dword [esp + 0x3c]
push 5
push edi
call fcn.0051a3d0
push esi
push edi
call fcn.00522e50
add esp, 0x18
jmp 0x4f1e25
push esi
push edi
call fcn.00522760
push esi
push edi
call fcn.00522e50
add esp, 0x10
cmp byte [ebx + 0x12], 0
jne 0x4f1e3a
cmp dword [ebx + 0x78], 0
jne 0x4f1e3a
push ebx
call fcn.004e7f00
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f1ae5
push str.rows_deleted
push eax
push edi
call fcn.004ed420
add esp, 0xc
jmp 0x4f1ae5
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb0]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x44], eax
jmp 0x4f1af5
xor edi, edi
jmp 0x4f1ae9