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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 4]
lea esi, [ebp + 0xc]
xor eax, eax
push ebp
push 0x4f8626
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [0x4f8638]
not eax
and al, byte [ebp + 0x10]
mov byte [ebp + 0x10], al
mov eax, dword [esi]
movzx eax, byte [eax + 0xa5]
call fcn.004dc664
mov edi, eax
push ebp
call fcn.004f80cc
pop ecx
mov eax, dword [ebx]
cmp byte [eax + 8], 0
jne 0x4f8355
mov eax, dword [ebx]
cmp byte [eax + 0xb0], 0
jne 0x4f8355
mov eax, dword [esi]
movzx eax, byte [eax + 0xa5]
call fcn.004dc664
cmp edi, eax
jle 0x4f8355
push ebp
call fcn.004f80cc
pop ecx
mov eax, dword [esi]
movzx eax, byte [eax + 0xa5]
mov edx, dword [esi]
mov byte [edx + 0x1c], al
mov eax, dword [esi]
movzx eax, byte [eax + 0x44]
mov edx, dword [ebx]
mov byte [edx + 0x54], al
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
mov edx, dword [esi]
mov dword [edx + 0xb4], eax
mov eax, dword [ebx]
cmp byte [eax + 8], 0
je 0x4f83a7
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0x7fffffff
je 0x4f839a
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x18], 0
jne 0x4f839e
xor eax, eax
jmp 0x4f83a0
mov al, 1
mov edx, dword [ebx]
mov byte [edx + 0x4d], al
jmp 0x4f83b8
mov eax, dword [ebx]
mov eax, dword [eax + 0x34]
cmp byte [eax + 0x18], 1
sete al
mov edx, dword [ebx]
mov byte [edx + 0x4d], al
mov eax, dword [ebp - 8]
mov edx, dword [ebx]
push esi
mov esi, eax
lea edi, [edx + 0x3d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx]
call fcn.004fa060
call fcn.004dee48
mov eax, dword [eax + 0x3c]
mov edx, dword [esi]
mov dword [edx + 0x54], eax
mov eax, dword [ebx]
mov edx, dword [esi]
push esi
lea esi, [eax + 0x3d]
lea edi, [edx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx]
movzx eax, byte [eax + 0x8e]
mov edx, dword [esi]
mov byte [edx + 0xb8], al
mov eax, dword [ebx]
movzx eax, byte [eax + 0x8f]
mov edx, dword [esi]
mov byte [edx + 0xb9], al
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x4f8425
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x124]
test al, al
jne 0x4f8429
xor eax, eax
jmp 0x4f842b
mov al, 1
mov edx, dword [esi]
mov byte [edx + 0xc0], al
mov eax, dword [ebx]
cmp dword [eax + 0x98], 0
je 0x4f8451
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp byte [eax + 0x57], 0
jne 0x4f8455
xor eax, eax
jmp 0x4f8457
mov al, 1
mov edx, dword [esi]
mov byte [edx + 0xc2], al
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x4f8476
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x30c]
test al, al
jne 0x4f847a
xor eax, eax
jmp 0x4f847c
mov al, 1
mov edx, dword [esi]
mov byte [edx + 0xdb], al
mov eax, dword [ebx]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x4f84a7
lea eax, [ebp - 0xc]
call fcn.00406c40
mov ecx, eax
mov edx, 0x4f863c
mov eax, edi
call fcn.0040f6a4
test al, al
jne 0x4f84ab
xor eax, eax
jmp 0x4f84ad
mov al, 1
mov edx, dword [esi]
mov byte [edx + 0xda], al
mov eax, dword [ebx]
movzx eax, byte [eax + 0xa8]
mov edx, dword [esi]
mov byte [edx + 0xdc], al
mov eax, dword [ebx]
movzx eax, byte [eax + 8]
mov edx, dword [esi]
mov byte [edx + 0xdd], al
mov eax, dword [ebx]
movzx eax, byte [eax + 0xa9]
mov edx, dword [esi]
mov byte [edx + 0xde], al
mov eax, dword [ebx]
call fcn.004fa034
mov edx, dword [esi]
mov byte [edx + 0xe4], al
mov eax, dword [ebx]
call fcn.004fa060
call fcn.004de494
mov edx, dword [esi]
mov byte [edx + 0x45], al
mov eax, dword [ebx]
call fcn.004fa060
cmp byte [eax + 0x19], 0
je 0x4f8528
mov eax, dword [ebx]
call fcn.004fa060
call fcn.004de4e4
mov edx, dword [esi]
mov dword [edx + 0xbc], eax
jmp 0x4f853c
mov eax, dword [ebx]
call fcn.004fa060
call fcn.004ddc00
mov edx, dword [esi]
mov dword [edx + 0xbc], eax
mov eax, dword [ebx]
cmp byte [eax + 8], 0
jne 0x4f854f
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
jne 0x4f8553
xor eax, eax
jmp 0x4f8555
mov al, 1
mov edx, dword [esi]
mov byte [edx + 0x58], al
mov eax, dword [ebx]
mov eax, dword [eax + 0xcc]
mov edx, dword [esi]
mov dword [edx + 0x10c], eax
movzx ecx, byte [ebp + 8]
mov edx, dword [esi]
mov eax, dword [ebx]
call fcn.004f9820
mov eax, dword [ebp + 0x18]
push eax
movzx eax, byte [ebp + 0x14]
push eax
movzx eax, byte [ebp + 0x10]
push eax
mov eax, dword [esi]
push eax
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov edi, dword [eax]
call dword [edi + 0x48]
mov eax, dword [ebp - 8]
mov edx, dword [esi]
push esi
mov esi, eax
lea edi, [edx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [esi]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx]
mov edi, dword [eax]
call dword [edi + 0x68]
lea edx, [ebp - 0x20]
mov eax, dword [esi]
add eax, 0x34
call fcn.004c2900
mov eax, dword [ebx]
cmp dword [eax + 0x98], 0
je 0x4f85f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
mov edx, dword [eax]
call dword [edx + 0xc]
lea edx, [ebp - 0x30]
call fcn.0044ebb0
mov eax, dword [esi]
lea esi, [ebp - 0x30]
lea edi, [eax + 0xc9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x4f8609
mov eax, dword [esi]
mov edx, dword [esi]
lea esi, [eax + 0x34]
lea edi, [edx + 0xc9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebp
call fcn.004f81f0
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f862d
lea eax, [ebp - 0xc]
call fcn.00406c40
ret