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

Disassembly:
push 0xffffffffffffffff
push 0x56bbf8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5bf500]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bf500]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], 0
test bl, 7
je 0x4fa7c0
cmp byte [ebp], 0
setne byte [esp + 0x17]
inc ebp
mov eax, dword [ecx]
shr ebx, 3
mov dword [esp + 0x2c], ebx
call dword [eax + 0x18]
mov esi, eax
mov dword [esp + 0x50], esi
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x6c], 0
call dword [eax + 0x1c]
mov ecx, ebx
mov dword [esp + 0x1c], eax
sub ecx, eax
mov dword [esp + 0x18], ecx
lea ecx, [eax*2 + 1]
cmp ebx, ecx
jb 0x4fa804
cmp byte [esp + 0x17], 0
mov byte [esp + 0x17], 0
je 0x4fa809
mov byte [esp + 0x17], 1
push ebx
mov dword [esp + 0x5c], ebx
call fcn.0043a9c0
add esp, 4
test ebx, ebx
jne 0x4fa822
xor edi, edi
mov dword [esp + 0x24], edi
jmp 0x4fa831
push ebx
call fcn.004edb80
add esp, 4
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x5c], edi
push ebx
test ebp, ebp
jne 0x4fa843
push ebp
push edi
call fcn.00525d00
jmp 0x4fa84a
push ebp
push edi
call fcn.005256b0
add esp, 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x6c], 1
lea eax, [edi + ebp]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ebx, eax
mov dword [esp + 0x30], ebx
mov eax, dword [ebx]
lea ecx, [edi + ebp]
push 1
push dword [esp + 0x1c]
mov byte [esp + 0x74], 2
push ecx
push ebp
push edi
push esi
mov ecx, ebx
call dword [eax + 4]
mov eax, dword [ebx]
lea ecx, [edi + ebp]
push 1
push ebp
push edi
push dword [esp + 0x24]
push ecx
push esi
mov ecx, ebx
call dword [eax + 4]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
push 0x5c5744
push str.EncodingParameters
mov eax, dword [ecx]
mov byte [esp + 0x78], 6
call dword [eax + 4]
lea eax, [edi + ebp]
mov edi, dword [esp + 0x18]
add edi, eax
add ebp, eax
mov eax, edi
sub eax, ebp
push eax
push 1
push ebp
call fcn.0051f7e0
add esp, 0xc
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x20], ecx
cmp ecx, edi
je 0x4fa910
cmp byte [esp + 0x17], 0
jne 0x4fa910
xor al, al
jmp 0x4fa912
mov al, 1
cmp ebp, ecx
je 0x4fa927
cmp byte [ebp], 0
jne 0x4fa923
inc ebp
cmp ebp, ecx
jne 0x4fa916
jmp 0x4fa927
cmp ebp, ecx
jne 0x4fa930
mov byte [esp + 0x17], 0
test al, al
je 0x4fa935
mov byte [esp + 0x17], 1
cmp byte [esp + 0x34], 0
je 0x4fa946
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
jmp 0x4fa94e
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esi]
mov edi, dword [esp + 0x1c]
push ecx
push edx
mov eax, dword [eax + 0x34]
mov ecx, esi
push edi
call eax
test al, al
je 0x4fa9e1
cmp byte [esp + 0x17], 0
jne 0x4fa9e1
mov eax, dword [esp + 0x20]
inc eax
sub edi, eax
add edi, dword [esp + 0x18]
push edi
push eax
push dword [esp + 0x54]
call fcn.005256b0
mov ebp, dword [esp + 0x34]
xor al, al
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
mov dword [ebp + 4], edi
mov edi, edx
mov byte [ebp], 1
rep stosb byte es:[edi], al
mov byte [esp + 0x7c], 2
call fcn.00443e80
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
mov byte [esp + 0x6c], 1
push 1
call dword [eax]
mov edx, dword [esp + 0x24]
xor al, al
mov ecx, dword [esp + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
mov byte [esp + 0x70], 0
call fcn.00443e80
mov edx, dword [esi]
add esp, 4
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
push 1
call dword [edx]
jmp 0x4faa45
mov ebp, dword [esp + 0x28]
xor al, al
mov edx, dword [esp + 0x48]
mov edi, edx
mov ecx, dword [esp + 0x44]
push edx
mov byte [ebp], 0
mov dword [ebp + 4], 0
rep stosb byte es:[edi], al
mov byte [esp + 0x70], 2
call fcn.00443e80
mov eax, dword [ebx]
add esp, 4
mov ecx, ebx
mov byte [esp + 0x6c], 1
push 1
call dword [eax]
mov edx, dword [esp + 0x24]
xor al, al
mov ecx, dword [esp + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
mov byte [esp + 0x70], 0
call fcn.00443e80
mov eax, dword [esi]
add esp, 4
mov ecx, esi
mov dword [esp + 0x6c], 0xffffffff
push 1
call dword [eax]
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0051ece9
add esp, 0x5c
ret 0x14