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

Disassembly:
inc esi
jb 0x40f325
add byte gs:[ebx + 0x5319d], cl
add byte [ebx], cl
invalid
mov eax, dword [esi + 4]
add eax, 0x10e
push 4
push 0x1000
push eax
push 0
call dword [ebp + 0x54d]
mov dword [ebp + 0x152], eax
push esi
mov ebx, dword [esi]
add ebx, dword [ebp + 0x422]
push dword [ebp + 0x156]
push dword [esi + 4]
add bh, bh
mov ch, 0x56
add dword [eax], eax
add bh, bh
jbe 0x40f333
push eax
push ebx
call 0x40f8a4
mov bl, 0
add eax, 0xb30000
cmp bl, 0
jne 0x40f39b
inc byte [ebp + 0xec]
mov edi, dword [esi]
add edi, dword [ebp + 0x422]
push dword [edi]
mov byte [edi], 0xc3
call edi
pop dword [edi]
push eax
push ecx
push esi
push ebx
mov ecx, eax
sub ecx, 6
mov esi, dword [ebp + 0x152]
xor ebx, ebx
or ecx, ecx
je 0x40f397
js 0x40f397
lodsb al, byte [esi]
cmp al, 0xe8
je 0x40f37a
jmp 0x40f372
cmp al, 0xe9
je 0x40f37a
inc ebx
dec ecx
jmp 0x40f365
mov eax, dword [esi]
jmp 0x40f37e
cmp byte [esi], 1
jne 0x40f376
and al, 0
rol eax, 0x18
sub eax, ebx
mov dword [esi], eax
add ebx, 5
add esi, 4
sub ecx, 5
jmp 0x40f365
pop ebx
pop esi
pop ecx
pop eax
jmp 0x40f3a5
mov ecx, eax
mov edi, dword [esi]
add edi, dword [ebp + 0x422]
mov esi, dword [ebp + 0x152]
sar ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
push 0x8000
push 0
push dword [ebp + 0x152]
call dword [ebp + 0x551]
add esi, 8
cmp dword [esi], 0
jne 0x40f2ff
push 0x8000
push 0
push dword [ebp + 0x156]
call dword [ebp + 0x551]
mov ebx, dword [ebp + 0x531]
or ebx, ebx
je 0x40f406
mov eax, dword [ebx]
xchg dword [ebp + 0x535], eax
mov edx, dword [ebp + 0x422]
mov eax, dword [ebp + 0x52d]
sub edx, eax
je 0x40f48f
mov eax, edx
shr eax, 0x10
xor ebx, ebx
mov esi, dword [ebp + 0x539]
add esi, dword [ebp + 0x422]
cmp dword [esi], 0
je 0x40f48f
mov ecx, dword [esi + 4]
sub ecx, 8
shr ecx, 1
mov edi, dword [esi]
add edi, dword [ebp + 0x422]
add esi, 8
mov bx, word [esi]
shr ebx, 0xc
cmp ebx, 1
je 0x40f458
cmp ebx, 2
je 0x40f467
cmp ebx, 3
je 0x40f476
jmp 0x40f484
mov bx, word [esi]
and ebx, 0xfff
add word [edi + ebx], ax
jmp 0x40f484
mov bx, word [esi]
and ebx, 0xfff
add word [edi + ebx], dx
jmp 0x40f484
mov bx, word [esi]
and ebx, 0xfff
add dword [edi + ebx], edx
jmp 0x40f484
or word [esi], 0xffff
add esi, 2
loop 0x40f441
jmp 0x40f429
mov edx, dword [ebp + 0x422]
mov esi, dword [ebp + 0x541]
or esi, esi
je 0x40f4b0
add esi, edx
lodsd eax, dword [esi]
or eax, eax
je 0x40f4b0
add eax, edx
mov edi, eax
lodsw ax, word [esi]
stosw word es:[edi], ax
jmp 0x40f4a1
mov esi, 0x55d4
mov edx, dword [ebp + 0x422]
add esi, edx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x40f5d2
add eax, edx
mov ebx, eax
push eax
call dword [ebp + 0xf4d]
test eax, eax
jne 0x40f4de
push ebx
call dword [ebp + 0xf51]
mov dword [ebp + 0x545], eax
mov dword [ebp + 0x549], 0
mov edx, dword [ebp + 0x422]
mov eax, dword [esi]
test eax, eax
jne 0x40f4fd
mov eax, dword [esi + 0x10]
add eax, edx
add eax, dword [ebp + 0x549]
mov ebx, dword [eax]
mov edi, dword [esi + 0x10]
add edi, edx
add edi, dword [ebp + 0x549]
test ebx, ebx
je 0x40f5bc
test ebx, 0x80000000
jne 0x40f526
add ebx, edx
inc ebx
inc ebx
push ebx
and ebx, 0x7fffffff
push ebx
push dword [ebp + 0x545]
call dword [ebp + 0xf49]
test eax, eax
pop ebx
jne 0x40f5ae
test ebx, 0x80000000
jne 0x40f560
push edi
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x422]
push eax
push ebx
lea eax, [ebp + 0x475]
push eax
push edi
jmp 0x40f5f8
and ebx, 0x7fffffff
mov eax, dword [ebp + 0x426]
cmp dword [ebp + 0x545], eax
jne 0x40f598
push edi
mov edx, ebx
dec edx
shl edx, 2
mov ebx, dword [ebp + 0x545]
mov edi, dword [ebx + 0x3c]
mov edi, dword [ebx + edi + 0x78]
add ebx, dword [ebx + edi + 0x1c]
mov eax, dword [ebx + edx]
add eax, dword [ebp + 0x545]
pop edi
jmp 0x40f5ae
push edi
mov eax, dword [esi + 0xc]
add eax, dword [ebp + 0x422]
push eax
push ebx
lea eax, [ebp + 0x4c6]
push eax
push edi
jmp 0x40f5f8
mov dword [edi], eax
add dword [ebp + 0x549], 4
jmp 0x40f4ee
mov dword [esi], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
add esi, 0x14
mov edx, dword [ebp + 0x422]
jmp 0x40f4bd
mov eax, dword [ebp + 0x426]
lea ecx, [ebp + 0x43b]
push ecx
push eax
call dword [ebp + 0xf49]
mov dword [ebp + 0x555], eax
lea eax, [ebp + 0x447]
push eax
call dword [ebp + 0xf51]
mov dword [ebp + 0x42a], eax
lea ecx, [ebp + 0x452]
add byte [ecx + 0x50], dl
call dword [ebp + 0xf49]
mov dword [ebp + 0x559], eax
mov eax, dword [ebp + 0x42a]
lea ecx, [ebp + 0x45e]
push ecx
push eax
call dword [ebp + 0xf49]
call eax
add esp, 0x10
pop edi
push 0x30
lea ebx, [ebp + 0x468]
push ebx
push edi
push 0
call dword [ebp + 0x559]
push 0xffffffffffffffff
call dword [ebp + 0x555]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
imul esp, dword [ebp + 0x72], 0x6e
insb byte es:[edi], dx
xor esi, dword [edx]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebp + 0x78], al
imul esi, dword [eax + edx*2 + 0x72], 0x7365636f
jae 0x40f692
jne 0x40f707
jb 0x40f6ca
xor ch, byte [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
add byte [ebp + 0x65], cl
jae 0x40f714
popal
inc edx
outsd dx, dword [esi]
js 0x40f6e9
add byte [edi + 0x73], dh
jo 0x40f71f
imul ebp, dword [esi + 0x74], 0x4c004166
dec edi
inc ecx
inc esp
inc ebp
push edx
and byte [ebp + 0x52], al
push edx
dec edi
push edx
add byte [eax + ebp*2 + 0x65], dl
and byte [eax + 0x72], dh
outsd dx, dword [esi]
arpl word [ebp + 0x64], sp
jne 0x40f73e
and byte gs:[ebp + 0x6e], ah
je 0x40f744
jns 0x40f6f4
jo 0x40f745
imul ebp, dword [esi + 0x74], 0x20732520
arpl word [edi + 0x75], bp
insb byte es:[edi], dx
and byte fs:[esi + 0x6f], ch
je 0x40f707
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
and byte [edi + ebp*2 + 0x63], ch
popal
je 0x40f755
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
jb 0x40f76c
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0x68540073
jb 0x40f786
and byte [0x68540073], ah
and byte gs:[edi + 0x72], ch
and byte [edi + 0x72], ch
imul ebp, dword fs:[esi + 0x61], 0x7525206c
and byte [ebx + 0x6f], ah
jne 0x40f790
and byte fs:[esi + 0x6f], ch
je 0x40f74a
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
outsb dx, byte [esi]
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
insb byte es:[edi], dx
imul ebp, dword [esi + 0x6b], 0x62696c20
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0xba520073
jb 0x40f7af
jb 0x40f7c9
and byte [0xba520073], ah
mov edx, 0x9c3b248e
mov fs, word [ebx + edi]
pushfd
lodsb al, byte [esi]
or al, al
je 0x40f773
xor dl, al
mov al, 8
shr edx, 1
jae 0x40f76d
xor edx, 0xc1a7f39a
sar esi, 0xc8
dec al
jne 0x40f763
jmp 0x40f75a
xchg edx, eax
pop edx
ret
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [eax], dl
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], dl
add byte [eax], al
invalid
add byte [eax], al
add byte [eax], al
add byte [eax], al
adc byte [eax], al
add byte [eax], al
push eax
add byte [eax], al
add byte [eax], ah
add byte [eax], al
adc byte [eax], al
add al, dh
jo 0x40f7c7
add byte [eax], dl
pop ds
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov eax, dword [esp + 0x10]
sub esp, 0x354
lea ecx, [esp + 4]
push eax
call fcn.0040fc60
mov ecx, dword [esp + 0x35c]
mov edx, dword [esp + 0x358]
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.0040fcde
test al, al
jne 0x40f8df
or eax, 0xffffffff
add esp, 0x354
ret
mov ecx, dword [esp + 0x360]
lea eax, [esp]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.0040fedc
test al, al
jne 0x40f902
or eax, 0xffffffff
add esp, 0x354
ret
mov eax, dword [esp]
add esp, 0x354
ret 0x10