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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x78], 0
push esi
push edi
je 0x4b8913
cmp dword [ebx + 0x7c], 0
je 0x4b88bb
push 0x6211f4
push 8
call fcn.0058a96c
mov edi, eax
add esp, 8
test edi, edi
je 0x4b88b7
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
mov edx, dword [ebp + 0xc]
add eax, 0x10
mov dword [edi], eax
mov esi, edi
call fcn.00406be0
mov dword [edi + 4], 0
mov ebx, dword [ebx + 0xb4]
push 1
push esi
push 0x87d0
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor esi, esi
jmp 0x4b8899
lea edi, [ebx - 0x150]
lea esi, [esp + 0x14]
mov eax, edi
mov dword [esp + 0x20], edi
call fcn.004b99f0
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4b88e1
push 0x80004005
call fcn.00406af0
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0058a10b
add esp, 8
test eax, eax
je 0x4b891e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x24]
push ecx
call fcn.004bc4c0
mov eax, dword [ebx + 0x78]
mov edx, dword [eax]
push esi
push eax
mov eax, dword [edx + 0x30]
call eax
xor ebx, ebx
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4b89b5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov dword [esp + 0x18], 0
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push esi
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x10]
je 0x4b8a51
test eax, eax
je 0x4b89aa
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov edx, dword [eax + 4]
lea edi, [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004bc950
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.004bc990
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b89a7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [ebp + 0xc]
inc ebx
cmp ebx, dword [esp + 0x1c]
jl 0x4b893e
mov edi, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov ecx, esi
call fcn.00406c20
lea ecx, [esp + 0x28]
push ecx
call fcn.004b9b60
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
cmp eax, ecx
je 0x4b8a05
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call fcn.005851f0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4b89f0
push ecx
call fcn.005851f0
mov edx, dword [esp + 0x28]
add esp, 4
push edx
mov dword [esp + 0x3c], 0
call fcn.005851f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b8a43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x4b89aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x4b89aa