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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb315
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5450d0]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5450d0]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x1334], 0
mov dword [esp + 0x28], esi
jne 0x4f1049
call 0x5143e0
mov edi, eax
shl edi, 0x10
call 0x5143e0
xor eax, edi
mov dword [esi + 0x1334], eax
lea eax, [esi + 0x148]
mov dword [esp + 0x2c], eax
call fcn.00464a8e
test al, al
je 0x4f12e2
lea eax, [esp + 0x5c]
mov dword [esp + 0x14], eax
mov al, byte [esi + 0x130]
mov byte [esp + 0x1b], al
mov eax, dword [esi + 0x1338]
add eax, 0x7b4
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x1298]
push eax
lea ebx, [esp + 0x44]
mov dword [esp + 0x28], eax
call fcn.0046bd8e
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.004f1684
mov eax, dword [0x552428]
mov dword [esp + 0x34], eax
mov eax, dword [0x552410]
lea edi, [esp + 0x30]
lea esi, [esp + 0x38]
mov dword [esp + 0x30], eax
call fcn.0049d414
test al, al
jne 0x4f12e2
call fcn.00451f33
push dword [eax + 0x24]
lea esi, [esp + 0x18]
push dword [eax + 0x20]
call fcn.004f1f77
push 1
mov eax, esi
call fcn.004d80e2
mov edi, dword [esp + 0x34]
add esp, 0xc
push dword [edi + 0x1334]
mov eax, esi
call fcn.004d80e2
pop ecx
lea ecx, [edi + 0x78]
lea eax, [edi + 0x64]
cmp eax, ecx
je 0x4f1113
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [eax]
mov byte [esi + eax], dl
inc eax
cmp eax, ecx
jne 0x4f1109
add dword [esp + 0x14], 0x14
lea edx, [edi + 0x8c]
mov eax, ecx
cmp eax, edx
je 0x4f1134
mov esi, dword [esp + 0x14]
sub esi, eax
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
cmp eax, edx
jne 0x4f112a
add dword [esp + 0x14], 0x14
xor ebx, ebx
cmp byte [esp + 0x1b], bl
je 0x4f114f
mov eax, dword [edi + 0x90]
mov ecx, dword [edi + 0x94]
jmp 0x4f1153
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x1c]
call fcn.004f1f77
pop ecx
pop ecx
cmp byte [esp + 0x1b], bl
je 0x4f1174
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0xa4]
jmp 0x4f1178
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x1c]
call fcn.004f1f77
pop ecx
pop ecx
cmp byte [esp + 0x1b], bl
je 0x4f1199
mov eax, dword [edi + 0x98]
mov ecx, dword [edi + 0x9c]
jmp 0x4f119d
xor eax, eax
xor ecx, ecx
push ecx
push eax
lea esi, [esp + 0x1c]
call fcn.004f1f77
push dword [edi + 0xb4]
mov eax, esi
call fcn.004d80e2
add esp, 0xc
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.0045f38b
mov esi, dword [esp + 0x1c]
sub esi, 0xffffff80
lea eax, [esp + 0x40]
mov ecx, esi
call fcn.00464212
test al, al
je 0x4f1203
cmp dword [esi], ebx
jne 0x4f1203
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00464043
push dword [eax]
call dword [0x50b704]
push eax
lea eax, [esp + 0x18]
call fcn.004a0853
jmp 0x4f120d
push ebx
lea eax, [esp + 0x18]
call fcn.004d80e2
pop ecx
push dword [edi + 0xd4]
lea eax, [esp + 0x18]
call fcn.004d80e2
pop ecx
push dword [edi + 0xd8]
lea eax, [esp + 0x18]
call fcn.004d80e2
movzx eax, word [edi + 0xb0]
pop ecx
push eax
lea eax, [esp + 0x18]
call fcn.004ae780
pop ecx
push ebx
lea eax, [esp + 0x18]
call fcn.004ae780
pop ecx
mov dword [esp + 0x1c], ebx
call 0x52feb0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
push 0x64
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x2c]
lea ecx, [esp + 0x28]
call fcn.004b1965
mov eax, dword [edi + 0x58]
xor esi, esi
inc esi
mov dword [edi + 0x1340], esi
mov eax, dword [eax + 0x2c]
add eax, 0xaf0
add eax, 0x130
lea ecx, [esi + 0x7f]
add dword [eax - 8], ecx
add dword [eax], ecx
adc dword [eax + 4], ebx
inc dword [edi + 0x133c]
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
test eax, fcn.004ac059
je 0x4f12e2
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.004464d8
mov dword [esp + 0xd8], ebx
cmp dword [eax + 0x18], 0x10
jb 0x4f12c9
mov eax, dword [eax + 4]
jmp 0x4f12cc
add eax, 4
push ebx
push eax
push 0xffffffffffffffff
xor ecx, ecx
call fcn.004c199c
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.0044046c
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call 0x511697
mov esp, ebp
pop ebp
ret