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

Disassembly:
push 0xffffffffffffffff
push 0x471d74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
lea eax, [esp + 0x6c]
push edi
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x74], ebx
call dword [sym.imp.HVDLL.dll_SearchHVDeviceCount]
add esp, 4
cmp eax, ebx
je 0x419325
push ebx
push ebx
push 0x478670
call fcn.004646be
mov dword [esp + 0x18], 0x4784f4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0xa
mov eax, dword [esp + 0x70]
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0xe4], ebx
jbe 0x41943b
mov edi, edi
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebp
call dword [sym.imp.HVDLL.dll_GetHVDeviceAddr]
add esp, 0x14
cmp eax, ebx
je 0x41938e
push ebx
push ebx
push 0x478670
call fcn.004646be
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov edi, dword [esp + 0x20]
jne 0x4193da
mov edx, dword [esp + 0x30]
push 0x20
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0045b15e
mov edx, dword [esp + 0x30]
mov ecx, edx
shl ecx, 5
lea ecx, [ecx + eax - 0x1c]
lea eax, [edx - 1]
cmp eax, ebx
jl 0x4193d6
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, ecx
sub ecx, 0x20
dec edx
jne 0x4193c6
mov dword [esp + 0x28], eax
jmp 0x4193da
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov dword [eax + 4], edi
mov dword [eax], ebx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
inc edi
mov dword [esp + 0x24], edi
lea ecx, [eax + 8]
mov dword [ecx], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x60]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 0x14], edx
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x419426
mov dword [ecx], eax
jmp 0x41942a
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
inc ebp
cmp ebp, eax
jb 0x419360
mov dword [esp + 0x38], 0x478500
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0xa
lea eax, [esp + 0x38]
lea ecx, [esi + 0x24c]
push eax
mov byte [esp + 0xe8], 1
mov dword [esp + 0x78], ecx
call fcn.00428230
mov edi, dword [esi + 0x234]
cmp edi, ebx
je 0x419576
lea esp, [esp]
mov eax, edi
mov eax, dword [eax + 8]
lea ecx, [esp + 0x54]
mov ebp, edi
mov edi, dword [edi]
push ecx
mov ecx, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
call fcn.00401bd0
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4194d3
mov edi, dword [esp + 0x5c]
lea esp, [esp]
mov edx, eax
cmp dword [edx + 8], edi
mov ecx, eax
mov eax, dword [eax]
je 0x4194fa
cmp eax, ebx
jne 0x4194c0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x24], ebx
je 0x41956e
cmp ebp, dword [esi + 0x234]
jne 0x419587
mov edx, dword [ebp]
mov dword [esi + 0x234], edx
jmp 0x41958f
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x24], ebx
je 0x41956a
cmp ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
jne 0x419511
mov dword [esp + 0x3c], eax
jmp 0x419516
mov edx, dword [ecx + 4]
mov dword [edx], eax
cmp ecx, dword [esp + 0x40]
mov edx, dword [ecx + 4]
jne 0x419525
mov dword [esp + 0x40], edx
jmp 0x41952a
mov eax, dword [ecx]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
jne 0x41956a
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x41954d
mov eax, dword [eax]
cmp eax, ebx
jne 0x419547
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call fcn.0045b18f
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x10]
cmp edi, ebx
jne 0x419490
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x419734
jmp 0x419620
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
mov dword [eax], ecx
cmp ebp, dword [esi + 0x238]
jne 0x4195a2
mov edx, dword [ebp + 4]
mov dword [esi + 0x238], edx
jmp 0x4195ab
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x240]
mov dword [ebp], edx
mov eax, dword [esi + 0x23c]
dec eax
mov dword [esi + 0x240], ebp
mov dword [esi + 0x23c], eax
jne 0x419602
mov eax, dword [esi + 0x234]
cmp eax, ebx
je 0x4195d9
mov eax, dword [eax]
cmp eax, ebx
jne 0x4195d3
mov ecx, dword [esi + 0x244]
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x234], ebx
call fcn.0045b18f
mov dword [esi + 0x244], ebx
mov ebp, dword [esp + 0x14]
mov ecx, ebp
call fcn.00402a90
push ebp
call fcn.0045c286
add esp, 4
jmp 0x41956e
mov eax, dword [esp + 0x10]
nop
mov ecx, dword [eax]
mov ebp, dword [eax + 8]
push 0x3880
mov dword [esp + 0x14], ecx
call fcn.0045c25b
add esp, 4
mov dword [esp + 0x6c], eax
cmp eax, ebx
mov byte [esp + 0xe4], 2
je 0x419651
mov ecx, eax
call fcn.004028d0
mov edi, eax
jmp 0x419653
xor edi, edi
cmp edi, ebx
mov byte [esp + 0xe4], 1
je 0x41972a
lea edx, [esp + 0xb0]
push edx
mov ecx, edi
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc8], 1
call fcn.00401d60
cmp dword [esi + 0x240], ebx
mov ebp, dword [esi + 0x238]
jne 0x4196f4
mov eax, dword [esi + 0x248]
push 0xc
push eax
lea ecx, [esi + 0x244]
push ecx
call fcn.0045b15e
mov ecx, dword [esi + 0x248]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 8]
jl 0x4196f4
inc ecx
jmp 0x4196e0
mov edx, dword [esi + 0x240]
mov dword [eax], edx
mov dword [esi + 0x240], eax
sub eax, 0xc
dec ecx
jne 0x4196e0
mov eax, dword [esi + 0x240]
mov ecx, dword [eax]
mov dword [esi + 0x240], ecx
mov dword [eax + 4], ebp
mov dword [eax], ebx
inc dword [esi + 0x23c]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x238]
cmp ecx, ebx
je 0x41971e
mov dword [ecx], eax
jmp 0x419724
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
cmp dword [esp + 0x10], ebx
jne 0x41961b
mov ebp, dword [esi + 0x234]
cmp ebp, ebx
je 0x419907
mov eax, ebp
mov eax, dword [eax + 8]
mov edi, ebp
mov ebp, dword [ebp]
lea edx, [esp + 0x54]
push edx
mov ecx, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], eax
call fcn.00401bd0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4197d7
lea esp, [esp]
mov ecx, eax
add ecx, 8
mov ebp, ecx
mov ecx, dword [ebp]
mov edx, eax
mov eax, dword [eax]
mov dword [esp + 0xb0], ecx
mov ecx, dword [ebp + 4]
mov dword [esp + 0xb4], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0xb8], ecx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xbc], edi
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xc0], ebx
mov ebp, dword [ebp + 0x14]
mov dword [esp + 0xc4], ebp
cmp dword [esp + 0x5c], ecx
jne 0x4197c9
cmp dword [esp + 0x60], edi
jne 0x4197c9
cmp dword [esp + 0x64], ebx
je 0x4197f6
xor ebx, ebx
cmp eax, ebx
jne 0x419770
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x24], ebx
jne 0x4198ff
cmp edi, dword [esi + 0x234]
jne 0x419868
mov edx, dword [edi]
mov dword [esi + 0x234], edx
jmp 0x41986f
cmp edx, dword [esp + 0x1c]
mov eax, dword [edx]
jne 0x419804
mov dword [esp + 0x1c], eax
jmp 0x419809
mov ecx, dword [edx + 4]
mov dword [ecx], eax
cmp edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
jne 0x419818
mov dword [esp + 0x20], ecx
jmp 0x41981d
mov eax, dword [edx]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x28]
mov dword [edx], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
jne 0x4198f9
mov eax, dword [esp + 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x419846
mov eax, dword [eax]
cmp eax, ebx
jne 0x419840
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.0045b18f
mov dword [esp + 0x2c], ebx
jmp 0x4198fb
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp edi, dword [esi + 0x238]
jne 0x419882
mov edx, dword [edi + 4]
mov dword [esi + 0x238], edx
jmp 0x41988a
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x240]
mov dword [edi], edx
mov eax, dword [esi + 0x23c]
dec eax
mov dword [esi + 0x240], edi
mov dword [esi + 0x23c], eax
jne 0x4198e0
mov eax, dword [esi + 0x234]
cmp eax, ebx
je 0x4198b7
mov eax, dword [eax]
cmp eax, ebx
jne 0x4198b1
mov ecx, dword [esi + 0x244]
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x238], ebx
mov dword [esi + 0x234], ebx
call fcn.0045b18f
mov dword [esi + 0x244], ebx
mov edi, dword [esp + 0x14]
mov ecx, edi
mov dword [edi + 8], ebx
call fcn.00402a90
push edi
call fcn.0045c286
add esp, 4
jmp 0x4198ff
xor ebx, ebx
mov ebp, dword [esp + 0x10]
cmp ebp, ebx
jne 0x419742
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x419a26
jmp 0x419920
mov eax, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [eax]
add eax, 8
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 0x14]
push 0x3880
mov dword [esp + 0x6c], eax
call fcn.0045c25b
add esp, 4
mov dword [esp + 0x6c], eax
cmp eax, ebx
mov byte [esp + 0xe4], 3
je 0x41997a
mov ecx, eax
call fcn.004028d0
mov edi, eax
jmp 0x41997c
xor edi, edi
cmp edi, ebx
mov byte [esp + 0xe4], 1
je 0x419a1c
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov dword [esp + 0x6c], ebx
call fcn.00401d60
cmp dword [esi + 0x240], ebx
mov ebp, dword [esi + 0x238]
jne 0x4199e6
mov edx, dword [esi + 0x248]
push 0xc
push edx
lea eax, [esi + 0x244]
push eax
call fcn.0045b15e
mov ecx, dword [esi + 0x248]
lea edx, [ecx + ecx*2]
dec ecx
cmp ecx, ebx
lea eax, [eax + edx*4 - 8]
jl 0x4199e6
inc ecx
mov edx, dword [esi + 0x240]
mov dword [eax], edx
mov dword [esi + 0x240], eax
sub eax, 0xc
dec ecx
jne 0x4199d2
mov eax, dword [esi + 0x240]
mov ecx, dword [eax]
mov dword [esi + 0x240], ecx
mov dword [eax + 4], ebp
mov dword [eax], ebx
inc dword [esi + 0x23c]
mov dword [eax + 8], edi
mov ecx, dword [esi + 0x238]
cmp ecx, ebx
je 0x419a10
mov dword [ecx], eax
jmp 0x419a16
mov dword [esi + 0x234], eax
mov dword [esi + 0x238], eax
cmp dword [esp + 0x10], ebx
jne 0x419915
mov eax, 0xa
mov dword [esp + 0x78], 0x478500
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0x47850c
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xec], 5
call fcn.00428330
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
mov edx, dword [esp + 0x98]
je 0x419b40
cmp edx, ebx
je 0x419b40
mov edi, dword [esi + 0x234]
cmp edi, ebx
mov eax, ecx
mov eax, dword [eax + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x6c], eax
mov eax, edx
mov edx, dword [edx]
mov eax, dword [eax + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], eax
je 0x419b3c
lea esp, [esp]
mov eax, edi
mov ebp, dword [eax + 8]
mov edi, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebp
call fcn.00401bd0
mov edx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x5c]
jne 0x419b25
mov eax, dword [ebp + 0x24]
cmp eax, ebx
je 0x419b1f
cmp dword [esp + 0x14], 1
je 0x419b2b
cmp eax, ebx
jne 0x419b25
cmp dword [esp + 0x14], ebx
je 0x419b2b
cmp edi, ebx
jne 0x419af0
jmp 0x419b34
push 1
mov ecx, ebp
call fcn.00401dd0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x419ac0
lea ecx, [esp + 0xc8]
call fcn.0045ac5a
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0xe8], 6
call fcn.00427640
mov eax, dword [esp + 0xd0]
xor esi, esi
cmp eax, ebx
mov edi, eax
jle 0x419bd3
mov ebp, 1
jmp 0x419b82
mov eax, dword [esp + 0xd0]
cmp esi, ebx
jl 0x419d10
cmp esi, eax
jge 0x419d10
mov ecx, dword [esp + 0xcc]
lea eax, [ecx + esi*4]
push eax
call fcn.00419100
add esp, 4
cmp eax, 0xffffffff
je 0x419bce
cmp eax, ebx
jl 0x419d10
cmp eax, dword [0x493fb8]
jge 0x419d10
mov edx, dword [0x493fb4]
mov eax, dword [edx + eax*4]
cmp eax, ebx
je 0x419bce
mov dword [eax + 0x44], ebp
inc esi
cmp esi, edi
jl 0x419b7b
lea ecx, [esp + 0xc8]
mov byte [esp + 0xe4], 5
call fcn.0045acac
mov eax, dword [esp + 0x98]
cmp eax, ebx
mov byte [esp + 0xe4], 4
mov dword [esp + 0x94], 0x47850c
je 0x419c0b
mov eax, dword [eax]
cmp eax, ebx
jne 0x419c05
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebx
call fcn.0045b18f
mov eax, dword [esp + 0x7c]
cmp eax, ebx
mov esi, 0x478500
mov dword [esp + 0xa8], ebx
mov byte [esp + 0xe4], 1
mov dword [esp + 0x78], esi
je 0x419c59
mov eax, dword [eax]
cmp eax, ebx
jne 0x419c53
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
call fcn.0045b18f
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0xe4], bl
mov dword [esp + 0x38], esi
je 0x419c9e
mov eax, dword [eax]
cmp eax, ebx
jne 0x419c98
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
call fcn.0045b18f
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xe4], 0xffffffff
mov dword [esp + 0x18], 0x4784f4
je 0x419cdc
mov eax, dword [eax]
cmp eax, ebx
jne 0x419cd6
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.0045b18f
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xd8
ret
jmp fcn.004594a8