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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x5527f0]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov dword [esp + 0x28], eax
mov ebx, ecx
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
push esi
push edi
test ebx, 0xfffffff8
jne 0x46654f
and ecx, 7
je 0x46654f
lea eax, [ecx - 1]
test ecx, eax
jne 0x46654f
mov esi, dword [ebp + 0x20]
mov eax, ebx
shr eax, 1
xor ecx, ecx
and eax, 0xffffff01
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x40], eax
xor edx, edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], ecx
push eax
push 0x408998
push ecx
push esi
mov dword [esp + 0x28], ecx
call fcn.004dc0a7
test eax, eax
js 0x4662c8
lea eax, [esp + 0x14]
xor edx, edx
push eax
push 0x408d58
push esi
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
test bl, 1
je 0x4660b8
mov ebx, 0x408f74
mov edi, 0x408a40
jmp 0x4660d5
cmp byte [esp + 0x40], 0
je 0x4660cb
mov ebx, 0x408cd4
mov edi, 0x4097d0
jmp 0x4660d5
mov ebx, 0x408a10
mov edi, 0x4097c4
push dword [esp + 0x14]
mov ecx, ebx
mov dword [esp + 0x10], ebx
push esi
mov dword [esp + 0x18], edi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
lea eax, [esp + 0x18]
xor edx, edx
push eax
push 0x408f38
push esi
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
push dword [esp + 0x18]
mov ecx, edi
push esi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
push dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x30]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
xor edi, edi
lea edx, [esp + 0x48]
push esi
mov ecx, 0x409d7c
mov dword [esp + 0x4c], edi
call fcn.004dc20c
test eax, eax
js 0x4662c8
push esi
lea edx, [esp + 0x48]
mov dword [esp + 0x48], edi
mov ecx, 0x409d70
call fcn.004dc20c
test eax, eax
js 0x4662c8
push esi
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov ecx, 0x409d64
call fcn.004dc20c
test eax, eax
js 0x4662c8
mov eax, dword [esp + 0x24]
cmp byte [eax], 0
jne 0x4664fd
mov esi, dword [esp + 0x20]
xor cl, cl
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x30]
cmp edx, dword [eax + 4]
jae 0x46627d
mov eax, dword [esi]
and dword [esp + 0x5c], 0
mov ebx, dword [eax + 0x2c]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x34]
sub esp, 0x10
mov ecx, ebx
mov esi, dword [eax]
add esi, edi
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x5552f8]
mov esi, dword [esp + 0x34]
mov ecx, esi
call ebx
test eax, eax
js 0x4662c8
mov eax, dword [esi]
lea esi, [esp + 0x60]
mov ebx, dword [eax + 0x84]
lea eax, [esp + 0x5c]
push eax
push 0x408d58
sub esp, 0x10
mov ecx, ebx
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [0x5552f8]
mov esi, dword [esp + 0x38]
mov ecx, esi
call ebx
test eax, eax
js 0x4662c8
cmp dword [esp + 0x5c], 0
je 0x46628f
mov ebx, dword [esp + 0xc]
lea eax, [esp + 0x34]
push eax
push 0
mov eax, fcn.004fa3b0
mov dword [esp + 0x3c], 1
push eax
push dword [esp + 0x68]
mov edx, eax
mov ecx, ebx
call fcn.004f9657
test eax, eax
js 0x4662c8
mov eax, dword [esp + 0x34]
test eax, eax
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
sete cl
inc edx
add edi, 0x10
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], edi
test eax, eax
jne 0x4661ab
test cl, cl
je 0x4662dc
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0x20]
mov byte [eax], cl
jmp 0x4664fd
push 0x41c860
call fcn.0045cf62
and dword [esp + 0x5c], 0
mov esi, 0xc0150006
pop ecx
push esi
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x41a33c
mov dword [esp + 0x54], 0x41c830
mov dword [esp + 0x58], 0x10e6
call fcn.004f7c89
mov eax, esi
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0052b1d0
mov esp, ebp
pop ebp
ret 0x24
mov edi, dword [esp + 0x3c]
and dword [esp + 0x5c], 0
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x46634d
mov ecx, dword [esp + 0x20]
lea esi, [ebp + 8]
sub esp, 0x10
mov dword [esp + 0x70], 0x408770
mov edi, esp
mov dword [esp + 0x74], 0x408d7c
lea eax, [esp + 0x2c]
mov dword [esp + 0x78], 0x408ce0
mov dword [esp + 0x7c], 0x4091d8
push eax
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x88], 0x408d64
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x20]
push esi
call fcn.00465cb7
test eax, eax
js 0x4662c8
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
mov dword [eax], edi
jmp 0x466350
mov esi, dword [ebp + 0x20]
lea eax, [esp + 0x5c]
xor edx, edx
push eax
push 0x409004
push 0
push esi
call fcn.004dc0a7
test eax, eax
js 0x4662c8
lea eax, [esp + 0x14]
xor edx, edx
push eax
push 0x408d58
push esi
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
push dword [esp + 0x14]
mov ecx, ebx
push esi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
push dword [esp + 0x14]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x60]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
lea eax, [esp + 0x18]
xor edx, edx
push eax
push 0x408f38
push esi
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
push dword [esp + 0x18]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x60]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
cmp byte [esp + 0x40], 0
je 0x4664b1
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0x408764
push esi
xor edx, edx
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
push dword [esp + 0x10]
mov ecx, 0x4097b8
push esi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push 0x408848
push esi
xor edx, edx
xor ecx, ecx
call fcn.004dc2f4
test eax, eax
js 0x4662c8
push dword [esp + 0xc]
mov ecx, 0x4097ac
push esi
call fcn.004dc4c7
test eax, eax
js 0x4662c8
push dword [esp + 0x10]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x60]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0xc]
xor edx, edx
xor ecx, ecx
push dword [esp + 0x60]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0x5c]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0x44]
xor edx, edx
xor ecx, ecx
push edi
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
mov eax, dword [esp + 0x24]
mov byte [eax], 1
push dword [esp + 0x28]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0x2c]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
push dword [esp + 0x48]
xor edx, edx
xor ecx, ecx
push dword [ebp + 0x18]
push esi
call fcn.004dc7c7
test eax, eax
js 0x4662c8
xor eax, eax
jmp 0x4662c8
push 0xc00000e5
call dword [fcn.00440b24]
int3