Function at 0x4df150
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4df158
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4df68c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xa0c]
mov eax, dword [eax + 0x254]
call fcn.004637d0
test eax, eax
je case.0x4df1f0.0
mov eax, dword [ebx + 0x2d4]
add eax, 0x68
mov edx, 0x4df6a4
call fcn.00403d20
mov eax, dword [ebx + 0x2d4]
mov edx, dword [0x4df6b0]
mov dword [eax + 0x54], edx
mov eax, dword [ebx + 0xa0c]
call fcn.00465370
mov edx, dword [eax + 8]
mov eax, dword [ebx + 0x2d4]
add eax, 0x70
call fcn.00403d20
mov edi, esi
shl edi, 3
sub edi, esi
mov eax, dword [ebx + 0x15194]
mov al, byte [eax + edi*8 + 0xe]
xor edx, edx
mov dl, al
cmp edx, 0x10
ja case.0x4df1f0.0
mov dl, byte [edx + 0x4df1f7]
jmp dword [edx*4 + 0x4df208]
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df6bc
call fcn.00403d20
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4df271
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
mov edx, dword [ebp - 8]
mov eax, dword [ebx + 0xa5c]
mov eax, dword [eax + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebx + 0x2d0]
xor edx, edx
call fcn.00459b8c
mov eax, dword [ebx + 0xa5c]
cmp byte [eax + 0x47], 1
jne case.0x4df1f0.0
mov byte [ebx + 0x15598], 1
jmp case.0x4df1f0.0
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [ebx + 0x15194]
cmp al, 0xb
jne 0x4df2be
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df6f0
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df70c
call fcn.00403d64
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 0xc
jne 0x4df2eb
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df71c
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df738
call fcn.00403d64
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 0xd
jne 0x4df318
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df748
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df764
call fcn.00403d64
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 0xe
jne 0x4df345
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df774
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df790
call fcn.00403d64
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 0xf
jne 0x4df372
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df7a0
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df7bc
call fcn.00403d64
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 0x10
jne 0x4df39f
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df7cc
call fcn.00403d20
lea eax, [ebp - 4]
mov edx, 0x4df7e8
call fcn.00403d64
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je case.0x4df1f0.0
push 0
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
mov eax, dword [ebp - 0xc]
call fcn.00404110
push eax
push dword [ebx + 0x1555c]
push dword [ebx + 0x155ac]
push 0x4df7f8
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x14fe0]
call fcn.00409428
push dword [ebp - 0x14]
push dword [ebp - 4]
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.0040400c
mov eax, dword [ebp - 0x10]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
jmp case.0x4df1f0.0
xor eax, eax
push ebp
push 0x4df491
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0x14aac]
call fcn.00409868
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004090d8
mov edx, dword [ebp - 0x18]
mov eax, 0x4df808
call fcn.00404238
test eax, eax
jg 0x4df472
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x14aac]
call fcn.00409868
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004090d8
mov edx, dword [ebp - 0x20]
mov eax, 0x4df818
call fcn.00404238
test eax, eax
jle 0x4df484
mov eax, dword [ebx + 0x8d8]
xor ecx, ecx
mov edx, 4
call fcn.0047dac8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.0x4df1f0.0
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x14aac]
call fcn.004090d8
mov edx, dword [ebp - 0x28]
mov eax, 0x4df828
call fcn.00404238
test eax, eax
jle 0x4df4d2
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df838
call fcn.00403d20
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x14aac]
call fcn.004090d8
mov edx, dword [ebp - 0x2c]
mov eax, 0x4df858
call fcn.00404238
test eax, eax
jle 0x4df504
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df868
call fcn.00403d20
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x14aac]
call fcn.004090d8
mov edx, dword [ebp - 0x30]
mov eax, 0x4df888
call fcn.00404238
test eax, eax
jle 0x4df536
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df898
call fcn.00403d20
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x14aac]
call fcn.004090d8
mov edx, dword [ebp - 0x34]
mov eax, 0x4df8b8
call fcn.00404238
test eax, eax
jle 0x4df568
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df8c8
call fcn.00403d20
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4df5b3
mov eax, dword [ebx + 0x8d8]
xor ecx, ecx
mov edx, 3
call fcn.0047dac8
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
mov eax, dword [ebp - 0x38]
call fcn.00404110
push eax
mov eax, dword [ebx + 0x14aac]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebx + 0x6c0]
mov edx, dword [eax]
call dword [edx + 0xb0]
jmp case.0x4df1f0.0
mov eax, esi
shl eax, 3
sub eax, esi
mov edx, dword [ebx + 0x15194]
cmp byte [edx + eax*8 + 0xe], 5
jne 0x4df5ed
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df8e8
call fcn.00403d20
mov eax, dword [ebx + 0x15194]
cmp byte [eax + edi*8 + 0xe], 6
jne 0x4df60d
mov eax, dword [ebx + 0x2d4]
add eax, 0x58
mov edx, 0x4df908
call fcn.00403d20
mov esi, dword [ebx + 0x2d4]
mov dword [esi + 0x5c], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je case.0x4df1f0.0
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x2d4]
call fcn.00459b24
mov eax, dword [ebp - 0x3c]
call fcn.00404110
push eax
mov eax, dword [ebx + 0xb58]
call fcn.00404110
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df693
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 0x34]
mov edx, 0xa
call fcn.00403cf0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403cf0
lea eax, [ebp - 4]
call fcn.00403ccc
ret