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

Disassembly:
push 0xffffffffffffffff
push 0x4dc770
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5181f4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5181f4]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 4]
mov eax, dword [eax]
xor ebx, ebx
xor ebp, ebp
cmp dword [esi], ebx
mov dword [esp + 0x1c], eax
jne 0x4b5d8c
call fcn.004b5a90
push eax
push ebx
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
mov dword [esi], eax
jne 0x4b5d8c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4b607b
mov eax, dword [edi]
cmp eax, ebx
je 0x4b6076
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x4b5db3
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4b607b
mov edx, dword [edi]
mov eax, dword [esi]
push edx
push ebx
push eax
call fcn.004424d0
mov esi, dword [esi]
mov edi, dword [edi]
add esp, 0xc
jmp 0x4b5dca
xor ebx, ebx
mov eax, dword [esp + 0x14]
cmp eax, eax
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
je 0x4b5de2
call fcn.00441e1b
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
cmp dword [esp + 0x1c], edx
je 0x4b606f
cmp edi, ebx
jle 0x4b606f
mov ecx, 7
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
mov byte [esp + 0xa4], 3
mov ebx, eax
mov ebp, ecx
jne 0x4b5e5d
call fcn.00441e1b
mov ecx, ebp
test ebx, ebx
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
jne 0x4b5e6c
call fcn.00441e1b
cmp ebp, dword [ebx + 4]
jne 0x4b5e76
call fcn.00441e1b
push 0xffffffffffffffff
push 0
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [esp + 0x6c]
call fcn.00404c75
push 0xffffffffffffffff
push 0
lea edx, [ebp + 0x44]
push edx
lea ecx, [esp + 0x50]
call fcn.00404c75
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0x7c]
push eax
lea ecx, [esp + 0x34]
call fcn.00404c75
mov eax, dword [esp + 0x74]
lea ecx, [eax + eax + 6]
cmp ecx, edi
jg 0x4b6047
lea eax, [eax + eax + 2]
lea edx, [eax + 7]
and edx, 0xfffffffc
mov dword [esi], edx
mov ecx, dword [esp + 0x64]
mov ebx, 8
cmp dword [esp + 0x78], ebx
jae 0x4b5ed8
lea ecx, [esp + 0x64]
push eax
push ecx
lea eax, [esi + 4]
push eax
call fcn.00442550
mov eax, dword [esi]
sub edi, eax
add esp, 0xc
cmp edi, ebx
jb 0x4b6047
mov ecx, dword [ebp + 0xac]
mov dword [eax + esi + 4], ecx
mov dword [eax + esi], ebx
lea esi, [eax + esi + 8]
mov eax, dword [esp + 0x58]
sub edi, ebx
lea ecx, [eax + eax + 6]
cmp ecx, edi
jg 0x4b6047
lea eax, [eax + eax + 2]
lea edx, [eax + 7]
and edx, 0xfffffffc
mov dword [esi], edx
cmp dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x48]
jae 0x4b5f2f
lea ecx, [esp + 0x48]
push eax
push ecx
lea eax, [esi + 4]
push eax
call fcn.00442550
mov eax, dword [esi]
sub edi, eax
add esp, 0xc
cmp edi, ebx
jb 0x4b6047
mov ebp, dword [ebp + 0xa8]
mov dword [eax + esi + 4], ebp
mov dword [eax + esi], ebx
lea ebp, [eax + esi + 8]
mov eax, dword [esp + 0x3c]
add eax, 1
sub edi, ebx
lea ecx, [eax + eax + 4]
cmp ecx, edi
jg 0x4b6047
add ecx, 3
and ecx, 0xfffffffc
mov dword [ebp], ecx
cmp dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x2c]
jae 0x4b5f86
lea ecx, [esp + 0x2c]
lea edx, [eax + eax]
push edx
push ecx
lea eax, [ebp + 4]
push eax
call fcn.00442550
mov eax, dword [ebp]
add esp, 0xc
sub edi, eax
cmp dword [esp + 0x40], ebx
lea esi, [eax + ebp]
jb 0x4b5fb2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00441cca
add esp, 4
xor eax, eax
cmp dword [esp + 0x5c], ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
jb 0x4b5fda
mov edx, dword [esp + 0x48]
push edx
call fcn.00441cca
add esp, 4
xor eax, eax
cmp dword [esp + 0x94], ebx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
jb 0x4b6006
mov eax, dword [esp + 0x80]
push eax
call fcn.00441cca
add esp, 4
xor eax, eax
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0xa4], 0xffffffff
jb 0x4b5dc8
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00441cca
add esp, 4
jmp 0x4b5dc8
lea ecx, [esp + 0x28]
call fcn.00404364
lea ecx, [esp + 0x44]
call fcn.00404364
lea ecx, [esp + 0x7c]
call fcn.00404364
lea ecx, [esp + 0x60]
call fcn.00404364
xor eax, eax
jmp 0x4b607b
cmp ebp, ebx
je 0x4b6076
mov dword [ebp], ebx
mov eax, 1
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00441cbb
add esp, 0x94
ret 8