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

Disassembly:
push 0xffffffffffffffff
push 0x484f05
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x49e058]
xor eax, esp
mov dword [esp + 0x3c4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e058]
xor eax, esp
push eax
lea eax, [esp + 0x3dc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3ec]
mov ecx, dword [esp + 0x3f0]
mov edx, dword [esp + 0x3f4]
xor ebx, ebx
mov dword [esp + 0x24], eax
xor al, al
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
mov byte [esp + 0x17], al
mov dword [esp + 0x60], ebx
or ebp, 0xffffffff
lea edi, [ebx + 0x10]
lea esi, [ebx + 0xf]
cmp al, bl
jne 0x42c508
push 0x100
lea eax, [esp + 0x2dc]
push ebx
push eax
call fcn.0044dd90
mov ecx, dword [esp + 0x6c]
push ecx
push str..Scsi_d:
lea edx, [esp + 0x2ec]
push 0xff
push edx
call fcn.0042f470
add esp, 0x1c
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
lea eax, [esp + 0x2f0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebp
mov dword [esp + 0x68], eax
je 0x42c4f1
mov dword [esp + 0x64], ebx
jmp 0x42bf40
push 0x22d
lea ecx, [esp + 0xac]
push ebx
push ecx
call fcn.0044dd90
mov edx, dword [str.SCSIDISK]
mov eax, dword [0x48c3d4]
mov cl, byte [esp + 0x70]
add esp, 0xc
push ebx
mov dword [esp + 0xb0], edx
lea edx, [esp + 0x8c]
push edx
mov edx, dword [esp + 0x70]
push 0x22d
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb4]
push eax
push 0x3c
mov byte [esp + 0xe4], cl
mov ecx, eax
push ecx
push 0x4d008
push edx
mov dword [esp + 0xc8], 0x1c
mov dword [esp + 0xd4], 0x2710
mov dword [esp + 0xe0], 0x211
mov dword [esp + 0xd8], 0x1b0501
mov byte [esp + 0xee], 0xec
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42c4d2
cmp byte [esp + 0x10a], bl
je 0x42c4d2
push 0x13
push 0xa
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a440
add esp, 0x10
mov ecx, dword [esp + 0x24]
push ebp
push ebx
push eax
mov dword [esp + 0x3f0], ebx
call fcn.004048d0
cmp dword [esp + 0x40], edi
mov dword [esp + 0x3e4], ebp
jb 0x42c034
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 1
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x48]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x24]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 2
call fcn.004048d0
cmp dword [esp + 0x40], edi
jb 0x42c0b2
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c0d8
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 3
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x48]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x24]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 4
call fcn.004048d0
cmp dword [esp + 0x40], edi
jb 0x42c156
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c17c
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 0x2e
push 0x1b
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a440
add esp, 0x10
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push eax
mov dword [esp + 0x3f0], 5
call fcn.004048d0
cmp dword [esp + 0x40], edi
mov dword [esp + 0x3e4], ebp
jb 0x42c1c6
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 6
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x48]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 7
call fcn.004048d0
cmp dword [esp + 0x40], edi
jb 0x42c244
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c26a
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 8
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x48]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x1c]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 9
call fcn.004048d0
cmp dword [esp + 0x40], edi
jb 0x42c2e8
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c30e
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 0x1a
push 0x17
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.0042a440
add esp, 0x10
mov ecx, dword [esp + 0x18]
push ebp
push ebx
push eax
mov dword [esp + 0x3f0], 0xa
call fcn.004048d0
cmp dword [esp + 0x40], edi
mov dword [esp + 0x3e4], ebp
jb 0x42c358
mov edx, dword [esp + 0x2c]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.004049b0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 0xb
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0x48]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x18]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 0xc
call fcn.004048d0
cmp dword [esp + 0x40], edi
jb 0x42c3d6
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c3fc
mov edx, dword [esp + 0x48]
push edx
call fcn.0044d7d9
add esp, 4
push 1
push 0x48c0fc
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
call fcn.004049b0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push ebp
push ebx
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push edx
mov dword [esp + 0x410], 0xd
mov byte [ecx + 4], bl
call fcn.004048d0
lea eax, [esp + 0xac]
push eax
call fcn.0042a3c0
add esp, 0x24
mov ecx, dword [esp + 0x18]
push ebp
push ebx
push eax
mov byte [esp + 0x3f0], 0xe
call fcn.004048d0
cmp dword [esp + 0xa4], edi
jb 0x42c489
mov ecx, dword [esp + 0x90]
push ecx
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
mov dword [esp + 0x3e4], ebp
jb 0x42c4bb
mov edx, dword [esp + 0x70]
push edx
call fcn.0044d7d9
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 2
mov dword [esp + 0x64], eax
jl 0x42bf40
mov eax, dword [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x60]
add eax, 1
mov dword [esp + 0x60], eax
cmp eax, edi
mov al, byte [esp + 0x17]
jl 0x42bed1
mov ecx, dword [esp + 0x3dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c4]
xor ecx, esp
call fcn.0044d7a0
add esp, 0x3d4
ret