Function at 0x417670
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677e6f
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x71906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x26c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
mov dword [ebp - 0x254], ebx
call fcn.004df730
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push eax
mov byte [ebp - 0x239], 0
call fcn.004cf1fb
add esp, 4
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb8]
mov ecx, esp
push eax
call fcn.00408cb0
lea eax, [ebp - 0x88]
push eax
call fcn.004cdfca
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push 0x10
push eax
call fcn.004cf164
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.004cd55a
add esp, 0x30
test eax, eax
jne 0x417771
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push 1
push 0x700bbc
cmp eax, 1
jb 0x41775a
cmp edx, 0x10
lea esi, [ebp - 0x58]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x58]
add esi, ecx
mov dword [ebp - 0x48], eax
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x417771
mov byte [ebp - 0x240], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0x240]
push 1
call fcn.00407e50
lea eax, [ebp - 0x88]
cmp ebx, eax
je 0x417791
cmp dword [ebp - 0x74], 0x10
mov ecx, ebx
push dword [ebp - 0x78]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00407210
push ebx
call fcn.004cd55a
add esp, 4
test eax, eax
jne 0x4177f2
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x4177d5
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x4177bc
mov eax, dword [ebx]
push 1
lea esi, [eax + ecx]
push 0x700bbc
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4177f2
push 1
push 0x700bbc
mov byte [ebp - 0x240], 0
mov ecx, ebx
push dword [ebp - 0x240]
push 1
call fcn.00407e50
push ebx
lea ecx, [ebp - 0x100]
call fcn.00406d70
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xe8]
call fcn.00406d70
mov byte [ebp - 4], 5
mov eax, dword [ebx + 0x68]
mov edi, dword [ebx + 0x64]
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x250], edi
cmp edi, eax
je 0x4181b5
add ebx, 0x4c
mov dword [ebp - 0x240], ebx
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x70]
call fcn.00406d70
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x28]
call fcn.00406d70
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.00406d70
mov byte [ebp - 4], 8
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x41787d
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
mov edx, eax
mov dword [ebp - 0x90], 0
mov ecx, edx
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4178a6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xa0]
call fcn.00407210
mov byte [ebp - 4], 9
cmp dword [ebp - 0x90], 0
jbe 0x4179a4
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x4178d7
mov eax, dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4178e5
mov esi, dword [ebp - 0x14]
sub ebx, ecx
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub eax, ecx
push ebx
push edx
cmp ebx, eax
ja 0x417920
lea eax, [ecx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + ecx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417936
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x258]
push ebx
call fcn.00407e50
mov ecx, dword [ebp - 0x240]
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x417946
mov eax, dword [ecx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov ebx, edx
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x417954
mov esi, dword [ebp - 0x2c]
sub ebx, ecx
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub eax, ecx
push ebx
push edx
cmp ebx, eax
ja 0x417992
lea eax, [ecx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea esi, [eax + ecx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417a81
mov byte [ebp - 0x25c], 0
push dword [ebp - 0x25c]
jmp 0x417a78
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov ebx, edx
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x4179c0
mov esi, dword [ebp - 0x14]
sub ebx, ecx
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub eax, ecx
push ebx
push edx
cmp ebx, eax
ja 0x4179fb
lea eax, [ecx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
lea esi, [eax + ecx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417a11
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x260]
push ebx
call fcn.00407e50
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov ebx, edx
lea ecx, [ebx + 1]
nop word [eax + eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x417a30
mov esi, dword [ebp - 0x2c]
sub ebx, ecx
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub eax, ecx
push ebx
push edx
cmp ebx, eax
ja 0x417a6b
lea eax, [ecx + ebx]
cmp esi, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
lea esi, [eax + ecx]
push esi
call fcn.005074d0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417a81
mov byte [ebp - 0x264], 0
push dword [ebp - 0x264]
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407e50
call fcn.004d314f
test al, al
je 0x417b55
mov eax, dword [0x729d00]
test eax, eax
je 0x417b55
cmp dword [eax + 4], 5
jl 0x417b55
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
lea ebx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x238]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x24c], eax
cmovae ebx, dword [ebp - 0x28]
sub esp, 0xc
push 0x2b5
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x248], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xa
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e2f0
mov edx, ebx
mov ecx, esi
call fcn.0040e2f0
mov edx, 0x700b90
mov ecx, esi
call fcn.0040e2f0
mov edx, dword [ebp - 0x24c]
mov ecx, esi
call fcn.0040e2f0
mov ebx, dword [0x729d00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x417b46
mov edi, dword [ebp - 0x248]
nop word [eax + eax]
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebx + 0xc]
jne 0x417b30
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040e880
mov ebx, dword [ebp - 0x254]
cmp dword [ebx + 0xc8], 0
je 0x417b77
cmp dword [ebx + 0xcc], 0x10
lea eax, [ebx + 0xb8]
jb 0x417b79
mov eax, dword [eax]
jmp 0x417b79
xor eax, eax
push eax
push 0
push dword [ebp - 0x268]
lea eax, [ebp - 0x28]
push 0x4145f0
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x118]
push eax
call fcn.004cdc49
add esp, 0x20
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x417bb5
mov eax, dword [eax]
push eax
push 0x3a8
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0xd0]
push eax
call fcn.004cdc49
add esp, 0x20
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x417be4
mov eax, dword [eax]
push eax
call fcn.004dfde0
mov byte [ebp - 4], 0xb
add esp, 0x18
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 0x239], al
cmp edx, 8
jb 0x417c37
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417c2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp edx, 8
jb 0x417c98
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417c8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x417cb2
cmp dword [ebp - 0x14], 0x10
mov ecx, ebx
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00407210
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.00407210
call fcn.004d314f
cmp byte [ebp - 0x239], 0
jne 0x417ec1
test al, al
je 0x417da9
mov eax, dword [0x729d00]
test eax, eax
je 0x417da9
cmp dword [eax + 4], 5
jl 0x417da9
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x24c], ebx
jb 0x417d0e
mov eax, dword [ebx]
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x5c], 0x10
lea ebx, [ebp - 0x70]
lea ecx, [ebp - 0x238]
cmovae ebx, dword [ebp - 0x70]
sub esp, 0xc
push 0x2ca
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x248], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xe
mov edx, str.ins_third_soft:_dlfile_:
mov ecx, esi
call fcn.0040e2f0
mov edx, ebx
mov ecx, esi
call fcn.0040e2f0
mov edx, str._fail
mov ecx, esi
call fcn.0040e2f0
mov edx, dword [ebp - 0x24c]
mov ecx, esi
call fcn.0040e2f0
mov ebx, dword [0x729d00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x417d98
mov edi, dword [ebp - 0x248]
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebx + 0xc]
jne 0x417d82
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
call fcn.0040e880
mov ebx, dword [ebp - 0x254]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x417de7
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417ddd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x417e1f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417e15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x417e69
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417e5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x417ea1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417e97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
add edi, 0x18
mov dword [ebp - 0x250], edi
cmp edi, dword [ebp - 0x244]
je 0x4181b5
mov ebx, dword [ebp - 0x240]
jmp 0x417840
test al, al
je 0x417f89
mov eax, dword [0x729d00]
test eax, eax
je 0x417f89
cmp dword [eax + 4], 5
jl 0x417f89
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x240], ebx
jb 0x417ef4
mov eax, dword [ebx]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x5c], 0x10
lea edi, [ebp - 0x70]
lea ecx, [ebp - 0x238]
cmovae edi, dword [ebp - 0x70]
sub esp, 0xc
push 0x2c2
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x244], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xd
mov edx, str.ins_third_soft:_dlfile_:
mov ecx, esi
call fcn.0040e2f0
mov edx, edi
mov ecx, esi
call fcn.0040e2f0
mov edx, str._ok
mov ecx, esi
call fcn.0040e2f0
mov edx, dword [ebp - 0x240]
mov ecx, esi
call fcn.0040e2f0
mov edi, dword [0x729d00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x417f7e
mov ebx, dword [ebp - 0x244]
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x417f68
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x238]
call fcn.0040e880
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x417fc7
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417fbd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183ed
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x417fff
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417ff5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183f2
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x418049
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41803f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183f7
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x418093
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4183fc
push edx
push ecx
call fcn.0042e7b0
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, ebx
cmovae eax, dword [ebp - 0x58]
cmp dword [ebx + 0x14], 0x10
jb 0x4180a8
mov ecx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push eax
push ecx
call esi
push 0x1f4
mov edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jne 0x4180e2
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, ebx
cmovae eax, dword [ebp - 0x58]
cmp dword [ebx + 0x14], 0x10
jb 0x4180da
mov ecx, dword [ebx]
push 0
push eax
push ecx
call esi
mov edi, eax
lea eax, [ebp - 0x58]
cmp ebx, eax
je 0x4180fc
cmp dword [ebp - 0x44], 0x10
mov ecx, ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00407210
call fcn.004d314f
test al, al
je 0x41825b
mov eax, dword [0x729d00]
test eax, eax
je 0x41825b
cmp dword [eax + 4], 5
jl 0x41825b
cmp dword [ebx + 0x14], 0x10
jb 0x418128
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2d9
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x244], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xf
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e2f0
mov edx, ebx
mov ecx, esi
call fcn.0040e2f0
mov edx, str.__ok
mov ecx, esi
call fcn.0040e2f0
mov edx, str.copyfile_:
mov ecx, esi
call fcn.0040e2f0
push edi
mov ecx, esi
call fcn.00411d80
mov edi, dword [0x729d00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x418250
mov ebx, dword [ebp - 0x244]
nop dword [eax]
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x4181a0
jmp 0x418250
call fcn.004d314f
test al, al
je 0x41825b
mov eax, dword [0x729d00]
test eax, eax
je 0x41825b
cmp dword [eax + 4], 5
jl 0x41825b
cmp dword [ebx + 0x14], 0x10
jb 0x4181e1
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2dd
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e480
mov dword [ebp - 0x244], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0x10
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e2f0
mov edx, ebx
mov ecx, esi
call fcn.0040e2f0
mov edx, str.__fail
mov ecx, esi
call fcn.0040e2f0
mov edi, dword [0x729d00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x418250
mov ebx, dword [ebp - 0x244]
nop dword [eax]
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x418240
lea ecx, [ebp - 0x238]
call fcn.0040e880
mov edx, dword [ebp - 0xd4]
cmp edx, 0x10
jb 0x418295
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41828b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418401
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x4182cf
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4182c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418406
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x418303
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4182f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41840b
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp edx, 0x10
jb 0x41834c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418342
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418410
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp edx, 8
jb 0x4183a1
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418397
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418415
push edx
push ecx
call fcn.0042e7b0
add esp, 8
xor eax, eax
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
call fcn.004df870
mov al, byte [ebp - 0x239]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e165
mov esp, ebp
pop ebp
ret 8
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
call fcn.0050d58e
int3