Function at 0x4177e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67809f
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x71a06c]
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.004df910
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push eax
mov byte [ebp - 0x239], 0
call fcn.004cf35b
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.004ce12a
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push 0x10
push eax
call fcn.004cf2c4
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.004cd6ba
add esp, 0x30
test eax, eax
jne 0x4178e1
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push 1
push 0x701bac
cmp eax, 1
jb 0x4178ca
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.005076b0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x4178e1
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 0x417901
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.004cd6ba
add esp, 4
test eax, eax
jne 0x417962
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x417945
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x41792c
mov eax, dword [ebx]
push 1
lea esi, [eax + ecx]
push 0x701bac
push esi
call fcn.005076b0
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x417962
push 1
push 0x701bac
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 0x418325
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 0x4179ed
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 0x417a16
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 0x417b14
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x417a47
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 0x417a55
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 0x417a90
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.005076b0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417aa6
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 0x417ab6
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 0x417ac4
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 0x417b02
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.005076b0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417bf1
mov byte [ebp - 0x25c], 0
push dword [ebp - 0x25c]
jmp 0x417be8
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 0x417b30
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 0x417b6b
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.005076b0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417b81
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 0x417ba0
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 0x417bdb
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.005076b0
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x417bf1
mov byte [ebp - 0x264], 0
push dword [ebp - 0x264]
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407e50
call fcn.004d32af
test al, al
je 0x417cc5
mov eax, dword [0x72ad00]
test eax, eax
je 0x417cc5
cmp dword [eax + 4], 5
jl 0x417cc5
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 0x2b6
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, 0x701b80
mov ecx, esi
call fcn.0040e2f0
mov edx, dword [ebp - 0x24c]
mov ecx, esi
call fcn.0040e2f0
mov ebx, dword [0x72ad00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x417cb6
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 0x417ca0
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 0x417ce7
cmp dword [ebx + 0xcc], 0x10
lea eax, [ebx + 0xb8]
jb 0x417ce9
mov eax, dword [eax]
jmp 0x417ce9
xor eax, eax
push eax
push 0
push dword [ebp - 0x268]
lea eax, [ebp - 0x28]
push 0x4146e0
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x118]
push eax
call fcn.004cdda9
add esp, 0x20
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x417d25
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.004cdda9
add esp, 0x20
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x417d54
mov eax, dword [eax]
push eax
call fcn.004dffc0
mov byte [ebp - 4], 0xb
add esp, 0x18
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 0x239], al
cmp edx, 8
jb 0x417da7
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417d9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
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 0x417e08
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417dfe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
add esp, 8
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x417e22
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.004d32af
cmp byte [ebp - 0x239], 0
jne 0x418031
test al, al
je 0x417f19
mov eax, dword [0x72ad00]
test eax, eax
je 0x417f19
cmp dword [eax + 4], 5
jl 0x417f19
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x24c], ebx
jb 0x417e7e
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 0x2cb
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 [0x72ad00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x417f08
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 0x417ef2
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 0x417f57
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417f4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x417f8f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417f85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
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 0x417fd9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417fcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x418011
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418007
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
add esp, 8
add edi, 0x18
mov dword [ebp - 0x250], edi
cmp edi, dword [ebp - 0x244]
je 0x418325
mov ebx, dword [ebp - 0x240]
jmp 0x4179b0
test al, al
je 0x4180f9
mov eax, dword [0x72ad00]
test eax, eax
je 0x4180f9
cmp dword [eax + 4], 5
jl 0x4180f9
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x240], ebx
jb 0x418064
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 0x2c3
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 [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4180ee
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 0x4180d8
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 0x418137
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41812d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41855d
push edx
push ecx
call fcn.0042e920
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41816f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418165
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418562
push edx
push ecx
call fcn.0042e920
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 0x4181b9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4181af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418567
push edx
push ecx
call fcn.0042e920
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 0x418203
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4181f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41856c
push edx
push ecx
call fcn.0042e920
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 0x418218
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 0x418252
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, ebx
cmovae eax, dword [ebp - 0x58]
cmp dword [ebx + 0x14], 0x10
jb 0x41824a
mov ecx, dword [ebx]
push 0
push eax
push ecx
call esi
mov edi, eax
lea eax, [ebp - 0x58]
cmp ebx, eax
je 0x41826c
cmp dword [ebp - 0x44], 0x10
mov ecx, ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00407210
call fcn.004d32af
test al, al
je 0x4183cb
mov eax, dword [0x72ad00]
test eax, eax
je 0x4183cb
cmp dword [eax + 4], 5
jl 0x4183cb
cmp dword [ebx + 0x14], 0x10
jb 0x418298
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2da
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.00411d40
mov edi, dword [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4183c0
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 0x418310
jmp 0x4183c0
call fcn.004d32af
test al, al
je 0x4183cb
mov eax, dword [0x72ad00]
test eax, eax
je 0x4183cb
cmp dword [eax + 4], 5
jl 0x4183cb
cmp dword [ebx + 0x14], 0x10
jb 0x418351
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2de
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 [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4183c0
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 0x4183b0
lea ecx, [ebp - 0x238]
call fcn.0040e880
mov edx, dword [ebp - 0xd4]
cmp edx, 0x10
jb 0x418405
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4183fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418571
push edx
push ecx
call fcn.0042e920
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x41843f
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418435
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418576
push edx
push ecx
call fcn.0042e920
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x418473
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418469
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41857b
push edx
push ecx
call fcn.0042e920
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 0x4184bc
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4184b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418580
push edx
push ecx
call fcn.0042e920
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 0x418511
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418507
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418585
push edx
push ecx
call fcn.0042e920
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.004dfa50
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.0042e2d5
mov esp, ebp
pop ebp
ret 8
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
call fcn.0050d76e
int3