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

Disassembly:
push 0xffffffffffffffff
push 0x60e7da
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
lea eax, [esp + 0x44]
mov ebx, ecx
push eax
mov dword [esp + 0x24], ebx
call fcn.00443eb0
xor ebp, ebp
mov dword [esp + 0x268], ebp
lea eax, [esp + 0xbc]
call fcn.00433920
mov dword [esp + 0xbc], 1
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [eax + str.All_Removable_Drives]
mov word [esp + eax + 0xc0], cx
add eax, 2
cmp cx, bp
jne 0x4a9d80
lea ecx, [esp + 0x44]
call fcn.00434c30
mov esi, dword [esp + 0x50]
cmp esi, dword [esp + 0x54]
jbe 0x4a9daf
call fcn.005c475a
mov eax, dword [esp + 0x44]
push esi
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x54]
call fcn.004463d0
lea eax, [esp + 0x24]
push eax
call fcn.00443eb0
mov byte [esp + 0x268], 1
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebp
mov byte [esp + 0xa0], 0
mov byte [esp + 0x268], 2
mov dword [esp + 0xb8], ebp
mov byte [esp + 0x268], 3
push ebp
lea ecx, [esp + 0xa0]
call fcn.0041ec60
test al, al
je 0x4a9ec7
lea ecx, [esp + 0x7c]
push ecx
call fcn.00443eb0
mov byte [esp + 0x268], 4
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00420450
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x88]
xor esi, esi
sar eax, 2
cmp eax, ebp
jbe 0x4a9eb5
cmp esi, eax
jb 0x4a9e6a
call fcn.005c475a
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + esi*4]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xa4]
push ecx
call fcn.00420350
mov eax, dword [esp + 0x5c]
cmp eax, ebp
je 0x4a9e9f
cmp dword [esp + 0x60], ebp
je 0x4a9e9f
push eax
lea edi, [esp + 0x28]
call fcn.00443bf0
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x88]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4a9e6a
mov byte [esp + 0x268], 3
lea edx, [esp + 0x7c]
push edx
call fcn.00484970
lea eax, [ebx + 0xb4]
push eax
mov dword [esp + 0x60], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x268], 5
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ecx, esi
sub ecx, edi
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4a9f9e
xor ebx, ebx
cmp ebp, eax
jb 0x4a9f16
call fcn.005c475a
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
lea eax, [ebx + edi]
mov dword [esp + 0x18], eax
sub esi, edi
mov eax, 0x13e22cbd
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebp, ecx
jb 0x4a9f3d
call fcn.005c475a
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x18]
lea eax, [ebx + edi]
mov ecx, 0x67
lea edi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add ecx, 0x94
push ecx
call fcn.004af220
mov edi, eax
mov ecx, 0x67
lea esi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
mov ecx, esi
sub ecx, edi
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
add ebx, 0x19c
cmp ebp, eax
jb 0x4a9f16
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, ebx
sub ecx, edi
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], esi
je 0x4aa214
mov dword [esp + 0x1c], esi
jmp 0x4a9fd0
cmp dword [esp + 0x18], eax
jb 0x4a9fe3
call fcn.005c475a
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebp + 0xac]
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
add edx, edi
cmp byte [eax + 0x1ad], 0
mov dword [esp + 0x3c], edx
mov esi, ecx
jne 0x4aa01e
mov ecx, dword [edx]
cmp dword [eax + 0xc], ecx
jae 0x4aa011
mov eax, dword [eax + 8]
jmp 0x4aa015
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0x1ad], 0
je 0x4aa007
mov eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0xac]
add ebp, 0x94
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x98], ecx
test eax, eax
je 0x4aa047
cmp eax, eax
je 0x4aa058
call fcn.005c475a
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
cmp esi, dword [esp + 0x98]
je 0x4aa06e
mov edx, dword [edx]
cmp edx, dword [esi + 0xc]
jb 0x4aa06e
lea eax, [esp + 0x6c]
jmp 0x4aa080
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
lea eax, [esp + 0x64]
mov esi, dword [eax]
mov ebp, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0xac]
add eax, 0x94
mov eax, dword [eax]
mov dword [esp + 0x78], edx
test esi, esi
je 0x4aa0a2
cmp esi, eax
je 0x4aa0af
call fcn.005c475a
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov eax, 0x13e22cbd
cmp ebp, dword [esp + 0x78]
jne 0x4aa144
mov ebp, dword [esp + 0x18]
mov ecx, ebx
sub ecx, edi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x4aa0e3
call fcn.005c475a
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
sub ebx, edi
mov eax, 0x13e22cbd
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [ecx + edi]
cmp ebp, eax
jb 0x4aa10a
call fcn.005c475a
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + edi]
mov ecx, 0x67
lea edi, [esp + 0xbc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add ecx, 0x94
push ecx
call fcn.004af220
mov ecx, 0x67
lea esi, [esp + 0xbc]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
jmp 0x4aa1e2
sub ebx, edi
imul ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x4aa161
call fcn.005c475a
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add edi, ecx
test esi, esi
jne 0x4aa29d
call fcn.005c475a
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4aa180
call fcn.005c475a
mov edx, dword [edi + 0x194]
mov dword [ebp + 0x1a4], edx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x4aa1b0
call fcn.005c475a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
lea edi, [ecx + edx]
test esi, esi
jne 0x4aa2a4
call fcn.005c475a
cmp ebp, dword [esi + 0x18]
jne 0x4aa1d2
call fcn.005c475a
mov eax, dword [edi + 0x198]
mov dword [ebp + 0x1a8], eax
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add dword [esp + 0x1c], 0x19c
mov ecx, ebx
sub ecx, edi
mov eax, 0x13e22cbd
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
mov dword [esp + 0x18], ebp
cmp ebp, eax
jb 0x4a9fd0
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0xac]
mov ebp, dword [eax]
mov esi, dword [ebx + 0x94]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov edi, edi
mov edi, dword [ebx + 0xac]
mov eax, dword [ebx + 0x94]
test esi, esi
je 0x4aa244
cmp esi, eax
je 0x4aa249
call fcn.005c475a
cmp ebp, edi
je 0x4aa2b3
test esi, esi
jne 0x4aa2ab
call fcn.005c475a
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4aa262
call fcn.005c475a
test esi, esi
jne 0x4aa2af
call fcn.005c475a
cmp ebp, dword [esi + 0x18]
jne 0x4aa275
call fcn.005c475a
mov edx, dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
push ecx
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.00420290
lea esi, [esp + 0x3c]
call fcn.004b53d0
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
jmp 0x4aa230
mov eax, dword [esi]
jmp 0x4aa176
mov esi, dword [esi]
jmp 0x4aa1c8
mov eax, dword [esi]
jmp 0x4aa258
mov esi, dword [esi]
jmp 0x4aa26b
mov byte [esp + 0x268], 3
mov ecx, dword [esp + 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x268], 1
lea edx, [esp + 0x9c]
push edx
call fcn.00417000
mov byte [esp + 0x268], 6
mov eax, dword [esp + 0x30]
xor esi, esi
cmp eax, esi
je 0x4aa2f6
push eax
call fcn.005c396f
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov byte [esp + 0x268], 0
mov eax, dword [esp + 0x24]
push eax
call fcn.005c396f
add esp, 4
mov dword [esp + 0x268], 8
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x4aa333
push eax
call fcn.005c396f
add esp, 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x268], 0xffffffff
mov ecx, dword [esp + 0x44]
push ecx
call fcn.005c396f
add esp, 4
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.005c397a
add esp, 0x258
ret