Function at 0x49e470
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa70f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b8
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x2c3]
mov byte [ebp - 0x2c4], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x28], 0
stosw word es:[edi], ax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x4c], eax
or esi, 0xffffffff
mov eax, dword [ebx + 0x10c]
mov edx, dword [ebx + 0x140]
xor ecx, ecx
cmp edx, eax
mov dl, byte [ebp - 0x11]
push 0
sete cl
mov edi, ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], dl
call fcn.00403b70
mov al, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
mov byte [ebp - 0x24], al
call fcn.00403b70
mov edx, dword [ebx + 0x7c]
lea ecx, [ebx + 0x7c]
mov byte [ebp - 4], 2
call dword [edx + 4]
test eax, eax
je 0x49e51f
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x49ef8e
mov edx, dword [ebx + 0x110]
mov eax, dword [ebx + 0x140]
cmp eax, edx
jne 0x49e5eb
mov eax, dword [ebx + 0xcc]
test eax, eax
je 0x49e5b5
mov eax, dword [ebx + 0x10c]
cmp eax, edx
je 0x49e568
cmp dword [eax], 0
je 0x49e551
add eax, 0x24
jmp 0x49e543
cmp eax, edx
je 0x49e568
push 0x49f530
lea ecx, [eax + 0x24]
push eax
push edx
push ecx
call fcn.004a28a0
add esp, 0x10
mov esi, dword [ebx + 0x110]
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x3c], ecx
cmp esi, dword [ebp - 0x3c]
je 0x49e58a
push esi
mov ecx, edi
call fcn.00461940
add edi, 0x24
add esi, 0x24
jmp 0x49e575
mov eax, dword [ebx + 0x110]
lea esi, [ebx + 0x108]
push eax
push edi
mov ecx, esi
call fcn.00410f40
mov dword [esi + 8], edi
mov ecx, ebx
mov dword [ebx + 0x50], 0x50c
call fcn.0049da60
jmp 0x49ecb9
mov ecx, ebx
call fcn.0049cee0
mov ecx, dword [ebx + 0x10]
push 0
push 0
push 0x50a
push ebx
call fcn.004971d0
mov ecx, ebx
call fcn.0049cb50
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00403b70
mov dword [ebp - 4], esi
jmp 0x49ecce
test edi, edi
je 0x49e5f6
mov ecx, ebx
call fcn.0049cee0
mov eax, dword [ebx + 0x140]
xor edx, edx
lea ecx, [ebx + 0xe8]
mov edi, dword [eax]
mov eax, dword [0x4fdbfc]
test edi, edi
push eax
push 0
setne dl
push ecx
lea ecx, [ebp - 0x38]
mov edi, edx
call fcn.004051a0
mov eax, dword [ebx + 0x140]
add eax, 4
mov eax, dword [eax + 4]
test eax, eax
jne 0x49e633
mov eax, 0x4fdc00
lea edx, [ebp - 0x38]
push eax
push edx
call fcn.00460a00
mov ecx, dword [0x4fdbfc]
add esp, 8
lea eax, [ebx + 0xf8]
push ecx
push 0
push eax
lea ecx, [ebp - 0x24]
call fcn.004051a0
mov eax, dword [ebx + 0x140]
test edi, edi
je 0x49e7ad
add eax, 4
mov eax, dword [eax + 4]
test eax, eax
jne 0x49e675
mov eax, 0x4fdc00
lea edx, [ebp - 0x24]
push eax
push edx
call fcn.00460a00
add esp, 8
mov ecx, ebx
call fcn.004a2550
mov eax, dword [ebx + 0x15c]
mov dword [eax + 0x20], 0x506
mov edx, dword [0x4fdbfc]
mov ecx, dword [ebx + 0x15c]
push edx
lea eax, [ebp - 0x24]
push 0
add ecx, 0x30
push eax
call fcn.004051a0
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x49e6bd
mov edi, 0x4fdc00
mov ecx, ebx
call fcn.004a8020
push edi
mov ecx, eax
call fcn.0049ace0
test eax, eax
jne 0x49e6f5
mov ecx, dword [ebx + 0x15c]
mov dword [ecx + 0x2c], 5
mov ecx, ebx
call fcn.004a2740
push 0x506
mov ecx, ebx
call fcn.0049d110
jmp 0x49e5d5
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x49e701
mov eax, 0x4fdc00
push eax
mov ecx, ebx
call fcn.004a8180
test eax, eax
jne 0x49e774
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
lea edx, [ebp - 0x1c4]
push esi
push edx
mov dword [ebp - 0x28], esi
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x49e734
mov eax, 0x4fdc00
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x49e740
mov ecx, 0x4fdc00
push eax
push ecx
lea eax, [ebp - 0x2c4]
push str.Path__s_cannot_be_created._n_s
push eax
call fcn.004c335e
add esp, 0x10
lea ecx, [ebp - 0x1c4]
push 1
call fcn.00403b70
lea ecx, [ebp - 0x50]
push 0x50f0d8
push ecx
mov dword [ebp - 0x50], esi
call fcn.004c3605
mov ecx, ebx
call fcn.004a2740
mov ecx, dword [ebx + 0x140]
push 1
add ecx, 0x24
mov byte [ebp - 4], 0
mov dword [ebx + 0x140], ecx
lea ecx, [ebp - 0x24]
call fcn.00403b70
push 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00403b70
mov dword [ebp - 4], esi
jmp 0x49e4c4
add eax, 4
mov esi, 0x4fdc00
mov eax, dword [eax + 4]
test eax, eax
je 0x49e7be
mov esi, eax
mov dl, byte [ebp - 0x11]
push 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x110], dl
call fcn.00403b70
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [ebp - 0x110]
call fcn.004053a0
lea eax, [ebp - 0x110]
lea ecx, [ebp - 0x1b4]
push eax
lea eax, [ebx + 0xf8]
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.004601b0
add esp, 0xc
mov edx, dword [0x4fdbfc]
xor esi, esi
push edx
push esi
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004051a0
push 1
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 3
call fcn.00403b70
push 1
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 2
call fcn.00403b70
mov al, byte [ebp - 0x11]
push esi
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x84], al
call fcn.00403b70
mov edi, 0x536ec0
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 5
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x536ec0
lea ecx, [ebp - 0x84]
call fcn.004053a0
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
mov edi, 1
cmp eax, esi
jne 0x49e8a1
mov eax, 0x4fdc00
lea ecx, [ebp - 0x88]
push ecx
push eax
call fcn.00460f60
add esp, 8
cmp eax, esi
jne case.0x49e99a.5
mov ecx, ebx
call fcn.0049e450
cmp eax, esi
jne case.0x49e99a.3
mov ecx, ebx
call fcn.0049e460
test eax, eax
jne case.0x49e99a.5
cmp dword [ebx + 0xdc], esi
jne 0x49e980
mov ecx, ebx
call fcn.0049cee0
lea ecx, [ebp - 0x148]
call fcn.00464470
lea edx, [ebp - 0x88]
lea eax, [ebp - 0x148]
push edx
push eax
mov byte [ebp - 4], 7
call fcn.00461c50
mov ecx, dword [ebx + 0x140]
add esp, 8
lea edx, [ebp - 0x148]
push ecx
push edx
call fcn.00461c50
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0x138]
add esp, 8
push eax
push ecx
mov ecx, dword [ebx + 0x10]
push 0x511
push ebx
call fcn.004971d0
lea ecx, [ebp - 0x148]
mov dword [ebx + 0xdc], edi
mov byte [ebp - 4], 6
call fcn.004644e0
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.00403b70
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00403b70
mov dword [ebp - 4], 0xffffffff
push edi
jmp 0x49ecd0
mov eax, dword [ebx + 0xe4]
mov dword [ebx + 0xdc], esi
add eax, 0xfffffffd
mov dword [ebx + 0xe4], esi
cmp eax, 4
ja case.0x49e99a.5
jmp dword [eax*4 + 0x49f51c]
mov dword [ebx + 0xd0], edi
mov ecx, dword [ebx + 0x140]
push edi
add ecx, 0x24
mov byte [ebp - 4], 2
mov dword [ebx + 0x140], ecx
lea ecx, [ebp - 0x84]
call fcn.00403b70
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00403b70
or esi, 0xffffffff
push edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00403b70
mov dword [ebp - 4], esi
jmp 0x49e4c1
mov dword [ebx + 0xd4], edi
mov ecx, ebx
call fcn.004a2550
mov edx, dword [0x4fdbfc]
mov ecx, dword [ebx + 0x15c]
push edx
lea eax, [ebp - 0x38]
push esi
add ecx, 0x30
push eax
call fcn.004051a0
mov edx, dword [0x4fdbfc]
mov ecx, dword [ebx + 0x15c]
push edx
lea eax, [ebp - 0x24]
push esi
add ecx, 0x40
push eax
call fcn.004051a0
mov ecx, dword [ebx + 0x15c]
mov edx, dword [ebx + 0xcc]
mov dword [ecx + 0x54], edx
mov edi, dword [ebp - 0x20]
cmp edi, esi
jne 0x49ea46
mov edi, 0x4fdc00
mov ecx, ebx
call fcn.004a8020
push edi
mov ecx, eax
call fcn.0049ac80
cmp eax, esi
jne 0x49eb31
mov eax, dword [ebx + 0x15c]
mov ecx, ebx
mov dword [eax + 0x2c], 5
call fcn.004a2740
mov ecx, dword [ebx + 0x50]
push ecx
jmp 0x49eca1
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x49ea86
mov eax, 0x4fdc00
lea edx, [ebp - 0x174]
push eax
push edx
call fcn.004612d0
add esp, 8
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x16c]
mov esi, dword [0x4fdbfc]
mov edi, eax
sub edi, edx
mov byte [ebp - 4], 8
cmp eax, edi
jae 0x49eab6
call fcn.004d1a52
lea ecx, [ebp - 0x24]
call fcn.00405570
mov eax, dword [ebp - 0x1c]
sub eax, edi
cmp eax, esi
jae 0x49eac9
mov esi, eax
test esi, esi
jbe 0x49eb00
mov ecx, dword [ebp - 0x20]
sub eax, esi
add ecx, edi
push eax
lea edx, [ecx + esi]
push edx
push ecx
call fcn.004c3020
mov edi, dword [ebp - 0x1c]
add esp, 0xc
sub edi, esi
lea ecx, [ebp - 0x24]
push 0
push edi
call fcn.00403be0
test al, al
je 0x49eb00
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
mov byte [edx + edi], 0
mov eax, dword [ebx + 0x70]
test eax, eax
jne 0x49eb0c
mov eax, 0x4fdc00
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00460a00
add esp, 8
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 6
push 1
call fcn.00403b70
xor esi, esi
jmp 0x49e890
cmp dword [ebx + 0xcc], esi
jne 0x49ec69
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x49eb49
mov eax, 0x4fdc00
push 3
lea esi, [ebx + 0x7c]
push 0x21
push eax
push esi
mov ecx, ebx
call fcn.004a8270
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test eax, eax
jne 0x49ebcb
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x1a4]
push esi
push eax
mov dword [ebp - 0x28], esi
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
test eax, eax
jne 0x49eb8b
mov eax, 0x4fdc00
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x49eb97
mov ecx, 0x4fdc00
push eax
push ecx
lea ecx, [ebp - 0x2c4]
push str.Cannot_read__s._n_s
push ecx
call fcn.004c335e
add esp, 0x10
lea ecx, [ebp - 0x1a4]
push 1
call fcn.00403b70
lea edx, [ebp - 0x60]
push 0x50f0d8
push edx
mov dword [ebp - 0x60], esi
call fcn.004c3605
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x49ebd7
mov eax, 0x4fdc00
push 0
lea edi, [ebx + 0xa4]
push 0x22
push eax
push edi
mov ecx, ebx
call fcn.004a8270
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor edi, edi
cmp eax, edi
jne 0x49ef51
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [esi]
mov ebx, eax
mov ecx, esi
mov dword [ebp - 0x28], ebx
call dword [edx + 8]
lea eax, [ebp - 0x184]
push ebx
push eax
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
cmp eax, edi
jne 0x49ec29
mov eax, 0x4fdc00
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
jne 0x49ec35
mov ecx, 0x4fdc00
push eax
push ecx
lea ecx, [ebp - 0x2c4]
push str.Cannot_open__s_for_writing._n_s
push ecx
call fcn.004c335e
add esp, 0x10
lea ecx, [ebp - 0x184]
push 1
call fcn.00403b70
lea edx, [ebp - 0x64]
push 0x50f0d8
push edx
mov dword [ebp - 0x64], ebx
call fcn.004c3605
mov edi, dword [ebp - 0x34]
cmp edi, esi
jne 0x49ec75
mov edi, 0x4fdc00
mov ecx, ebx
call fcn.004a8020
push edi
mov ecx, eax
call fcn.0049ac70
cmp eax, esi
jne 0x49ece9
mov eax, dword [ebx + 0x15c]
mov ecx, ebx
mov dword [eax + 0x2c], 5
call fcn.004a2740
push 0x50c
mov ecx, ebx
call fcn.0049d110
push 1
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.00403b70
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00403b70
mov dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x38]
call fcn.00403b70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp - 0x11]
push esi
mov byte [ebp - 0xcc], cl
lea ecx, [ebp - 0xcc]
call fcn.00403b70
mov edi, 0x536ec0
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 4], 9
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x536ec0
lea ecx, [ebp - 0xcc]
call fcn.004053a0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0xa
cmp eax, esi
jne 0x49ed4a
mov eax, 0x4fdc00
lea edx, [ebp - 0xd0]
push edx
push eax
call fcn.00460f60
add esp, 8
cmp eax, esi
jne 0x49edea
lea eax, [ebp - 0xd0]
mov ecx, ebx
push eax
call fcn.004a8110
cmp eax, esi
jne 0x49edea
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x194]
push edi
push ecx
mov dword [ebp - 0x28], edi
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
cmp eax, esi
mov edx, 0x4fdc00
je 0x49ed9d
mov edx, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, esi
jne 0x49eda9
mov ecx, 0x4fdc00
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x49edb5
mov eax, 0x4fdc00
push edx
push ecx
push eax
lea edx, [ebp - 0x2c4]
push str.Failed_to_move__s_to__s_Target_file_already_exists_and_can_not_be_deleted._n_s
push edx
call fcn.004c335e
add esp, 0x14
lea ecx, [ebp - 0x194]
push 1
call fcn.00403b70
lea eax, [ebp - 0x54]
push 0x50f0d8
push eax
mov dword [ebp - 0x54], edi
call fcn.004c3605
mov ecx, dword [ebp - 0x20]
cmp ecx, esi
jne 0x49edf6
mov ecx, 0x4fdc00
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x49ee02
mov eax, 0x4fdc00
push ecx
push eax
mov ecx, ebx
call fcn.004a8230
cmp eax, esi
jne 0x49eeb3
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
lea ecx, [ebp - 0x100]
push edi
push ecx
mov dword [ebp - 0x28], edi
call fcn.00461090
mov eax, dword [eax + 4]
add esp, 8
cmp eax, esi
mov edx, 0x4fdc00
je 0x49ee3c
mov edx, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, esi
jne 0x49ee48
mov ecx, 0x4fdc00
mov eax, dword [ebp - 0x34]
cmp eax, esi
jne 0x49ee54
mov eax, 0x4fdc00
push edx
push ecx
push eax
lea edx, [ebp - 0x2c4]
push str.Failed_to_move__s_to__s._n_s
push edx
call fcn.004c335e
mov ecx, dword [ebp - 0xfc]
add esp, 0x14
cmp ecx, esi
je 0x49ee90
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x49ee87
cmp al, 0xff
je 0x49ee87
dec al
mov byte [ecx], al
jmp 0x49ee90
push ecx
call fcn.004dae3e
add esp, 4
lea eax, [ebp - 0x48]
push 0x50f0d8
push eax
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xf4], esi
mov dword [ebp - 0x48], edi
call fcn.004c3605
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x49eebf
mov eax, 0x4fdc00
lea ecx, [ebp - 0xd0]
push ecx
push eax
call fcn.00460f60
add esp, 8
lea ecx, [ebp - 0xd0]
call fcn.00461aa0
mov dword [ebp - 0x3c], edx
mov edx, dword [ebx + 0x15c]
mov ecx, ebx
mov dword [edx + 0x28], eax
call fcn.004a2740
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x49eef9
mov eax, 0x4fdc00
mov ecx, dword [ebp - 0xbc]
push ecx
push eax
call fcn.00461710
mov ecx, dword [ebx + 0x140]
add esp, 8
add ecx, 0x24
mov dword [ebx + 0x140], ecx
mov ecx, dword [ebp - 0xc8]
cmp ecx, esi
je 0x49ef3d
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x49ef34
cmp al, 0xff
je 0x49ef34
dec al
mov byte [ecx], al
jmp 0x49ef3d
push ecx
call fcn.004dae3e
add esp, 4
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xc0], esi
xor edi, edi
mov ecx, dword [ebp - 0x80]
mov byte [ebp - 4], 2
cmp ecx, edi
je 0x49ef77
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x49ef6e
cmp al, 0xff
je 0x49ef6e
dec al
mov byte [ecx], al
jmp 0x49ef77
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0x80], edi
test eax, eax
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
jne 0x49f3f9
mov edx, dword [ebx + 0x7c]
lea ecx, [ebx + 0x7c]
call dword [edx + 4]
test eax, eax
je 0x49f3f9
lea ecx, [ebp - 0x164]
call fcn.00464470
push 0x20000
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0xb
call fcn.00464590
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x160]
push eax
lea edi, [ebx + 0x7c]
push ecx
push edi
mov ecx, ebx
call fcn.004a82f0
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call dword [edx + 0x18]
test eax, eax
je 0x49f098
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x28], esi
call dword [eax + 8]
mov edx, dword [ebx + 0xa4]
add ebx, 0xa4
mov ecx, ebx
call dword [edx + 8]
lea eax, [ebp - 0x120]
push esi
push eax
call fcn.00461090
mov eax, dword [eax + 4]
xor edi, edi
add esp, 8
cmp eax, edi
mov ecx, 0x4fdc00
je 0x49f02c
mov ecx, eax
mov eax, dword [ebp - 0x34]
cmp eax, edi
jne 0x49f038
mov eax, 0x4fdc00
push ecx
push eax
lea ecx, [ebp - 0x2c4]
push str.Cannot_read__s._n_s
push ecx
call fcn.004c335e
mov eax, dword [ebp - 0x11c]
add esp, 0x10
cmp eax, edi
je 0x49f075
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f06c
cmp al, 0xff
je 0x49f06c
dec al
mov byte [ecx], al
jmp 0x49f075
push ecx
call fcn.004dae3e
add esp, 4
lea edx, [ebp - 0x58]
push 0x50f0d8
push edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x58], esi
call fcn.004c3605
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x160]
lea esi, [ebx + 0xa4]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.004a8370
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
test eax, eax
je 0x49f165
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x28], ebx
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
lea eax, [ebp - 0x130]
push ebx
push eax
call fcn.00461090
mov eax, dword [eax + 4]
xor esi, esi
add esp, 8
cmp eax, esi
mov ecx, 0x4fdc00
je 0x49f0f9
mov ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x49f105
mov eax, 0x4fdc00
push ecx
push eax
lea ecx, [ebp - 0x2c4]
push str.Cannot_write__s._n_s
push ecx
call fcn.004c335e
mov eax, dword [ebp - 0x12c]
add esp, 0x10
cmp eax, esi
je 0x49f142
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f139
cmp al, 0xff
je 0x49f139
dec al
mov byte [ecx], al
jmp 0x49f142
push ecx
call fcn.004dae3e
add esp, 4
lea edx, [ebp - 0x5c]
push 0x50f0d8
push edx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x5c], ebx
call fcn.004c3605
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x15c]
mov dword [ecx + 0x28], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1c]
test eax, eax
je 0x49f34a
mov ecx, ebx
call fcn.004a2740
mov edx, dword [ebx + 0x140]
lea eax, [ebp - 0xe0]
add edx, 0x24
push eax
mov ecx, edi
mov dword [ebx + 0x140], edx
call fcn.00415940
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esi
call fcn.00415940
mov dl, byte [ebp - 0x11]
xor esi, esi
push esi
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xd
mov byte [ebp - 0xa8], dl
call fcn.00403b70
mov edi, 0x536ec0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x3c], ecx
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00403be0
test al, al
je 0x49f22d
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0xa4]
mov ecx, eax
mov esi, 0x536ec0
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa0], eax
xor esi, esi
mov byte [eax + ecx], 0
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0xdc]
mov byte [ebp - 4], 0xf
cmp eax, esi
jne 0x49f258
mov eax, 0x4fdc00
lea edx, [ebp - 0xac]
push edx
push eax
call fcn.00460f60
mov eax, dword [ebx + 0x7c]
lea ecx, [ebx + 0x7c]
add esp, 8
call dword [eax + 8]
mov edx, dword [ebx + 0xa4]
lea ecx, [ebx + 0xa4]
call dword [edx + 8]
mov eax, dword [ebp - 0xec]
cmp eax, esi
jne 0x49f28f
mov eax, 0x4fdc00
mov ecx, dword [ebp - 0x98]
push ecx
push eax
call fcn.00461710
mov eax, dword [ebp - 0xa4]
add esp, 8
cmp eax, esi
je 0x49f2c6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f2bd
cmp al, 0xff
je 0x49f2bd
dec al
mov byte [ecx], al
jmp 0x49f2c6
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa4], esi
cmp eax, esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0x9c], esi
je 0x49f2ff
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f2f6
cmp al, 0xff
je 0x49f2f6
dec al
mov byte [ecx], al
jmp 0x49f2ff
push ecx
call fcn.004dae3e
add esp, 4
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xec], esi
cmp eax, esi
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xe4], esi
je 0x49f338
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f32f
cmp al, 0xff
je 0x49f32f
dec al
mov byte [ecx], al
jmp 0x49f338
push ecx
call fcn.004dae3e
add esp, 4
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], esi
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 2
call fcn.004644e0
jmp 0x49f3f9
mov esi, dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 4], 1
call esi
sub eax, dword [ebp - 0x4c]
cmp eax, 0x64
jbe 0x49f4b3
mov ecx, ebx
call fcn.0049cee0
mov eax, fcn.0049e470
xor ecx, ecx
xor edi, edi
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x38], edi
call esi
add eax, 0x64
cmp eax, edi
mov dword [ebx + 0x3c], eax
jne 0x49f440
mov dword [ebx + 0x3c], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, edi
je 0x49f463
mov al, byte [ecx - 1]
test al, al
je 0x49f459
cmp al, 0xff
je 0x49f459
dec al
mov byte [ecx - 1], al
jmp 0x49f463
dec ecx
push ecx
call fcn.004dae3e
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
cmp ecx, edi
je 0x49ecd8
mov al, byte [ecx - 1]
test al, al
je 0x49f498
cmp al, 0xff
je 0x49f498
dec al
mov byte [ecx - 1], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
push ecx
call fcn.004dae3e
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
xor esi, esi
cmp eax, esi
je 0x49f4d9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x49f4d0
cmp al, 0xff
je 0x49f4d0
dec al
mov byte [ecx], al
jmp 0x49f4d9
push ecx
call fcn.004dae3e
add esp, 4
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
cmp ecx, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
je 0x49f50c
mov al, byte [ecx - 1]
test al, al
je 0x49f502
cmp al, 0xff
je 0x49f502
dec al
mov byte [ecx - 1], al
jmp 0x49f50c
dec ecx
push ecx
call fcn.004dae3e
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
jmp 0x49e4c1