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

Disassembly:
mov eax, 0x3fae02e1
call fcn.3f9ec288
sub esp, 0x4c
mov eax, dword [ebp + 0x10]
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [0x3faf1208]
inc edx
or esi, 0xffffffff
test dl, al
push edi
mov ebx, 0x3faece70
jne 0x3fa28b1e
or eax, edx
mov dword [0x3faf1208], eax
and dword [ebp - 4], 0
mov dword [0x3faf1204], ebx
mov dword [ebp - 4], esi
push 2
pop ecx
test cl, al
jne 0x3fa28b38
or eax, ecx
mov dword [0x3faf1208], eax
mov dword [ebp - 4], edx
mov dword [0x3faf1200], ebx
mov dword [ebp - 4], esi
push 4
pop edx
test dl, al
jne 0x3fa28b52
or eax, edx
mov dword [0x3faf1208], eax
mov dword [ebp - 4], ecx
mov dword [0x3faf11fc], ebx
mov dword [ebp - 4], esi
test al, 8
jne 0x3fa28b6e
or eax, 8
mov dword [0x3faf1208], eax
mov dword [ebp - 4], 3
mov dword [0x3faf11f8], ebx
mov dword [ebp - 4], esi
test al, 0x10
jne 0x3fa28b86
or eax, 0x10
mov dword [0x3faf1208], eax
mov dword [ebp - 4], edx
mov dword [0x3faf11f4], ebx
mov dword [ebp - 4], esi
test al, 0x20
jne 0x3fa28ba2
or eax, 0x20
mov dword [0x3faf1208], eax
mov dword [ebp - 4], 5
mov dword [0x3faf11f0], ebx
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0x14]
cmp esi, 0x3fae91a4
mov edi, dword [0x3fae919c]
jne 0x3fa28bd7
mov dword [0x3faf1204], edi
mov dword [0x3faf1200], edi
mov dword [0x3faf11fc], edi
mov dword [0x3faf11f8], edi
mov dword [0x3faf11f4], edi
mov dword [0x3faf11f0], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x78]
push 0x5c
call fcn.3f9f5d74
cmp dword [eax], ebx
je 0x3fa28c04
mov edi, dword [eax]
push 0x3fae919c
lea eax, [ebp + 0x10]
push eax
mov dword [ebp - 0x14], edi
call fcn.3f9f5d74
mov dword [ebp + 0x10], edi
mov edi, dword [0x3fae919c]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x1c], ebx
jne 0x3fa29344
mov eax, dword [0x3faf1204]
cmp eax, ebx
je 0x3fa28c7d
mov ecx, dword [ecx + 8]
cmp ecx, dword [eax + 8]
jne 0x3fa28c7d
cmp dword [0x3faf11fc], ebx
mov dword [0x3faf1204], edi
lea eax, [ebp + 0x14]
je 0x3fa28c47
push eax
push 0x3faf11fc
lea eax, [ebp - 0x30]
push eax
call fcn.3f9f5d74
mov edi, dword [0x3fae919c]
cmp dword [0x3faf11f4], ebx
mov eax, dword [eax]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
je 0x3fa28c6c
push eax
push 0x3faf11f4
lea eax, [ebp - 0x30]
push eax
call fcn.3f9f5d74
mov edi, dword [0x3fae919c]
mov esi, dword [eax]
mov dword [ebp + 0x14], esi
mov dword [0x3faf11fc], edi
mov dword [0x3faf11f4], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c]
mov edi, 0x9c
push edi
call fcn.3f9f5d74
cmp dword [eax], 0x3fae91a4
je 0x3fa2912d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
cmp eax, 1
lea ecx, [eax - 1]
movzx ecx, cx
mov dword [ebp - 0x18], ecx
jne 0x3fa28db6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x7c]
push edi
call fcn.3f9f5d74
mov ecx, dword [eax]
cmp dword [ecx + 4], ebx
jne 0x3fa28cd5
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.3f96dc3e
jmp 0x3fa28ced
mov eax, ecx
push ecx
add eax, 4
mov dword [ebp - 0x30], esp
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.3f968120
mov ebx, dword [eax]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], 1
mov eax, dword [eax + 0xc0]
mov eax, dword [eax + 0x4c]
mov eax, dword [eax + 4]
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov dword [ecx], eax
call fcn.3f9f5d74
movzx eax, ax
test ax, ax
je 0x3fa28d72
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc0]
mov al, byte [eax + 0xd6]
shr al, 5
and al, 1
mov byte [ebp - 0x20], al
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.3f9f5d74
push eax
call fcn.3f9f5d74
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc0]
mov al, byte [eax + 0xbc]
shr al, 2
and al, 1
mov byte [ebp - 0x20], al
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.3f9f5d74
push eax
call fcn.3f9f5d74
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c]
push edi
mov dword [ebp - 0x10], ebx
call fcn.3f9f5d74
cmp ebx, 0x3faece70
push eax
je 0x3fa28da3
lea eax, [ebp - 0x30]
push eax
call fcn.3f9f5d74
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.3f9f5d74
jmp 0x3fa28dac
lea eax, [ebp - 0x28]
push eax
call fcn.3f9f5d74
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.3f9f5d74
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x7c]
push edi
call fcn.3f9f5d74
mov eax, dword [eax]
cmp eax, 0x3fae91a4
mov dword [ebp - 0x1c], eax
je 0x3fa292d2
mov ebx, section.gdata
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 0x78]
inc dword [ebp - 0x18]
push 0x5c
mov dword [ebp - 0x10], esi
call fcn.3f9f5d74
cmp dword [eax], 0x3faece70
je 0x3fa28e08
mov esi, dword [eax]
push 0x3fae919c
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 0x10]
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push dword [ebp + 0xc]
mov dword [eax], edi
call fcn.3f9f5d74
movzx eax, ax
test ax, ax
jne 0x3fa28f7f
push dword [edi + 4]
call fcn.3f9f5d74
test eax, eax
je 0x3fa28f7f
mov ecx, dword [esi + 0xc0]
mov ecx, dword [ecx + 0x4c]
mov ecx, dword [ecx + eax*4 + 0x44]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc0]
lea edi, [ecx + 0x10]
mov ecx, dword [eax + 0x7c]
push 0xe
call fcn.3f9f5d74
mov ecx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.3f9f5d74
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push edi
lea eax, [ebp - 0x38]
push eax
call fcn.3f9f5d74
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx]
jne 0x3fa28f7f
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x3faece70
jne 0x3fa28e9f
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.3f96dc3e
jmp 0x3fa28eb0
push ecx
mov eax, esp
mov dword [eax], ecx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], esp
push eax
call fcn.3f968120
mov edi, dword [eax]
push 0x3fae91a0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], edi
call fcn.3f9f5d74
mov eax, dword [edi + 0xc0]
mov ecx, dword [eax + 0x7c]
push 0xe
call fcn.3f9f5d74
mov esi, eax
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
mov eax, dword [eax]
mov ecx, dword [esi]
mov dword [eax + 0x10], ecx
movsx eax, word [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push 0x3fa20b69
push eax
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ecx + 0x3c], edi
call fcn.3f9f5d74
mov eax, dword [eax]
add eax, 4
mov esi, dword [eax]
mov eax, dword [esi + 0xc0]
mov al, byte [eax + 0xd6]
shr al, 5
and al, 1
mov byte [ebp - 0x24], al
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
push eax
call fcn.3f9f5d74
mov eax, dword [esi + 0xc0]
mov al, byte [eax + 0xbb]
shr al, 4
and al, 1
mov byte [ebp - 0x28], al
push dword [ebp - 0x28]
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
push eax
call fcn.3f9f5d74
mov esi, dword [esi + 0xc0]
mov al, byte [esi + 0xd6]
shr al, 7
mov byte [ebp - 0x2c], al
push dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
push eax
call fcn.3f9f5d74
mov esi, edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 0x4c]
mov edx, 0x3fae9140
cmp dword [ecx + 4], edx
jne 0x3fa29081
cmp dword [eax + 0x10], edx
jne 0x3fa29081
cmp esi, 0x3faece70
jne 0x3fa28fb7
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.3f96dc3e
jmp 0x3fa28fc8
push ecx
mov eax, esp
mov dword [eax], esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x20], esp
push eax
call fcn.3f968120
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x10], 0x3faecc80
call fcn.3f96a15b
mov ecx, eax
call fcn.3f9f5d74
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x3fa28ff7
mov ecx, eax
call fcn.3f96426d
jmp 0x3fa28ff9
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
lea ecx, [ebp - 0x10]
call fcn.3f9f5d74
movsx edi, word [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.3f9f5d74
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x20]
push eax
call fcn.3f9f5d74
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x4c], ecx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
call fcn.3f9f5d74
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov edx, dword [edx + 0x7db4]
mov eax, dword [esi + 0xc0]
mov ecx, 0x3faf5a54
sub ecx, ebx
sar ecx, 2
mov ecx, dword [edx + ecx*4]
cmp ecx, dword [eax + 0x10]
jne 0x3fa2907e
mov dword [esi], 9
mov dword [ebp - 0x10], esi
push ecx
mov ecx, dword [0x3fae915c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x4c]
mov dword [ebp - 0x50], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.3fa7e890
mov eax, dword [eax]
test byte [eax + 0xbb], 0x20
je 0x3fa290da
mov eax, dword [esi + 0xc0]
test byte [eax + 0xbb], 0x20
jne 0x3fa290da
lea eax, [ebp - 0x10]
push eax
call fcn.3f9f5d74
mov eax, dword [eax]
or byte [eax + 0xbb], 0x20
cmp dword [esi], 0
jne 0x3fa290f7
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + 0x4c]
cmp dword [eax + 0x5c], 0x3faeccf8
je 0x3fa290f7
mov dword [esi], 6
cmp esi, 0x3faece70
lea eax, [ebp + 0x14]
je 0x3fa29110
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.3f9f5d74
mov esi, dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, 0x3fae91a4
mov dword [ebp + 0x14], esi
mov dword [ebp - 0x1c], eax
jne 0x3fa28dd7
jmp 0x3fa292d2
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x58], 0x3fae91a4
je 0x3fa29188
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 4]
cmp dword [eax], 0x98
je 0x3fa29188
mov eax, edi
mov ebx, dword [eax + 0x58]
cmp ebx, 0x3fae91a4
je 0x3fa292d2
mov eax, dword [ebx + 4]
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push ecx
mov dword [ecx], esi
mov ecx, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebp - 0x58]
push eax
call fcn.3fa28ae0
mov ebx, dword [ebx]
cmp ebx, 0x3fae91a4
mov esi, dword [eax]
jne 0x3fa29158
jmp 0x3fa292cf
mov ecx, dword [edi + 0x7c]
push 0x97
call fcn.3f9f5d74
cmp dword [eax], 0x3fae91a4
je 0x3fa291dd
cmp dword [edi + 0x1c], ebx
jne 0x3fa291dd
mov ebx, dword [eax]
mov edi, 0x3fae91a4
cmp ebx, edi
je 0x3fa292d2
mov eax, dword [ebx + 4]
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push ecx
mov dword [ecx], esi
mov ecx, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebp - 0x58]
push eax
call fcn.3fa28ae0
mov ebx, dword [ebx]
cmp ebx, edi
mov esi, dword [eax]
jne 0x3fa291b1
jmp 0x3fa292cf
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x7db4]
mov ebx, section.gdata
mov ecx, 0x3faf5760
sub ecx, ebx
sar ecx, 2
push dword [eax + ecx*4]
mov ecx, 0x3faf4f7c
sub ecx, ebx
sar ecx, 2
push dword [eax + ecx*4]
mov ecx, 0x3faf5b0c
sub ecx, ebx
sar ecx, 2
push dword [eax + ecx*4]
mov ecx, 0x3faf4a94
sub ecx, ebx
sar ecx, 2
push dword [eax + ecx*4]
mov edx, 0x3faf573c
sub edx, ebx
push ecx
sar edx, 2
lea eax, [eax + edx*4]
mov eax, dword [eax]
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0xc0]
mov dword [ebp - 0x58], esp
lea eax, [esi + 0x10]
push 5
push eax
call fcn.3f9f5d74
add esp, 0x1c
test al, al
jne 0x3fa29280
mov eax, dword [edi + 0x7db4]
mov ecx, 0x3faf5ab8
sub ecx, ebx
sar ecx, 2
mov ecx, dword [eax + ecx*4]
cmp ecx, dword [esi + 0x10]
je 0x3fa29280
mov ecx, 0x3faf4ccc
sub ecx, ebx
sar ecx, 2
mov eax, dword [eax + ecx*4]
cmp eax, dword [esi + 0x10]
je 0x3fa29280
mov eax, dword [ebp + 0x10]
jmp 0x3fa292b2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x3faece70
jne 0x3fa29299
push edi
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.3f96dc3e
jmp 0x3fa292aa
push ecx
mov eax, esp
mov dword [ebp - 0x58], esp
mov dword [eax], ecx
lea eax, [ebp - 0x54]
push eax
call fcn.3f968120
mov eax, dword [eax]
mov dword [eax], 0x5c
mov dword [ebp - 0x10], eax
cmp eax, 0x3faece70
lea eax, [ebp + 0x14]
je 0x3fa292cd
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.3f9f5d74
mov esi, dword [eax]
mov dword [ebp + 0x14], esi
mov eax, dword [0x3faf1200]
cmp eax, 0x3faece70
je 0x3fa2935b
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + 0xc]
cmp ecx, dword [eax + 0xc]
jne 0x3fa2935b
mov eax, dword [0x3fae919c]
mov esi, 0x3faece70
cmp dword [0x3faf11f8], esi
mov dword [0x3faf1200], eax
lea eax, [ebp + 0x14]
je 0x3fa29312
push eax
push 0x3faf11f8
lea eax, [ebp - 0x58]
push eax
call fcn.3f9f5d74
cmp dword [0x3faf11f0], esi
mov eax, dword [eax]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
je 0x3fa29331
push eax
push 0x3faf11f0
lea eax, [ebp - 0x58]
push eax
call fcn.3f9f5d74
mov esi, dword [eax]
mov eax, dword [0x3fae919c]
mov dword [0x3faf11f8], eax
mov dword [0x3faf11f0], eax
jmp 0x3fa2935b
cmp ecx, ebx
lea eax, [ebp + 0x14]
je 0x3fa29359
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.3f9f5d74
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x18]
mov edi, 0x3fae91a4
jmp 0x3fa2938b
mov eax, dword [ebx + 4]
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push ecx
mov dword [ecx], esi
mov ecx, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebp - 0x58]
push eax
call fcn.3fa28ae0
mov esi, dword [eax]
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x3fa29368
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x1c], 0x3faece70
je 0x3fa293bf
push ecx
mov eax, esp
mov dword [ebp + 0x14], esp
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax], esi
mov ecx, dword [ecx + 0x1c]
mov eax, esp
mov dword [ebp + 0x14], esp
push dword [ebp + 0xc]
mov dword [eax], ecx
lea eax, [ebp - 0x58]
push eax
call fcn.3fa28ae0
mov esi, dword [eax]
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x20]
jmp 0x3fa293ea
mov eax, dword [ebx + 4]
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push ecx
mov dword [ecx], esi
mov ecx, esp
mov dword [ebp + 0x10], esp
push dword [ebp + 0xc]
mov dword [ecx], eax
lea eax, [ebp + 0x14]
push eax
call fcn.3fa28ae0
mov esi, dword [eax]
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x3fa293c7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10