Function at 0x41c2c0
Capabilities:
Check if file exists
Get file attributes
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f650e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30c
mov eax, dword [0x6d1108]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], edi
jne 0x41c2fa
mov eax, 0x6d110c
push str.idmmzcc.xpi
push eax
lea eax, [ebp - 0x318]
push 0x6a331c
push eax
call fcn.005c81cc
add esp, 0x10
lea ecx, [ebp - 0x318]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cb08
xor eax, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], di
mov esi, dword [0x6d1130]
mov byte [ebp - 4], 1
cmp esi, edi
jne 0x41c349
mov esi, 0x6d1134
mov edx, str._s_scomponents2idmmzcc.dll
test edx, edx
je 0x41c451
cmp esi, edi
je 0x41c451
mov ecx, str.idmmzcc5
test ecx, ecx
je 0x41c451
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
mov bl, 2
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040d7a0
push str.idmmzcc5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x28]
test edi, edi
jne 0x41c3a9
lea edi, [ebp - 0x24]
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
call fcn.005c7292
mov edx, eax
push edi
mov dword [ebp - 0x60], edx
call fcn.005c7292
mov edx, dword [ebp - 0x60]
add esi, edx
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 0xc
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x41c42b
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41c458
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7ec
mov esi, dword [0x6d1130]
test esi, esi
jne 0x41c477
mov esi, 0x6d1134
mov edx, str._s_scomponents2idmcchandler2.dll
test edx, edx
je 0x41c577
test esi, esi
je 0x41c577
mov eax, str.idmmzcc5
test eax, eax
je 0x41c577
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0040d7a0
mov bl, 6
push str.idmmzcc5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00401070
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x41c554
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41c581
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7ec
mov esi, dword [0x6d1130]
test esi, esi
jne 0x41c5a0
mov esi, 0x6d1134
mov edx, str._s_schromeidmmzcc.jar
test edx, edx
je 0x41c6a0
test esi, esi
je 0x41c6a0
mov eax, str.idmmzcc5
test eax, eax
je 0x41c6a0
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0040d7a0
mov bl, 9
push str.idmmzcc5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00401070
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x41c67d
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41c6aa
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7ec
mov esi, dword [0x6d1130]
test esi, esi
jne 0x41c6c9
mov esi, 0x6d1134
mov edx, str._s_scomponents11idmmzcc.dll
test edx, edx
je 0x41c7c9
test esi, esi
je 0x41c7c9
mov eax, str.idmmzcc5
test eax, eax
je 0x41c7c9
push edx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0040d7a0
mov bl, 0xc
push str.idmmzcc5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040d7a0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
call fcn.00401070
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x41c7a6
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41c7d3
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c7ec
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x41ca44
jmp 0x41c7ef
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x318]
mov dword [ebp + 8], 0
push edx
call fcn.005b4f50
mov esi, eax
add esp, 4
test esi, esi
je 0x41c858
lea eax, [ebp - 0x64]
push eax
push esi
call fcn.005b5390
add esp, 8
xor edi, edi
cmp edi, dword [ebp - 0x64]
jae 0x41c84f
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp + 8]
push ecx
push edx
push str.idmmzcc5
push ebx
push esi
call fcn.0041ac30
add esp, 0x14
test eax, eax
jne 0x41c84f
mov eax, dword [ebp - 0x64]
inc edi
cmp edi, eax
jae 0x41c84f
push esi
call fcn.005b57e0
add esp, 4
test eax, eax
je 0x41c81a
push esi
call fcn.005b5350
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x41c8f9
test ebx, ebx
je 0x41c8f9
mov eax, dword [0x6d1a78]
mov ecx, dword [0x6d1774]
push 0x50035
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 4
jne 0x41c8f9
lea edx, [ebp - 0x318]
mov dword [ebp + 8], 0
push edx
call fcn.005b4f50
mov edi, eax
add esp, 4
test edi, edi
je 0x41c8f9
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.005b5390
add esp, 8
test eax, eax
jne 0x41c8f9
xor esi, esi
cmp esi, dword [ebp - 0x64]
jae 0x41c8f3
mov edx, dword [ebp - 0x6c]
lea ecx, [ebp + 8]
push ecx
push edx
push str.idmmzcc5
push ebx
push edi
call fcn.0041ac30
add esp, 0x14
test eax, eax
jne 0x41c8f3
mov eax, dword [ebp - 0x64]
inc esi
cmp esi, eax
jae 0x41c8f3
push edi
call fcn.005b57e0
add esp, 4
test eax, eax
je 0x41c8be
push edi
jmp 0x41c850
push str.idmmzcc5
call fcn.0041bb30
xor eax, eax
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4c], ax
mov esi, dword [0x6d1130]
mov byte [ebp - 4], 0xe
cmp esi, eax
jne 0x41c925
mov esi, 0x6d1134
mov ecx, 0x6a2074
test ecx, ecx
je 0x41ca28
test esi, esi
je 0x41ca28
mov edx, str.idmmzcc5
test edx, edx
je 0x41ca28
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401fd0
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0040d7a0
mov bl, 0x10
push str.idmmzcc5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040d7a0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x11
call fcn.00401070
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x50], edx
je 0x41ca02
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x50]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.00401070
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x41ca2f
lea eax, [ebp - 0x4c]
push eax
call fcn.0041bab0
add esp, 4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401070
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41cb2f
lea edx, [ebp + 8]
push edx
push 0xf003f
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41cb1d
lea eax, [ebp + 8]
push 0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push str.SoftwareMozilla
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x41cafc
mov ecx, dword [ebp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
lea edx, [ebp + 8]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push str.SoftwareMozillaFirefox
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x41cafc
mov eax, dword [ebp + 8]
push eax
call esi
lea ecx, [ebp + 8]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x6d0ab8
push 0
push str.SoftwareMozillaFirefoxExtensions
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
je 0x41cb23
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41cb35
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x58], ax
mov esi, dword [0x6d1130]
mov byte [ebp - 4], 0x12
cmp esi, eax
jne 0x41cb54
mov esi, 0x6d1134
mov eax, 0x6a2074
test eax, eax
je 0x41cc54
test esi, esi
je 0x41cc54
mov ecx, str.idmmzcc5
test ecx, ecx
je 0x41cc54
push eax
lea ecx, [ebp - 0x40]
call fcn.00401fd0
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.0040d7a0
push str.idmmzcc5
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.0040d7a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.00401070
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
call fcn.005c7292
add esp, 4
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.00402050
push eax
call fcn.005c7292
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x5c], edx
je 0x41cc30
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x5c]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.005c7292
add esp, 0x18
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x13
call fcn.00401070
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea edx, [ebp - 0x110]
push 0x6a2ce4
push edx
call fcn.005c742a
lea eax, [ebp - 0x110]
push eax
call fcn.005c7292
add esp, 0xc
xor edi, edi
xor ecx, ecx
cmp ecx, eax
jge 0x41cc99
mov dx, word [ebp + ecx*2 - 0x110]
xor dx, 0x4d
sub edx, 0xff
mov word [ebp + ecx*2 - 0x110], dx
inc ecx
jmp 0x41cc78
cmp dword [ebp + 0xc], edi
je 0x41cca7
mov dword [ebp + 8], 1
jmp 0x41ccb3
push edi
call fcn.0040ece0
add esp, 4
mov dword [ebp + 8], eax
lea eax, [ebp - 0x44]
push eax
push 0xf003f
push edi
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41cd61
lea ecx, [ebp - 0x44]
push edi
push ecx
push edi
push 0xf003f
push edi
push 0x6d0ab8
push edi
push str.SoftwareMozillaSeaMonkey
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x41cd9f
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x44]
push edi
push eax
push edi
push 0xf003f
push edi
push 0x6d0ab8
push edi
push str.SoftwareMozillaSeaMonkeyExtensions
push reloc.WS2_32.dll_accept
call ebx
test eax, eax
jne 0x41cd9f
mov eax, dword [ebp - 0x5c]
cmp eax, edi
jne 0x41cd5d
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x58]
push eax
call fcn.005c7292
add esp, 4
lea ecx, [eax + eax + 2]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x110]
push ecx
push esi
push 1
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x44]
push ecx
jmp 0x41cd99
mov esi, eax
jmp 0x41cd34
mov eax, dword [ebp - 0x5c]
cmp eax, edi
jne 0x41cfa4
lea eax, [ebp - 0x58]
lea esi, [ebp - 0x58]
push eax
call fcn.005c7292
mov ecx, dword [ebp - 0x44]
add esp, 4
lea edx, [eax + eax + 2]
lea eax, [ebp - 0x110]
push edx
push esi
push 1
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 8], edi
je 0x41d041
mov eax, dword [ebp - 0x5c]
cmp eax, edi
jne 0x41cdb2
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d041
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], edi
mov word [ebp - 0x4c], di
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], edi
mov word [ebp - 0x74], di
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], edi
mov word [ebp - 0x64], di
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x24], di
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x30], di
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
mov word [ebp - 0x3c], di
mov eax, dword [0x6d1130]
mov byte [ebp - 4], 0x1b
cmp eax, edi
mov ecx, eax
jne 0x41ce12
mov ecx, 0x6d1134
mov edx, str._sidmmzcc
test edx, edx
je 0x41ceeb
test ecx, ecx
je 0x41ceeb
push ecx
lea ecx, [ebp - 0x84]
call fcn.0040d7a0
mov bl, 0x1c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00401070
push str._sidmmzcc
lea ecx, [ebp - 0x90]
call fcn.00401fd0
mov esi, dword [ebp - 0x88]
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1d
call fcn.00402050
push eax
call fcn.005c7292
lea esi, [eax + esi + 2]
lea edi, [esi + esi]
push edi
call fcn.005dfcbc
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x50], edx
je 0x41cec9
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x84]
call fcn.00402050
push eax
lea ecx, [ebp - 0x90]
call fcn.00402050
push eax
mov eax, dword [ebp - 0x50]
push esi
push eax
call fcn.005c7222
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.005c7292
add esp, 0x14
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x1b
call fcn.00401070
mov eax, dword [0x6d1130]
test eax, eax
jne 0x41cef4
mov eax, 0x6d1134
push eax
push str._sidmmzcc2
lea ecx, [ebp - 0x78]
call fcn.004196d0
mov eax, dword [0x6d1130]
test eax, eax
jne 0x41cf10
mov eax, 0x6d1134
push eax
push str._sidmmzcc3
lea ecx, [ebp - 0x68]
call fcn.004196d0
mov eax, dword [0x6d1130]
test eax, eax
jne 0x41cf2c
mov eax, 0x6d1134
push eax
push str._sidmmzcc01
lea ecx, [ebp - 0x28]
call fcn.004196d0
mov eax, dword [0x6d1130]
test eax, eax
jne 0x41cf48
mov eax, 0x6d1134
push eax
push str._sidmmzcc02
lea ecx, [ebp - 0x34]
call fcn.004196d0
mov eax, dword [0x6d1130]
test eax, eax
jne 0x41cf64
mov eax, 0x6d1134
push eax
push str._sidmmzcc03
lea ecx, [ebp - 0x40]
call fcn.004196d0
lea ecx, [ebp - 0x50]
call fcn.00402050
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x41cfab
lea ecx, [ebp - 0x28]
call fcn.00402050
push eax
lea ecx, [ebp - 0x50]
call fcn.00402050
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
push eax
call esi
jmp 0x41cfb1
mov esi, eax
jmp 0x41cd72
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x78]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
je 0x41cfd5
lea ecx, [ebp - 0x34]
call fcn.00402050
push eax
lea ecx, [ebp - 0x78]
call fcn.00402050
push eax
call esi
lea ecx, [ebp - 0x68]
call fcn.00402050
push eax
call edi
cmp eax, 0xffffffff
je 0x41cff9
lea ecx, [ebp - 0x40]
call fcn.00402050
push eax
lea ecx, [ebp - 0x68]
call fcn.00402050
push eax
call esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
call fcn.00401070
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x19
call fcn.00401070
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x17
call fcn.00401070
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x16
call fcn.00401070
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x12
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8