Function at 0x428efc
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004287e8
add esp, 8
test eax, eax
je 0x428f1f
or eax, 0xffffffff
jmp 0x42935b
call fcn.00429594
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x428f7d
push str.READDEVICETOFILEX
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x14], eax
test eax, eax
je 0x428f7d
push 0x45e425
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x18], eax
test eax, eax
je 0x428f7d
push str.READ_S3N_TOFILEX
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x428f7d
push 0x45e449
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x428f93
cmp dword [ebp - 0x10], 0
je 0x428f8b
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_FreeLibrary
or eax, 0xffffffff
jmp 0x42935b
xor edx, edx
mov dword [0x45afec], edx
push dword [ebp + 0xc]
push 0x187a800
call fcn.004415c8
add esp, 8
push 0x2e
push 0x187a800
call fcn.004416fd
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x428fe2
push dword [ebp - 4]
call fcn.004415f8
pop ecx
cmp eax, 4
ja 0x428fe2
push 0x5c
push dword [ebp - 4]
call fcn.004416f1
add esp, 8
test eax, eax
je 0x428ff6
push 0x187a800
call fcn.004415f8
pop ecx
add eax, 0x187a800
mov dword [ebp - 4], eax
push str..LOG
push dword [ebp - 4]
call fcn.004415c8
add esp, 8
mov byte [0x187a904], 0
push dword [ebp + 0xc]
push 0x187a800
call fcn.004417dc
add esp, 8
test eax, eax
jne 0x429038
push str..LO
push dword [ebp - 4]
call fcn.004415c8
add esp, 8
mov byte [0x187a904], 0
push 0x187a800
push dword [ebp + 8]
call fcn.004287e8
add esp, 8
test eax, eax
jne 0x428f7d
push dword [ebp + 0x14]
push dword [ebp + 8]
push 0
call fcn.00428d08
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x4290bf
push fcn.00428c70
push dword [ebp + 0x10]
push 0x187a800
call dword [ebp - 0x1c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x429113
push 0
push dword [ebp + 8]
push 5
call fcn.00428d08
add esp, 0xc
push 0x187a800
call fcn.00442d38
pop ecx
mov eax, dword [ebp - 8]
mov ecx, 0x64
cdq
idiv ecx
cmp edx, 0xe
jne 0x4290b7
mov eax, 0xfffffffe
jmp 0x42935b
or eax, 0xffffffff
jmp 0x42935b
push fcn.00428c70
push dword [ebp + 0x10]
push 0x187a800
call dword [ebp - 0x14]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x18], 0
je 0x429113
push 0x4655a5
lea edx, [ebp - 0x158]
push edx
call fcn.004415c8
add esp, 8
push str.lastXML.log
lea ecx, [ebp - 0x158]
push ecx
call fcn.004414ec
add esp, 8
push 0
lea eax, [ebp - 0x158]
push eax
push 0x187a800
call sub.KERNEL32.DLL_CopyFileA
push 0
push dword [ebp + 8]
push 5
call fcn.00428d08
add esp, 0xc
cmp dword [ebp - 8], 0x11
jne 0x429180
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_FreeLibrary
push dword [ebp + 0xc]
push 0x187a800
call fcn.004441b0
add esp, 8
test eax, eax
je 0x42916c
push 0x187a800
call fcn.00442d38
pop ecx
push dword [ebp + 0xc]
push 0x45e465
push 9
push dword [ebp + 8]
call fcn.00428788
add esp, 0x10
or eax, 0xffffffff
jmp 0x42935b
mov dword [0x187a398], 4
mov eax, dword [0x187a398]
jmp 0x42935b
cmp dword [ebp - 8], 0
je 0x4291f2
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_FreeLibrary
push 0x187a800
push 0x45e466
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00428788
add esp, 0x10
push 0x187a800
call fcn.00442d38
pop ecx
cmp dword [ebp - 8], 6
je 0x4291ea
cmp dword [ebp - 8], 8
je 0x4291ea
cmp dword [ebp - 8], 9
je 0x4291ea
cmp dword [ebp - 8], 7
je 0x4291ea
push str.LOG_Datei
push 0x24
push dword [ebp + 8]
call fcn.0041124c
add esp, 0xc
cmp eax, 6
jne 0x4291ea
mov eax, 0xfffffffe
jmp 0x42935b
or eax, 0xffffffff
jmp 0x42935b
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004287e8
add esp, 8
test eax, eax
je 0x42920d
mov dword [ebp - 8], 0xf
jmp 0x429274
cmp dword [ebp + 0x14], 0
je 0x429235
push 0x45afec
push dword [ebp + 0xc]
push 0x187a800
push dword [ebp + 8]
call dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov dword [0x187a398], 4
jmp 0x429274
push dword [ebp + 0x14]
push dword [ebp + 8]
push 1
call fcn.00428d08
add esp, 0xc
push fcn.00428c70
push 0x187a398
push 0x45afec
push dword [ebp + 0xc]
push 0x187a800
push dword [ebp + 8]
call dword [ebp - 0x18]
mov dword [ebp - 8], eax
push 0
push dword [ebp + 8]
push 5
call fcn.00428d08
add esp, 0xc
push dword [ebp - 0x10]
call sub.KERNEL32.DLL_FreeLibrary
cmp dword [ebp - 8], 0
je 0x429356
push dword [ebp + 0xc]
push 0x187a800
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.00428788
add esp, 0x10
push str.LOG_Datei_speichern_
push 0x24
push dword [ebp + 8]
call fcn.0041124c
add esp, 0xc
cmp eax, 6
jne 0x429346
push 0x44fce1
lea edx, [ebp - 0x158]
push edx
call fcn.004415c8
add esp, 8
push 0
push 0x44ff4f
lea ecx, [ebp - 0x158]
push ecx
push dword [0x44f8dc]
call fcn.004115d8
add esp, 0x10
cmp byte [ebp - 0x158], 0
je 0x42929c
lea eax, [ebp - 0x158]
push eax
push 0x44fce1
call fcn.004415c8
add esp, 8
push 0
lea edx, [ebp - 0x158]
push edx
push 0x187a800
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
je 0x429328
push 0x187a800
call fcn.00442d38
pop ecx
jmp 0x429351
lea ecx, [ebp - 0x158]
push ecx
push 0x450450
push 0x30
push dword [ebp + 8]
call fcn.0041124c
add esp, 0x10
jmp 0x42929c
push 0x187a800
call fcn.00442d38
pop ecx
or eax, 0xffffffff
jmp 0x42935b
mov eax, dword [0x187a398]
mov esp, ebp
pop ebp
ret