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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x270
lea edi, [esp + 0x78]
mov dword [esp + 8], ecx
mov dword [esp + 0x14], edx
mov ecx, edi
call fcn.0041feab
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov dl, byte [edi + 8]
mov dh, byte [edi + 9]
lea ecx, [esp + 0x82]
mov eax, ebx
xor eax, 3
or eax, esi
je 0x417e5b
mov edi, dword [esp + 0xfc]
lea eax, [esp + 0x130]
push 0x7a
push ecx
push eax
mov byte [esp + 0x10], dl
mov byte [esp + 0x18], dh
call sub.VCRUNTIME140.dll_memcpy
mov dh, byte [esp + 0x18]
mov dl, byte [esp + 0x10]
lea ecx, [esp + 0x8e]
add esp, 0xc
shr edi, 8
mov dword [esp + 0x7c], esi
lea esi, [esp + 0x130]
mov dword [esp + 0x78], ebx
mov byte [esp + 0x80], dl
mov byte [esp + 0x81], dh
push 0x7a
push esi
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, edi
mov byte [esp + 0xfc], 3
mov word [esp + 0xfd], di
mov edi, dword [esp + 0x14]
shr eax, 0x10
mov byte [esp + 0xff], al
cmp byte [edi], 0xb
je 0x417f75
mov eax, dword [edi + 0x10]
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
lea ebx, [esp + 0x1e8]
mov ecx, edi
mov edx, 0x4baae4
mov dword [ebx + 0x10], eax
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
call fcn.004188c8
mov byte [esp + 2], al
push 0x88
mov eax, esi
mov esi, edi
lea edi, [esp + 0x7c]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, edi
mov edi, esi
lea edx, [esp + 0x130]
push ebx
call fcn.00413746
pop eax
mov esi, dword [esi + 0x44]
test esi, esi
je 0x417fa1
mov al, byte [esp + 2]
test al, al
je 0x417f75
mov edx, dword [edi + 0x50]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
movsd xmm0, qword [edi + 0x48]
mov dword [esp + 0x18], esi
mov dword [esp + 0x58], edx
mov edx, eax
movsd qword [esp + 0x50], xmm0
mov dword [esp + 0x4c], esi
xor edx, 3
or edx, ecx
mov dh, byte [esp + 0x80]
mov dl, byte [esp + 0x81]
jne 0x417fac
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 8], dl
mov byte [esp + 0x10], dh
call fcn.00410639
pop eax
xor ebx, ebx
push 3
pop esi
lea ecx, [esp + 0x82]
jmp 0x41804b
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x4180b4
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x418088
lea esi, [esp + 0x13a]
mov dword [esi - 0xa], eax
mov dword [esi - 6], ecx
mov byte [esi - 2], dh
mov byte [esi - 1], dl
push 0x7e
pop eax
push eax
lea eax, [esp + 0x86]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
lea esi, [esp + 0x1e8]
lea eax, [esp + 0x1b8]
lea edi, [esp + 0x1b0]
mov ecx, esi
mov edx, edi
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
push eax
call fcn.004127dd
pop eax
mov ecx, esi
call fcn.0041267c
mov al, byte [edi - 0x78]
mov esi, dword [edi - 0x80]
mov ebx, dword [edi - 0x7c]
mov byte [esp + 0xc], al
mov al, byte [edi - 0x77]
mov edi, dword [esp + 0x14]
mov byte [esp + 4], al
push 0x7e
pop eax
push eax
lea eax, [esp + 0x13e]
push eax
lea eax, [esp + 0x1f0]
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ecx, [esp + 0x8e]
add esp, 0xc
mov al, byte [esp + 0xc]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], al
mov al, byte [esp + 4]
mov byte [esp + 0x81], al
push 0x7e
lea eax, [esp + 0x1ec]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x18]
mov dword [esp + 0xc], 0
cmp word [edi + 0x54], 0
mov eax, dword [esp + 8]
je 0x41813b
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
mov al, 1
mov bl, 1
mov dword [esp + 0x10], eax
mov al, 1
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
xor eax, 3
or eax, dword [esp + 0x7c]
je 0x4180d8
lea ecx, [esp + 0x78]
call fcn.00410fe4
mov ecx, dword [ebp + 8]
call fcn.00410fc3
test bl, bl
je 0x4180f4
cmp dword [edi + 0x14], 0
je 0x4180f4
lea eax, [edi + 0x14]
push eax
call fcn.00410639
pop eax
cmp byte [esp + 0x10], 0
je 0x41810b
cmp dword [edi + 0x24], 0
je 0x41810b
lea eax, [edi + 0x24]
push eax
call fcn.00410639
pop eax
cmp byte [esp + 4], 0
je 0x418122
cmp dword [edi + 0x34], 0
je 0x418122
lea eax, [edi + 0x34]
push eax
call fcn.00410639
pop eax
cmp byte [esp + 0xc], 0
je 0x418133
add edi, 0x44
mov ecx, edi
call fcn.0041267c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], esi
and dword [eax - 4], 0
mov dword [eax - 8], 3
and dword [eax], 0
and dword [ecx], 0
xor ecx, ecx
cmp dword [edi + 0x24], ecx
je 0x418232
lea eax, [edi + 0x24]
lea ebx, [esp + 0x100]
lea esi, [esp + 0x1b8]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov ecx, esi
mov edx, ebx
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
call fcn.004090ea
movsd xmm0, qword [esi]
lea edi, [esp + 0x1e8]
movsd xmm1, qword [esi + 8]
lea ecx, [esp + 0x130]
mov edx, esi
movsd qword [edi], xmm0
and dword [edi], 0
movsd qword [edi + 8], xmm1
push 0x4997f0
call fcn.004128d6
pop eax
lea esi, [esp + 0x4c]
lea edx, [esp + 0x130]
mov ecx, esi
call fcn.00420374
mov ecx, edi
call fcn.0041267c
mov esi, dword [esi]
test esi, esi
je 0x4182e2
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edi, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0041267c
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
push edi
call fcn.00410639
pop eax
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
jmp 0x418238
mov al, 1
mov dword [esp + 0x10], eax
cmp dword [edi + 0x14], 0
je 0x4182c2
lea eax, [edi + 0x14]
test esi, esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x1f0], xmm1
movsd qword [esp + 0x1e8], xmm0
jne 0x418270
mov al, byte [esp + 2]
xor al, 1
je 0x4183b7
mov eax, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1ec]
cmp eax, 5
je 0x41831f
cmp eax, 4
jne 0x418348
cmp byte [edx], 0x68
jne 0x418355
cmp byte [edx + 1], 0x74
jne 0x418355
cmp byte [edx + 2], 0x74
jne 0x418355
cmp byte [edx + 3], 0x70
jne 0x418355
xor edx, edx
mov cl, 1
xor ebx, ebx
jmp 0x418342
test esi, esi
jne 0x4182d4
mov al, byte [esp + 2]
mov bl, 1
xor al, 1
je 0x418440
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov bl, 1
jmp 0x41858b
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
push ebx
call fcn.00410639
pop eax
mov edi, dword [esp + 0x14]
mov al, 1
mov dword [esp + 0x10], 0
mov bl, 1
jmp 0x4185a7
cmp byte [edx], 0x68
jne 0x418355
cmp byte [edx + 1], 0x74
jne 0x418355
cmp byte [edx + 2], 0x74
jne 0x418355
cmp byte [edx + 3], 0x70
jne 0x418355
cmp byte [edx + 4], 0x73
jne 0x418355
xor edx, edx
mov cl, 1
mov bl, 1
xor eax, eax
xor esi, esi
jmp 0x4183b3
cmp eax, 0x40
jbe 0x418355
mov bl, 0xa
mov cl, 3
mov dl, 1
jmp 0x418376
xor ecx, ecx
cmp eax, ecx
je 0x418378
movzx esi, byte [edx + ecx]
movzx esi, byte [esi + 0x4a59d4]
test esi, esi
je 0x418370
inc ecx
cmp esi, 0x3a
jne 0x418357
mov dl, 1
mov cl, 3
mov bl, 1
jmp 0x4183b3
lea esi, [esp + 0x130]
mov ecx, esi
push eax
call fcn.00408ee7
pop eax
push 0x10
pop ecx
push 4
pop edx
call fcn.0048295c
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
mov esi, eax
mov cl, 2
xor edx, edx
xor ebx, ebx
shr esi, 0x10
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
shl eax, 0x10
test dl, dl
je 0x4183ef
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
lea eax, [esp + 0x1e8]
push eax
call fcn.00410639
pop eax
mov al, 1
xor ebx, ebx
jmp 0x4185a7
shld esi, eax, 0x10
cmp dword [esp + 0x28], 0
movzx ecx, cl
je 0x418425
movzx edi, bl
mov edx, dword [esp + 0x24]
shl eax, 0x10
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x20]
or edi, eax
call fcn.00413737
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], esi
jmp 0x41842c
mov edx, esi
call fcn.0041102d
lea eax, [esp + 0x1e8]
push eax
call fcn.00410639
pop eax
mov esi, dword [esp + 0x18]
xor ebx, ebx
cmp dword [edi + 0x34], 0
je 0x418573
lea eax, [edi + 0x34]
test esi, esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x108], xmm1
movsd qword [esp + 0x100], xmm0
jne 0x418477
xor byte [esp + 2], 1
je 0x41853a
cmp dword [esp + 0x108], 0
je 0x41853a
lea esi, [esp + 0x4c]
lea edx, [esp + 0x100]
mov ecx, esi
call fcn.004090ea
movsd xmm0, qword [esi]
lea edi, [esp + 0x1b8]
movsd xmm1, qword [esi + 8]
lea ecx, [esp + 0x1e8]
mov edx, esi
movsd qword [edi], xmm0
and dword [edi], 0
movsd qword [edi + 8], xmm1
push 0x4997e0
call fcn.004128d6
pop eax
lea esi, [esp + 0x130]
lea edx, [esp + 0x1e8]
mov ecx, esi
call fcn.00420e82
mov ecx, edi
call fcn.0041267c
mov esi, dword [esi]
test esi, esi
je 0x418815
mov edi, dword [esp + 0x134]
lea ecx, [esp + 0x38]
call fcn.0041267c
mov eax, dword [esp + 0x140]
movsd xmm0, qword [esp + 0x138]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], eax
lea eax, [esp + 0x100]
movsd qword [esp + 0x40], xmm0
push eax
call fcn.00410639
pop eax
mov dword [esp + 4], 0
jmp 0x4185d1
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
lea eax, [esp + 0x100]
push eax
call fcn.00410639
pop eax
mov dword [esp + 4], 0
jmp 0x4185ab
test esi, esi
mov cl, 1
setne al
mov dword [esp + 4], ecx
test byte [esp + 2], al
je 0x4185d1
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
mov al, 1
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea esi, [esp + 0x38]
call fcn.00413737
lea ecx, [esp + 0x28]
call fcn.0041267c
mov ecx, esi
call fcn.0041267c
jmp 0x4180c2
push 3
pop eax
mov cl, byte [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov byte [esp + 2], cl
mov cl, byte [esp + 0x81]
mov byte [esp + 3], cl
mov ecx, eax
xor ecx, 3
or ecx, edx
push 0xb
pop ecx
lea edi, [esp + 0x4c]
lea esi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
jne 0x418636
lea esi, [esp + 0x54]
mov ecx, dword [esi - 8]
mov edx, dword [esi - 4]
call fcn.00413737
mov ecx, esi
call fcn.0041267c
lea ecx, [esp + 0x64]
call fcn.0041267c
mov al, byte [esp + 2]
xor esi, esi
jmp 0x418738
lea ecx, [esp + 0x13a]
mov dword [ecx - 0xa], eax
mov al, byte [esp + 2]
mov dword [ecx - 6], edx
mov byte [ecx - 2], al
mov al, byte [esp + 3]
mov byte [ecx - 1], al
push 0x7e
lea eax, [esp + 0x86]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0xb
pop ecx
lea edx, [esp + 0x1e8]
lea esi, [esp + 0x20]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x1b8]
mov ecx, esi
call fcn.00420d3c
mov al, byte [esi]
cmp al, 3
jne 0x4186aa
mov al, byte [esp + 0x1b9]
lea ecx, [esp + 0x130]
mov byte [esp + 3], al
call fcn.00410fe4
xor esi, esi
mov al, 3
jmp 0x418738
mov byte [esp + 2], al
lea eax, [esp + 0x1bb]
movzx edi, word [eax - 2]
push 0x29
pop ecx
lea edx, [esp + 0x100]
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea esi, [esp + 0x170]
mov ecx, esi
call fcn.0041100a
mov al, byte [esp + 2]
mov byte [esi], al
mov word [esi + 1], di
lea edi, [esp + 0x173]
push 0x29
pop eax
push eax
lea eax, [esp + 0x104]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi - 0x43]
mov esi, dword [edi - 0x3f]
mov dword [esp + 0x1c], eax
mov al, byte [edi - 0x3b]
mov byte [esp + 2], al
mov al, byte [edi - 0x3a]
mov byte [esp + 3], al
push 0x7e
lea eax, [esp + 0x13e]
push eax
lea eax, [esp + 0x1f0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [esp + 0xe]
add esp, 0xc
mov edi, dword [esp + 0x1c]
mov byte [esp + 2], al
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], edi
mov byte [esp + 0x80], al
mov al, byte [esp + 3]
mov byte [esp + 0x81], al
push 0x7e
lea eax, [esp + 0x1ec]
push eax
lea eax, [esp + 0x8a]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, edi
xor eax, 3
or eax, esi
jne 0x4187a7
mov eax, dword [esp + 8]
mov edi, dword [esp + 0x14]
mov word [eax + 8], pe_nt_image_headers32
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 1
and dword [eax + 4], 0
mov dword [eax], 3
jmp 0x4180d8
mov ebx, edi
lea edi, [esp + 0x13a]
push 0x7e
lea eax, [esp + 0x86]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, byte [esp + 2]
mov cl, byte [esp + 3]
mov dword [edi - 0xa], ebx
lea ebx, [esp + 0x130]
mov dword [edi - 6], esi
mov byte [edi - 2], al
mov byte [edi - 1], cl
mov ecx, ebx
call fcn.00410fc3
push 0x10
pop ecx
mov esi, dword [ebp + 8]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x88
push ebx
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x18], 0
mov edi, dword [esp + 0x14]
jne 0x418133
jmp 0x418129
mov eax, dword [esp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
jmp 0x418541