Function at 0x1001c800
Capabilities:
Delete file
Get file attributes
Move file
Read file on windows
Resolve function by parsing pe exports
Set file attributes

Disassembly:
mov eax, 0x2288
call fcn.10039ee0
push ebx
mov ebx, dword [esp + 0x2290]
push ebp
mov ebp, dword [esp + 0x2298]
push esi
xor esi, esi
push edi
mov dword [ebp + 0xaf98], esi
or edi, 0xffffffff
mov dword [ebp + 0x4e90], esi
push ebp
mov dword [ebp + 8], edi
push ebx
mov dword [ebp + 0x4ea8], esi
call fcn.1001ba80
mov eax, dword [ebp]
add esp, 8
cmp eax, esi
jne 0x1001ec8a
mov eax, dword [ebx + 4]
dec eax
cmp eax, 6
ja case.default.0x1001c854
jmp dword [eax*4 + 0x1001ec98]
mov dword [ebp + 0xaf7c], 3
jmp case.default.0x1001c854
mov dword [ebp + 0xaf7c], esi
jmp case.default.0x1001c854
mov dword [ebp + 0xaf7c], 2
jmp case.default.0x1001c854
mov dword [ebp + 0xaf7c], 1
lea eax, [ebp + 0x15f8]
push eax
call fcn.100177e0
add esp, 4
cmp eax, esi
mov dword [ebp + 0x4e90], eax
jne 0x1001c8c3
push ebp
push esi
push 0x67
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp dword [ebx + 0x38], esi
je 0x1001c8ce
inc dword [ebp + 0x4e64]
cmp dword [ebx + 0x3c], esi
je 0x1001c8d9
inc dword [ebp + 0x4e64]
cmp dword [ebx + 0x2c], esi
je 0x1001c8e4
mov dword [ebp + 0x4e80], esi
push ebp
call fcn.10017c40
add esp, 4
cmp eax, esi
je 0x1001c910
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push eax
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebx + 0x28]
cmp eax, 0x13
mov dword [ebp + 0x4e68], eax
jle 0x1001c928
mov dword [ebp + 0x4e68], 0x13
cmp dword [ebp + 0x4e68], esi
jge 0x1001c936
mov dword [ebp + 0x4e68], esi
cmp dword [ebp + 0x8c4], esi
je 0x1001c950
cmp dword [ebp + 0x4e68], esi
jne 0x1001c950
mov dword [ebp + 0x4e68], 1
mov eax, dword [ebp + 0x4e68]
cmp eax, esi
jne 0x1001c962
mov dword [ebp + 0x4e5c], esi
jmp 0x1001c982
cmp eax, 9
jg 0x1001c96f
mov dword [ebp + 0x4e5c], edi
jmp 0x1001c982
add eax, 0xfffffff6
mov dword [ebp + 0x4e68], eax
mov dword [ebp + 0x4e5c], 9
mov eax, dword [ebx + 0x8c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
je 0x1001ca6d
mov edx, dword [ebx + 0x90]
push edx
call edi
cmp eax, 0x41
jle 0x1001c9af
mov eax, dword [ebx + 0x90]
push eax
call edi
jmp 0x1001c9b4
mov eax, 0x41
mov dword [ebp + 0xc9c0], eax
mov ecx, dword [ebx + 0x90]
cmp ecx, esi
je 0x1001cb02
cmp eax, 0x200
ja 0x1001cb02
cmp eax, esi
jbe 0x1001cb02
inc eax
push eax
call fcn.10039ff8
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [ebp + 0x4e88], edi
jne 0x1001ca19
push ebp
push esi
push 0x8f
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [ebp + 0xc9c0]
xor eax, eax
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebp + 0x4e88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0xc9c0]
mov esi, dword [ebp + 0x4e88]
inc ecx
lea edi, [ebp + 0xbec]
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 edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
xor esi, esi
cmp dword [ebx + 0x4c], esi
je 0x1001ca78
mov dword [ebp + 0x4e58], esi
mov eax, dword [ebx + 0x24]
mov ecx, 1
cmp eax, esi
je 0x1001ca8a
mov dword [ebp + 0x4e50], ecx
cmp dword [ebx + 0x48], esi
je 0x1001ca95
mov dword [ebp + 0x4ea8], ecx
cmp dword [ebx + 0x50], esi
je 0x1001caa0
inc dword [ebp + 0x4e6c]
cmp dword [ebx + 0x54], esi
je 0x1001cb5e
cmp dword [ebx + 0x58], esi
je 0x1001cb5e
mov eax, dword [ebp + 0x4eb8]
cmp eax, esi
je 0x1001caca
push eax
call fcn.10039f0f
add esp, 4
mov ecx, 1
mov dword [ebp + 0xaf80], ecx
mov eax, dword [ebx + 0x58]
push eax
call edi
mov dword [ebp + 0x4eb4], eax
inc eax
push eax
call fcn.10039ff8
add esp, 4
cmp eax, esi
mov dword [ebp + 0x4eb8], eax
je 0x1001cb2a
mov ecx, dword [ebx + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, 1
jmp 0x1001cb5e
push ebp
push esi
push 0x8f
call fcn.10020fb0
add esp, 8
push eax
push 0x10
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push ebp
push esi
mov dword [ebp + 0xaf80], esi
push 0x107
mov dword [ebp + 0x4eb4], esi
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
test byte [ebx + 0x20], 1
je 0x1001cb6a
mov dword [ebp + 0x4e60], ecx
cmp dword [ebx + 0x64], esi
je 0x1001cb75
mov dword [ebp + 0xaf84], ecx
cmp dword [ebx + 0x78], esi
je 0x1001cb80
mov dword [ebp + 0x4e7c], esi
mov dword [ebp + 0x4ec8], esi
mov dword [ebp + 0x4ecc], esi
mov eax, dword [ebx + 0xc0]
cmp eax, esi
je 0x1001cc01
cmp dword [eax], 0
je 0x1001cc01
mov edx, dword [ebp + 0x4ec8]
cmp dword [eax + edx*4], 0
je 0x1001cbc2
mov esi, dword [ebp + 0x4ec8]
inc esi
mov dword [ebp + 0x4ec8], esi
mov ecx, dword [ebx + 0xc0]
mov eax, esi
cmp dword [ecx + eax*4], 0
jne 0x1001cba7
mov edx, dword [ebp + 0x4ec8]
shl edx, 2
push edx
call fcn.10039ff8
add esp, 4
mov dword [ebp + 0x4ecc], eax
test eax, eax
je 0x1001cc6e
mov ecx, dword [ebp + 0x4ec8]
mov esi, dword [ebx + 0xc0]
shl ecx, 2
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x1001cc12
mov dword [ebp + 0x4e74], 1
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x1001cc23
mov dword [ebp + 0x4e78], 1
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x1001cd48
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x1001cd48
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 6
je 0x1001cc8e
push ebp
push 0
push 0x94
call fcn.10020fb0
add esp, 8
push eax
push 0x10
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov edx, dword [ebx + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x20]
push edx
push eax
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x22], 0
push ecx
call fcn.1003996f
mov edx, dword [ebx + 0x60]
add esp, 4
mov esi, eax
add edx, 2
lea eax, [esp + 0x20]
push edx
push eax
call edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x22], 0
push ecx
call fcn.1003996f
mov edx, dword [ebx + 0x60]
add esp, 4
mov edi, eax
add edx, 4
lea eax, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x22], 0
push ecx
call fcn.1003996f
add esp, 4
cmp esi, 1
jl 0x1001cc45
cmp esi, 0xc
jg 0x1001cc45
cmp edi, 1
jl 0x1001cc45
cmp edi, 0x1f
jg 0x1001cc45
xor edx, edx
cmp eax, 0x50
setge dl
dec edx
push 0
and edx, 0x64
push 0
add edx, 0x76c
push 0
push edi
add edx, eax
push esi
push edx
call fcn.10021930
add esp, 0x18
mov dword [ebp + 0xaf88], eax
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x1001cd59
mov dword [ebp + 0x4e54], 1
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x1001cddc
test byte [ebp + 0x4ef5], 0x80
jne 0x1001cddc
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x1001cddc
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x1001cddc
mov dword [ebp + 0xaf8c], 1
mov eax, dword [ebx + 0x34]
lea esi, [ebp + 0x1df8]
push eax
push esi
call fcn.100174d0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.10039ff8
add esp, 4
mov dword [ebp + 0x4e8c], eax
test eax, eax
jne 0x1001cdd4
push ebp
push eax
push 0x67
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x1001cdf6
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x1001cdf6
mov dword [ebp + 0x4e84], eax
xor esi, esi
push esi
push esi
push esi
push 0x2bc
call fcn.10020fb0
add esp, 8
push eax
call fcn.10013800
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x1001d04a
mov ebx, eax
mov esi, ebx
mov al, byte [ebx]
mov dword [esp + 0x14], esi
test al, al
je 0x1001cf57
cmp al, 0x22
jne 0x1001ce3f
xor dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1001cf44
cmp al, 0x20
jne 0x1001cf44
mov eax, ebx
sub eax, esi
cmp eax, 0xfff
jb 0x1001ce63
mov eax, 0xfff
mov esi, dword [esp + 0x14]
mov ecx, eax
mov edx, ecx
lea edi, [esp + 0x1298]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x1298], 0
lea eax, [esp + 0x1298]
lea ecx, [esp + 0x258]
push eax
push ecx
call fcn.100174d0
mov eax, dword [ebp + 0x8c0]
add esp, 8
test eax, eax
je 0x1001ced3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1001ced3
lea edx, [esp + 0x258]
push ebp
push edx
call fcn.1001c6f0
add esp, 8
test eax, eax
jne 0x1001cfac
mov dword [esp + 0x1c], 1
jmp 0x1001cf37
mov eax, dword [ebp + 0xaf7c]
cmp eax, 1
je 0x1001cef8
cmp eax, 2
je 0x1001cef8
cmp eax, 3
je 0x1001cef8
lea eax, [esp + 0x258]
push ebp
push eax
call fcn.10021830
jmp 0x1001cf06
lea ecx, [esp + 0x258]
push ebp
push ecx
call fcn.1001c0e0
add esp, 8
test eax, eax
je 0x1001cf37
cmp eax, 0xffffffff
push ebp
jne 0x1001cfc9
lea edx, [esp + 0x25c]
push edx
push 0
push 0x84
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esp + 0x14], eax
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x1001ce36
lea eax, [esp + 0x258]
push esi
push eax
xor edi, edi
call fcn.100174d0
mov eax, dword [ebp + 0x8c0]
add esp, 8
cmp eax, edi
je 0x1001cfe5
cmp dword [esp + 0x1c], edi
jne 0x1001cfe5
lea ecx, [esp + 0x258]
push ebp
push ecx
call fcn.1001c6f0
add esp, 8
cmp eax, edi
je 0x1001d04c
push ebp
push esi
push eax
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [esp + 0x14]
push ebp
push ecx
push eax
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0xaf7c]
cmp eax, 1
je 0x1001d00a
cmp eax, 2
je 0x1001d00a
cmp eax, 3
je 0x1001d00a
lea edx, [esp + 0x258]
push ebp
push edx
call fcn.10021830
jmp 0x1001d018
lea eax, [esp + 0x258]
push ebp
push eax
call fcn.1001c0e0
add esp, 8
cmp eax, edi
je 0x1001d04c
cmp eax, 0xffffffff
push ebp
jne 0x1001cf94
lea ecx, [esp + 0x25c]
push ecx
push edi
push 0x84
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
jmp 0x1001d04c
xor edi, edi
mov eax, dword [ebp + 0xaf7c]
cmp eax, 2
je 0x1001d05c
cmp eax, 3
jne 0x1001d09b
mov esi, dword [ebp + 0x4eac]
cmp esi, edi
je 0x1001d09b
cmp dword [ebp + 0x4ee8], edi
je 0x1001d07d
mov edx, dword [esi + 0x58]
push ebp
push edx
call fcn.100214d0
add esp, 8
jmp 0x1001d082
mov eax, 1
push ebp
mov word [esi + 0x5c], ax
call fcn.10013980
add esp, 4
cmp eax, 1
je 0x1001d09b
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x1001d066
push ebp
call fcn.10013980
add esp, 4
cmp eax, 1
push ebp
je 0x1001e7e6
call fcn.100213a0
mov esi, eax
add esp, 4
cmp esi, edi
je 0x1001d132
cmp esi, 9
jne 0x1001d0e0
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push eax
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp esi, 0x10
push ebp
push edi
jne 0x1001d10d
push 0x95
call fcn.10020fb0
add esp, 8
push eax
push 0x10
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push 0x96
call fcn.10020fb0
add esp, 8
push eax
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp dword [ebp + 0x4eb0], edi
je 0x1001d149
mov edx, dword [ebp + 0x4ebc]
push edx
call fcn.10039f0f
add esp, 4
cmp dword [ebp + 0x4e84], edi
jne 0x1001d179
push ebp
push edi
push 0x97
call fcn.10020fb0
add esp, 8
push eax
push 0x10
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp dword [ebp + 0x4e68], 9
jne 0x1001d188
mov dword [ebp + 0x4e84], edi
mov eax, dword [ebp + 0xaf7c]
cmp eax, edi
jne 0x1001d1e2
cmp dword [ebp + 0x4e5c], edi
je 0x1001d1ba
cmp dword [ebp + 0x4e54], edi
jne 0x1001d1ba
cmp dword [ebp + 0x4e50], edi
jne 0x1001d1ba
cmp dword [ebp + 0x4e88], edi
jne 0x1001d1ba
cmp dword [ebp + 0xaf80], edi
je 0x1001d1e2
push ebp
push edi
push 0x98
call fcn.10020fb0
add esp, 8
push eax
push 0x10
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp dword [ebp + 0x4eb0], edi
jne 0x1001d216
cmp eax, 1
jne 0x1001d1f7
cmp dword [ebp + 0x4ea8], edi
je 0x1001d216
push ebp
push edi
push 0x87
call fcn.10020fb0
add esp, 8
push eax
mov eax, dword [ebp + 0x4e90]
push eax
call fcn.1001b9f0
add esp, 0xc
cmp dword [ebp + 0x4e8c], edi
jne 0x1001d2cb
mov ecx, dword [ebp + 0x4e90]
push 0x2f
push ecx
call fcn.10033450
mov esi, eax
cmp esi, edi
jne 0x1001d25e
mov edx, dword [ebp + 0x4e90]
push 0x5c
push edx
call fcn.10033450
mov esi, eax
cmp esi, edi
jne 0x1001d25e
mov eax, dword [ebp + 0x4e90]
push 0x3a
push eax
call fcn.10033450
mov esi, eax
cmp esi, edi
je 0x1001d2cb
cmp byte [esi], 0x3a
jne 0x1001d26c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov edx, dword [ebp + 0x4e90]
mov ecx, esi
sub ecx, edx
inc ecx
push ecx
call fcn.10039ff8
add esp, 4
cmp eax, edi
mov dword [ebp + 0x4e8c], eax
jne 0x1001d2af
push ebp
push edi
push 0x67
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
movsx ebx, byte [esi]
mov byte [esi], 0
mov edx, dword [ebp + 0x4e90]
mov eax, dword [ebp + 0x4e8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esi], bl
mov esi, dword [ebp + 0x4eac]
xor ebx, ebx
cmp esi, edi
je 0x1001d34d
push ebp
call fcn.10013980
add esp, 4
test eax, eax
jne 0x1001d34d
cmp word [esi + 0x5c], di
je 0x1001d346
cmp dword [ebp + 0xaf7c], edi
je 0x1001d345
mov ecx, dword [esi + 0x48]
push ebp
push edi
push edi
push ecx
call fcn.10021990
add esp, 0x10
cmp eax, edi
je 0x1001d322
cmp eax, dword [ebp + 0xaf88]
jb 0x1001d322
mov ecx, dword [ebp + 0xaf7c]
cmp ecx, 2
je 0x1001d31d
cmp ecx, 3
jne 0x1001d345
cmp eax, dword [esi + 8]
ja 0x1001d345
cmp eax, edi
mov word [esi + 0x5c], di
je 0x1001d33d
cmp eax, dword [ebp + 0xaf88]
jb 0x1001d33d
mov eax, 1
mov word [esi + 0x5e], ax
jmp 0x1001d346
xor eax, eax
mov word [esi + 0x5e], ax
jmp 0x1001d346
inc ebx
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x1001d2d7
push ebp
call fcn.10013980
add esp, 4
cmp eax, 1
jne 0x1001d37b
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov esi, dword [ebp + 0x4ed8]
cmp esi, edi
je 0x1001d3c3
push ebp
call fcn.10013980
add esp, 4
test eax, eax
jne 0x1001d3c3
mov eax, dword [ebp + 0xaf7c]
cmp eax, edi
je 0x1001d3b3
cmp eax, 3
je 0x1001d3b3
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xaf88]
cmp eax, ecx
jb 0x1001d3b3
mov esi, dword [esi + 0x14]
jmp 0x1001d3bf
push ebp
push esi
call fcn.10021180
add esp, 8
mov esi, eax
cmp esi, edi
jne 0x1001d385
push ebp
call fcn.10013980
add esp, 4
cmp eax, 1
jne 0x1001d3f1
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp ebx, edi
jne 0x1001d492
cmp dword [ebp + 0x4ed8], edi
jne 0x1001d492
mov ecx, dword [ebp + 0x4eac]
cmp ecx, edi
je 0x1001d427
cmp dword [ebp + 0xaf84], edi
jne 0x1001d492
cmp dword [ebp + 0x4e64], edi
jne 0x1001d492
cmp dword [ebp + 0xaf80], edi
jne 0x1001d492
mov eax, dword [ebp + 0xaf7c]
cmp eax, 2
je 0x1001d48b
cmp eax, 3
je 0x1001d48b
cmp ecx, edi
jne 0x1001d46b
cmp dword [ebp + 0xaf84], edi
jne 0x1001d44b
cmp dword [ebp + 0x4e64], edi
je 0x1001d46b
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
push 0xd
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push 0xc
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push ebp
push edi
jmp 0x1001ec7f
cmp dword [ebp + 0x4ea8], edi
je 0x1001d4bd
cmp ebx, edi
jne 0x1001d4bd
mov ecx, dword [ebp + 0x4e98]
mov eax, dword [ebp + 0x4e9c]
or ecx, eax
jne 0x1001d4b6
cmp dword [ebp + 0x4eac], edi
je 0x1001d4bd
mov eax, 1
jmp 0x1001d4bf
xor eax, eax
mov edx, dword [esp + 0x229c]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x4ea8], eax
cmp dword [edx + 0x30], edi
je 0x1001d4f8
cmp dword [ebp + 0x4eac], edi
jne 0x1001d4f8
mov eax, dword [ebp + 0x4e98]
mov ecx, dword [ebp + 0x4e9c]
or eax, ecx
jne 0x1001d4f8
mov dword [esp + 0x38], edi
jmp 0x1001d579
mov ecx, dword [ebp + 0x4e90]
push edi
push 0x80
push 4
push edi
push edi
push 0xc0000000
push ecx
call esi
cmp eax, 0xffffffff
jne 0x1001d535
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
push 0xf
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x4e90]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xffff
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x4eac]
cmp eax, edi
jne 0x1001d579
mov ecx, dword [ebp + 0x4e98]
mov eax, dword [ebp + 0x4e9c]
or ecx, eax
jne 0x1001d579
mov edx, dword [ebp + 0x4e90]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp + 0x4e64], edi
je 0x1001d58d
mov dword [ebp + 0x4e98], edi
mov dword [ebp + 0x4e9c], edi
xor ebx, ebx
or edi, 0xffffffff
mov dword [ebp + 0x4ec0], ebx
mov dword [ebp + 0x4ec4], ebx
mov eax, dword [ebp + 0x4ea8]
mov dword [esp + 0x14], edi
cmp eax, ebx
je 0x1001d64d
push ebx
push 0x80
push 3
mov dword [ebp + 0xa4], ebx
mov eax, dword [ebp + 0x4e90]
push ebx
push ebx
push 0xc0000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1001d7b2
mov edx, dword [ebp + 0x4e90]
push 0
mov dword [ebp + 0xaf98], edx
mov dword [ebp + 8], eax
mov ebx, dword [ebp + 0x4ea4]
mov esi, dword [ebp + 0x4ea0]
mov ecx, ebx
mov edx, esi
push ecx
push edx
push eax
call fcn.100348d0
add esp, 0x10
cmp eax, esi
jne 0x1001d60f
cmp edx, ebx
je 0x1001d63a
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push 2
call fcn.1001b780
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov dword [ebp + 0x4ec0], esi
mov dword [ebp + 0x4ec4], ebx
xor ebx, ebx
jmp 0x1001d874
test byte [ebp + 0x4ef5], 0x80
je 0x1001d6b7
mov edx, dword [ebp + 0x4e90]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push edx
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x1001d697
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push 0xd
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [ebp + 0x4e90]
mov dword [ebp + 0xaf98], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0x4ec0], ebx
mov dword [ebp + 0x4ec4], ebx
jmp 0x1001d874
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
call fcn.10021d50
add esp, 8
cmp eax, ebx
mov dword [ebp + 0xaf98], eax
jne 0x1001d6f9
push ebp
push ebx
push 0x9a
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push eax
call fcn.10021fa0
add esp, 4
test eax, eax
je 0x1001d716
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0xaf98]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
mov dword [ebp + 8], eax
jne 0x1001d75a
mov ecx, dword [ebp + 0xaf98]
push ebp
push ecx
push 0xa
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
cmp dword [ebp + 0x4eac], ebx
jne 0x1001d772
mov edx, dword [ebp + 0x4e98]
mov ecx, dword [ebp + 0x4e9c]
or edx, ecx
je 0x1001d7d2
mov eax, dword [ebp + 0x4e90]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call esi
mov edi, eax
mov eax, dword [esp + 0x10]
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x1001d7d2
cmp eax, 0xffffffff
je 0x1001d7b2
cmp dword [ebp + 8], eax
je 0x1001d7b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push 0xd
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [ebp + 0x4e98]
mov edx, dword [ebp + 0x4e9c]
mov esi, ecx
or esi, edx
je 0x1001d85c
push ebp
push edx
push ecx
push eax
push edi
call fcn.10021e40
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x1001d85c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001d819
cmp dword [ebp + 8], eax
je 0x1001d819
push eax
call edi
mov dword [esp + 0x10], 0xffffffff
cmp esi, 0xa
jne 0x1001d83d
mov eax, dword [ebp + 0xaf98]
push ebp
push eax
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov edx, dword [ebp + 0x4e98]
mov dword [ebp + 0x4ec0], edx
mov eax, dword [ebp + 0x4e9c]
mov dword [ebp + 0x4ec4], eax
test byte [ebp + 0x4ef5], 0x80
push 0x2000
call fcn.10039ff8
add esp, 4
cmp eax, ebx
mov dword [ebp + 0xaf94], eax
jne 0x1001d8db
cmp edi, 0xffffffff
je 0x1001d89e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001d8bb
cmp dword [ebp + 8], eax
je 0x1001d8bb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0xaf98]
push ebp
push ecx
push 4
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov dword [ebp + 0x4ef0], ebx
mov eax, dword [ebp + 0x4eac]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
je 0x1001d902
cmp word [eax + 0x5c], bx
je 0x1001d8fb
inc dword [ebp + 0x4ef0]
mov eax, dword [eax + 0x68]
cmp eax, ebx
jne 0x1001d8ef
mov edx, dword [ebp + 0x4ee0]
mov esi, dword [ebp + 0x4ef0]
add esi, edx
mov dword [ebp + 0x4ef0], esi
mov ecx, dword [ebp + 0x92c]
cmp ecx, ebx
mov eax, esi
je 0x1001d92a
cmp dword [ebp + 0x930], ebx
je 0x1001d959
cmp eax, 0xffff
jb 0x1001d959
push ebp
push ebx
push 0x106
call fcn.10020fb0
add esp, 8
push eax
push 6
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov dword [ebp + 0x4f28], ebx
mov ax, word [ebp + 0x4ef4]
mov dword [ebp + 0x4f20], ebx
mov dword [ebp + 0x4f24], ebx
test ah, 0x80
je 0x1001db94
test ah, 0x10
je 0x1001db94
mov esi, dword [ebp + 0x4ed8]
cmp esi, ebx
je 0x1001db94
mov eax, dword [ebp + 0x4e88]
mov word [ebp + 0x4f64], bx
cmp eax, ebx
je 0x1001d9ac
mov word [ebp + 0x4f64], 1
cmp esi, ebx
mov dword [ebp + 0x4f6c], ebx
mov word [ebp + 0x4fbc], 1
mov dword [ebp + 0x4f90], ebx
mov dword [ebp + 0x4fc8], ebx
je 0x1001db94
mov eax, dword [ebp + 0x938]
test eax, eax
je 0x1001dab1
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x44]
push eax
push ecx
call edi
mov edx, dword [esi]
lea eax, [esp + 0x154]
push edx
push eax
call edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0x93c]
mov edi, dword [esi + 0xc]
xor edx, edx
mov dx, word [esi + 8]
push eax
shr ecx, 0x10
mov dword [esp + 0x14c], ecx
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x154], edx
mov dword [esp + 0x158], edi
call dword [ebp + 0x938]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x44]
push edx
call ebx
mov edx, eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], edx
call ebx
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jle 0x1001da74
mov edx, dword [esi + 4]
push edx
call fcn.10039f0f
add esp, 4
lea eax, [esp + 0x44]
push eax
call ebx
add eax, 2
push eax
call fcn.10039ff8
add esp, 4
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [esp + 0x150]
mov eax, dword [esp + 0x14c]
mov ecx, dword [esp + 0x148]
mov edx, edi
xor edx, ebx
and eax, 0xffff
shl ecx, 0x10
and edx, 0x27
add eax, ecx
xor edx, edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [ebp + 0x92c]
test eax, eax
je 0x1001dac8
lea edi, [ebp + 0x4f60]
mov word [edi], 0x2d
jmp 0x1001daf3
mov eax, dword [ebp + 0x4e60]
test eax, eax
je 0x1001dad9
mov eax, 0x14
jmp 0x1001daea
mov edx, dword [ebp + 0x4e5c]
xor eax, eax
cmp edx, 9
sete al
add eax, 0x14
lea edi, [ebp + 0x4f60]
mov word [edi], ax
mov eax, dword [esi + 4]
push eax
mov dword [ebp + 0x4fb8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp + 0x4f80], eax
lea eax, [esp + 0x10]
push ebp
xor ebx, ebx
push eax
push edi
mov dword [ebp + 0x4f84], ebx
mov dword [ebp + 0x4f88], ebx
mov dword [ebp + 0x4f8c], ebx
call fcn.10019c90
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x1001dc3d
mov ecx, dword [ebp + 0x4fc4]
mov eax, dword [ebp + 0x4f88]
mov edi, dword [ebp + 0x4f80]
mov edx, dword [ebp + 0x4f8c]
add ecx, eax
add ecx, edi
lea eax, [ecx + edx + 0x2e]
mov edx, dword [ebp + 0x4f20]
add edx, eax
mov dword [ebp + 0x4f20], edx
mov ecx, dword [ebp + 0x4f24]
adc ecx, ebx
test byte [ebp + 0x4ef5], 0x40
mov dword [ebp + 0x4f24], ecx
je 0x1001db87
cmp dword [ebp + 0x4ef8], ebx
ja 0x1001dc79
mov esi, dword [esi + 0x14]
cmp esi, ebx
jne 0x1001d9cf
xor ebx, ebx
mov ecx, dword [ebp + 0x4f20]
mov esi, dword [ebp + 0x4ec0]
mov edx, dword [ebp + 0x4f24]
mov eax, dword [ebp + 0x4ef8]
add esi, ecx
mov dword [ebp + 0x4f04], eax
mov dword [ebp + 0x4ec0], esi
mov ecx, dword [ebp + 0x4ec4]
adc ecx, edx
mov dword [ebp + 0x4fd0], ebx
mov dword [ebp + 0x4ec4], ecx
test byte [ebp + 0x4ef5], 0x80
je 0x1001dcda
mov eax, dword [ebp + 0x4ec0]
or eax, ecx
jne 0x1001dcda
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.10019bc0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x1001dcbd
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001dc1e
cmp dword [ebp + 8], eax
je 0x1001dc1e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001dc5a
cmp dword [ebp + 8], eax
je 0x1001dc5a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0x4e90]
push ebp
push ecx
push edi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001dc96
cmp dword [ebp + 8], eax
je 0x1001dc96
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov dword [ebp], 0xa
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
push 0xa
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [ebp + 0x4ec0]
add ecx, 4
mov dword [ebp + 0x4ec0], ecx
mov eax, dword [ebp + 0x4ec4]
adc eax, ebx
mov dword [ebp + 0x4ec4], eax
lea eax, [ebp + 0x4eac]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [ebx]
test esi, esi
je 0x1001dea6
mov eax, dword [ebp + 0x8c0]
mov dword [ebp + 0x8c8], 0
test eax, eax
je 0x1001dd1b
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0x8e8]
cmp eax, ecx
jne 0x1001dd1b
mov dword [ebp + 0x8c8], 1
cmp word [esi + 0x5c], 0
jne 0x1001dd60
mov eax, dword [ebp + 0x8c8]
test eax, eax
jne 0x1001dd60
mov eax, dword [ebp + 0x4ea8]
test eax, eax
jne 0x1001dd54
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ebp
push ecx
push edx
push esi
call fcn.10014e70
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x1001df93
lea ebx, [esi + 0x68]
mov dword [esp + 0x18], ebx
jmp 0x1001de92
mov eax, dword [ebp + 0xaf7c]
test eax, eax
je 0x1001ddf3
lea eax, [esp + 0x10]
push ebp
push eax
push esi
call fcn.10015080
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1001dde7
cmp ebx, 0x12
jne 0x1001e002
mov ecx, dword [esi + 0x48]
lea edi, [ebp + 0xbfb0]
push ecx
push edi
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.10016ee0
add esp, 4
push ebp
push edi
push 0
push 0x88
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push ebp
push edx
push eax
push esi
call fcn.10014e70
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x1001e083
mov word [esi + 0x5c], ax
lea ebx, [esi + 0x68]
mov dword [esp + 0x18], ebx
jmp 0x1001de92
mov ecx, dword [esi + 0x58]
push ecx
push 2
push 0x2c0
call fcn.10020fb0
add esp, 8
lea edx, [esp + 0xa5c]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0xa64]
push eax
call fcn.10014b10
mov ecx, dword [esi + 0x48]
mov edi, dword [esi + 0x68]
push ecx
call fcn.10039f0f
mov edx, dword [esi + 0x58]
push edx
call fcn.10039f0f
mov eax, dword [esi + 0x24]
add esp, 0x18
test eax, eax
je 0x1001de4d
mov eax, dword [esi + 0x4c]
push eax
call fcn.10039f0f
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1001de67
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
cmp eax, ecx
je 0x1001de67
push eax
call fcn.10039f0f
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1001de7a
mov ecx, dword [esi + 0x54]
push ecx
call fcn.10039f0f
add esp, 4
push esi
call fcn.10039f0f
mov dword [ebx], edi
mov eax, dword [ebp + 0x4eb0]
add esp, 4
dec eax
mov dword [ebp + 0x4eb0], eax
mov dword [ebp + 0x8c8], 0
mov esi, dword [ebx]
test esi, esi
jne 0x1001dcf0
mov ebx, dword [ebp + 0x4ed8]
xor edi, edi
cmp ebx, edi
mov dword [ebp + 0x4fd0], 1
je 0x1001e251
push 0x70
call fcn.10039ff8
mov esi, eax
add esp, 4
test esi, esi
je 0x1001e10b
mov ecx, 0x1c
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [esi + 0x48], eax
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [ebx], eax
mov dword [esi + 0x58], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 4], eax
mov dword [ebp + 0x4fd8], edx
mov ecx, dword [ebx + 8]
mov dword [ebp + 0x4fd4], ecx
mov ecx, 1
mov word [esi + 0x5c], cx
mov edx, dword [ebp + 0x8c0]
cmp edx, eax
mov dword [ebp + 0x8c8], eax
je 0x1001df2f
mov edx, dword [esi + 0x48]
mov eax, dword [ebp + 0x8e8]
cmp edx, eax
jne 0x1001df2f
mov dword [ebp + 0x8c8], ecx
lea eax, [esp + 0x10]
push ebp
push eax
push esi
call fcn.10015080
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1001df4d
cmp edi, 0x12
jne 0x1001e16b
cmp edi, 0x12
mov dword [ebp + 0x8c8], 0
je 0x1001e1fb
mov ecx, dword [esp + 0x18]
push ebp
push ebx
mov dword [ecx], esi
mov edi, dword [ebp + 0x4eb0]
add esi, 0x68
inc edi
mov dword [esp + 0x20], esi
mov dword [ebp + 0x4eb0], edi
call fcn.10021180
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1001dec0
jmp 0x1001e24f
mov edx, dword [esi + 0x58]
lea ebx, [ebp + 0x4650]
push edx
push 0
push 0x9f
call fcn.10020fb0
add esp, 8
push eax
push str._s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001dfcc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001dfe9
cmp dword [ebp + 8], eax
je 0x1001dfe9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
push ebp
push ebx
push edi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [esi + 0x48]
lea edi, [ebp + 0x4650]
push ecx
push 0
push 0x9e
call fcn.10020fb0
add esp, 8
push eax
push str._s__s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.10016ee0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, 0xffffffff
je 0x1001e043
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e060
cmp dword [ebp + 8], eax
je 0x1001e060
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
push ebp
push edi
push ebx
call fcn.1001b780
mov eax, dword [ebp]
push ebp
push eax
call fcn.1001b5d0
mov eax, dword [ebp]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ecx, dword [esi + 0x48]
lea edi, [ebp + 0xbfb0]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.10016ee0
add esp, 4
lea esi, [ebp + 0x4650]
push edi
push 0
push 0x9f
call fcn.10020fb0
add esp, 8
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001e0d5
mov edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e0f2
cmp dword [ebp + 8], eax
je 0x1001e0f2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
push ebp
push esi
push ebx
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1001e11b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e138
cmp dword [ebp + 8], eax
je 0x1001e138
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
push ebp
push 0
push 0x9b
call fcn.10020fb0
add esp, 8
push eax
push 4
call fcn.1001b780
mov edx, dword [ebp]
push ebp
push edx
call fcn.1001b5d0
mov eax, dword [ebp]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1001e17b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x48]
lea ebx, [ebp + 0xbfb0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.10016ee0
add esp, 4
lea esi, [ebp + 0x4650]
push ebx
push 0
push 0x9e
call fcn.10020fb0
add esp, 8
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001e1d8
cmp dword [ebp + 8], eax
je 0x1001e1d8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
push ebp
push esi
push edi
call fcn.1001b780
mov ecx, dword [ebp]
push ebp
push ecx
call fcn.1001b5d0
mov eax, dword [ebp]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov edx, dword [esi + 0x48]
lea edi, [ebp + 0xbfb0]
push edx
push edi
mov dword [esp + 0x24], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.10016ee0
add esp, 4
push ebp
push edi
push 0
push 0x89
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
mov eax, dword [esi + 0x48]
push eax
call fcn.10039f0f
mov ecx, dword [esi + 0x58]
push ecx
call fcn.10039f0f
push esi
call fcn.10039f0f
add esp, 0x18
xor edi, edi
mov eax, dword [ebp + 0x4e88]
cmp eax, edi
je 0x1001e26a
push eax
call fcn.10039f0f
add esp, 4
mov dword [ebp + 0x4e88], edi
cmp dword [ebp], edi
je 0x1001e2a6
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1001e27f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e29c
cmp dword [ebp + 8], eax
je 0x1001e29c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [ebp]
push ebp
push edx
jmp 0x1001ec7f
mov ax, word [ebp + 0x4ef4]
mov dword [ebp + 0x8b4], 1
test ah, 0x80
je 0x1001e805
test ah, 0x10
je 0x1001e805
cmp dword [ebp + 0x4eac], edi
je 0x1001e805
mov eax, dword [ebp + 0x4ef8]
mov ecx, dword [ebp + 0x4f04]
cmp eax, ecx
je 0x1001e2eb
mov dword [ebp + 0x4f08], edi
mov edx, dword [ebp + 0x4eb8]
mov eax, dword [ebp + 0x4eb4]
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, dword [ebp + 0x4f24]
push edx
mov edx, dword [ebp + 0x4f20]
push eax
mov eax, dword [ebp + 0x4ef0]
push edi
push edi
push ecx
push edx
push edi
push eax
call fcn.1001a6b0
mov esi, eax
add esp, 0x28
cmp esi, edi
je 0x1001e361
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e342
cmp dword [ebp + 8], eax
je 0x1001e342
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0xaf98]
push ebp
push ecx
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0xa8]
or ebx, 0xffffffff
cmp eax, ebx
je 0x1001e3ba
lea edx, [esp + 0x10]
push ebp
push edx
push edi
call fcn.10020bc0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x1001e3ba
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001e39b
cmp dword [ebp + 8], eax
je 0x1001e39b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
lea eax, [ebp + 0xac]
push ebp
push eax
push esi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov esi, 0x4000
test word [ebp + 0x4ef4], si
je 0x1001e3ec
mov eax, dword [ebp + 0xa8]
cmp eax, ebx
je 0x1001e3df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xa8], ebx
lea ecx, [ebp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp + 0x4f28], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1001e411
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1001e716
mov dword [esp + 0x10], ebx
mov dword [ebp + 8], ebx
test word [ebp + 0x4ef4], si
je 0x1001e423
mov dword [ebp + 0x4ef8], edi
cmp dword [ebp + 0x4ef8], edi
je 0x1001e45d
mov edx, dword [ebp + 0x4e90]
push ebp
push edx
call fcn.1001fd40
add esp, 4
push eax
call fcn.10027030
push ebp
push 0x1006161c
push edi
push ebx
push 1
push edi
call fcn.10020640
add esp, 0x20
cmp eax, 1
jne 0x1001d3d1
mov dword [ebp + 0x4ec0], edi
mov dword [ebp + 0x4ec4], edi
test word [ebp + 0x4ef4], si
mov dword [ebp + 0x4f18], edi
mov dword [ebp + 0x8b8], 0x200000
mov dword [ebp + 0x4ef8], edi
mov dword [ebp + 0x4f1c], edi
mov dword [ebp + 0x8bc], edi
je 0x1001e4c6
lea eax, [ebp + 0xac]
push 0x2e
push eax
call fcn.10033450
cmp eax, edi
je 0x1001e736
inc eax
push 0x1005a19c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test word [ebp + 0x4ef4], si
lea eax, [ebp + 0xac]
jne 0x1001e4cc
mov eax, dword [ebp + 0x4e90]
push edi
push 0x80
push 3
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x1001e634
lea ecx, [esp + 0x2c]
push edi
lea esi, [ebp + 0x4f2c]
push ecx
push 0x2e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e5f1
cmp dword [esp + 0x2c], 0x2e
jne 0x1001e5f1
cmp dword [esi], 0x2014b50
jne 0x1001e5f1
mov ax, word [ebp + 0x4f48]
cmp ax, di
je 0x1001e5f1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x2c]
movsx eax, ax
push edi
lea esi, [ebp + 0x4650]
push edx
push eax
push esi
push ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001e559
mov ebx, dword [esp + 0x2c]
movsx edx, word [ebp + 0x4f48]
mov byte [edx + ebp + 0x4650], 0
mov eax, dword [ebp + 0x928]
cmp eax, edi
jne 0x1001e583
mov eax, dword [ebp + 0x4eac]
mov eax, dword [eax + 0x58]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
movsx ecx, word [ebp + 0x4f48]
cmp ebx, ecx
jne 0x1001e5a7
mov edx, dword [ebp + 0x4eac]
mov eax, dword [edx + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1001e663
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 0x4ef5], 0x40
mov dword [esp + 0x10], 0xffffffff
push ebp
jne 0x1001e788
push 0x1006161c
push edi
push edi
push 1
push 0xa
call fcn.10020640
add esp, 0x18
cmp eax, 1
jne 0x1001d35b
mov esi, 0x4000
or ebx, 0xffffffff
jmp 0x1001e3f6
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 0x4ef5], 0x40
mov dword [esp + 0x10], ebx
push ebp
jne 0x1001e7a7
push 0x1006161c
push edi
push edi
push 1
push 0xa
call fcn.10020640
add esp, 0x18
cmp eax, 1
jne 0x1001d3d1
mov esi, 0x4000
jmp 0x1001e3f6
test word [ebp + 0x4ef4], si
push ebp
jne 0x1001e7c6
push 0x1006161c
push edi
push edi
push 1
push 0xa
call fcn.10020640
add esp, 0x18
cmp eax, 1
jne 0x1001e7e5
jmp 0x1001e3f6
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 0x4eac]
cmp esi, edi
je 0x1001e6cb
lea ecx, [esp + 0x10]
push ebp
push ecx
push esi
call fcn.10019c90
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jne 0x1001e756
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x2c]
mov ebx, dword [esi + 0x28]
add edx, eax
mov eax, dword [esi + 0x20]
add edx, ebx
lea ecx, [edx + eax + 0x2e]
mov edx, dword [ebp + 0x4ec0]
add edx, ecx
mov dword [ebp + 0x4ec0], edx
mov ecx, dword [ebp + 0x4ec4]
adc ecx, edi
mov dword [ebp + 0x4ec4], ecx
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x1001e67b
test byte [ebp + 0x4ef5], 0x40
je 0x1001e706
lea edx, [ebp + 0xac]
lea eax, [esp + 0xa58]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0x4ef8]
lea ecx, [esp + 0xa58]
push ebp
push ecx
inc edx
push edi
push edx
push edi
push 0xe
call fcn.10020640
add esp, 0x18
mov dword [ebp + 0x4f28], edi
xor esi, esi
or edi, 0xffffffff
jmp 0x1001ea43
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push 0x11
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
lea ecx, [ebp + 0xac]
push ebp
push ecx
push 0x11
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x4e90]
push ebp
push eax
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
lea ecx, [ebp + 0xac]
push ecx
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
lea eax, [ebp + 0xac]
push eax
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
lea edx, [ebp + 0xac]
push edx
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
push ebp
mov eax, dword [ebp + 0x4e90]
push eax
push 9
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov esi, dword [ebp + 0x4eac]
mov edx, dword [ebp + 0x4ec0]
mov eax, dword [ebp + 0x4ec4]
xor edi, edi
xor ebx, ebx
cmp esi, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
je 0x1001e8b2
lea ecx, [esp + 0x10]
push ebp
push ecx
push esi
call fcn.10019c90
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1001e8d3
mov edx, dword [esi + 0x64]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
add edx, ecx
add edx, eax
mov eax, dword [esi + 0x20]
xor ecx, ecx
lea eax, [edx + eax + 0x2e]
mov edx, dword [esp + 0x24]
add edi, eax
adc edx, ecx
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0x4ec0]
add edx, eax
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x4ec0], edx
mov edx, dword [ebp + 0x4ec4]
adc edx, ecx
mov dword [ebp + 0x4ec4], edx
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov esi, dword [esi + 0x68]
add eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
adc eax, edx
inc ebx
test esi, esi
mov dword [esp + 0x34], eax
jne 0x1001e833
test ebx, ebx
jne 0x1001e923
push ebp
xor esi, esi
push 0x1006161c
push esi
push 0x8a
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
add esp, 0xc
jmp 0x1001e925
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1001e8e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e900
cmp dword [ebp + 8], eax
je 0x1001e900
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [ebp + 0xaf98]
mov ecx, dword [esp + 0x18]
push ebp
push eax
push ecx
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
xor esi, esi
mov eax, dword [ebp + 0x4eb8]
mov ecx, dword [ebp + 0x4eb4]
lea edx, [esp + 0x10]
push ebp
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
mov eax, ebx
push ecx
cdq
push edi
push edx
push eax
call fcn.1001a6b0
mov edi, eax
add esp, 0x28
cmp edi, esi
je 0x1001e9a8
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
je 0x1001e96c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001e989
cmp dword [ebp + 8], eax
je 0x1001e989
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov edx, dword [ebp + 0xaf98]
push ebp
push edx
push edi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0xa8]
or edi, 0xffffffff
cmp eax, edi
je 0x1001ea10
lea eax, [esp + 0x10]
push ebp
push eax
push esi
call fcn.10020bc0
mov ebx, eax
add esp, 0xc
cmp ebx, esi
je 0x1001ea10
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1001e9d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x1001e9f1
cmp dword [ebp + 8], eax
je 0x1001e9f1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], edi
lea ecx, [ebp + 0xac]
push ebp
push ecx
push ebx
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
test byte [ebp + 0x4ef5], 0x40
je 0x1001ea43
mov eax, dword [ebp + 0xa8]
cmp eax, edi
je 0x1001ea30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xa8], edi
lea edx, [ebp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec dword [ebp + 0x4ef8]
mov eax, dword [esp + 0x10]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x1001ea99
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
test eax, eax
jne 0x1001ea9f
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1001ea66
push eax
call ebx
mov ecx, dword [ebp + 0x4ea8]
mov eax, dword [ebp + 0xaf98]
neg ecx
sbb ecx, ecx
push ebp
and ecx, 4
push eax
add ecx, 0xa
mov dword [esp + 0x18], edi
push ecx
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x1001eaaa
push eax
call ebx
mov eax, dword [ebp + 0x4e5c]
push ebp
cmp eax, 9
jne 0x1001eabd
call fcn.10026500
jmp 0x1001eac2
call fcn.10022da0
add esp, 4
test byte [ebp + 0x4ef5], 0x40
jne 0x1001eae4
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1001eae4
mov edx, dword [ebp + 0x4e90]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ax, word [ebp + 0x4ef4]
test ah, 0x80
je 0x1001ebaa
test ah, 0x40
je 0x1001eb82
mov eax, dword [ebp + 0x4e90]
cmp eax, esi
je 0x1001eb82
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [ebp + 0xac]
push 0x2e
push ebx
call fcn.10033450
cmp eax, esi
je 0x1001eb43
mov ecx, dword [ebp + 0x8b0]
inc eax
cmp ecx, 0x64
push ecx
jge 0x1001eb34
push str.z_02d
jmp 0x1001eb39
push str._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp + 0x4e90]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp + 0x4e90]
lea edx, [esp + 0xa58]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0x8b0]
lea eax, [esp + 0xa58]
push ebp
push eax
push esi
push ecx
push esi
push 0xe
call fcn.10020640
add esp, 0x18
mov edx, dword [ebp + 0xaf98]
push edx
call fcn.10039f0f
mov eax, dword [ebp + 0xaf98]
mov ecx, dword [ebp + 0x4e90]
add esp, 4
cmp eax, ecx
jne 0x1001ec66
jmp 0x1001ec60
cmp dword [ebp + 0x4ea8], esi
jne 0x1001ec6c
mov ecx, dword [ebp + 0xaf98]
mov edx, dword [ebp + 0x4e90]
push ebp
push ecx
push edx
call fcn.10021c40
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x1001ec41
mov eax, dword [ebp + 0xaf98]
push ebp
push eax
push esi
push 0x8b
call fcn.10020fb0
add esp, 8
push eax
call fcn.1001b9f0
mov ecx, dword [ebp + 0xaf98]
push ecx
call fcn.10039f0f
mov edx, dword [ebp + 0xaf98]
mov eax, dword [ebp + 0x4e90]
add esp, 0x10
cmp edx, eax
jne 0x1001ec14
mov dword [ebp + 0x4e90], esi
push ebp
push esi
push 0x9c
mov dword [ebp + 0xaf98], esi
call fcn.10020fb0
add esp, 8
push eax
push edi
call fcn.1001b780
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret
mov eax, dword [ebp + 0xaf98]
push eax
call fcn.10039f0f
mov ecx, dword [ebp + 0xaf98]
mov eax, dword [ebp + 0x4e90]
add esp, 4
cmp ecx, eax
jne 0x1001ec66
mov dword [ebp + 0x4e90], esi
mov dword [ebp + 0xaf98], esi
mov eax, dword [esp + 0x1c]
push ebp
neg eax
sbb eax, eax
mov dword [ebp + 0xaf98], esi
and eax, 0x12
push eax
call fcn.1001b5d0
mov eax, dword [ebp]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2288
ret