Function at 0x407178
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb60
mov eax, 0x4d30e8
push ebx
push esi
push edi
call fcn.0049b8e0
mov dword [ebp - 0x438], 2
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004a7b10
inc dword [ebp - 0x438]
lea edx, [ebp + 8]
mov word [ebp - 0x444], 8
lea eax, [ebp + 8]
call fcn.004a7b10
inc dword [ebp - 0x438]
mov edx, str.C:WindowsTempIcon.tmp
mov word [ebp - 0x444], 0x14
lea eax, [ebp - 4]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp + 8]
mov word [ebp - 0x444], 8
mov word [ebp - 0x444], 0x20
lea eax, [ebp - 8]
call fcn.004a7b10
inc dword [ebp - 0x438]
lea edx, [ebp - 0x80]
mov word [ebp - 0x444], 8
mov word [ebp - 0x444], 0x2c
mov dword [ebp - 0x140], edx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x130], ecx
lea eax, [ebp - 0x80]
push eax
call fcn.004031a8
pop ecx
lea edx, [ebp - 0x140]
add dword [ebp - 0x438], 7
push 0
push 1
push edx
call fcn.00403214
add esp, 0xc
mov ecx, 0x4d35ac
add dword [ebp - 0x438], 3
mov dword [ebp - 0x13c], ecx
mov eax, 0x4d35b8
mov dword [ebp - 0x12c], eax
mov edx, 0x4d35c4
mov ecx, dword [ebp - 0x140]
lea eax, [ebp - 0x128]
mov dword [ecx], edx
push eax
call fcn.00403384
pop ecx
lea edx, [ebp - 0x128]
add dword [ebp - 0x438], 4
push edx
mov ecx, dword [ebp - 0x140]
push ecx
call fcn.004035ac
add esp, 8
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 8
mov word [ebp - 0x444], 0x44
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x278], eax
lea edx, [ebp - 0x1b8]
mov dword [ebp - 0x268], edx
lea ecx, [ebp - 0x1b8]
push ecx
call fcn.004031a8
pop ecx
lea eax, [ebp - 0x278]
add dword [ebp - 0x438], 7
push 0
push 1
push eax
call fcn.00403214
add esp, 0xc
mov edx, 0x4d35ac
add dword [ebp - 0x438], 3
mov dword [ebp - 0x274], edx
mov ecx, 0x4d35b8
mov dword [ebp - 0x264], ecx
mov eax, 0x4d35c4
mov edx, dword [ebp - 0x278]
lea ecx, [ebp - 0x260]
mov dword [edx], eax
push ecx
call fcn.00403384
pop ecx
lea eax, [ebp - 0x260]
add dword [ebp - 0x438], 4
push eax
mov edx, dword [ebp - 0x278]
push edx
call fcn.004035ac
add esp, 8
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 8
mov word [ebp - 0x444], 0x5c
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x3b0], ecx
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x3a0], eax
lea edx, [ebp - 0x2f0]
push edx
call fcn.004031a8
pop ecx
add dword [ebp - 0x438], 7
push 0
push 1
lea ecx, [ebp - 0x3b0]
push ecx
call fcn.00403214
add esp, 0xc
mov eax, 0x4d35ac
add dword [ebp - 0x438], 3
mov dword [ebp - 0x3ac], eax
mov edx, 0x4d35b8
mov dword [ebp - 0x39c], edx
mov ecx, 0x4d35c4
mov eax, dword [ebp - 0x3b0]
lea edx, [ebp - 0x398]
mov dword [eax], ecx
push edx
call fcn.00403384
pop ecx
add dword [ebp - 0x438], 4
lea ecx, [ebp - 0x398]
push ecx
mov eax, dword [ebp - 0x3b0]
push eax
call fcn.004035ac
add esp, 8
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 8
cmp dword [ebp - 8], 0
je 0x40740e
mov eax, dword [ebp - 8]
jmp 0x407413
mov eax, 0x4d17a2
mov word [ebp - 0x444], 0x74
mov ebx, eax
push 0xc
push ebx
lea eax, [ebp - 0xe4]
push eax
call fcn.004ae164
add esp, 0xc
test al, al
je 0x40743c
lea edx, [ebp - 0x128]
jmp 0x40743e
xor edx, edx
test edx, edx
jne 0x40747b
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebx + 8]
or esi, 4
cmp dword [ebx + 0x6c], 0
je 0x407458
mov eax, esi
jmp 0x40745d
mov eax, esi
or eax, 1
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x458]
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x40747b
push ebx
call fcn.004a9ec4
pop ecx
lea edx, [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.004a7c68
cmp dword [ebp - 8], 0
je 0x407491
mov eax, dword [ebp - 8]
jmp 0x407496
mov eax, 0x4d17a3
mov ebx, eax
push 0xc
push ebx
lea eax, [ebp - 0x354]
push eax
call fcn.004ae164
add esp, 0xc
test al, al
je 0x4074b6
lea edx, [ebp - 0x398]
jmp 0x4074b8
xor edx, edx
test edx, edx
jne 0x4074f5
mov ebx, dword [ebp - 0x3b0]
mov esi, dword [ebx + 8]
or esi, 4
cmp dword [ebx + 0x6c], 0
je 0x4074d2
mov eax, esi
jmp 0x4074d7
mov eax, esi
or eax, 1
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x45c]
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x4074f5
push ebx
call fcn.004a9ec4
pop ecx
push 4
push 0
lea eax, [ebp - 0x3b0]
push eax
call fcn.00403914
add esp, 0xc
lea edx, [ebp - 0x3b0]
push edx
lea ecx, [ebp - 0x468]
push ecx
call fcn.00403ae0
mov eax, dword [ebp - 0x468]
add esp, 8
mov dword [ebp - 0x460], eax
lea edx, [ebp - 0x3b0]
mov word [ebp - 0x444], 0x74
push 1
push 0
push edx
call fcn.00403914
add esp, 0xc
lea edx, [ebp - 4]
lea eax, [ebp - 8]
call fcn.004a7c68
cmp dword [ebp - 8], 0
je 0x40755c
mov eax, dword [ebp - 8]
jmp 0x407561
mov eax, 0x4d17a4
mov ebx, eax
push 0x14
push ebx
lea eax, [ebp - 0x21c]
push eax
call fcn.004ae164
add esp, 0xc
test al, al
je 0x407581
lea edx, [ebp - 0x260]
jmp 0x407583
xor edx, edx
test edx, edx
jne 0x4075c0
mov ebx, dword [ebp - 0x278]
mov esi, dword [ebx + 8]
or esi, 4
cmp dword [ebx + 0x6c], 0
je 0x40759d
mov eax, esi
jmp 0x4075a2
mov eax, esi
or eax, 1
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x46c]
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x4075c0
push ebx
call fcn.004a9ec4
pop ecx
push 4
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.00403914
add esp, 0xc
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x478]
push ecx
call fcn.00403ae0
add esp, 8
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x470], eax
lea edx, [ebp - 0x140]
push 1
push 0
push edx
call fcn.00403914
add esp, 0xc
push 4
call fcn.00499954
pop ecx
mov dword [ebp - 0x47c], eax
push 4
call fcn.00499954
pop ecx
mov dword [ebp - 0x480], eax
mov word [ebp - 0x444], 0x80
xor eax, eax
xor edx, edx
mov dword [ebp - 0x3b4], eax
xor ecx, ecx
inc dword [ebp - 0x438]
xor eax, eax
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x98
mov dword [ebp - 0x3b8], edx
xor edx, edx
inc dword [ebp - 0x438]
xor ebx, ebx
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xa4
mov dword [ebp - 0x3bc], ecx
xor ecx, ecx
inc dword [ebp - 0x438]
xor esi, esi
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xb0
mov dword [ebp - 0x3c0], eax
xor eax, eax
inc dword [ebp - 0x438]
mov edi, 0x25
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xbc
mov dword [ebp - 0x3c4], edx
xor edx, edx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xc8
mov dword [ebp - 0x3c8], ecx
xor ecx, ecx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xd4
mov dword [ebp - 0x3cc], eax
xor eax, eax
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xe0
mov dword [ebp - 0x3d0], edx
xor edx, edx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xec
mov dword [ebp - 0x3d4], ecx
xor ecx, ecx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0xf8
mov dword [ebp - 0x3d8], eax
xor eax, eax
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x104
mov dword [ebp - 0x3dc], edx
xor edx, edx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x110
mov dword [ebp - 0x3e0], ecx
xor ecx, ecx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x11c
mov dword [ebp - 0x3e4], eax
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x128
mov dword [ebp - 0x3e8], edx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
mov word [ebp - 0x444], 0x134
mov dword [ebp - 0x3ec], ecx
inc dword [ebp - 0x438]
mov word [ebp - 0x444], 0x8c
xor eax, eax
mov dword [ebp - 0x48c], eax
cmp edi, dword [ebp - 0x48c]
jle 0x407843
push 1
mov edx, dword [ebp - 0x480]
push edx
lea ecx, [ebp - 0x3b0]
push ecx
call fcn.00403b5c
add esp, 0xc
inc dword [ebp - 0x48c]
cmp edi, dword [ebp - 0x48c]
jg 0x40781d
xor eax, eax
mov dword [ebp - 0x490], eax
mov word [ebp - 0x444], 0x8c
mov edx, dword [ebp - 0x490]
cmp edx, dword [ebp - 0x470]
jge 0x407fa7
push 1
mov ecx, dword [ebp - 0x47c]
push ecx
lea eax, [ebp - 0x140]
push eax
call fcn.00403b5c
add esp, 0xc
test ebx, ebx
jne 0x40789a
push 1
mov edx, dword [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x268]
push ecx
call fcn.00404060
add esp, 0xc
cmp ebx, 1
jne 0x4078d5
mov esi, 1
push 1
mov eax, dword [ebp - 0x480]
push eax
lea edx, [ebp - 0x3b0]
push edx
call fcn.00403b5c
add esp, 0xc
push 1
mov ecx, dword [ebp - 0x480]
push ecx
lea eax, [ebp - 0x268]
push eax
call fcn.00404060
add esp, 0xc
inc edi
mov edx, dword [ebp - 0x460]
inc edx
cmp edi, edx
jne 0x4078e2
xor ebx, ebx
mov eax, dword [ebp - 0x47c]
mov edx, dword [eax]
mov dword [ebp - 0x484], edx
cmp dword [ebp - 0x3b4], 0
je 0x407904
mov ecx, dword [ebp - 0x3b4]
mov ecx, dword [ecx - 4]
jmp 0x407906
xor ecx, ecx
lea eax, [ebp - 0x3b4]
xor edx, edx
call fcn.004a7e2c
mov word [ebp - 0x444], 0x140
xor eax, eax
mov dword [ebp - 0x3f0], eax
lea ecx, [ebp - 0x3f0]
inc dword [ebp - 0x438]
mov edx, 2
mov eax, dword [ebp - 0x484]
call fcn.00444240
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3b4]
call fcn.004a7c68
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3f0]
mov edx, 2
call fcn.004a7c38
mov word [ebp - 0x444], 0x14c
xor ecx, ecx
lea eax, [ebp - 0x3f4]
mov dword [ebp - 0x3f4], ecx
push eax
inc dword [ebp - 0x438]
cmp dword [ebp - 0x3b4], 0
je 0x407999
mov edx, dword [ebp - 0x3b4]
mov ecx, dword [edx - 4]
jmp 0x40799b
xor ecx, ecx
cmp dword [ebp - 0x3b4], 0
je 0x4079af
mov eax, dword [ebp - 0x3b4]
mov edx, dword [eax - 4]
jmp 0x4079b1
xor edx, edx
dec edx
lea eax, [ebp - 0x3b4]
call fcn.004a7f20
lea edx, [ebp - 0x3f4]
lea eax, [ebp - 0x3b4]
call fcn.004a7c68
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.004a7c38
test esi, esi
jne 0x407e99
mov word [ebp - 0x444], 0x158
mov edx, 0x4d17a5
lea eax, [ebp - 0x3f8]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x3f8]
lea eax, [ebp - 0x3b4]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3f8]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x164
mov edx, 0x4d17a8
lea eax, [ebp - 0x3fc]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x3fc]
lea eax, [ebp - 0x3b8]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3fc]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x170
mov edx, 0x4d17ab
lea eax, [ebp - 0x400]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x400]
lea eax, [ebp - 0x3bc]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x400]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x17c
mov edx, 0x4d17ae
lea eax, [ebp - 0x404]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x404]
lea eax, [ebp - 0x3c0]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x404]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x188
mov edx, 0x4d17b1
lea eax, [ebp - 0x408]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x408]
lea eax, [ebp - 0x3c4]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x408]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x194
mov edx, 0x4d17b4
lea eax, [ebp - 0x40c]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x40c]
lea eax, [ebp - 0x3c8]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x40c]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1a0
mov edx, 0x4d17b7
lea eax, [ebp - 0x410]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x3cc]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x410]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1ac
mov edx, 0x4d17ba
lea eax, [ebp - 0x414]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x3d0]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x414]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1b8
mov edx, 0x4d17bd
lea eax, [ebp - 0x418]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x418]
lea eax, [ebp - 0x3d4]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1c4
mov edx, 0x4d17c0
lea eax, [ebp - 0x41c]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x41c]
lea eax, [ebp - 0x3d8]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x41c]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1d0
mov edx, 0x4d17c3
lea eax, [ebp - 0x420]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x420]
lea eax, [ebp - 0x3dc]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x420]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1dc
mov edx, 0x4d17c6
lea eax, [ebp - 0x424]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x424]
lea eax, [ebp - 0x3e0]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x424]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1e8
mov edx, 0x4d17c9
lea eax, [ebp - 0x428]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x428]
lea eax, [ebp - 0x3e4]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], 0x1f4
mov edx, 0x4d17cc
lea eax, [ebp - 0x42c]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x42c]
lea eax, [ebp - 0x3e8]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov word [ebp - 0x444], pe_nt_image_headers32
mov edx, 0x4d17cf
lea eax, [ebp - 0x430]
call fcn.004a7ad8
inc dword [ebp - 0x438]
lea edx, [ebp - 0x430]
lea eax, [ebp - 0x3ec]
call fcn.004a7d1c
push eax
dec dword [ebp - 0x438]
lea eax, [ebp - 0x430]
mov edx, 2
call fcn.004a7c38
pop ecx
test cl, cl
je 0x407e99
mov ebx, 1
test esi, esi
jne 0x407f8f
lea edx, [ebp - 0x3e8]
lea eax, [ebp - 0x3ec]
call fcn.004a7c68
lea edx, [ebp - 0x3e4]
lea eax, [ebp - 0x3e8]
call fcn.004a7c68
lea edx, [ebp - 0x3e0]
lea eax, [ebp - 0x3e4]
call fcn.004a7c68
lea edx, [ebp - 0x3dc]
lea eax, [ebp - 0x3e0]
call fcn.004a7c68
lea edx, [ebp - 0x3d8]
lea eax, [ebp - 0x3dc]
call fcn.004a7c68
lea edx, [ebp - 0x3d4]
lea eax, [ebp - 0x3d8]
call fcn.004a7c68
lea edx, [ebp - 0x3d0]
lea eax, [ebp - 0x3d4]
call fcn.004a7c68
lea edx, [ebp - 0x3cc]
lea eax, [ebp - 0x3d0]
call fcn.004a7c68
lea edx, [ebp - 0x3c8]
lea eax, [ebp - 0x3cc]
call fcn.004a7c68
lea edx, [ebp - 0x3c4]
lea eax, [ebp - 0x3c8]
call fcn.004a7c68
lea edx, [ebp - 0x3c0]
lea eax, [ebp - 0x3c4]
call fcn.004a7c68
lea edx, [ebp - 0x3bc]
lea eax, [ebp - 0x3c0]
call fcn.004a7c68
lea edx, [ebp - 0x3b8]
lea eax, [ebp - 0x3bc]
call fcn.004a7c68
lea edx, [ebp - 0x3b4]
lea eax, [ebp - 0x3b8]
call fcn.004a7c68
inc dword [ebp - 0x490]
mov ecx, dword [ebp - 0x490]
cmp ecx, dword [ebp - 0x470]
jl 0x407866
lea eax, [ebp - 0x128]
push eax
call fcn.004042c8
pop ecx
test eax, eax
jne 0x407ff1
mov ebx, dword [ebp - 0x140]
mov esi, dword [ebx + 8]
or esi, 4
cmp dword [ebx + 0x6c], 0
je 0x407fce
mov eax, esi
jmp 0x407fd3
mov eax, esi
or eax, 1
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x494]
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x407ff1
push ebx
call fcn.004a9ec4
pop ecx
lea eax, [ebp - 0x260]
push eax
call fcn.004042c8
pop ecx
test eax, eax
jne 0x40803b
mov ebx, dword [ebp - 0x278]
mov esi, dword [ebx + 8]
or esi, 4
cmp dword [ebx + 0x6c], 0
je 0x408018
mov eax, esi
jmp 0x40801d
mov eax, esi
or eax, 1
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebx + 8], edx
mov ecx, dword [ebx + 8]
and ecx, dword [ebx + 0x14]
je 0x40803b
push ebx
call fcn.004a9ec4
pop ecx
lea eax, [ebp - 0x398]
push eax
call fcn.004042c8
pop ecx
test eax, eax
jne 0x408093
mov ebx, dword [ebp - 0x3b0]
mov edx, dword [ebx + 8]
or edx, 4
mov dword [ebp - 0x49c], edx
cmp dword [ebx + 0x6c], 0
je 0x40806c
mov ecx, dword [ebp - 0x49c]
jmp 0x408075
mov ecx, dword [ebp - 0x49c]
or ecx, 1
mov dword [ebp - 0x4a0], ecx
mov eax, dword [ebp - 0x4a0]
mov dword [ebx + 8], eax
mov edx, dword [ebx + 8]
and edx, dword [ebx + 0x14]
je 0x408093
push ebx
call fcn.004a9ec4
pop ecx
mov eax, dword [ebp + 8]
call fcn.004a7a4c
push 1
cmp dword [ebp + 8], 0
je 0x4080a8
mov edx, dword [ebp + 8]
jmp 0x4080ad
mov edx, 0x4d17d3
push edx
cmp dword [ebp - 4], 0
je 0x4080b9
mov eax, dword [ebp - 4]
jmp 0x4080be
mov eax, 0x4d17d2
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, dword [ebp - 4]
call fcn.004a7a4c
mov eax, dword [ebp + 0xc]
call fcn.004a7a4c
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3ec]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3e8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3e4]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3e0]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3dc]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3d8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3d4]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3d0]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3cc]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3c8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3c4]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3c0]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3bc]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3b8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 0x3b4]
mov edx, 2
call fcn.004a7c38
mov word [ebp - 0x444], 0x74
mov word [ebp - 0x444], 8
jmp 0x408240
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 4
push 2
lea ecx, [ebp - 0x398]
push ecx
call fcn.004046d8
add esp, 8
sub dword [ebp - 0x438], 0xa
push 0
lea eax, [ebp - 0x3b0]
push eax
call fcn.00404784
add esp, 8
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 6
push 0
lea edx, [ebp - 0x2f0]
push edx
call fcn.004aa150
add esp, 8
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 4
push 2
lea ecx, [ebp - 0x260]
push ecx
call fcn.004046d8
add esp, 8
sub dword [ebp - 0x438], 0xa
push 0
lea eax, [ebp - 0x278]
push eax
call fcn.00404784
add esp, 8
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 6
push 0
lea edx, [ebp - 0x1b8]
push edx
call fcn.004aa150
add esp, 8
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 4
push 2
lea ecx, [ebp - 0x128]
push ecx
call fcn.004046d8
add esp, 8
sub dword [ebp - 0x438], 0xa
push 0
lea eax, [ebp - 0x140]
push eax
call fcn.00404784
add esp, 8
dec dword [ebp - 0x438]
sub dword [ebp - 0x438], 6
push 0
lea edx, [ebp - 0x80]
push edx
call fcn.004aa150
add esp, 8
dec dword [ebp - 0x438]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp + 8]
mov edx, 2
call fcn.004a7c38
dec dword [ebp - 0x438]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004a7c38
mov ecx, dword [ebp - 0x454]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret