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

Disassembly:
push 0xffffffffffffffff
push 0x1039a19b
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x105623f8]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov esi, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
mov edi, 7
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebp
mov word [esp + 0xd8], cx
push 4
mov dword [esp + 0x100], ebp
call fcn.00776c63
add esp, 4
cmp eax, ebp
je 0x465aac
lea edx, [esp + 0x18]
mov dword [eax], edx
jmp 0x465aae
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
xor eax, eax
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], ax
mov byte [esp + 0xfc], 2
lea ecx, [esp + 0x8c]
push esi
push ecx
mov edi, 8
call fcn.00463f5f
add esp, 8
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x108], 3
call fcn.0040826f
cmp dword [eax + 0x14], ebp
mov byte [esp + 0xfc], 2
setne bl
cmp dword [esp + 0xa4], edi
jb 0x465b37
mov edx, dword [esp + 0x90]
push edx
call fcn.00776c58
add esp, 4
test bl, bl
je 0x4660ae
mov eax, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x64]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x74], esp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xe4]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push eax
mov word [ecx + 4], dx
call fcn.0040826f
call fcn.0046462f
add esp, 0x24
test al, al
je 0x465d42
push 4
call fcn.00776c63
add esp, 4
cmp eax, ebp
je 0x465b9b
lea ecx, [esp + 0x98]
mov dword [eax], ecx
jmp 0x465b9d
xor eax, eax
mov dword [esp + 0x98], eax
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xb4], ebp
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8d], 0
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
inc edx
mov byte [esp + 0xfc], 4
cmp eax, edx
ja 0x465c02
push 1
lea ecx, [esp + 0x1c]
call fcn.0046491f
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea esi, [edx + ecx]
cmp eax, esi
ja 0x465c13
sub esi, eax
mov eax, dword [esp + 0x28]
cmp dword [eax + esi*4], ebp
jne 0x465c2d
push 0x2c
call fcn.00776c63
mov ecx, dword [esp + 0x2c]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x28]
mov esi, dword [edx + esi*4]
lea eax, [esp + 0x8c]
push eax
push esi
call fcn.0046599f
inc dword [esp + 0x3c]
add esp, 8
lea ecx, [esp + 0x98]
mov byte [esp + 0xfc], 2
call fcn.004634df
mov ecx, dword [esp + 0x98]
push ecx
call fcn.00776c58
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
lea esi, [edx + eax]
add esp, 4
cmp eax, esi
jbe 0x465c81
call fcn.00776e71
mov eax, dword [esp + 0x18]
mov edi, eax
mov ebx, edi
mov dword [esp + 0x54], esi
cmp eax, ebp
jne 0x465cad
call fcn.00776e71
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec esi
cmp esi, ecx
ja 0x465cba
cmp edi, ebp
je 0x465cb3
mov edi, dword [edi]
jmp 0x465cb5
mov eax, dword [eax]
mov ecx, eax
jmp 0x465c9a
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x465cbf
call fcn.00776e71
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], esi
call fcn.0046323f
mov byte [eax], 1
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea esi, [edx + eax]
cmp eax, esi
jbe 0x465ce7
call fcn.00776e71
mov eax, dword [esp + 0x18]
mov edi, eax
mov ebx, edi
mov dword [esp + 0x54], esi
cmp eax, ebp
jne 0x465d13
call fcn.00776e71
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
add ecx, dword [eax + 0x18]
dec esi
cmp esi, ecx
ja 0x465d20
cmp edi, ebp
je 0x465d19
mov edi, dword [edi]
jmp 0x465d1b
mov eax, dword [eax]
mov ecx, eax
jmp 0x465d00
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x465d25
call fcn.00776e71
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], esi
call fcn.0046323f
mov edx, dword [esp + 0x60]
mov dword [eax + 4], edx
jmp 0x46608e
mov edi, dword [esp + 0xcc]
mov esi, edi
cmp edi, 1
jb 0x465d55
mov esi, 1
mov ebx, dword [esp + 0xd0]
mov ecx, dword [esp + 0xbc]
mov edx, ecx
cmp ebx, 8
jae 0x465d71
lea edx, [esp + 0xbc]
mov eax, 0x1046fec0
cmp esi, ebp
jbe 0x465dac
jmp 0x465d7f
mov bp, word [edx]
cmp bp, word [eax]
jne 0x465d96
add edx, 2
add eax, 2
sub esi, 1
jne 0x465d7f
xor ebp, ebp
jmp 0x465dac
mov dx, word [edx]
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
xor ebp, ebp
cmp eax, ebp
jne 0x465e57
cmp edi, 1
jb 0x465e5c
xor eax, eax
cmp edi, 1
setne al
cmp eax, ebp
jne 0x465e57
cmp dword [esp + 0x34], ebp
je 0x465e57
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea esi, [ecx + eax]
cmp eax, esi
jbe 0x465de3
call fcn.00776e71
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
call fcn.004632af
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call fcn.0046323f
cmp byte [eax], 0
lea ecx, [esp + 0x18]
je 0x465e39
call fcn.004643bf
lea ecx, [esp + 0x18]
mov byte [eax], 0
call fcn.004643bf
mov byte [eax + 1], 1
jmp 0x46608e
mov byte [esp + 0x17], 1
call fcn.004643bf
lea ecx, [esp + 0x17]
add eax, 0xc
push ecx
mov ecx, eax
call fcn.00464e6f
jmp 0x46608e
cmp edi, 1
jae 0x465e60
mov esi, edi
jmp 0x465e65
mov esi, 1
mov edx, ecx
cmp ebx, 8
jae 0x465e73
lea edx, [esp + 0xbc]
mov eax, 0x1046ffa0
cmp esi, ebp
jbe 0x465eac
lea ecx, [ecx]
mov bp, word [edx]
cmp bp, word [eax]
jne 0x465e96
add edx, 2
add eax, 2
sub esi, 1
jne 0x465e7f
xor ebp, ebp
jmp 0x465eac
mov dx, word [edx]
cmp dx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
xor ebp, ebp
cmp eax, ebp
jne 0x465f63
cmp edi, 1
jb 0x465f68
xor eax, eax
cmp edi, 1
setne al
cmp eax, ebp
jne 0x465f63
cmp dword [esp + 0x34], ebp
je 0x465f63
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
lea esi, [ecx + eax]
cmp eax, esi
jbe 0x465ee3
call fcn.00776e71
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
call fcn.004632af
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x84]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
call fcn.0046323f
lea ecx, [esp + 0x18]
cmp dword [eax + 0x28], ebp
jne 0x465f3c
call fcn.004643bf
lea ecx, [esp + 0x18]
mov byte [eax + 1], 0
call fcn.0046513f
jmp 0x46608e
call fcn.004643bf
mov ecx, dword [eax + 0x28]
add eax, 0xc
cmp ecx, ebp
je 0x46608e
dec ecx
mov dword [eax + 0x1c], ecx
cmp ecx, ebp
jne 0x46608e
mov dword [eax + 0x18], ebp
jmp 0x46608e
cmp edi, 1
jae 0x465f6c
mov edx, edi
jmp 0x465f71
mov edx, 1
cmp ebx, 8
jae 0x465f7d
lea ecx, [esp + 0xbc]
mov eax, 0x1046ff24
cmp edx, ebp
jbe 0x465fab
mov si, word [ecx]
cmp si, word [eax]
jne 0x465f9b
add ecx, 2
add eax, 2
sub edx, 1
jne 0x465f86
jmp 0x465fab
mov cx, si
cmp cx, word [eax]
sbb eax, eax
and eax, 0xfffffffe
inc eax
cmp eax, ebp
jne 0x465fbc
cmp edi, 1
jb 0x465fbc
xor eax, eax
cmp edi, 1
setne al
cmp eax, ebp
je 0x465fd5
push 1
push 0x1046ff20
push edi
push ebp
lea ecx, [esp + 0xc8]
call fcn.0042f8ef
test eax, eax
jne 0x46602a
cmp dword [esp + 0x34], ebp
je 0x46608e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
lea esi, [edx + eax]
cmp eax, esi
jbe 0x465ff3
call fcn.00776e71
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], esi
call fcn.004632af
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], eax
call fcn.0046323f
add eax, 8
inc dword [eax]
jmp 0x46608e
cmp dword [esp + 0x34], ebp
je 0x46608e
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x6c], esp
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xdc]
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebp
push eax
mov word [ecx + 4], dx
call fcn.0040826f
call fcn.00463b5f
add esp, 0x1c
test al, al
je 0x46608e
lea ecx, [esp + 0x18]
call fcn.004643bf
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
shr edx, cl
test dl, 1
je 0x46608e
push 1
push 0x1046ff9c
lea ecx, [esp + 0xc0]
call fcn.0042aaaf
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xe0]
call fcn.004088df
mov esi, dword [esp + 0x5c]
jmp 0x465ae2
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xdc]
push ecx
mov ecx, esi
call fcn.0040826f
cmp dword [esp + 0xd0], edi
jb 0x4660d9
mov edx, dword [esp + 0xbc]
push edx
call fcn.00776c58
add esp, 4
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], ebp
mov word [esp + 0xbc], ax
call fcn.00464ddf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00776c58
add esp, 4
cmp dword [esp + 0xec], edi
jb 0x466124
mov edx, dword [esp + 0xd8]
push edx
call fcn.00776c58
add esp, 4
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.00777267
add esp, 0xec
ret