Function at 0x4f1b90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x606158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], ebx
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x38]
call eax
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
mov dword [esp + 0x28], ebx
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4f1d84
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x14]
push edx
push 0x6000101
mov byte [esp + 0x40], 2
mov ecx, dword [eax]
push 3
push eax
mov eax, dword [ecx + 0x48]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4f1c55
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x2c], esp
je 0x4f1c43
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
push edi
call fcn.004f1820
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4f1d73
cmp dword [edi + 0x34], eax
je 0x4f1c82
cmp eax, ebx
mov esi, eax
je 0x4f1c6c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x34]
cmp ecx, ebx
je 0x4f1c7f
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x14]
mov dword [edi + 0x34], esi
cmp dword [esp + 0x44], ebx
je 0x4f1d73
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x58]
push ecx
push eax
call edx
xor ebp, ebp
cmp dword [esp + 0x1c], ebx
jbe 0x4f1d6f
lea esp, [esp]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push ebp
push eax
mov eax, dword [ecx + 0xf8]
call eax
mov edi, dword [esp + 0x44]
cmp edi, ebx
je 0x4f1d51
push 0x620cd8
mov dword [esp + 0x28], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x2c], esi
je 0x4f1dda
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x3c], 4
mov ecx, dword [edi]
mov eax, dword [ecx + 0x30]
push esi
push edi
call eax
push esi
mov byte [esp + 0x3c], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x24]
cmp eax, ebx
jbe 0x4f1d4d
cmp ebp, ebx
jne 0x4f1d22
mov dword [esp + 0x28], eax
push eax
push 0x626af8
lea edi, [esp + 0x28]
call fcn.0040ac80
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x44]
add esp, 8
push ecx
push ebx
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x44]
cmp edi, ebx
mov byte [esp + 0x38], 2
je 0x4f1d62
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jb 0x4f1cb0
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x38], 1
je 0x4f1d84
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f1da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4f1dc0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
push 0x8007000e
call fcn.00403650
int3