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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b8b7
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x31], 0
push 0x84
je 0x40f479
call fcn.0055c4f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x40f45f
mov dword [esi + 4], vtable.NCoderMixer2::CMixer.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
mov byte [esi + 0x60], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi], vtable.NCoderMixer2::CMixerMT.0
mov dword [esi + 4], vtable.NCoderMixer2::CMixerMT.1.0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [ebx + 4], esi
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x40f464
xor esi, esi
mov dword [ebx + 4], esi
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40f471
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0xc], esi
mov ecx, dword [ebx + 4]
jmp 0x40f4c3
call fcn.0055c4f4
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x40f49c
push 1
mov ecx, eax
call fcn.00425570
mov esi, eax
jmp 0x40f49e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], esi
test esi, esi
je 0x40f4b1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40f4be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0xc], esi
mov ecx, dword [ebx]
lea eax, [ecx + 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 8], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [ebx + 0x50]
push eax
call edx
test eax, eax
jne 0x40f747
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x14], ecx
jbe 0x40f745
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 0x1c]
mov dword [ebp - 4], 1
test eax, eax
js 0x40f526
lea ecx, [ebp - 0x38]
push ecx
push 1
push eax
call fcn.0042eac0
add esp, 0xc
jmp 0x40f53a
lea eax, [ebp - 0x38]
push eax
push 1
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.0042e960
add esp, 0x10
mov edi, eax
test edi, edi
jne 0x40f7aa
mov eax, dword [ebp - 0x2c]
cmp eax, dword [esi + 0x18]
jne 0x40f7a5
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40f568
mov esi, dword [ebp - 0x34]
test esi, esi
jne 0x40f56a
mov edi, 0x80004005
jmp 0x40f7b0
mov esi, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x20], esi
test esi, esi
je 0x40f57b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov edi, dword [ebp - 0x18]
cmp byte [edi + 0x24], 0
je 0x40f5cf
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x5b82bc
push esi
mov byte [ebp - 4], 0xd
call dword [eax]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x40f5c1
push dword [edi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x40f762
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x40f5cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push 0x5b827c
push esi
mov byte [ebp - 4], 0x13
call dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40f60f
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00431230
mov edi, eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x40f642
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40f642
mov eax, dword [edi + 4]
xor edx, edx
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f634
mov ecx, dword [edi]
mov edi, eax
nop
mov eax, dword [ecx]
cmp byte [eax + 4], 0
je 0x40f75b
inc edx
add ecx, 4
cmp edx, edi
jb 0x40f620
xor al, al
xor edi, edi
test al, al
mov eax, 0x80070057
cmovne edi, eax
test edi, edi
jne 0x40f799
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push 0x5b83cc
push esi
mov byte [ebp - 4], 0x1a
call dword [eax]
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x10], edi
je 0x40f6df
mov edi, dword [ebx + 0x48]
add edi, edi
push edi
mov dword [ebp - 0x18], edi
call fcn.0055c532
mov edx, eax
mov dword [ebp - 0x24], edi
add esp, 4
mov dword [ebp - 0x28], edx
xor ecx, ecx
mov byte [ebp - 4], 0x1b
cmp dword [ebx + 0x48], ecx
jbe 0x40f6a7
lea esp, [esp]
mov eax, dword [ebx + 0x44]
movzx eax, word [eax + ecx*2]
mov byte [edx + ecx*2], al
shr eax, 8
mov byte [edx + ecx*2 + 1], al
inc ecx
cmp ecx, dword [ebx + 0x48]
jb 0x40f690
mov eax, dword [ebp - 0x10]
push edi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edi, eax
mov eax, dword [ebp - 0x18]
test edi, edi
jne 0x40f76b
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0x19
test eax, eax
je 0x40f6d6
push eax
push 0
push edi
call fcn.00560a80
add esp, 0xc
push edi
call fcn.0055c53b
add esp, 4
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x40f6fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0x21
call dword [eax + 8]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 0x22
test ecx, ecx
je 0x40f71a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 0x23
test ecx, ecx
je 0x40f72e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [ebx + 0x14]
jb 0x40f4f0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
jmp 0x40f636
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
jmp 0x40f78f
test eax, eax
je 0x40f77d
push eax
push 0
push dword [ebp - 0x28]
call fcn.00560a80
add esp, 0xc
push dword [ebp - 0x28]
call fcn.0055c53b
add esp, 4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x40f799
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0x1d
call dword [eax + 8]
jmp 0x40f7aa
mov edi, 0x80004005
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 4], 0x1e
test esi, esi
je 0x40f7c4
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], 0x1f
test eax, eax
je 0x40f7d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4