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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5789c0
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x150], eax
push ebx
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x168]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0xc0]
lea ebx, [esi + 0xc0]
mov ecx, ebx
push dword [eax + 4]
call fcn.004fd5b0
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [eax + 8], eax
lea eax, [esi + 0xc8]
mov dword [ebx + 4], 0
mov edi, dword [esi + 0xcc]
mov esi, dword [esi + 0xc8]
mov dword [esp + 0x40], eax
cmp esi, edi
je 0x4fa8af
jmp 0x4fa8a0
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4fa8a0
mov edi, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
add esi, 0xd4
mov ecx, esi
mov dword [esp + 0x3c], esi
mov eax, dword [edi]
mov dword [edi + 4], eax
mov eax, dword [esi]
push dword [eax + 4]
call fcn.004fd690
mov eax, dword [esi]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
mov dword [esi + 4], 0
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], 0
mov byte [esp + 0x110], 0
mov dword [esp + 0x10c], 0x4442f8
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10c]
push edx
mov dword [esp + 0x174], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
je 0x4fb1e4
push 2
push 0x44e464
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00465aa0
mov dword [esp + 0x10], 0x4442f8
lea eax, [esp + 0x10]
mov byte [esp + 0x170], 1
push eax
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x130]
call fcn.004c00c0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x4442f8
jb 0x4fa9a2
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x4442f8
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0xd4], 0x4442f8
lea eax, [esp + 0x10]
mov byte [esp + 0x170], 5
push eax
lea ecx, [esp + 0x12c]
call fcn.004c0340
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x174], 6
call fcn.004ba3a0
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x170], 5
mov dword [esp + 0x10], 0x4442f8
jb 0x4faa45
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
xorps xmm0, xmm0
lea ecx, [esp + 0xb0]
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.004e1570
mov dword [esp + 0xb0], eax
xorps xmm0, xmm0
mov dword [esp + 0x38], 0
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov byte [esp + 0x170], 8
jmp 0x4faab0
lea ecx, [esp + 0x128]
call fcn.004c0360
test al, al
mov eax, dword [esp + 0xcc]
je 0x4faacf
test eax, eax
je 0x4fb05a
test eax, eax
jne 0x4fab1e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x12c]
call fcn.004c0340
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x174], 9
call fcn.004ba3a0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x4442f8
mov byte [esp + 0x170], 8
jb 0x4faab0
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
jmp 0x4faab0
push 2
push 0x44e468
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00465aa0
mov dword [esp + 0x10], 0x4442f8
lea eax, [esp + 0x10]
mov byte [esp + 0x170], 0xa
push eax
lea ecx, [esp + 0xbc]
call fcn.004fc5d0
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x170], 8
mov dword [esp + 0x10], 0x4442f8
jb 0x4fab87
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
push 2
push 0x44e468
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00465aa0
mov dword [esp + 0x10], 0x4442f8
lea eax, [esp + 0x10]
mov byte [esp + 0x170], 0xb
push eax
lea ecx, [esp + 0xbc]
call fcn.004fc500
cmp dword [esp + 0x28], 0x10
mov byte [esp + 0x170], 8
mov dword [esp + 0x10], 0x4442f8
jb 0x4fabf0
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0xd0], 0x10
lea eax, [esp + 0xbc]
cmovae eax, dword [esp + 0xbc]
mov al, byte [eax]
test al, al
je 0x4fb02b
cmp al, 0x5b
je 0x4fae5c
push 1
push 0
lea eax, [esp + 0xb4]
mov byte [esp + 0xb4], 0x3d
push eax
lea ecx, [esp + 0xc8]
call fcn.004bd5e0
mov esi, eax
cmp esi, 0xffffffff
je 0x4fac6f
push 1
push 0
lea eax, [esp + 0xb4]
mov byte [esp + 0xb4], 0x22
push eax
lea ecx, [esp + 0xc8]
call fcn.004bd5e0
cmp eax, 0xffffffff
je 0x4fac6f
cmp eax, esi
mov eax, 0xffffffff
cmovb esi, eax
push esi
push 0
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc8]
call fcn.004bd830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x17c], 0xe
mov dword [esp + 0x114], 0xf
mov dword [esp + 0x110], 0
mov byte [esp + 0x100], 0
call fcn.004658c0
mov dword [esp + 0xf0], 0x4442f8
cmp dword [esp + 0x90], 0x10
mov byte [esp + 0x170], 0x10
jb 0x4face6
push dword [esp + 0x7c]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], 0
mov byte [esp + 0x7c], 0
cmp esi, 0xffffffff
je 0x4faddb
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc8]
call fcn.004bd830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x17c], 0x11
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
call fcn.004658c0
mov dword [esp + 0x48], 0x4442f8
lea eax, [esp + 0x48]
mov byte [esp + 0x170], 0x12
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xb8]
call fcn.004f7f50
mov ecx, eax
call fcn.004ba3a0
cmp dword [esp + 0x60], 0x10
mov dword [esp + 0x48], 0x4442f8
jb 0x4fad94
push dword [esp + 0x4c]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0x78], 0x10
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
mov byte [esp + 0x170], 0x10
jb 0x4fadc4
push dword [esp + 0x64]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
jmp 0x4fadfc
call fcn.004bb040
push eax
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0xb8]
call fcn.004f7f50
mov ecx, eax
call fcn.004ba3a0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0x34]
call fcn.004bf810
cmp dword [esp + 0x108], 0x10
mov byte [esp + 0x170], 8
mov dword [esp + 0xf0], 0x4442f8
jb 0x4fae39
push dword [esp + 0xf4]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
jmp 0x4fb02b
cmp dword [esp + 0xe8], 0
je 0x4faf56
lea eax, [esp + 0xd4]
mov ecx, edi
push eax
call fcn.004bf810
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004f8050
mov ecx, eax
call fcn.004c4c30
mov ebx, dword [esp + 0x30]
mov esi, ebx
mov edi, dword [esp + 0x34]
cmp ebx, edi
je 0x4faeb1
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0x1c
cmp esi, edi
jne 0x4faea2
mov dword [esp + 0x34], ebx
lea eax, [esp + 0xd4]
mov ebx, dword [esp + 0x2c]
add ebx, 0xc0
push eax
mov ecx, ebx
call fcn.004f7fc0
mov esi, eax
lea eax, [esp + 0xb0]
cmp esi, eax
je 0x4faf14
mov ecx, dword [esi]
push dword [ecx + 4]
mov ecx, esi
call fcn.004fd520
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x44], 0
push dword [esp + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
lea eax, [esp + 0xb4]
push eax
mov dword [esi + 4], 0
call fcn.004f6150
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xb0]
push dword [eax + 4]
call fcn.004fd520
mov eax, dword [esp + 0xb0]
mov edi, dword [esp + 0x40]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [eax], eax
mov eax, dword [esp + 0xb0]
mov dword [eax + 8], eax
mov dword [esp + 0xb4], 0
push 1
push 0
lea eax, [esp + 0xb4]
mov byte [esp + 0xb4], 0x5d
push eax
lea ecx, [esp + 0xc8]
call fcn.004bd5e0
dec eax
lea ecx, [esp + 0xbc]
push eax
push 1
lea eax, [esp + 0x9c]
push eax
call fcn.004bd830
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x17c], 0xc
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
call fcn.004658c0
mov dword [esp + 0x10], 0x4442f8
lea eax, [esp + 0x10]
mov byte [esp + 0x170], 0xd
push eax
lea ecx, [esp + 0xd8]
call fcn.004ba3a0
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0x10], 0x4442f8
jb 0x4faff5
push dword [esp + 0x14]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0xa8], 0x10
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x170], 8
jb 0x4fb02b
push dword [esp + 0x94]
call fcn.00549eaf
add esp, 4
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x12c]
call fcn.004c0340
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x174], 0x13
call fcn.004ba3a0
mov esi, dword [esp + 0x3c]
jmp 0x4faaf9
cmp dword [esp + 0xe8], 0
je 0x4fb0fc
cmp dword [esp + 0xb4], 0
je 0x4fb0fc
lea eax, [esp + 0xd4]
mov ecx, edi
push eax
call fcn.004bf810
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004f8050
mov ecx, eax
call fcn.004c4c30
lea eax, [esp + 0xb0]
mov ecx, ebx
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.004f7fc0
mov ecx, eax
call fcn.004f7f00
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xb0]
push dword [eax + 4]
call fcn.004fd520
mov eax, dword [esp + 0xb0]
mov dword [eax + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [eax], eax
mov eax, dword [esp + 0xb0]
mov dword [eax + 8], eax
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0x2c]
push 0
mov byte [eax + 0x85], 0
call fcn.0054a8a8
add esp, 4
lea ecx, [esp + 0x30]
call fcn.0047c4e0
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xb0]
push eax
mov byte [esp + 0x174], 5
push dword [eax]
lea eax, [esp + 0x4c]
push eax
call fcn.004fd920
push dword [esp + 0xb0]
call fcn.00549eaf
add esp, 4
mov dword [esp + 0xd4], 0x4442f8
cmp dword [esp + 0xec], 0x10
jb 0x4fb170
push dword [esp + 0xd8]
call fcn.00549eaf
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov dword [esp + 0xb8], 0x4442f8
jb 0x4fb1b2
push dword [esp + 0xbc]
call fcn.00549eaf
add esp, 4
lea ecx, [esp + 0x128]
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
mov byte [esp + 0x170], 0
call fcn.004c5720
cmp dword [esp + 0x124], 0x10
mov dword [esp + 0x10c], 0x4442f8
jb 0x4fb208
push dword [esp + 0x110]
call fcn.00549eaf
add esp, 4
mov ecx, dword [esp + 0x168]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x150]
xor ecx, esp
call fcn.0054a992
mov esp, ebp
pop ebp
ret