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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x54d104]
xor eax, esp
mov dword [esp + 0x134], eax
cmp dword [ecx + 0x4c], 0
push esi
push edi
mov dword [esp + 0x14], ecx
mov edi, 0x78
je 0x483cc6
cmp byte [ecx + 0x26], 0
jne 0x483cc6
cmp byte [ecx + 0x2a], 0
jne 0x483cc6
mov edx, dword [ebp + 8]
test edx, edx
jne 0x4839dc
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x40]
mov ecx, dword [ecx + 0x44]
xorps xmm0, xmm0
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp + 8], edx
movlpd qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
cmp dword [edx + 0xc], 0
ja 0x4839ef
cmp dword [edx + 8], 0x8000
jbe 0x483cde
test byte [ecx + 0x2e], 2
je 0x483a10
mov eax, 0xb7
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret 8
mov edi, dword [0x554cf4]
mov esi, dword [edx + 4]
dec edi
mov eax, dword [edx]
mov dword [esp + 0xc], 0
test esi, esi
ja 0x483a5d
jb 0x483a2e
cmp eax, edi
ja 0x483a5d
not dword [esp + 0xc]
add eax, edi
not edi
adc esi, 0
add eax, dword [edx + 8]
adc esi, dword [edx + 0xc]
and eax, edi
and esi, dword [esp + 0xc]
add eax, 0x8000
adc esi, 0
cmp esi, dword [ecx + 0x44]
jb 0x483a5d
ja 0x483a59
cmp eax, dword [ecx + 0x40]
jb 0x483a5d
or byte [ecx + 0x2e], 2
mov eax, dword [ecx + 0x48]
test eax, eax
jne 0x483a6e
mov edi, 0xa0
jmp 0x483b5a
mov esi, dword [0x554c40]
mov edi, 0x78
test esi, esi
je 0x483b52
cmp byte [0x554d18], 0
jne 0x483b52
cmp byte [eax + 5], 0
jne 0x483b52
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x483b52
cdq
xorps xmm0, xmm0
mov dword [esp + 0xbc], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0xb8], eax
mov byte [esp + 0xc0], 0
mov dword [esp + 0xc1], 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0xc5], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xcd], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0xcd], ecx
push eax
push 0
push 0
push 0x19
lea eax, [esp + 0xcc]
movaps xmmword [esp + 0x64], xmm0
push eax
push 0xb2d601c0
push esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x483b2c
xor edi, edi
jmp 0x483b4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 1
movzx eax, byte [0x554d18]
cmp edi, 0x32
cmove eax, ecx
mov byte [0x554d18], al
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 8]
test edi, edi
je 0x483cc6
mov eax, dword [ecx + 0x3c]
xor esi, esi
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x18], esi
mov esi, dword [ecx + 0x38]
xor ecx, ecx
add eax, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], eax
adc ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], 0
nop dword [eax]
mov eax, dword [edx]
mov esi, eax
add esi, dword [edx + 8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x24], esi
mov esi, dword [edx + 0xc]
adc esi, ecx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x18]
cmp ecx, dword [esp + 0x2c]
ja 0x483c5d
jb 0x483bc1
cmp eax, dword [esp + 0x28]
jae 0x483c5d
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x30], edx
mov edx, dword [ebp + 8]
jb 0x483c5d
ja 0x483be2
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x24], esi
mov esi, dword [esp + 0x18]
jbe 0x483c5d
cmp ecx, dword [esp + 0xc]
jb 0x483bf6
mov edx, dword [esp + 0x20]
ja 0x483bf2
cmp eax, edx
jbe 0x483bf6
sub eax, edx
jmp 0x483c03
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x4c]
add eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], eax
ja 0x483c2c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
jb 0x483c28
cmp eax, edx
jae 0x483c2c
sub edx, eax
jmp 0x483c39
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
sub ecx, edx
sub ecx, eax
mov dword [esp + esi*8 + 0x78], eax
mov eax, dword [esp + 0x14]
add ecx, dword [eax + 0x50]
mov dword [esp + esi*8 + 0x7c], ecx
inc esi
mov dword [esp + 0x18], esi
cmp esi, 8
jae 0x483cc6
mov edx, dword [ebp + 8]
test esi, esi
je 0x483cae
cmp esi, 1
jne 0x483c70
cmp dword [esp + 0x7c], 0x8000
jbe 0x483cde
mov esi, dword [0x554c64]
mov edi, 0x78
test esi, esi
je 0x483cab
push 0
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call dword [0x4f933c]
call esi
test eax, eax
je 0x483ca3
xor edi, edi
jmp 0x483cab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x38]
add edx, 0x10
inc eax
mov dword [ebp + 8], edx
mov dword [esp + 0x38], eax
cmp eax, 1
jb 0x483b90
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x13c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004af3ab
mov esp, ebp
pop ebp
ret 8