Function at 0x417dc0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6783af
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.004dfb70
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0
push eax
mov byte [ebp - 0x239], 0
call fcn.004cf5ab
add esp, 4
push 0x3a8
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0xb8]
mov ecx, esp
push eax
call fcn.00409070
lea eax, [ebp - 0x88]
push eax
call fcn.004ce37a
push 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push 0x10
push eax
call fcn.004cf514
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.004cd90a
add esp, 0x30
test eax, eax
jne 0x417ec1
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push 1
push 0x701bb0
cmp eax, 1
jb 0x417eaa
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.00507910
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x417ec1
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 0x417ee1
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.004cd90a
add esp, 4
test eax, eax
jne 0x417f42
mov edx, dword [ebx + 0x14]
mov eax, edx
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp eax, 1
jb 0x417f25
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x417f0c
mov eax, dword [ebx]
push 1
lea esi, [eax + ecx]
push 0x701bb0
push esi
call fcn.00507910
add esp, 0xc
mov byte [esi + 1], 0
jmp 0x417f42
push 1
push 0x701bb0
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 0x418905
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 0x417fcd
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 0x417ff6
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 0x4180f4
cmp dword [ebx + 0x14], 0x10
mov eax, ebx
jb 0x418027
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 0x418035
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 0x418070
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.00507910
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x418086
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 0x418096
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 0x4180a4
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 0x4180e2
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.00507910
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x4181d1
mov byte [ebp - 0x25c], 0
push dword [ebp - 0x25c]
jmp 0x4181c8
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 0x418110
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 0x41814b
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.00507910
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x418161
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 0x418180
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 0x4181bb
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.00507910
add esp, 0xc
mov byte [esi + ebx], 0
jmp 0x4181d1
mov byte [ebp - 0x264], 0
push dword [ebp - 0x264]
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407e50
call fcn.004d34ff
test al, al
je 0x4182a5
mov eax, dword [0x72ad00]
test eax, eax
je 0x4182a5
cmp dword [eax + 4], 5
jl 0x4182a5
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 0x2b9
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e840
mov dword [ebp - 0x248], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xa
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e6b0
mov edx, ebx
mov ecx, esi
call fcn.0040e6b0
mov edx, 0x701b84
mov ecx, esi
call fcn.0040e6b0
mov edx, dword [ebp - 0x24c]
mov ecx, esi
call fcn.0040e6b0
mov ebx, dword [0x72ad00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x418296
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 0x418280
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 9
call fcn.0040ec40
mov ebx, dword [ebp - 0x254]
cmp dword [ebx + 0xc8], 0
je 0x4182c7
cmp dword [ebx + 0xcc], 0x10
lea eax, [ebx + 0xb8]
jb 0x4182c9
mov eax, dword [eax]
jmp 0x4182c9
xor eax, eax
push eax
push 0
push dword [ebp - 0x268]
lea eax, [ebp - 0x28]
push 0x414c50
push 0x3a8
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00406d70
lea eax, [ebp - 0x118]
push eax
call fcn.004cdff9
add esp, 0x20
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x418305
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.004cdff9
add esp, 0x20
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x418334
mov eax, dword [eax]
push eax
call fcn.004e0220
mov byte [ebp - 4], 0xb
add esp, 0x18
mov edx, dword [ebp - 0xbc]
mov byte [ebp - 0x239], al
cmp edx, 8
jb 0x418387
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41837d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
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 0x4183e8
mov ecx, dword [ebp - 0x118]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4183de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
add esp, 8
lea eax, [ebp - 0x28]
cmp ebx, eax
je 0x418402
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.004d34ff
cmp byte [ebp - 0x239], 0
jne 0x418611
test al, al
je 0x4184f9
mov eax, dword [0x72ad00]
test eax, eax
je 0x4184f9
cmp dword [eax + 4], 5
jl 0x4184f9
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x24c], ebx
jb 0x41845e
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 0x2ce
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e840
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.0040e6b0
mov edx, ebx
mov ecx, esi
call fcn.0040e6b0
mov edx, str._fail
mov ecx, esi
call fcn.0040e6b0
mov edx, dword [ebp - 0x24c]
mov ecx, esi
call fcn.0040e6b0
mov ebx, dword [0x72ad00]
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x4184e8
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 0x4184d2
mov edi, dword [ebp - 0x250]
lea ecx, [ebp - 0x238]
call fcn.0040ec40
mov ebx, dword [ebp - 0x254]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x418537
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41852d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41856f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
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 0x4185b9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4185af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4185f1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4185e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
add esp, 8
add edi, 0x18
mov dword [ebp - 0x250], edi
cmp edi, dword [ebp - 0x244]
je 0x418905
mov ebx, dword [ebp - 0x240]
jmp 0x417f90
test al, al
je 0x4186d9
mov eax, dword [0x72ad00]
test eax, eax
je 0x4186d9
cmp dword [eax + 4], 5
jl 0x4186d9
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x240], ebx
jb 0x418644
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 0x2c6
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e840
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.0040e6b0
mov edx, edi
mov ecx, esi
call fcn.0040e6b0
mov edx, str._ok
mov ecx, esi
call fcn.0040e6b0
mov edx, dword [ebp - 0x240]
mov ecx, esi
call fcn.0040e6b0
mov edi, dword [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4186ce
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 0x4186b8
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x238]
call fcn.0040ec40
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x418717
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41870d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b3d
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41874f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418745
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b42
push edx
push ecx
call fcn.0042eb40
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 0x418799
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41878f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b47
push edx
push ecx
call fcn.0042eb40
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 0x4187e3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4187d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b4c
push edx
push ecx
call fcn.0042eb40
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 0x4187f8
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 0x418832
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, ebx
cmovae eax, dword [ebp - 0x58]
cmp dword [ebx + 0x14], 0x10
jb 0x41882a
mov ecx, dword [ebx]
push 0
push eax
push ecx
call esi
mov edi, eax
lea eax, [ebp - 0x58]
cmp ebx, eax
je 0x41884c
cmp dword [ebp - 0x44], 0x10
mov ecx, ebx
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00407210
call fcn.004d34ff
test al, al
je 0x4189ab
mov eax, dword [0x72ad00]
test eax, eax
je 0x4189ab
cmp dword [eax + 4], 5
jl 0x4189ab
cmp dword [ebx + 0x14], 0x10
jb 0x418878
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2dd
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e840
mov dword [ebp - 0x244], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0xf
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e6b0
mov edx, ebx
mov ecx, esi
call fcn.0040e6b0
mov edx, str.__ok
mov ecx, esi
call fcn.0040e6b0
mov edx, str.copyfile_:
mov ecx, esi
call fcn.0040e6b0
push edi
mov ecx, esi
call fcn.004122b0
mov edi, dword [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4189a0
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 0x4188f0
jmp 0x4189a0
call fcn.004d34ff
test al, al
je 0x4189ab
mov eax, dword [0x72ad00]
test eax, eax
je 0x4189ab
cmp dword [eax + 4], 5
jl 0x4189ab
cmp dword [ebx + 0x14], 0x10
jb 0x418931
mov ebx, dword [ebx]
sub esp, 0xc
lea ecx, [ebp - 0x238]
push 0x2e1
push str.CDoWebInstLogic::OnGetTargetSoftLogic
push 5
call fcn.0040e840
mov dword [ebp - 0x244], eax
lea esi, [eax + 0x30]
mov byte [ebp - 4], 0x10
mov edx, str.target_file:
mov ecx, esi
call fcn.0040e6b0
mov edx, ebx
mov ecx, esi
call fcn.0040e6b0
mov edx, str.__fail
mov ecx, esi
call fcn.0040e6b0
mov edi, dword [0x72ad00]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x4189a0
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 0x418990
lea ecx, [ebp - 0x238]
call fcn.0040ec40
mov edx, dword [ebp - 0xd4]
cmp edx, 0x10
jb 0x4189e5
mov ecx, dword [ebp - 0xe8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4189db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b51
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x418a1f
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418a15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b56
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x418a53
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418a49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b5b
push edx
push ecx
call fcn.0042eb40
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 0x418a9c
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b60
push edx
push ecx
call fcn.0042eb40
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 0x418af1
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418ae7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418b65
push edx
push ecx
call fcn.0042eb40
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.004dfcb0
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.0042e4f5
mov esp, ebp
pop ebp
ret 8
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
call fcn.0050d9ce
int3