Function at 0x5094b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1a
push 0
push 0
dec ecx
jne 0x5094b9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50a603
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp byte [ebp + 8], 0
je 0x509c20
push 0
mov eax, dword [0x521528]
mov eax, dword [eax + 8]
push eax
push 0x46b
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x521528]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x50a5c3
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 8], 0
mov eax, dword [0x51e76c]
mov eax, dword [eax]
call fcn.00480460
lea eax, [ebp - 0x1c]
call fcn.004047a0
lea eax, [ebp - 0x20]
call fcn.004047a0
lea eax, [ebp - 0x2c]
call fcn.004047a0
lea eax, [ebp - 0x34]
call fcn.004047a0
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 4]
lea eax, [ebp - 0x1c]
call fcn.00404838
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x20]
call fcn.00404838
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.00404838
mov eax, 0x521530
mov edx, dword [ebp - 0x2c]
call fcn.004047f4
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x34]
call fcn.00404838
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x34]
call fcn.0050a858
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x52152c]
call fcn.0050aa04
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, 0x521534
call fcn.004047a0
mov eax, 0x521538
call fcn.004047a0
mov eax, dword [ebp - 4]
push eax
push 0x50a7e4
mov eax, dword [ebp - 4]
call fcn.004272d8
cmp byte [0x52153d], 0
je 0x509864
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.00404838
mov edx, dword [ebp - 0x44]
mov eax, 0x50a61c
call fcn.00404da4
test eax, eax
jle 0x509652
lea eax, [ebp - 0x6c]
push eax
mov ecx, 2
mov edx, 0x50a61c
mov eax, dword [ebp - 0x44]
call fcn.004ebc64
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x44]
call fcn.00404838
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.004e8474
mov edx, 0x50a628
mov eax, dword [ebp - 0x48]
call fcn.004ec6e8
mov dword [0x52151c], eax
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x30]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004099a4
test al, al
je 0x5096ac
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0x46c
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x509a0d
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x70]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x58]
call fcn.004090cc
lea eax, [ebp - 0x60]
call fcn.004ed5a8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x509830
mov eax, dword [ebp - 0x58]
call fcn.004099a4
test al, al
je 0x509824
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404838
lea ecx, [ebp - 0x74]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x40]
call fcn.00409d60
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x40]
call fcn.00404a68
lea ecx, [ebp - 0x78]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x78]
mov eax, 0x521534
call fcn.004047f4
mov eax, 0x521538
mov edx, dword [ebp - 0x28]
call fcn.004047f4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404c60
push eax
lea ecx, [ebp - 0x80]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.004090cc
mov eax, dword [ebp - 0x7c]
call fcn.00404c60
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.00409d98
mov eax, dword [ebp - 0x50]
mov edx, 0x50a634
call fcn.00404bac
jne 0x509824
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, 0x50a648
mov edx, 0x50a654
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x4c]
call fcn.004ed780
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x28]
call fcn.00409bf4
cmp dword [ebp - 0x60], 1
sbb eax, eax
inc eax
call fcn.004ed694
push 0
lea eax, [ebx + 1]
push eax
push 0x46d
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
push 0x2bc
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x5096e8
jmp 0x509a0d
push 0x508d7c
mov eax, dword [ebp - 0x20]
call fcn.00404c60
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404c60
push eax
call sub.driverfiles.dll_EnumerateDevicesFiles
mov edx, dword [ebp - 0x30]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004099a4
test al, al
je 0x5098a6
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0x46c
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x509a0d
inc esi
xor ebx, ebx
lea eax, [ebp - 0x4c]
call fcn.004047a0
lea ecx, [ebp - 0x8c]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x58]
call fcn.004090cc
mov eax, dword [ebp - 0x58]
call fcn.004099a4
test al, al
je 0x5099de
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404838
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x58]
call fcn.00409d60
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x40]
call fcn.00404a68
mov eax, 0x521534
mov edx, dword [ebp - 0x58]
call fcn.004047f4
mov eax, 0x521538
mov edx, dword [ebp - 0x28]
call fcn.004047f4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404c60
push eax
mov eax, dword [ebp - 0x58]
call fcn.00404c60
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.00409d98
mov eax, dword [ebp - 0x50]
mov edx, 0x50a634
call fcn.00404bac
jne 0x5099de
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x50a648
mov edx, 0x50a654
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x4c]
call fcn.004ed780
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x28]
call fcn.00409bf4
push 0
lea eax, [ebx + 1]
push eax
push 0x46d
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
push 0x2bc
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x5098e2
xor eax, eax
push ebp
push 0x509a4d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x98]
mov ecx, 0x50a660
mov edx, dword [ebp - 0x24]
call fcn.00404aac
mov ecx, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [0x43dc04]
call fcn.0043dcb4
mov dword [ebp - 0x54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x509a5f
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 8]
push eax
mov ecx, 0x50a678
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 4]
push eax
mov ecx, 0x50a6a0
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0xc]
push eax
mov ecx, 0x50a6b4
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x10]
push eax
mov ecx, 0x50a6cc
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x14]
push eax
mov ecx, 0x50a6e0
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x1c]
push eax
mov ecx, 0x50a6f4
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x20]
push eax
mov ecx, 0x50a708
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x24]
push eax
mov ecx, 0x50a720
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x50a738
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x30]
push eax
mov ecx, 0x50a750
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x38]
push eax
mov ecx, 0x50a760
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x54]
call fcn.00403970
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x521528]
mov eax, dword [eax + 8]
push eax
push 0x46a
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
inc dword [ebp - 8]
dec dword [ebp - 0x68]
jne 0x509525
jmp 0x50a5c3
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x51e5ac]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x509c90
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 8], 0
mov eax, dword [0x51e5ac]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0041e384
cmp byte [eax + 4], 0
jne 0x509c88
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, 0x50a77c
call fcn.00404bac
je 0x509c88
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x4a], 0
je 0x509c88
inc dword [ebp - 0x10]
inc dword [ebp - 8]
dec dword [ebp - 0x68]
jne 0x509c3f
push 0
mov eax, dword [ebp - 0x10]
push eax
push 0x46b
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov edx, dword [0x4010dc]
mov eax, 4
call fcn.0040572c
mov eax, dword [0x51e5ac]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x50a5c3
inc eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 8], 0
mov eax, dword [0x51e76c]
mov eax, dword [eax]
call fcn.00480460
mov eax, dword [0x51e5ac]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.0041e384
cmp byte [eax + 4], 0
jne 0x50a5b7
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
mov edx, 0x50a77c
call fcn.00404bac
je 0x50a5b7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x4a], 0
je 0x50a5b7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], 1
lea eax, [ebp - 0x1c]
call fcn.004047a0
lea eax, [ebp - 0x20]
call fcn.004047a0
lea eax, [ebp - 0x2c]
call fcn.004047a0
lea eax, [ebp - 0x34]
call fcn.004047a0
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 4]
lea eax, [ebp - 0x1c]
call fcn.00404838
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 0x14]
lea eax, [ebp - 0x20]
call fcn.00404838
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.00404838
mov eax, 0x521530
mov edx, dword [ebp - 0x2c]
call fcn.004047f4
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x34]
call fcn.00404838
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x50a654
mov edx, 0x50a648
mov eax, dword [ebp - 0x34]
call fcn.0040eab4
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
call fcn.0050a914
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x34]
call fcn.0050a858
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x52152c]
call fcn.0050aa04
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, 0x521534
call fcn.004047a0
mov eax, 0x521538
call fcn.004047a0
mov eax, dword [ebp - 4]
push eax
push 0x50a7e4
mov eax, dword [ebp - 4]
call fcn.004272d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00509068
cmp byte [0x52153d], 0
je 0x50a174
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
call fcn.00404838
mov edx, dword [ebp - 0x44]
mov eax, 0x50a61c
call fcn.00404da4
test eax, eax
jle 0x509ead
lea eax, [ebp - 0x9c]
push eax
mov ecx, 2
mov edx, 0x50a61c
mov eax, dword [ebp - 0x44]
call fcn.004ebc64
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x44]
call fcn.00404838
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x44]
call fcn.004e8474
mov edx, 0x50a628
mov eax, dword [ebp - 0x48]
call fcn.004ec6e8
mov dword [0x52151c], eax
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edx, dword [ebp - 0x30]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004099a4
test al, al
je 0x509f07
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0x46c
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x50a3b0
inc esi
xor ebx, ebx
lea ecx, [ebp - 0xa0]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x58]
call fcn.004090cc
lea eax, [ebp - 0x60]
call fcn.004ed5a8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x50a0ce
mov eax, dword [ebp - 0x58]
call fcn.004099a4
test al, al
je 0x50a0c2
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404838
lea ecx, [ebp - 0xa4]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0x40]
call fcn.00409d60
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00508fb0
push dword [ebp - 0x28]
push dword [ebp - 0x64]
push 0x50a78c
push dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404b20
lea ecx, [ebp - 0xa8]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa8]
mov eax, 0x521534
call fcn.004047f4
mov eax, 0x521538
mov edx, dword [ebp - 0x28]
call fcn.004047f4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404c60
push eax
lea ecx, [ebp - 0xb0]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.004090cc
mov eax, dword [ebp - 0xac]
call fcn.00404c60
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.00409d98
mov eax, dword [ebp - 0x50]
mov edx, 0x50a634
call fcn.00404bac
jne 0x50a0c2
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0xb4]
push eax
mov ecx, 0x50a648
mov edx, 0x50a654
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0x4c]
call fcn.004ed780
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x28]
call fcn.00409bf4
cmp dword [ebp - 0x60], 1
sbb eax, eax
inc eax
call fcn.004ed694
cmp dword [0x521534], 0
je 0x50a167
lea eax, [ebp - 0x5c]
call fcn.004047a0
lea edx, [ebp - 0xbc]
mov eax, dword [0x521534]
call fcn.004090cc
push dword [ebp - 0xbc]
push 0x50a798
lea edx, [ebp - 0xc0]
mov eax, dword [0x521538]
call fcn.004090cc
push dword [ebp - 0xc0]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404b20
lea edi, [ebp - 0x5c]
push edi
push 0
push 0x46e
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 1]
push eax
push 0x46d
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
push 0x2bc
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x509f43
jmp 0x50a3b0
push 0x508d7c
mov eax, dword [ebp - 0x20]
call fcn.00404c60
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404c60
push eax
call sub.driverfiles.dll_EnumerateDevicesFiles
mov edx, dword [ebp - 0x30]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x3c]
call fcn.004099a4
test al, al
je 0x50a1b6
mov edx, dword [ebp - 0x3c]
mov eax, dword [0x52151c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
push 0x46c
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [0x52151c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x50a3b0
inc esi
xor ebx, ebx
lea eax, [ebp - 0x4c]
call fcn.004047a0
lea ecx, [ebp - 0xc4]
mov edx, ebx
mov eax, dword [0x52151c]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc4]
lea edx, [ebp - 0x58]
call fcn.004090cc
mov eax, dword [ebp - 0x58]
call fcn.004099a4
test al, al
je 0x50a313
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00404838
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0x58]
call fcn.00409d60
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00508fb0
push dword [ebp - 0x28]
push dword [ebp - 0x64]
push 0x50a78c
push dword [ebp - 0x40]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404b20
mov eax, 0x521534
mov edx, dword [ebp - 0x58]
call fcn.004047f4
mov eax, 0x521538
mov edx, dword [ebp - 0x28]
call fcn.004047f4
push 0
mov eax, dword [ebp - 0x28]
call fcn.00404c60
push eax
mov eax, dword [ebp - 0x58]
call fcn.00404c60
push eax
call sub.kernel32.dll_CopyFileA
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x58]
call fcn.00409d98
mov eax, dword [ebp - 0x50]
mov edx, 0x50a634
call fcn.00404bac
jne 0x50a313
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, 0x50a648
mov edx, 0x50a654
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0x4c]
call fcn.004ed780
mov al, byte [0x50a63c]
push eax
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
call fcn.0040eab4
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x28]
call fcn.00409bf4
cmp dword [0x521534], 0
je 0x50a37f
lea eax, [ebp - 0x5c]
call fcn.004047a0
lea edx, [ebp - 0xd0]
mov eax, dword [0x521534]
call fcn.004090cc
push dword [ebp - 0xd0]
push 0x50a798
lea edx, [ebp - 0xd4]
mov eax, dword [0x521538]
call fcn.004090cc
push dword [ebp - 0xd4]
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.00404b20
lea edi, [ebp - 0x5c]
push edi
push 0
push 0x46e
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 8]
push eax
lea eax, [ebx + 1]
push eax
push 0x46d
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
push 0x2bc
call sub.kernel32.dll_Sleep_1
inc ebx
dec esi
jne 0x50a1f2
xor eax, eax
push ebp
push 0x50a3f0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xd8]
mov ecx, 0x50a660
mov edx, dword [ebp - 0x24]
call fcn.00404aac
mov ecx, dword [ebp - 0xd8]
mov dl, 1
mov eax, dword [0x43dc04]
call fcn.0043dcb4
mov dword [ebp - 0x54], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50a402
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 8]
push eax
mov ecx, 0x50a678
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 4]
push eax
mov ecx, 0x50a6a0
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0xc]
push eax
mov ecx, 0x50a6b4
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x10]
push eax
mov ecx, 0x50a6cc
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x14]
push eax
mov ecx, 0x50a6e0
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x1c]
push eax
mov ecx, 0x50a6f4
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x20]
push eax
mov ecx, 0x50a708
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x24]
push eax
mov ecx, 0x50a720
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x28]
push eax
mov ecx, 0x50a738
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x30]
push eax
mov ecx, 0x50a750
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [0x521528]
call fcn.0041e384
mov eax, dword [eax + 0x38]
push eax
mov ecx, 0x50a760
mov edx, 0x50a68c
mov eax, dword [ebp - 0x54]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x54]
call fcn.00403970
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], 2
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0x46a
mov eax, dword [0x51e21c]
mov eax, dword [eax]
call fcn.00466e8c
push eax
call sub.user32.dll_PostMessageA
inc dword [ebp - 8]
dec dword [ebp - 0x68]
jne 0x509cdb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50a60a
lea eax, [ebp - 0xd8]
mov edx, 0x1c
call fcn.004047c4
lea eax, [ebp - 0x64]
call fcn.004047a0
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004047c4
lea eax, [ebp - 0x50]
mov edx, 0xe
call fcn.004047c4
ret