Function at 0x408ca0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49a6cf
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x4c0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x18
mov dword [ebp - 4], 2
mov ecx, esp
push 0x4c2134
call fcn.0040e210
lea eax, [ebp - 0x44]
push eax
call fcn.00417d90
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
call fcn.0041cd70
cmp dword [eax + 0x14], 8
jb 0x408d19
mov eax, dword [eax]
push eax
call fcn.0041d6c0
mov ecx, dword [ebp - 0x84]
mov esi, eax
cmp ecx, 8
jb 0x408d61
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408d57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094df
push ecx
push edx
call fcn.0041dd21
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
cmp ecx, 0x10
jb 0x408db6
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408dac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094df
push ecx
push edx
call fcn.0041dd21
add esp, 8
push 0x53b2070f
push esi
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.0041d590
sub esp, 0x18
mov edi, eax
mov ecx, esp
push 0x4c22e8
call fcn.0040e210
lea eax, [ebp - 0xb8]
push eax
call fcn.00417d90
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x408dfc
mov eax, dword [eax]
push eax
call edi
mov byte [ebp - 4], 2
mov edi, eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x408e3f
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408e35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094e4
push ecx
push edx
call fcn.0041dd21
add esp, 8
push 0x6c40a739
push edi
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
call fcn.0041d590
push 0xf5e65807
push edi
mov dword [ebp - 0x9c], eax
call fcn.0041d590
push 0xbdcac9ce
push esi
mov dword [ebp - 0x80], eax
call fcn.0041d590
push 0x15b2461a
push esi
mov dword [ebp - 0xa0], eax
call fcn.0041d590
push 0x3d05404b
push esi
mov dword [ebp - 0x78], eax
call fcn.0041d590
push 0xccbe6786
push esi
mov dword [ebp - 0x60], eax
call fcn.0041d590
push 0xfaba0065
push esi
mov dword [ebp - 0x64], eax
call fcn.0041d590
push 0x7f07c44a
push esi
mov dword [ebp - 0x68], eax
call fcn.0041d590
sub esp, 0x18
mov dword [ebp - 0x74], eax
mov ecx, esp
xorps xmm0, xmm0
push 0x10
movups xmmword [ecx], xmm0
push str.bX5cVw8FVzYSYUVX
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040e870
lea eax, [ebp - 0xb8]
push eax
call fcn.00417d90
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x20]
cmp dword [ebx + 0x34], 0x10
push dword [ebx + 0x30]
cmovae ecx, dword [ebx + 0x20]
push ecx
push ecx
mov ecx, eax
call fcn.0040e030
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x408f7c
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408f72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094e9
push ecx
push edx
call fcn.0041dd21
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xa8], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0xa4], 0xf
mov ecx, esp
mov byte [ebp - 0xb8], 0
push eax
call fcn.0040e210
call fcn.0040fe10
mov edi, eax
cmp edi, 0xffffffff
jne 0x408fbb
mov esi, 5
jmp 0x4093cd
push 0
push 0
push 0
push 2
push 0
push edi
call dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x408fde
push edi
call dword [ebp - 0x68]
mov esi, 6
jmp 0x4093cd
push 0
push 0
push 0
push 4
push eax
call dword [ebp - 0x60]
push dword [ebp - 0x6c]
mov esi, eax
mov dword [ebp - 0x60], esi
test esi, esi
jne 0x409008
mov esi, dword [ebp - 0x68]
call esi
push edi
call esi
mov esi, 7
jmp 0x4093cd
call dword [ebp - 0x68]
push edi
call dword [ebp - 0x68]
push 0x400
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x409038
push esi
call dword [ebp - 0x64]
mov esi, 0xb
jmp 0x4093cd
mov ecx, esi
mov dword [ebp - 0x70], eax
xor edx, edx
mov dword [ebp - 0x6c], edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409045
sub ecx, edi
je 0x4093b2
mov edi, esi
cmp byte [edi], 0x65
jne 0x409082
xor edx, edx
xor esi, esi
nop
mov al, byte [edx + str.encrypted_key]
lea ecx, [esi + 1]
cmp byte [edi + edx], al
cmovne ecx, esi
inc edx
mov esi, ecx
cmp edx, 0xd
jb 0x409060
cmp esi, 0xd
je 0x4090a3
mov esi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x6c]
mov ecx, esi
inc edx
mov dword [ebp - 0x6c], edx
inc edi
lea eax, [ecx + 1]
mov dword [ebp - 0x7c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409090
sub ecx, dword [ebp - 0x7c]
cmp edx, ecx
jb 0x409056
jmp 0x4093b2
test edi, edi
je 0x4093af
push str.encrypted_key
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 3
add eax, edi
mov cl, byte [eax]
cmp cl, 0x22
je 0x4090d4
mov edx, dword [ebp - 0x70]
mov byte [edx], cl
lea eax, [eax + 1]
mov cl, byte [eax]
lea edx, [edx + 1]
cmp cl, 0x22
jne 0x4090c5
mov esi, dword [ebp - 0x78]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x70], eax
push ecx
push 0
push 1
push eax
push esi
call dword [ebp - 0x9c]
test eax, eax
jne 0x40911a
push dword [ebp - 0x60]
call dword [ebp - 0x64]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 8
jmp 0x4093cd
mov eax, dword [ebp - 0x4c]
inc eax
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x7c], edi
test edi, edi
jne 0x409155
push dword [ebp - 0x60]
call dword [ebp - 0x64]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [edi + 0xb]
jmp 0x4093cd
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push edi
push 1
push dword [ebp - 0x70]
push esi
call dword [ebp - 0x9c]
test eax, eax
jne 0x40919c
push dword [ebp - 0x60]
call dword [ebp - 0x64]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov esi, 9
jmp 0x4093cd
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
sub eax, 5
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], eax
add edi, 5
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x58], edi
push eax
call dword [ebp - 0x80]
test eax, eax
jne 0x4091fd
push dword [ebp - 0x60]
call dword [ebp - 0x64]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push dword [ebp - 0x7c]
push 0
call edi
push eax
call esi
mov esi, 0xa
jmp 0x4093cd
mov ecx, dword [ebx + 0x18]
mov eax, accept
sub eax, ecx
cmp eax, 4
jb 0x4094ee
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
push 4
cmovae eax, dword [ebx + 8]
push str.key
push ecx
push eax
push ecx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x98]
call fcn.0040ee30
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x38]
cmp dword [ebx + 0x4c], 0x10
mov esi, dword [ebp - 0x84]
mov eax, esi
cmovae ecx, dword [ebx + 0x38]
mov edi, dword [ebx + 0x48]
mov edx, dword [ebp - 0x88]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40928c
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
cmovae eax, dword [ebp - 0x98]
lea esi, [eax + edx]
push esi
call fcn.00473b00
add esp, 0xc
mov byte [edi + esi], 0
lea eax, [ebp - 0x98]
jmp 0x40929f
mov byte [ebp - 0x80], 0
lea ecx, [ebp - 0x98]
push dword [ebp - 0x80]
push edi
call fcn.0040e980
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x84]
cmp ecx, 0x10
jb 0x409314
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40930a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f3
push ecx
push edx
call fcn.0041dd21
add esp, 8
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
call dword [ebp - 0xa0]
push 0
mov esi, eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push esi
call dword [ebp - 0x74]
push esi
call dword [ebp - 0x68]
mov ecx, dword [ebp - 0x18]
xor esi, esi
cmp ecx, 0x10
jb 0x40939f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409395
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f8
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x4093cd
mov esi, dword [ebp - 0x60]
push esi
call dword [ebp - 0x64]
push dword [ebp - 0x78]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x409401
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4093f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f8
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0x10
jb 0x409435
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40942b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f8
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0x10
jb 0x40947b
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x409471
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f8
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov ecx, dword [ebx + 0x4c]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xf
mov byte [ebx + 0x20], 0
cmp ecx, 0x10
jb 0x4094bd
mov edx, dword [ebx + 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4094b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4094f8
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d890
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x48
call fcn.0047a537
call fcn.0047a537
call fcn.0047a537
call fcn.00407270
call fcn.0047a537
call fcn.0047a537
int3