Function at 0x417270
Capabilities:
Enumerate devices by category
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4edae5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0x28], edi
cmp dword [edi + 0xf0], ebp
jne 0x4172a7
mov eax, 1
jmp 0x418751
push ebx
push esi
mov esi, dword [0x5227ac]
cmp dword [esi - 0xc], ebp
jl 0x4172c4
lea eax, [esi - 0xc]
mov dword [esp + 0x44], esi
push eax
call dword [0x4f9310]
jmp 0x4172e7
mov eax, dword [0x50a0e0]
cmp esi, ebp
mov dword [esp + 0x44], eax
jne 0x4172d5
xor eax, eax
jmp 0x4172dc
push esi
call dword [0x4f9318]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.00402200
mov ecx, dword [esp + 0x44]
push 0x50a1e8
push ecx
mov dword [esp + 0x490], ebp
call fcn.004dd2dd
mov esi, dword [0x4f9688]
add esp, 8
test eax, eax
mov ebx, 0x14
je 0x41762f
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x14], ebp
lea edx, [esp + 0x14]
push edx
push 0x50ce70
push 0x17
push ebp
push 0x4fab24
call esi
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push ebp
push edx
mov ecx, dword [eax]
push 0x4faaf4
push eax
mov byte [esp + 0x498], 3
call dword [ecx + 0xc]
test eax, eax
jl 0x4175ec
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x4175ff
mov dword [esp + 0x10], ebp
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push ebp
push edx
push 1
push eax
mov byte [esp + 0x498], 4
call dword [ecx + 0xc]
test eax, eax
jne 0x4175d6
mov ebx, 7
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x4c], ebp
mov ecx, dword [eax]
push ebp
push ebp
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x417537
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push 0x4fa654
mov ecx, dword [eax]
push ebp
push ebp
push eax
mov byte [esp + 0x49c], 5
call dword [ecx + 0x24]
test eax, eax
jl 0x417521
mov word [esp + 0x54], bp
push str.FriendlyName
call dword [0x4f9370]
mov esi, eax
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x54]
push ebp
push edx
mov ecx, dword [eax]
push esi
push eax
mov byte [esp + 0x498], bl
call dword [ecx + 0xc]
push esi
mov byte [esp + 0x48c], 6
call dword [0x4f9348]
mov eax, dword [esp + 0x5c]
mov ecx, dword [0x50a0e0]
cmp eax, ebp
mov esi, eax
mov dword [esp + 0x18], ecx
je 0x41746b
mov edx, eax
shr edx, 0x10
jne 0x41743b
and eax, 0xffff
lea ecx, [esp + 0x18]
push eax
call fcn.00407b70
jmp 0x41746b
push eax
call dword [0x4f9318]
mov edi, eax
cmp edi, ebp
je 0x41746b
push edi
lea ecx, [esp + 0x1c]
call fcn.00402090
test eax, eax
je 0x41746b
lea ecx, [edi + edi]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x5227ac]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x490], 8
call fcn.004dd2dd
add esp, 8
test eax, eax
jne 0x4174d6
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0x4fa9d4
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebp
mov edx, dword [eax]
push ebp
push ebp
push eax
call dword [edx + 0x20]
cmp eax, ebp
jl 0x4174d6
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0xf0]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, ebp
jge 0x417565
mov esi, dword [0x4f936c]
lea edx, [esp + 0x54]
push edx
call esi
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 6
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41751a
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x41751a
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
lea eax, [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x488], 4
cmp eax, ebp
je 0x417537
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x417545
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push ebp
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x41738b
jmp 0x4175d6
mov eax, dword [esi + 0x1a8]
lea ecx, [esi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042ce10
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 6
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4175b5
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4175b5
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
lea eax, [esp + 0x54]
push eax
call dword [0x4f936c]
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x488], 4
cmp eax, ebp
je 0x4175d6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x488], 3
cmp eax, ebp
je 0x4175ec
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
mov esi, dword [0x4f9688]
mov edi, dword [esp + 0x30]
mov ebx, 0x14
cmp eax, ebp
mov byte [esp + 0x488], 2
je 0x417611
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x488], 1
cmp eax, ebp
je 0x417627
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [esp + 0x488], 0
cmp dword [edi + 0xc98], ebp
je 0x4177e4
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
push eax
push 0x4fa9d4
push 1
push ebp
push 0x50b958
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], ebp
call esi
cmp eax, ebp
jl 0x4176da
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.VideoAdjust
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x4176c8
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
mov ecx, dword [eax]
push 0x4f97d0
push eax
call dword [ecx]
cmp eax, ebp
jne 0x4176ad
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4176ad
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0x48]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [edi + 0x1a8]
lea ecx, [edi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042ce10
jmp 0x4176da
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4176da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x490], 0x15
je 0x4177e4
mov ecx, dword [edi + 0xcc0]
cmp ecx, ebp
jne 0x4177b3
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], 1
push edx
push 0x4fa9d4
push 1
push ebp
push 0x50b968
call esi
cmp eax, ebp
jl 0x41778b
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.AudioAdjust
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x4177a1
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebp
push edx
mov ecx, dword [eax]
push 0x4f97e0
push eax
call dword [ecx]
cmp eax, ebp
jl 0x417772
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x417772
mov dl, byte [0x5221d0]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x417772
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], ebp
mov eax, dword [edi + 0x1a8]
lea ecx, [edi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042ce10
mov eax, dword [esp + 0x24]
mov dword [edi + 0xcc0], eax
mov dword [edi + 0xcb8], 1
jmp 0x4177e4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x41778f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x41778f
mov eax, dword [edi + 0xf0]
push str.AudioAdjust
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, ebp
jl 0x4177e4
mov eax, dword [edi + 0x1a8]
lea ecx, [edi + 0x1a0]
lea edx, [edi + 0xcb8]
push edx
push 1
push eax
call fcn.0042ce10
cmp dword [edi + 0xc38], ebp
jle 0x417913
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
push eax
push 0x4fa9d4
push 1
push ebp
push 0x4faab4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], 6
call esi
cmp eax, ebp
jl 0x417bdc
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.Video_RendererMx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417902
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], ebp
push edx
mov ecx, dword [eax]
push 0x4fa894
push eax
call dword [ecx]
test eax, eax
jl 0x417877
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x417877
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x417877
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebp
push edx
mov ecx, dword [eax]
push 0x4fa8a4
push eax
call dword [ecx]
cmp eax, ebp
jl 0x4178e4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4178e4
mov edx, dword [edi + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x28]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [0x4f9490]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x54]
push ecx
push ebp
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x18]
push 0xc0c0c
push eax
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4178e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], ebp
mov eax, dword [edi + 0x1a8]
lea ecx, [edi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042ce10
jmp 0x417bdc
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x417bdc
jmp 0x417bd6
mov eax, dword [0x52280c]
cmp eax, ebp
jle 0x417bdc
cmp eax, 1
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], 6
jne 0x417948
lea edx, [esp + 0x24]
push edx
push 0x4fa9d4
push eax
push ebp
push 0x4fab34
jmp 0x417995
cmp eax, 2
jne 0x417961
lea eax, [esp + 0x24]
push eax
push 0x4fa9d4
push 1
push ebp
push 0x4faaa4
jmp 0x417995
cmp eax, 3
jne 0x41797a
lea ecx, [esp + 0x24]
push ecx
push 0x4fa9d4
push 1
push ebp
push 0x4faa94
jmp 0x417995
cmp eax, 4
jne 0x417bdc
lea edx, [esp + 0x24]
push edx
push 0x4fa9d4
push 1
push ebp
push 0x4f9800
call esi
cmp eax, ebp
jl 0x417bdc
mov eax, dword [0x52280c]
cmp eax, 1
jne 0x417a11
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.Video_
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417bce
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
mov ecx, dword [eax]
push 0x4fa894
push eax
call dword [ecx]
cmp eax, ebp
jl 0x417bb3
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x417bb3
cmp eax, 2
jne 0x417a7e
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.VideoDefault_
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417bce
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
mov ecx, dword [eax]
push 0x4fa894
push eax
call dword [ecx]
cmp eax, ebp
jl 0x417bb3
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x417bb3
cmp eax, 3
jne 0x417aeb
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.VideoMixing9_
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417bce
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
mov ecx, dword [eax]
push 0x4fa874
push eax
call dword [ecx]
cmp eax, ebp
jl 0x417bb3
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov ecx, dword [eax]
push 4
push eax
call dword [ecx + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x417bb3
cmp eax, 4
jne 0x417bb3
mov eax, dword [edi + 0xf0]
mov edx, dword [esp + 0x24]
push str.Enhanced_Video_Renderer_
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417bce
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
push edx
mov ecx, dword [eax]
push 0x4f9810
push eax
call dword [ecx]
cmp eax, ebp
jl 0x417bb3
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov ecx, dword [eax]
lea esi, [edi + 0x114]
push esi
push 0x4f9820
push 0x4f9830
push eax
call dword [ecx + 0xc]
cmp eax, ebp
jl 0x417ba5
mov eax, dword [esi]
cmp eax, ebp
je 0x417ba5
mov ecx, dword [edi + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov eax, dword [edi + 4]
lea edx, [esp + 0x68]
push edx
push eax
call dword [0x4f9490]
mov esi, dword [esi]
lea edx, [esp + 0x68]
lea eax, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
mov ecx, dword [esi]
push edx
push eax
push esi
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x417bb3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi + 0x1a8]
lea ecx, [edi + 0x1a0]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.0042ce10
jmp 0x417bdc
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x417bdc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], 0x50bc90
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x490]
cmp dword [eax], edx
jne 0x4186f4
mov esi, eax
mov eax, dword [0x50a0e0]
mov dword [esp + 0x28], 0xfffffffe
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov ecx, dword [esi + 0x14]
push 1
push 0x50b02c
mov byte [esp + 0x490], 9
mov edx, dword [ecx + 0x10]
push edx
call fcn.004ddde8
add esp, 0xc
test eax, eax
jne 0x417d4d
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x64]
mov ecx, dword [eax + 0x10]
push ecx
push 0x5227dc
push edx
call fcn.00402910
mov edi, eax
mov esi, dword [edi]
mov edx, dword [esp + 0x10]
cmp edx, esi
mov byte [esp + 0x488], 0xa
je 0x417d15
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
test ecx, ecx
mov ecx, dword [0x50a0e4]
jge 0x417c97
lea ebx, [edx - 0xc]
cmp ebx, ecx
jne 0x417c9e
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x417cd9
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00402130
test eax, eax
je 0x417d15
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [edx + eax], 0
jmp 0x417d15
add edx, 0xfffffff4
cmp edx, ecx
je 0x417d05
push eax
call dword [0x4f9320]
test eax, eax
jg 0x417cfb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x10], edi
lea eax, [edi - 0xc]
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x64]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x488], 9
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4180cd
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4180cd
mov eax, dword [esp + 0x64]
jmp 0x4180c1
mov ecx, dword [esi + 0x14]
push 9
push str._Windows_
mov edx, dword [ecx + 0x10]
push edx
call fcn.004ddde8
add esp, 0xc
test eax, eax
jne 0x417fd3
mov ecx, 0x82
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
push 0x104
push eax
call dword [0x4f92b0]
mov ecx, dword [esi + 0x14]
mov edx, dword [0x50a0e0]
mov esi, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
test esi, esi
je 0x417e5f
mov eax, esi
shr eax, 0x10
jne 0x417e2f
and esi, 0xffff
lea ecx, [esp + 0x280]
mov edi, esi
push 0x100
push ecx
push edi
call fcn.00406ca0
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x417de3
lea eax, [esp + 0x280]
lea ecx, [esp + 0x18]
push eax
call fcn.00406d00
jmp 0x417e5f
push 0x1ff
lea ecx, [esp + 0x1c]
mov esi, 0x200
call fcn.00406fc0
test eax, eax
je 0x417e22
push esi
push eax
push edi
call fcn.00406ca0
mov ecx, esi
sub ecx, eax
cmp ecx, 1
jg 0x417e22
add esi, 0x100
lea ecx, [esp + 0x18]
lea edx, [esi - 1]
push edx
call fcn.00406fc0
test eax, eax
jne 0x417dfa
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00407070
jmp 0x417e5f
push esi
call dword [0x4f9318]
mov edi, eax
test edi, edi
je 0x417e5f
push edi
lea ecx, [esp + 0x1c]
call fcn.00402090
test eax, eax
je 0x417e5f
lea ecx, [edi + edi]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
mov byte [esp + 0x488], 0xb
test ecx, ecx
jne 0x417e73
xor ebx, ebx
jmp 0x417e80
lea edx, [esp + 0x78]
push edx
call dword [0x4f9318]
mov ebx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 1
jg 0x417e8f
cmp ebx, dword [edi - 4]
jle 0x417eaa
lea ecx, [esp + 0x10]
call fcn.004020f0
push ebx
lea ecx, [esp + 0x14]
call fcn.00402090
test eax, eax
je 0x417ed2
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
lea esi, [esp + 0x78]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
mov eax, dword [eax - 8]
add eax, 0xfffffff7
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00407130
mov esi, dword [eax]
mov byte [esp + 0x488], 0xc
mov eax, dword [esi - 8]
test eax, eax
je 0x417f61
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea ebx, [edx - 0xc]
cmp ecx, 1
jg 0x417f47
mov edi, dword [edx - 8]
mov ebp, dword [edx - 4]
lea ecx, [eax + edi]
cmp ecx, ebp
jg 0x417f47
lea ecx, [eax + eax]
lea edi, [edx + edi*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
add edx, eax
mov dword [ecx - 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov word [eax + ecx*2], 0
jmp 0x417f61
push esi
push eax
push edx
mov edx, dword [edx - 8]
push edx
lea ecx, [esp + 0x20]
call fcn.00418780
test eax, eax
je 0x417f61
push ebx
call fcn.00406cd0
mov eax, dword [esp + 0x50]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 0xb
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x417f98
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x417f98
mov edx, dword [esp + 0x50]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4180cd
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4180cd
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
jmp 0x4180c4
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x4c]
mov ecx, dword [eax + 0x10]
push ecx
push 0x522190
push edx
call fcn.00402910
mov edi, eax
mov esi, dword [edi]
mov edx, dword [esp + 0x10]
cmp edx, esi
mov byte [esp + 0x488], 0xd
je 0x418096
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
test ecx, ecx
mov ecx, dword [0x50a0e4]
jge 0x418018
lea ebx, [edx - 0xc]
cmp ebx, ecx
jne 0x41801f
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x41805a
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00402130
test eax, eax
je 0x418096
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
jmp 0x418096
add edx, 0xfffffff4
cmp edx, ecx
je 0x418086
push eax
call dword [0x4f9320]
test eax, eax
jg 0x41807c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x10], ecx
mov edi, dword [edi]
mov dword [esp + 0x10], edi
lea eax, [edi - 0xc]
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x4c]
mov ecx, dword [0x50a0e4]
mov byte [esp + 0x488], 9
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4180cd
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4180cd
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x24], ecx
mov edi, dword [eax + 0xcc8]
mov esi, dword [eax + 0xccc]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
cmp edi, esi
mov byte [esp + 0x488], 0xe
je 0x4181e0
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 8]
push edx
push eax
call fcn.004dd2dd
add esp, 8
test eax, eax
je 0x418122
add edi, 0xc
cmp edi, esi
jne 0x418101
jmp 0x4181d4
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ecx
mov esi, dword [edi + 8]
cmp edx, esi
je 0x4181d4
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
test ecx, ecx
mov ecx, dword [0x50a0e4]
jge 0x418155
lea ebx, [edx - 0xc]
cmp ebx, ecx
jne 0x41815c
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x418197
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x24]
push ebx
call fcn.00402130
test eax, eax
je 0x4181d4
mov edi, dword [esp + 0x24]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x24]
mov word [eax + edx], 0
jmp 0x4181d4
add edx, 0xfffffff4
cmp edx, ecx
je 0x4181c3
push eax
call dword [0x4f9320]
test eax, eax
jg 0x4181b9
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov ecx, dword [0x50a0e0]
mov dword [esp + 0x24], ecx
mov edi, dword [edi + 8]
mov dword [esp + 0x24], edi
lea eax, [edi - 0xc]
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41841e
mov edx, dword [esp + 0x10]
push edx
call dword [0x4f932c]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
cmp edi, esi
mov dword [esp + 0x1c], eax
je 0x41829f
mov eax, dword [edi - 0xc]
mov edx, dword [0x50a0e4]
lea ecx, [edi - 0xc]
test eax, eax
jge 0x418216
lea ebx, [edi - 0xc]
cmp ebx, edx
jne 0x41821d
mov ebx, dword [esi - 0xc]
test ebx, ebx
jge 0x41826b
mov ebx, dword [esi - 8]
cmp eax, 1
jg 0x41822a
cmp ebx, dword [edi - 4]
jle 0x418241
lea ecx, [esp + 0x24]
call fcn.004020f0
push ebx
lea ecx, [esp + 0x28]
call fcn.00402090
test eax, eax
je 0x41829f
mov edi, dword [esp + 0x24]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x24]
mov word [eax + edx], 0
jmp 0x41829f
add edi, 0xfffffff4
cmp edi, edx
je 0x41828d
push ecx
call dword [0x4f9320]
test eax, eax
jg 0x41828d
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
add eax, 0xfffffff4
push eax
call dword [0x4f9310]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4182d2
push str.DllGetClassObject
push eax
call dword [0x4f931c]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x4183f3
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x4f9328]
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 9
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41830d
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x41830d
mov edx, dword [esp + 0x24]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x50a0e4]
mov byte [esp + 0x488], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x418344
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x418344
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004dcaa6
add esp, 4
mov ebx, dword [esp + 0x28]
xor ebp, ebp
cmp ebx, ebp
jl 0x4186f4
mov eax, dword [esi + 0xb8]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x3c]
jne 0x418493
cmp eax, ebp
je 0x418493
cmp dword [esp + 0x38], ebp
jne 0x418493
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push edx
push 0x4fa934
push eax
call dword [ecx]
test eax, eax
jne 0x41848f
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x41848f
mov ecx, dword [eax]
lea edx, [esi + 0x148]
push edx
mov edx, dword [esi + 0x1b8]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
mov dword [esp + 0x28], ebx
je 0x4183ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebp
cmp ebx, ebp
jge 0x41848f
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x418493
mov edx, dword [eax]
push eax
call dword [edx + 8]
xor eax, eax
mov dword [esp + 0x3c], eax
jmp 0x418493
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push 1
mov eax, dword [esi + 0xccc]
lea ecx, [esi + 0xcc4]
push eax
call fcn.0042d140
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4182d6
jmp 0x418422
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4182d6
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
push 0x4fa734
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x48], 0
push ecx
call eax
test eax, eax
mov dword [esp + 0x28], eax
jl 0x4182d6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4182d6
mov edx, dword [eax]
lea ecx, [esp + 0x3c]
push ecx
push 0x4fa9d4
push 0
push eax
call dword [edx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4182d6
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4182d6
mov eax, dword [esp + 0x3c]
cmp dword [esi + 0xb8], edi
je 0x4184b1
cmp dword [esp + 0x38], ebp
jne 0x4184b1
cmp eax, ebp
je 0x4184b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x3c], eax
cmp ebx, ebp
jl 0x4186f4
cmp eax, ebp
je 0x4186f4
mov edi, dword [esp + 0x2c]
mov ecx, dword [esi + 0xf0]
mov edi, dword [edi + 0x14]
mov edx, dword [ecx]
mov edi, dword [edi + 0x14]
push edi
push eax
push ecx
call dword [edx + 0xc]
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x4186e2
mov ecx, dword [esi + 0x1a8]
mov edx, dword [esi + 0x1ac]
add esi, 0x1a0
sub edx, ecx
mov eax, 0x2aaaaaab
mov edi, ecx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x418603
mov ebx, dword [esi + 4]
cmp ebx, ebp
je 0x418536
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, ebx
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov ebp, edx
ja 0x41853b
mov ebp, 1
test ebx, ebx
jne 0x418543
xor edx, edx
jmp 0x418555
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + ebp]
test eax, eax
mov dword [esp + 0x40], eax
jge 0x418562
xor eax, eax
lea edx, [eax + eax*2]
shl edx, 2
push edx
call fcn.004dcb8f
mov ebp, dword [esi + 4]
add esp, 4
cmp ebp, edi
mov dword [esp + 0x10], eax
mov ebx, eax
je 0x418592
push ebp
push ebx
call fcn.004950f0
add ebp, 0xc
add esp, 8
add ebx, 0xc
cmp ebp, edi
jne 0x41857e
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.004950f0
lea ebp, [ebx + 0xc]
mov ebx, dword [esi + 8]
add esp, 8
cmp edi, ebx
je 0x4185be
push edi
push ebp
call fcn.004950f0
add edi, 0xc
add esp, 8
add ebp, 0xc
cmp edi, ebx
jne 0x4185aa
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.004bd4d0
mov eax, dword [esi + 4]
push eax
call fcn.004dcaa6
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
add esp, 4
lea eax, [eax + eax*2]
lea ecx, [edi + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0040e040
inc eax
mov dword [esi + 4], edi
lea edx, [eax + eax*2]
lea eax, [edi + edx*4]
mov dword [esi + 8], eax
jmp 0x4186f4
mov edx, ecx
mov eax, 0x2aaaaaab
sub edx, edi
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x41867f
lea edx, [edi + 0xc]
push edx
push ecx
push edi
mov ecx, esi
call fcn.004ce220
mov ebx, dword [esi + 8]
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push ebx
call fcn.0042d470
mov eax, dword [esi + 8]
cmp edi, eax
je 0x418679
mov edx, dword [esp + 0x34]
mov ecx, edi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
cmp edi, eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
jne 0x41865c
add dword [esi + 8], 0xc
jmp 0x4186f4
lea eax, [ecx - 0xc]
push ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.004ce220
mov ecx, dword [esi + 8]
lea eax, [ecx - 0xc]
cmp edi, eax
je 0x4186b8
sub eax, 0xc
sub ecx, 0xc
mov edx, eax
mov ebx, ecx
cmp eax, edi
mov ebp, dword [edx]
mov dword [ebx], ebp
mov ebp, dword [edx + 4]
mov dword [ebx + 4], ebp
mov edx, dword [edx + 8]
mov dword [ebx + 8], edx
jne 0x41869a
lea eax, [edi + 0xc]
cmp edi, eax
je 0x4186dc
mov edx, dword [esp + 0x34]
mov ecx, edi
add edi, 0xc
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
cmp edi, eax
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 8], edx
jne 0x4186bf
add dword [esi + 8], 0xc
jmp 0x4186f4
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x4186f4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
inc eax
add edx, 0x18
cmp eax, 0x25
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], edx
jl 0x417bf8
mov eax, dword [esp + 0x44]
mov ecx, dword [0x50a0e4]
pop esi
mov dword [esp + 0x484], 0xffffffff
lea edx, [eax - 0xc]
pop ebx
cmp edx, ecx
je 0x41874d
add eax, 0xfffffff4
push eax
call dword [0x4f9320]
test eax, eax
jg 0x41874d
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff4
push eax
call fcn.004dcaa6
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x478]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x47c
ret 4