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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d200
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x441008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov ebx, ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
test byte [0x441600], 0x20
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x40], 0
jne 0x426372
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push 0x402014
push 0x17
push 0
push 0x402004
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x417489
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebx + 0x24]
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x14]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417489
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.00417588
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x426385
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, 0x41
mov word [ebp - 0x60], cx
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, dword [ebp - 0x20]
test eax, eax
movzx eax, word [esi + 0x10]
jne 0x426399
add eax, 0x40
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemAlloc]
mov edi, eax
mov dword [ebp - 0x30], edi
test edi, edi
je 0x42638f
movzx eax, word [esi + 0x10]
add eax, 0x40
mov dword [edi], eax
push dword [ebx + 0x24]
call dword [sym.imp.MMDevAPI.DLL_Ordinal_9]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x50]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x70]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x78]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x28], eax
movzx eax, word [esi + 0x10]
add eax, 0x12
push eax
lea eax, [edi + 0x2c]
push esi
push eax
call sub.msvcrt.dll_memcpy
movzx eax, word [esi + 0x10]
add esp, 0xc
add eax, 0x40
mov dword [ebp - 0x54], edi
cmp dword [ebx + 0x28], 0
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax]
mov esi, dword [esi + 0xc]
jne 0x4263f7
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 1
push 0x40245c
push eax
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x402418
push eax
mov esi, dword [esi]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
mov ecx, 1
xor eax, eax
cmp dword [ebx + 0x30], eax
cmovne eax, ecx
cmp dword [0x440010], 3
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
movzx eax, word [ecx + 2]
mov dword [ebp - 0x50], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x48], eax
movzx eax, word [ecx]
mov dword [ebp - 0x20], eax
jae 0x426423
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
push ecx
push 0x40244c
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push ecx
push 0x402364
push eax
mov esi, dword [eax]
mov esi, dword [esi]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
cmp dword [ebp - 0x40], 0
je 0x417405
mov eax, dword [ebp - 0x3c]
push 0x40000
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x18]
push dword [ebx + 0x20]
push dword [ebx + 0x14]
mov esi, dword [eax]
push dword [ebx + 0x10]
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
push 0x18
call fcn.0041a033
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
test edi, edi
je 0x42651e
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 0x28], eax
mov dword [edi], 0
test edx, edx
je 0x41745e
mov ecx, edi
call fcn.00411ed0
mov eax, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], ebx
mov dword [eax], edi
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x426528
test edi, edi
je 0x417489
push edi
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov eax, dword [ebp - 0x14]
test byte [0x441600], 0x20
jne 0x426534
mov byte [ebp - 4], 6
test eax, eax
je 0x4174b1
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4174cc
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x426544
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4174f6
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417511
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41752c
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x417547
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x417565
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041a3d0
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x40]
mov edx, dword [ebx + 0x24]
sub esp, 8
call fcn.00431b11
jmp 0x4171ca
mov esi, 0x80004002
jmp 0x41748c
mov esi, 0x8007000e
jmp 0x417489
add eax, 0x20
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemAlloc]
mov edi, eax
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x4263b6
mov esi, 0x8007000e
jmp 0x417489
movzx eax, word [esi + 0x10]
add eax, 0x20
mov dword [edi], eax
push dword [ebx + 0x24]
call dword [sym.imp.MMDevAPI.DLL_Ordinal_9]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 8], eax
movzx eax, word [esi + 0x10]
add eax, 0x12
push eax
lea eax, [edi + 0xc]
push esi
push eax
call sub.msvcrt.dll_memcpy
movzx eax, word [esi + 0x10]
add esp, 0xc
add eax, 0x20
mov dword [ebp - 0x54], edi
xor edi, edi
jmp 0x4172de
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push 1
push 0x404850
push eax
mov ecx, esi
call dword [0x442374]
call esi
mov esi, eax
test esi, esi
js 0x417473
mov eax, dword [ebp - 0x38]
jmp 0x41731a
push 0x40
lea eax, [ebp - 0xe0]
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, 0x78
mov dword [ebp - 0xb4], 0x20000
mov word [ebp - 0xe0], ax
add esp, 0xc
mov eax, dword [0x405170]
mov dword [ebp - 0xc8], eax
mov eax, dword [0x405174]
mov dword [ebp - 0xc4], eax
mov eax, dword [0x405178]
mov dword [ebp - 0xc0], eax
mov eax, dword [0x40517c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x78], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0xe0]
push eax
push dword [0x44001c]
mov byte [ebp - 0xdc], 1
push dword [0x440018]
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x70], esi
call dword [sym.imp.ntdll.dll_EtwLogTraceEvent]
jmp 0x41736e
mov esi, 0x8007000e
jmp 0x417470
push eax
call dword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
jmp 0x41747e
sub esp, 8
call fcn.00431aee
mov eax, dword [ebp - 0x14]
jmp 0x417499
mov ecx, dword [eax]
push eax
mov edi, dword [ecx + 8]
mov ecx, edi
call dword [0x442374]
call edi
jmp 0x4174db