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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62fd50
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x6d45e0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x10], ebx
dec ebx
mov ebx, dword [ebp + 0x10]
je 0x4b0132
cmp ebx, 0xffffffff
je 0x4b00a5
cmp dword [esi + 0x18], 0
jne 0x4b00a5
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x14]
cmp eax, 0xfffffffe
je 0x4b00c7
cmp eax, 0xffffffff
jne 0x4b01fa
lea ecx, [esp + 0x2c]
call fcn.00476560
mov ecx, dword [esi + 4]
add ecx, 0x30
jmp 0x4b0122
mov edx, dword [esi + 4]
mov ecx, ebx
cmp dword [edx + 0x7c], ebx
mov eax, dword [edx + 0x78]
cmovb ecx, dword [edx + 0x7c]
mov dword [edx + 0x80], eax
mov dword [edx + 0x84], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx + 0x80]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00475f70
mov edx, dword [esi + 4]
mov ecx, dword [eax]
mov dword [edx + 0x80], ecx
lea ecx, [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [edx + 0x84], eax
mov edx, 1
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
add ecx, 8
push eax
call fcn.0047cc20
cmp dword [esi + 0x18], 0
jne 0x4b03de
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0x18]
test ecx, ecx
jne 0x4b014e
call fcn.005acf90
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi], 0
jmp 0x4b0164
lea eax, [esi + 0x20]
push eax
push edi
push ecx
push dword [esi + 8]
mov ecx, dword [esi + 4]
push 0x476260
call fcn.00476090
mov dword [esi + 0x14], eax
cmp eax, 0xfffffffe
jne 0x4b01da
mov edi, dword [esi + 4]
cmp dword [edi + 0x84], 0
je 0x4b0327
push dword [edi + 0x84]
push dword [edi + 0x80]
push dword [edi + 4]
call fcn.004fa540
mov ecx, dword [edi + 0x84]
xor ebx, ebx
add esp, 0xc
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jbe 0x4b01bc
mov eax, dword [esi + 4]
xor edx, edx
xor ecx, ecx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x4b0128
mov edx, dword [edi + 0x80]
mov eax, dword [esi + 4]
add edx, ebx
sub ecx, ebx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], ecx
jmp 0x4b0128
cmp eax, 0xffffffff
je 0x4b0277
cmp eax, 1
je 0x4b0277
cmp dword [ebp + 0x14], 0
jne 0x4b0243
mov ebx, dword [ebp + 0x10]
jmp 0x4b008e
cmp eax, 1
jne 0x4b0214
lea ecx, [esp + 0x3c]
call fcn.00476560
mov ecx, dword [esi + 4]
push eax
add ecx, 0x30
call fcn.0047cc20
cmp dword [esi + 0x18], 0
lea eax, [esi + 0x18]
je 0x4b022f
mov ecx, dword [esi + 4]
xor edi, edi
push eax
call fcn.00475fc0
push edi
push edi
jmp 0x4b03ee
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x20]
push eax
call fcn.00475fc0
push 0
push edi
jmp 0x4b03ee
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push esi
mov dword [esp + 0x24], 0
mov eax, dword [eax + 0x78]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.004b24d0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.0047e2d0
mov ecx, dword [esi + 4]
add ecx, 0x30
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, dword [esp + 0x1c]
jne 0x4b030c
cmp edx, dword [esp + 0x20]
jne 0x4b030c
mov edx, 2
lea ecx, [esp + 0x14]
call fcn.0047e2d0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
add ecx, 0x30
call fcn.0047cc20
mov edi, dword [esi + 4]
push dword [edi + 0x68]
push dword [edi + 0x64]
push dword [edi + 4]
call fcn.004fa3b0
xor ecx, ecx
lea edx, [esp + 0x28]
add esp, 0xc
test eax, eax
cmovg ecx, eax
mov eax, dword [edi + 0x64]
cmp dword [edi + 0x68], ecx
push esi
cmovb ecx, dword [edi + 0x68]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
call fcn.004b25e0
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.004b2560
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ecx
push 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x28]
push eax
call fcn.00481340
mov ecx, dword [esi + 4]
add ecx, 8
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp eax, dword [esp + 0x24]
jne 0x4b030c
cmp edx, dword [esp + 0x28]
jne 0x4b030c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xffffffff
push eax
push ecx
push 2
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], SysStringLen
call fcn.00474150
add esp, 4
lea ecx, [esp + 0x20]
push eax
call fcn.00481340
mov ecx, dword [esi + 4]
lea eax, [esp + 0x1c]
push eax
add ecx, 8
call fcn.0047cc20
mov ecx, dword [esi + 4]
push esi
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x7c]
mov ecx, dword [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
call fcn.004b24d0
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
lea eax, [esi + 0x18]
push eax
call fcn.00475fc0
push 0
push 0
push eax
lea ecx, [esi + 0x28]
call fcn.004a6030
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10