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

Disassembly:
push 0xffffffffffffffff
push 0x5ee4a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2e4]
push edi
xor ebp, ebp
mov dword [esp + 0x18], ecx
push esi
mov dword [esp + 0x60], 0x27
mov dword [esp + 0x5c], 0xffff0002
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call fcn.004eab40
mov edi, eax
add esp, 4
cmp edi, ebp
mov dword [esp + 0x1c], edi
jne 0x4b1b61
mov dword [esp + 0x28], 1
jmp 0x4b1b6e
push esi
call fcn.004eab00
add esp, 4
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2e4]
push eax
call fcn.005027d0
mov ecx, dword [esp + 0x2e8]
mov ebx, eax
push ecx
mov dword [esp + 0x38], ebx
call fcn.005011b0
add esp, 8
cmp ebx, 2
mov dword [esp + 0x34], eax
jne 0x4b1bac
cmp eax, 1
je 0x4b1bac
cmp eax, 3
je 0x4b1bac
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x2ec]
mov ecx, dword [0x675c1c]
push ebp
lea edx, [esp + 0x2f0]
push 4
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4b2162
cmp edi, ebp
mov dword [esp + 0x2c], ebp
je 0x4b1c10
mov eax, dword [esp + 0x2ec]
cmp eax, ebp
je 0x4b2162
mov ecx, dword [esp + 0x2e4]
xor edx, edx
mov dl, byte [esi]
push ecx
mov ecx, 0x6757a0
lea eax, [eax + edx*4 + 4]
mov dword [esp + 0x2f0], eax
call fcn.004194e0
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x40]
call fcn.004918b0
mov eax, dword [esp + 0x28]
mov ebx, 1
cmp eax, ebx
mov dword [esp + 0x2d8], ebp
mov dword [esp + 0x20], ebx
jl 0x4b2146
jmp 0x4b1c42
mov esi, dword [esp + 0x2e8]
mov edi, dword [esp + 0x1c]
cmp edi, 1
jne 0x4b1d9a
xor edx, edx
dec ebx
mov dl, byte [esi]
mov byte [esp + 0xdc], 0
mov ebp, edx
test ebp, ebp
jle 0x4b1d45
add esi, 5
lea ecx, [ebp - 1]
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], ecx
jmp 0x4b1c76
mov ecx, dword [esp + 0x24]
test ebx, ebx
jne 0x4b1c88
lea edx, [esp + 0xdc]
mov edi, 0x664d94
jmp 0x4b1cd0
mov esi, 1
cmp ecx, esi
jl 0x4b1c9e
mov eax, dword [esp + 0x14]
imul esi, dword [eax]
add eax, 4
dec ecx
jne 0x4b1c95
mov eax, ebx
cdq
idiv esi
inc eax
push eax
lea eax, [esp + 0xac]
push 0x64aafc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, ebx
add esp, 0xc
cdq
idiv esi
lea edi, [esp + 0xa8]
mov ebx, edx
lea edx, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
dec ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
dec ecx
test ebp, ebp
mov dword [esp + 0x24], ecx
jle 0x4b1d32
mov edi, 0x665488
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xdc]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
add ecx, 4
test ebp, ebp
mov dword [esp + 0x14], ecx
jg 0x4b1c72
mov ecx, dword [esp + 0x2e0]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0xdc]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
mov eax, 2
mov dword [esp + 0x80], edx
mov edx, dword [ecx + 0x314]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x54]
push eax
push 0
push 0x1100
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x54], eax
jmp 0x4b1da5
mov eax, dword [esp + 0x2e0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
cmp eax, 2
jne 0x4b1fd0
push 1
lea ecx, [esp + 0x2e8]
push 1
push ecx
mov ecx, 0x6757a0
call fcn.0045a400
mov eax, dword [esp + 0x2ec]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], eax
je 0x4b1df6
push ebp
lea edx, [esp + 0x14]
push 4
push edx
push eax
mov eax, dword [0x675c1c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4b2146
lea ecx, [esp + 0x90]
call fcn.004918b0
mov dword [esp + 0xa4], 0x6757a0
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], 0x5f7bac
mov eax, dword [esp + 0x34]
mov byte [esp + 0x2d8], 1
cmp eax, 1
push ebp
jne 0x4b1e59
mov edx, dword [esp + 0x2e8]
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, 0x6759c8
call fcn.004f4970
test eax, eax
je 0x4b1f82
mov eax, dword [esp + 0x38]
lea ebx, [eax + 0xc]
jmp 0x4b1e9c
mov edx, dword [esp + 0x2e8]
lea ecx, [esp + 0x40]
push ecx
push edx
mov ecx, 0x675a20
call fcn.004f4970
test eax, eax
je 0x4b1f82
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x88]
push ebp
push eax
call fcn.004f0060
mov eax, dword [esp + 0x10]
lea ebx, [esp + 0x88]
add eax, 4
mov dword [esp + 0x10], eax
cmp ebx, ebp
je 0x4b1f82
mov eax, ebp
inc ebp
push 0
push eax
mov ecx, ebx
mov dword [esp + 0x1c], ebp
call fcn.004f4110
mov esi, eax
test esi, esi
je 0x4b1f82
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x14]
mov edi, eax
push edi
call fcn.00492700
add esp, 4
test eax, eax
jne 0x4b1ea4
dec ebp
mov ecx, ebx
push ebp
mov dword [esp + 0x70], edi
call fcn.004f4160
lea ebp, [esi + 6]
mov dword [esp + 0x80], eax
push ebp
call fcn.004eab40
add esp, 4
mov edi, 0x80000301
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov esi, dword [esi]
test esi, esi
je 0x4b1f12
mov edi, esi
mov esi, ebp
push esi
call fcn.004eab40
add esp, 4
test eax, eax
je 0x4b1f37
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x40]
push eax
push ecx
mov ecx, 0x6756e0
call fcn.00480f60
mov esi, eax
mov ebp, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
push 0
mov eax, dword [ebp + 0x314]
push 0x1100
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
push ecx
push esi
push edi
push eax
mov ecx, ebp
call fcn.004b1b00
push esi
push edi
mov ecx, 0x6757a0
call fcn.004194b0
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x4b1ea4
mov dword [esp + 0x88], fcn.004f47a0
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d8], 2
mov dword [esp + 0x8c], 0
call fcn.00491ab0
lea ecx, [esp + 0x90]
mov byte [esp + 0x2d8], 0
mov dword [esp + 0x90], 0x5f7940
call fcn.00491ab0
jmp 0x4b211d
cmp eax, 3
jne 0x4b211d
mov edx, dword [esp + 0x2e4]
push 0
push edx
mov ecx, 0x6757a0
call fcn.00462300
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
je 0x4b211d
mov eax, dword [esi + 0x30]
test eax, eax
jle 0x4b211d
test dword [esi + 0x14], 0x800000
jne 0x4b211d
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2ec]
mov edi, dword [esi + 0x34]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x4b2048
mov edx, dword [0x675c1c]
push 0
lea ecx, [esp + 0x14]
push 4
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4b2146
mov eax, dword [esi + 0x30]
mov ebx, 1
cmp eax, ebx
jl 0x4b211d
mov ebp, dword [edi]
mov eax, ebp
shr eax, 0x10
jne 0x4b2076
mov ecx, dword [esp + 0x2e4]
and ebp, 0xffff
shr ecx, 0x10
shl ecx, 0x10
or ebp, ecx
mov edx, dword [edi + 8]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x6c], edx
mov eax, dword [edi + 4]
push eax
call fcn.004eab40
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov esi, dword [edi + 4]
push esi
call fcn.004eab40
add esp, 8
test eax, eax
je 0x4b20c2
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push ecx
push edx
mov ecx, 0x6756e0
call fcn.00480f60
mov esi, eax
test byte [edi + 0x14], 2
jne 0x4b20f6
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
push 0
mov edx, dword [ecx + 0x314]
push 0x1100
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push ebp
push eax
call fcn.004b1b00
push esi
push ebp
mov ecx, 0x6757a0
add edi, 0x1c
call fcn.004194b0
mov edx, dword [esp + 0x10]
add edx, eax
inc ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
cmp ebx, dword [edx + 0x30]
jle 0x4b2058
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x2ec]
mov ebx, dword [esp + 0x20]
add edx, eax
mov eax, dword [esp + 0x28]
inc ebx
cmp ebx, eax
mov dword [esp + 0x2ec], edx
mov dword [esp + 0x20], ebx
jle 0x4b1c37
lea ecx, [esp + 0x40]
mov dword [esp + 0x2d8], 0xffffffff
mov dword [esp + 0x40], 0x5f7940
call fcn.00491ab0
mov ecx, dword [esp + 0x2d0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2cc
ret 0x10