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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x88], eax
push ebp
mov ebp, dword [esp + 0x94]
push esi
mov esi, ecx
mov byte [esp + 0xb], 0
push 0x77e880
mov ecx, ebp
call fcn.004f5a60
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 5
je 0x572412
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 6
je 0x572412
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 8
je 0x572412
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 1
jne 0x57221f
lea eax, [esi + 0x2d0]
mov ecx, ebp
push eax
call fcn.004f5a00
jmp 0x572428
mov ecx, dword [esi + 0x37c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp eax, 7
je 0x572412
cmp dword [esi + 0x2e8], 8
lea eax, [esi + 0x2d4]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x50], xmm0
movdqu xmmword [esp + 0x60], xmm0
movdqu xmmword [esp + 0x70], xmm0
movdqu xmmword [esp + 0x80], xmm0
jb 0x572262
mov eax, dword [eax]
push eax
push 0x793304
push 0x20
lea eax, [esp + 0x3c]
push 0x20
push eax
call fcn.006f8d83
mov cl, byte [esp + 0x44]
add esp, 0x14
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x57229c
lea eax, [esp + 0x30]
mov word [esp + 0x31], 0x3a
push eax
mov ecx, ebp
call fcn.004f5a60
jmp 0x572428
cmp cl, 0x2d
jne 0x5722b9
lea eax, [esp + 0x30]
mov word [esp + 0x31], 0x2d
push eax
mov ecx, ebp
call fcn.004f5a60
jmp 0x572428
test cl, cl
je 0x57240c
add esi, 0x2f0
cmp dword [esi + 0x14], 8
jb 0x5722cf
mov esi, dword [esi]
push ebx
push edi
push esi
push 0x793304
push 0x20
lea eax, [esp + 0x44]
push 0x20
push eax
call fcn.006f8d83
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
xor ebx, ebx
lea eax, [ebx + 0x41]
movsx eax, al
push eax
push 0x788518
push 0x10
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.007042ac
add esp, 0x14
lea eax, [esp + 0x58]
push 0
push 0
push 3
push 0
push 1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x5723cb
cmp esi, 0xffffffff
je 0x5723cb
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
push 0x20
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
push 0
push 0
xorps xmm0, xmm0
push 0x560000
push esi
movdqu xmmword [esp + 0x40], xmm0
movq qword [esp + 0x50], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x57237d
push esi
call edi
jmp 0x5723cb
push dword [esp + 0x20]
lea eax, [esp + 0x7c]
push 0x793308
push 0x20
push 0x20
push eax
call fcn.006f8d83
add esp, 0x14
push esi
call edi
lea ecx, [esp + 0x38]
lea eax, [esp + 0x78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x5723c2
test dl, dl
je 0x5723be
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x5723c2
add eax, 2
add ecx, 2
test dl, dl
jne 0x5723a2
xor eax, eax
jmp 0x5723c7
sbb eax, eax
or eax, 1
test eax, eax
je 0x5723dd
inc ebx
cmp ebx, 0x1a
jl 0x5722f0
mov al, byte [esp + 0x13]
pop edi
pop ebx
jmp 0x57242a
add bl, 0x41
movsx eax, bl
push eax
push 0x79331c
push 0x20
lea eax, [esp + 0x44]
push 0x20
push eax
call fcn.006f8d83
add esp, 0x14
lea eax, [esp + 0x38]
mov ecx, ebp
push eax
call fcn.004f5a60
pop edi
mov al, 1
pop ebx
jmp 0x57242a
mov al, byte [esp + 0xb]
jmp 0x57242a
add esi, 0x2d4
cmp dword [esi + 0x14], 8
jb 0x572420
mov esi, dword [esi]
push esi
mov ecx, ebp
call fcn.004f5ac0
mov al, 1
mov ecx, dword [esp + 0x90]
pop esi
pop ebp
xor ecx, esp
call fcn.006f7ca4
add esp, 0x8c
ret 4