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

Disassembly:
mov eax, 0x32a4
call fcn.004ad6f0
push ebx
mov ebx, dword [esp + 0x32ac]
push ebp
mov ebp, dword [esp + 0x32b4]
push esi
xor esi, esi
push edi
mov dword [ebp + 0xb848], esi
or edi, 0xffffffff
mov dword [ebp + 0x4ea8], esi
push ebp
mov dword [ebp + 8], edi
push ebx
mov dword [ebp + 0x4ec8], esi
call fcn.00479680
mov eax, dword [ebp]
add esp, 8
cmp eax, esi
jne 0x47cccb
mov eax, dword [ebx + 4]
dec eax
cmp eax, 6
ja case.default.0x47a704
jmp dword [eax*4 + 0x47ccd8]
mov dword [ebp + 0xb82c], 3
jmp case.default.0x47a704
mov dword [ebp + 0xb82c], esi
jmp case.default.0x47a704
mov dword [ebp + 0xb82c], 2
jmp case.default.0x47a704
mov dword [ebp + 0xb82c], 1
lea eax, [ebp + 0x1614]
push eax
call fcn.0047e8c0
add esp, 4
cmp eax, esi
mov dword [ebp + 0x4ea8], eax
jne 0x47a773
push ebp
push esi
push 0x67
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp dword [ebx + 0x38], esi
je 0x47a77e
inc dword [ebp + 0x4e80]
cmp dword [ebx + 0x3c], esi
je 0x47a789
inc dword [ebp + 0x4e80]
cmp dword [ebx + 0x2c], esi
je 0x47a794
mov dword [ebp + 0x4e98], esi
mov edx, dword [ebx + 0x48]
xor ecx, ecx
cmp edx, esi
push ebp
setne cl
mov dword [ebp + 0x4ec8], ecx
call fcn.0047ee70
add esp, 4
cmp eax, esi
je 0x47a7d0
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebx + 0x28]
cmp eax, 0x13
mov dword [ebp + 0x4e84], eax
jle 0x47a7e8
mov dword [ebp + 0x4e84], 0x13
cmp dword [ebp + 0x4e84], esi
jge 0x47a7f6
mov dword [ebp + 0x4e84], esi
cmp dword [ebp + 0x8c4], esi
je 0x47a810
cmp dword [ebp + 0x4e84], esi
jne 0x47a810
mov dword [ebp + 0x4e84], 1
mov eax, dword [ebp + 0x4e84]
cmp eax, esi
jne 0x47a822
mov dword [ebp + 0x4e78], esi
jmp 0x47a842
cmp eax, 9
jg 0x47a82f
mov dword [ebp + 0x4e78], edi
jmp 0x47a842
add eax, 0xfffffff6
mov dword [ebp + 0x4e84], eax
mov dword [ebp + 0x4e78], 9
mov eax, dword [ebx + 0x8c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, esi
je 0x47a92d
mov eax, dword [ebx + 0x90]
push eax
call edi
cmp eax, 0x41
jle 0x47a86f
mov ecx, dword [ebx + 0x90]
push ecx
call edi
jmp 0x47a874
mov eax, 0x41
mov dword [ebp + 0xd270], eax
mov ecx, dword [ebx + 0x90]
cmp ecx, esi
je 0x47a9bd
cmp eax, 0x200
ja 0x47a9bd
cmp eax, esi
jbe 0x47a9bd
inc eax
push eax
call fcn.004adbfa
mov edi, eax
add esp, 4
cmp edi, esi
mov dword [ebp + 0x4ea0], edi
jne 0x47a8d9
push ebp
push esi
push 0x8f
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [ebp + 0xd270]
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 + 0x4ea0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0xd270]
mov esi, dword [ebp + 0x4ea0]
inc ecx
lea edi, [ebp + 0xc04]
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 0x47a938
mov dword [ebp + 0x4e74], esi
cmp dword [ebx + 0x24], esi
je 0x47a947
mov dword [ebp + 0x4e6c], 1
cmp dword [ebx + 0x48], esi
je 0x47a956
mov dword [ebp + 0x4ec8], 1
cmp dword [ebx + 0x50], esi
je 0x47a961
inc dword [ebp + 0x4e88]
cmp dword [ebx + 0x54], esi
je 0x47aa19
cmp dword [ebx + 0x58], esi
je 0x47aa19
mov eax, dword [ebp + 0x56f4]
cmp eax, esi
je 0x47a986
push eax
call fcn.004ad74d
add esp, 4
mov dword [ebp + 0xb830], 1
mov eax, dword [ebx + 0x58]
push eax
call edi
mov dword [ebp + 0x56f0], eax
inc eax
push eax
call fcn.004adbfa
add esp, 4
cmp eax, esi
mov dword [ebp + 0x56f4], eax
je 0x47a9e5
mov ecx, dword [ebx + 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x47aa19
push ebp
push esi
push 0x8f
call fcn.00484c20
add esp, 8
push eax
push 0x10
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
push ebp
push esi
mov dword [ebp + 0xb830], esi
push 0x107
mov dword [ebp + 0x56f0], esi
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
test byte [ebx + 0x20], 1
je 0x47aa29
mov dword [ebp + 0x4e7c], 1
cmp dword [ebx + 0x64], esi
je 0x47aa38
mov dword [ebp + 0xb834], 1
cmp dword [ebx + 0x78], esi
je 0x47aa43
mov dword [ebp + 0x4e94], esi
mov dword [ebp + 0x5708], esi
mov dword [ebp + 0x570c], esi
test byte [ebx + 0x9d], 0x20
mov eax, dword [ebx + 0xc0]
je 0x47ab59
cmp eax, esi
je 0x47aad3
mov edx, dword [eax]
mov ecx, dword [eax + 4]
or edx, ecx
je 0x47aad3
add eax, 8
mov ecx, dword [ebp + 0x5708]
add eax, 8
inc ecx
mov dword [ebp + 0x5708], ecx
mov ecx, dword [eax - 8]
mov edx, dword [eax - 4]
or ecx, edx
jne 0x47aa72
mov eax, dword [ebp + 0x5708]
shl eax, 3
push eax
call fcn.004adbfa
add esp, 4
cmp eax, esi
mov dword [ebp + 0x570c], eax
je 0x47ab39
mov ecx, dword [ebp + 0x5708]
mov esi, dword [ebx + 0xc0]
shl ecx, 3
mov edx, ecx
mov edi, eax
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 + 0x7c], esi
je 0x47aae2
mov dword [ebp + 0x4e8c], 1
cmp dword [ebx + 0x40], esi
je 0x47aaf1
mov dword [ebp + 0x4e90], 1
cmp dword [ebx + 0x5c], esi
je 0x47acbe
mov eax, dword [ebx + 0x60]
cmp eax, esi
je 0x47acbe
push eax
call edi
cmp eax, 6
je 0x47ac02
push ebp
push esi
push 0x94
call fcn.00484c20
add esp, 8
push eax
push 0x10
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp eax, esi
je 0x47aad3
cmp dword [eax], esi
je 0x47aad3
mov ecx, dword [ebp + 0x5708]
cmp dword [eax + ecx*4], esi
je 0x47ab8e
mov edx, dword [ebp + 0x5708]
inc edx
mov dword [ebp + 0x5708], edx
mov eax, edx
mov edx, dword [ebx + 0xc0]
cmp dword [edx + eax*4], esi
jne 0x47ab74
mov eax, dword [ebp + 0x5708]
shl eax, 3
push eax
call fcn.004adbfa
add esp, 4
cmp eax, esi
mov dword [ebp + 0x570c], eax
je 0x47abe2
mov ecx, dword [ebp + 0x5708]
xor eax, eax
cmp ecx, esi
jle 0x47aad3
mov ecx, dword [ebx + 0xc0]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov ecx, dword [ebp + 0x570c]
mov dword [ecx + eax*8 - 8], edx
mov dword [ecx + eax*8 - 4], esi
mov ecx, dword [ebp + 0x5708]
cmp eax, ecx
jl 0x47abba
jmp 0x47aad3
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebx + 0x60]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
lea edx, [esp + 0x28]
mov byte [esp + 0x2a], 0
push edx
call fcn.004b702e
mov esi, eax
mov eax, dword [ebx + 0x60]
add esp, 4
add eax, 2
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
lea edx, [esp + 0x28]
mov byte [esp + 0x2a], 0
push edx
call fcn.004b702e
mov edi, eax
mov eax, dword [ebx + 0x60]
add esp, 4
add eax, 4
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x28]
mov byte [esp + 0x2a], 0
push edx
call fcn.004b702e
add esp, 4
cmp esi, 1
jl 0x47ad46
cmp esi, 0xc
jg 0x47ad46
cmp edi, 1
jl 0x47ad46
cmp edi, 0x1f
jg 0x47ad46
xor ecx, ecx
cmp eax, 0x50
setge cl
dec ecx
push 0
and ecx, 0x64
push 0
add ecx, 0x76c
push 0
push edi
add ecx, eax
push esi
push ecx
call fcn.0047de70
add esp, 0x18
mov dword [ebp + 0xb838], eax
xor esi, esi
cmp dword [ebx + 0x44], esi
je 0x47accd
mov dword [ebp + 0x4e70], 1
cmp dword [ebx + 0x48], esi
jne 0x47ad58
test byte [ebp + 0x5735], 0x80
jne 0x47ad58
cmp dword [ebx + 0x30], esi
je 0x47ad58
cmp dword [ebx + 0x34], esi
je 0x47ad58
mov dword [ebp + 0xb83c], 1
mov edx, dword [ebx + 0x34]
lea esi, [ebp + 0x1e14]
push edx
push esi
call fcn.00478bc0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call fcn.004adbfa
add esp, 4
mov dword [ebp + 0x4ea4], eax
test eax, eax
jne 0x47ad4e
push ebp
push eax
push 0x67
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
push ebp
push 0
jmp 0x47ab13
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
cmp dword [ebx + 0x80], esi
je 0x47ad70
mov eax, dword [ebx + 0x84]
cmp eax, esi
je 0x47ad70
mov dword [ebp + 0x4e9c], eax
push esi
push esi
push esi
push 0x2bc
call fcn.00484c20
add esp, 8
push eax
call fcn.00474710
mov eax, dword [ebx + 0xc]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
je 0x47afba
mov ebx, eax
mov esi, ebx
mov al, byte [ebx]
mov dword [esp + 0x1c], esi
test al, al
je 0x47af08
xor edi, edi
cmp al, 0x22
jne 0x47adb9
xor dword [esp + 0x18], 1
cmp dword [esp + 0x18], edi
jne 0x47aeba
cmp al, 0x20
jne 0x47aeba
mov eax, ebx
sub eax, esi
cmp eax, 0xfff
jb 0x47addb
mov eax, 0xfff
mov esi, dword [esp + 0x1c]
mov ecx, eax
mov edx, ecx
lea edi, [esp + 0x22b4]
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 + 0x22b4], 0
lea eax, [esp + 0x22b4]
lea ecx, [esp + 0x25c]
push eax
push ecx
call fcn.00478bc0
mov eax, dword [ebp + 0x8c0]
add esp, 8
test eax, eax
je 0x47ae4b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x47ae4b
lea edx, [esp + 0x25c]
push ebp
push edx
call fcn.0047a590
add esp, 8
test eax, eax
jne 0x47aecf
mov dword [esp + 0x24], 1
jmp 0x47aeab
mov eax, dword [ebp + 0xb82c]
cmp eax, 1
je 0x47ae70
cmp eax, 2
je 0x47ae70
cmp eax, 3
je 0x47ae70
lea eax, [esp + 0x25c]
push ebp
push eax
call fcn.0047dc60
jmp 0x47ae7e
lea ecx, [esp + 0x25c]
push ebp
push ecx
call fcn.00479d90
add esp, 8
test eax, eax
je 0x47aeab
cmp eax, 0xffffffff
push ebp
jne 0x47aeec
lea edx, [esp + 0x260]
push edx
push 0
push 0x84
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov dword [esp + 0x1c], eax
xor edi, edi
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_CharNextA]
mov ebx, eax
mov al, byte [ebx]
test al, al
jne 0x47adb0
jmp 0x47af0a
mov ecx, dword [esp + 0x1c]
push ebp
push ecx
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov edx, dword [esp + 0x20]
push edx
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
xor edi, edi
lea eax, [esp + 0x25c]
push esi
push eax
call fcn.00478bc0
mov eax, dword [ebp + 0x8c0]
add esp, 8
cmp eax, edi
je 0x47af59
cmp dword [esp + 0x24], edi
jne 0x47af59
lea ecx, [esp + 0x25c]
push ebp
push ecx
call fcn.0047a590
add esp, 8
cmp eax, edi
je 0x47afbc
push ebp
push esi
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0xb82c]
cmp eax, 1
je 0x47af7e
cmp eax, 2
je 0x47af7e
cmp eax, 3
je 0x47af7e
lea edx, [esp + 0x25c]
push ebp
push edx
call fcn.0047dc60
jmp 0x47af8c
lea eax, [esp + 0x25c]
push ebp
push eax
call fcn.00479d90
add esp, 8
cmp eax, edi
je 0x47afbc
cmp eax, 0xffffffff
push ebp
jne 0x47af41
lea ecx, [esp + 0x260]
push ecx
push edi
push 0x84
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
add esp, 0xc
jmp 0x47afbc
xor edi, edi
mov eax, dword [ebp + 0xb82c]
cmp eax, 2
je 0x47afcc
cmp eax, 3
jne 0x47b00b
mov esi, dword [ebp + 0x56e0]
cmp esi, edi
je 0x47b00b
cmp dword [ebp + 0x5728], edi
je 0x47afed
mov edx, dword [esi + 0x58]
push ebp
push edx
call fcn.0047d5a0
add esp, 8
jmp 0x47aff2
mov eax, 1
push ebp
mov word [esi + 0x5c], ax
call fcn.00474890
add esp, 4
cmp eax, 1
je 0x47b00b
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x47afd6
push ebp
call fcn.00474890
add esp, 4
cmp eax, 1
push ebp
jne 0x47b039
mov eax, dword [ebp + 0x4ea8]
push eax
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
call fcn.0047d460
mov esi, eax
add esp, 4
cmp esi, edi
je 0x47b0a1
cmp esi, 9
jne 0x47b06b
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp esi, 0x10
push ebp
push edi
jne 0x47b07c
push 0x95
jmp 0x47ab18
push 0x96
call fcn.00484c20
add esp, 8
push eax
push esi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp dword [ebp + 0x4e9c], edi
jne 0x47b0b5
push ebp
push edi
push 0x97
jmp 0x47ab18
mov eax, dword [ebp + 0x4e84]
cmp eax, 9
je 0x47b0c5
cmp eax, 0x13
jne 0x47b0cb
mov dword [ebp + 0x4e9c], edi
mov eax, dword [ebp + 0xb82c]
cmp eax, edi
jne 0x47b101
cmp dword [ebp + 0x4e70], edi
jne 0x47b0f5
cmp dword [ebp + 0x4e6c], edi
jne 0x47b0f5
cmp dword [ebp + 0x4ea0], edi
jne 0x47b0f5
cmp dword [ebp + 0xb830], edi
je 0x47b101
push ebp
push edi
push 0x98
jmp 0x47ab18
cmp dword [ebp + 0x56e4], edi
jne 0x47b135
cmp eax, 1
jne 0x47b116
cmp dword [ebp + 0x4ec8], edi
je 0x47b135
push ebp
push edi
push 0x87
call fcn.00484c20
mov edx, dword [ebp + 0x4ea8]
add esp, 8
push eax
push edx
call fcn.004795f0
add esp, 0xc
cmp dword [ebp + 0x4ea4], edi
jne 0x47b1ea
mov eax, dword [ebp + 0x4ea8]
push 0x2f
push eax
call fcn.00483480
mov esi, eax
cmp esi, edi
jne 0x47b17d
mov ecx, dword [ebp + 0x4ea8]
push 0x5c
push ecx
call fcn.00483480
mov esi, eax
cmp esi, edi
jne 0x47b17d
mov edx, dword [ebp + 0x4ea8]
push 0x3a
push edx
call fcn.00483480
mov esi, eax
cmp esi, edi
je 0x47b1ea
cmp byte [esi], 0x3a
jne 0x47b18b
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov edx, dword [ebp + 0x4ea8]
mov eax, esi
sub eax, edx
inc eax
push eax
call fcn.004adbfa
add esp, 4
cmp eax, edi
mov dword [ebp + 0x4ea4], eax
jne 0x47b1ce
push ebp
push edi
push 0x67
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
movsx ebx, byte [esi]
mov byte [esi], 0
mov ecx, dword [ebp + 0x4ea8]
mov edx, dword [ebp + 0x4ea4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov byte [esi], bl
mov esi, dword [ebp + 0x56e0]
xor ebx, ebx
cmp esi, edi
je 0x47b26c
push ebp
call fcn.00474890
add esp, 4
test eax, eax
jne 0x47b26c
cmp word [esi + 0x5c], di
je 0x47b265
cmp dword [ebp + 0xb82c], edi
je 0x47b264
mov eax, dword [esi + 0x48]
push ebp
push edi
push edi
push eax
call fcn.0047ded0
add esp, 0x10
cmp eax, edi
je 0x47b241
cmp eax, dword [ebp + 0xb838]
jb 0x47b241
mov ecx, dword [ebp + 0xb82c]
cmp ecx, 2
je 0x47b23c
cmp ecx, 3
jne 0x47b264
cmp eax, dword [esi + 8]
ja 0x47b264
cmp eax, edi
mov word [esi + 0x5c], di
je 0x47b25c
cmp eax, dword [ebp + 0xb838]
jb 0x47b25c
mov eax, 1
mov word [esi + 0x5e], ax
jmp 0x47b265
xor eax, eax
mov word [esi + 0x5e], ax
jmp 0x47b265
inc ebx
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x47b1f6
push ebp
call fcn.00474890
add esp, 4
cmp eax, 1
jne 0x47b29a
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov esi, dword [ebp + 0x5718]
cmp esi, edi
je 0x47b2e2
push ebp
call fcn.00474890
add esp, 4
test eax, eax
jne 0x47b2e2
mov eax, dword [ebp + 0xb82c]
cmp eax, edi
je 0x47b2d2
cmp eax, 3
je 0x47b2d2
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0xb838]
cmp edx, eax
jb 0x47b2d2
mov esi, dword [esi + 0x1c]
jmp 0x47b2de
push ebp
push esi
call fcn.0047d250
add esp, 8
mov esi, eax
cmp esi, edi
jne 0x47b2a4
push ebp
call fcn.00474890
add esp, 4
cmp eax, 1
jne 0x47b310
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp ebx, edi
jne 0x47b391
cmp dword [ebp + 0x5718], edi
jne 0x47b391
mov ecx, dword [ebp + 0x56e0]
cmp ecx, edi
je 0x47b33e
cmp dword [ebp + 0xb834], edi
jne 0x47b391
cmp dword [ebp + 0x4e80], edi
jne 0x47b391
cmp dword [ebp + 0xb830], edi
jne 0x47b391
mov eax, dword [ebp + 0xb82c]
cmp eax, 2
je 0x47b38a
cmp eax, 3
je 0x47b38a
cmp ecx, edi
jne 0x47b36a
cmp dword [ebp + 0xb834], edi
jne 0x47b6d0
cmp dword [ebp + 0x4e80], edi
jne 0x47b6d0
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push 0xc
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
push ebp
push edi
jmp 0x47ccc0
cmp dword [ebp + 0x4ec8], edi
je 0x47b3bc
cmp ebx, edi
jne 0x47b3bc
mov eax, dword [ebp + 0x4eb0]
mov ecx, dword [ebp + 0x4eb4]
or eax, ecx
jne 0x47b3b5
cmp dword [ebp + 0x56e0], edi
je 0x47b3bc
mov eax, 1
jmp 0x47b3be
xor eax, eax
mov ecx, dword [esp + 0x32b8]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x4ec8], eax
cmp dword [ecx + 0x30], edi
je 0x47b3f7
cmp dword [ebp + 0x56e0], edi
jne 0x47b3f7
mov edx, dword [ebp + 0x4eb0]
mov eax, dword [ebp + 0x4eb4]
or edx, eax
jne 0x47b3f7
mov dword [esp + 0x38], edi
jmp 0x47b485
mov eax, dword [ebp + 0x4ea8]
push edi
push 0x80
push 4
push edi
push 1
push 0xc0000000
push eax
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x47b439
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push 0xf
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 0x4ea8]
mov dword [esp + 0x14], 0xffffffff
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xffff
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x56e0]
cmp eax, edi
jne 0x47b485
mov eax, dword [ebp + 0x4eb0]
mov ecx, dword [ebp + 0x4eb4]
or eax, ecx
jne 0x47b485
mov ecx, dword [ebp + 0x4ea8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp + 0x4e80], edi
je 0x47b499
mov dword [ebp + 0x4eb0], edi
mov dword [ebp + 0x4eb4], edi
mov dword [ebp + 0x5700], edi
mov dword [ebp + 0x5704], edi
mov eax, dword [ebp + 0x4ec8]
or ebx, 0xffffffff
cmp eax, edi
mov dword [esp + 0x14], ebx
je 0x47b570
push edi
push 0x80
push 3
mov dword [ebp + 0xa4], edi
mov edx, dword [ebp + 0x4ea8]
push edi
push 1
push 0xc0000000
push edx
call esi
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x47b501
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push 0xd
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [ebp + 0x4ea8]
push edi
mov dword [ebp + 0xb848], ecx
mov dword [ebp + 8], eax
mov ebx, dword [ebp + 0x4ebc]
mov esi, dword [ebp + 0x4eb8]
mov edx, ebx
mov ecx, esi
push edx
push ecx
push eax
call fcn.0047e6b0
add esp, 0x10
cmp eax, esi
jne 0x47b534
cmp edx, ebx
je 0x47b55f
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push 2
call fcn.00479380
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov dword [ebp + 0x5700], esi
mov dword [ebp + 0x5704], ebx
jmp 0x47b79c
test byte [ebp + 0x5735], 0x80
je 0x47b5da
mov ecx, dword [ebp + 0x4ea8]
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
push ecx
call esi
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x47b5ba
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push 0xd
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [ebp + 0x4ea8]
mov dword [ebp + 0xb848], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0x5700], edi
mov dword [ebp + 0x5704], edi
jmp 0x47b79c
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
call fcn.0047e290
add esp, 8
cmp eax, edi
mov dword [ebp + 0xb848], eax
jne 0x47b61c
push ebp
push edi
push 0x9a
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
push eax
call fcn.0047e4e0
add esp, 4
test eax, eax
je 0x47b639
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0xb848]
push edi
push 0x80
push 2
push edi
push 1
push 0xc0000000
push eax
call esi
cmp eax, ebx
mov dword [esp + 0x10], eax
mov dword [ebp + 8], eax
jne 0x47b67d
mov ecx, dword [ebp + 0xb848]
push ebp
push ecx
push 0xa
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
cmp dword [ebp + 0x56e0], edi
jne 0x47b695
mov edx, dword [ebp + 0x4eb0]
mov ecx, dword [ebp + 0x4eb4]
or edx, ecx
je 0x47b6f0
mov eax, dword [ebp + 0x4ea8]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push eax
call esi
mov ecx, eax
mov eax, dword [esp + 0x10]
cmp ecx, ebx
mov dword [esp + 0x14], ecx
jne 0x47b6f4
cmp eax, ebx
je 0x47b6d0
cmp dword [ebp + 8], eax
je 0x47b6d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebx
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push 0xd
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x4eb0]
mov esi, dword [ebp + 0x4eb4]
mov ebx, edx
or ebx, esi
je 0x47b784
push ebp
push esi
push edx
push eax
push ecx
call fcn.0047e380
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x47b784
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x10]
or ebx, 0xffffffff
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x47b741
cmp dword [ebp + 8], eax
je 0x47b741
push eax
call edi
mov dword [esp + 0x10], ebx
cmp esi, 0xa
jne 0x47b765
mov eax, dword [ebp + 0xb848]
push ebp
push eax
push esi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push esi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x4eb0]
mov dword [ebp + 0x5700], eax
mov ecx, dword [ebp + 0x4eb4]
mov dword [ebp + 0x5704], ecx
test byte [ebp + 0x5735], 0x80
push 0x2000
call fcn.004adbfa
add esp, 4
cmp eax, edi
mov dword [ebp + 0xb844], eax
jne 0x47b7ea
lea edx, [esp + 0x10]
push ebp
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0047d0c0
mov ecx, dword [ebp + 0xb848]
push ebp
push ecx
push 4
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov dword [ebp + 0x5730], edi
mov eax, dword [ebp + 0x56e0]
cmp eax, edi
mov dword [esp + 0x24], edi
je 0x47b811
cmp word [eax + 0x5c], di
je 0x47b80a
inc dword [ebp + 0x5730]
mov eax, dword [eax + 0x68]
cmp eax, edi
jne 0x47b7fe
mov edx, dword [ebp + 0x5720]
mov esi, dword [ebp + 0x5730]
add esi, edx
mov dword [ebp + 0x5730], esi
mov ecx, dword [ebp + 0x92c]
cmp ecx, edi
mov eax, esi
je 0x47b839
cmp dword [ebp + 0x930], edi
je 0x47b868
cmp eax, 0xffff
jb 0x47b868
push ebp
push edi
push 0x106
call fcn.00484c20
add esp, 8
push eax
push 6
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov dword [ebp + 0x5768], edi
mov dword [ebp + 0x5760], edi
mov dword [ebp + 0x5764], edi
mov ax, word [ebp + 0x5734]
test ah, 0x80
je 0x47bbe2
test ah, 0x10
je 0x47bbe2
cmp dword [ebp + 0x5718], edi
je 0x47bbe2
mov word [ebp + 0x57a4], di
mov eax, dword [ebp + 0x4ea0]
cmp eax, edi
je 0x47b8b9
mov word [ebp + 0x57a4], 1
mov dword [ebp + 0x57ac], edi
mov word [ebp + 0x57fc], 1
mov dword [ebp + 0x57d0], edi
mov dword [ebp + 0x5808], edi
mov esi, dword [ebp + 0x5718]
cmp esi, edi
je 0x47bbe2
mov eax, dword [ebp + 0x938]
test eax, eax
jne 0x47b8fa
mov eax, dword [ebp + 0x93c]
test eax, eax
je 0x47bb01
mov eax, dword [ebp + 0x944]
test eax, eax
jne 0x47bb01
mov eax, dword [ebp + 0x954]
test eax, eax
je 0x47ba28
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0xa60]
push eax
push ecx
mov dword [esp + 0xa64], 0x1018
call edi
mov edx, dword [esi]
lea eax, [esp + 0x126c]
push edx
push eax
call edi
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
xor edx, edx
mov dx, word [esi + 8]
mov dword [esp + 0x1268], edi
shr ecx, 0x10
mov dword [esp + 0x1260], ecx
mov dword [esp + 0x1264], edx
mov edx, dword [esi + 0x14]
mov ecx, 0x20
mov dword [esp + 0x1a6c], eax
call fcn.004b7280
mov ecx, dword [ebp + 0x940]
lea edx, [esp + 0xa5c]
push ecx
push edx
mov dword [esp + 0x1a78], eax
call dword [ebp + 0x93c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0xa60]
push eax
call ebx
mov ecx, dword [esi + 4]
mov edx, eax
push ecx
mov dword [esp + 0x1c], edx
call ebx
mov edx, dword [esp + 0x18]
cmp edx, eax
jle 0x47b9e2
mov eax, dword [esi + 4]
push eax
call fcn.004ad74d
add esp, 4
lea ecx, [esp + 0xa60]
push ecx
call ebx
add eax, 2
push eax
call fcn.004adbfa
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0xa60]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [esp + 0x1268]
mov ecx, dword [esp + 0x1264]
mov edx, dword [esp + 0x1260]
mov eax, edi
xor eax, ebx
and ecx, 0xffff
shl edx, 0x10
and eax, 0x27
add ecx, edx
xor eax, edi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x47bb01
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x48]
push ecx
push edx
call edi
mov eax, dword [esi]
lea ecx, [esp + 0x158]
push eax
push ecx
call edi
mov edx, dword [esi + 8]
mov ecx, dword [ebp + 0x940]
xor eax, eax
push ecx
mov ax, word [esi + 8]
shr edx, 0x10
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x15c], eax
mov dword [esp + 0x24], eax
call dword [ebp + 0x938]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x48]
push eax
call ebx
mov ecx, dword [esi + 4]
mov edx, eax
push ecx
mov dword [esp + 0x1c], edx
call ebx
mov edx, dword [esp + 0x18]
cmp edx, eax
jle 0x47bac3
mov eax, dword [esi + 4]
push eax
call fcn.004ad74d
add esp, 4
lea ecx, [esp + 0x48]
push ecx
call ebx
add eax, 2
push eax
call fcn.004adbfa
add esp, 4
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x48]
push edx
push eax
call edi
mov ecx, dword [esp + 0x150]
mov edx, dword [esp + 0x14c]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x154]
and ecx, 0xffff
shl edx, 0x10
add ecx, edx
mov dword [esi + 8], ecx
mov ecx, eax
xor ecx, ebx
and ecx, 0x27
xor ecx, eax
mov dword [esi + 0xc], ecx
mov eax, dword [ebp + 0x92c]
xor ebx, ebx
cmp eax, ebx
je 0x47bb1a
lea edi, [ebp + 0x57a0]
mov word [edi], 0x2d
jmp 0x47bb43
cmp dword [ebp + 0x4e7c], ebx
je 0x47bb29
mov eax, 0x14
jmp 0x47bb3a
mov edx, dword [ebp + 0x4e78]
xor eax, eax
cmp edx, 9
sete al
add eax, 0x14
lea edi, [ebp + 0x57a0]
mov word [edi], ax
mov eax, dword [esi + 4]
push eax
mov dword [ebp + 0x57f8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x10]
push ebp
push edx
push edi
mov dword [ebp + 0x57c0], eax
mov dword [ebp + 0x57c4], ebx
mov dword [ebp + 0x57c8], ebx
mov dword [ebp + 0x57cc], ebx
call fcn.004810a0
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x47bc91
mov eax, dword [ebp + 0x5804]
mov edx, dword [ebp + 0x57cc]
mov ecx, dword [ebp + 0x57c8]
mov edi, dword [ebp + 0x5760]
add eax, edx
add eax, ecx
mov ecx, dword [ebp + 0x57c0]
lea edx, [eax + ecx + 0x2e]
add edi, edx
mov dword [ebp + 0x5760], edi
mov ecx, dword [ebp + 0x5764]
adc ecx, ebx
mov dword [ebp + 0x5764], ecx
test byte [ebp + 0x5735], 0x40
je 0x47bbd5
cmp dword [ebp + 0x5738], ebx
ja 0x47bccd
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x47b8e2
xor edi, edi
mov eax, dword [ebp + 0x5760]
mov esi, dword [ebp + 0x5700]
mov edx, dword [ebp + 0x5738]
mov ecx, dword [ebp + 0x5764]
add esi, eax
mov dword [ebp + 0x5744], edx
mov dword [ebp + 0x5700], esi
mov edx, dword [ebp + 0x5704]
adc edx, ecx
mov dword [ebp + 0x5880], edi
mov dword [ebp + 0x5704], edx
test byte [ebp + 0x5735], 0x80
je 0x47bd2e
mov edx, dword [ebp + 0x5700]
mov eax, dword [ebp + 0x5704]
or edx, eax
jne 0x47bd2e
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.00480fd0
mov esi, eax
add esp, 8
cmp esi, edi
je 0x47bd11
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x47bc72
cmp dword [ebp + 8], eax
je 0x47bc72
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push esi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x47bcae
cmp dword [ebp + 8], eax
je 0x47bcae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push edi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x47bcea
cmp dword [ebp + 8], eax
je 0x47bcea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov dword [ebp], 0xa
mov ecx, dword [ebp + 0x4ea8]
push ebp
push ecx
push 0xa
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [ebp + 0x5700]
add ecx, 4
mov dword [ebp + 0x5700], ecx
mov eax, dword [ebp + 0x5704]
adc eax, edi
mov dword [ebp + 0x5704], eax
lea edi, [ebp + 0x56e0]
mov dword [ebp + 0x948], 1
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov esi, dword [edi]
cmp esi, ebx
je 0x47bef6
mov eax, dword [ebp + 0x8c0]
mov dword [ebp + 0x8c8], ebx
cmp eax, ebx
je 0x47bd75
mov edx, dword [esi + 0x48]
mov eax, dword [ebp + 0x8e8]
cmp edx, eax
jne 0x47bd75
mov dword [ebp + 0x8c8], 1
cmp word [esi + 0x5c], bx
jne 0x47bdb5
cmp dword [ebp + 0x8c8], ebx
jne 0x47bdb5
cmp dword [ebp + 0x4ec8], ebx
jne 0x47bda9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push ebp
push eax
push ecx
push esi
call fcn.004762c0
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x47bff4
lea edi, [esi + 0x68]
mov dword [esp + 0x1c], edi
jmp 0x47bee6
cmp dword [ebp + 0xb82c], ebx
je 0x47be45
lea edx, [esp + 0x10]
push ebp
push edx
push esi
call fcn.00476520
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x47be35
cmp edi, 0x12
jne 0x47c043
mov eax, dword [esi + 0x48]
lea edi, [ebp + 0xc860]
push eax
push edi
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.00478590
add esp, 4
push ebp
push edi
push ebx
push 0x88
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ebp
push ecx
push edx
push esi
call fcn.004762c0
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x47c0a2
lea edi, [esi + 0x68]
mov word [esi + 0x5c], bx
mov dword [esp + 0x1c], edi
jmp 0x47bee6
mov eax, dword [esi + 0x58]
push eax
push 2
push 0x2c0
call fcn.00484c20
add esp, 8
lea ecx, [esp + 0x1a78]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x1a80]
push edx
call fcn.00475d90
mov eax, dword [esi + 0x48]
mov ebx, dword [esi + 0x68]
push eax
call fcn.004ad74d
mov ecx, dword [esi + 0x58]
push ecx
call fcn.004ad74d
mov eax, dword [esi + 0x24]
add esp, 0x18
test eax, eax
je 0x47be9f
mov edx, dword [esi + 0x4c]
push edx
call fcn.004ad74d
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x47beb9
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x4c]
cmp eax, ecx
je 0x47beb9
push eax
call fcn.004ad74d
add esp, 4
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x47becc
mov eax, dword [esi + 0x54]
push eax
call fcn.004ad74d
add esp, 4
push esi
call fcn.004ad74d
mov dword [edi], ebx
mov eax, dword [ebp + 0x56e4]
add esp, 4
dec eax
mov dword [ebp + 0x56e4], eax
xor ebx, ebx
mov dword [ebp + 0x8c8], ebx
mov esi, dword [edi]
cmp esi, ebx
jne 0x47bd4e
mov ebx, dword [ebp + 0x5718]
xor edi, edi
cmp ebx, edi
mov dword [ebp + 0x5880], 1
mov dword [ebp + 0x948], edi
je 0x47c22b
push 0x70
call fcn.004adbfa
mov esi, eax
add esp, 4
test esi, esi
je 0x47c108
mov ecx, 0x1c
xor eax, eax
mov edi, esi
push ebp
rep stosd dword es:[edi], eax
mov edx, dword [ebx]
push ebx
mov dword [esi + 0x48], edx
mov eax, dword [ebx + 4]
mov dword [esi + 0x58], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp + 0x5888], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 0x5884], edx
call fcn.0047d250
mov ebx, eax
mov word [esi + 0x5c], 1
mov eax, dword [ebp + 0x8c0]
add esp, 8
test eax, eax
mov dword [ebp + 0x8c8], 0
je 0x47bf9c
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp + 0x8e8]
cmp eax, ecx
jne 0x47bf9c
mov dword [ebp + 0x8c8], 1
lea ecx, [esp + 0x10]
push ebp
push ecx
push esi
call fcn.00476520
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47bfba
cmp edi, 0x12
jne 0x47c14e
cmp edi, 0x12
mov dword [ebp + 0x8c8], 0
je 0x47c1d5
mov edx, dword [esp + 0x1c]
mov dword [edx], esi
mov ecx, dword [ebp + 0x56e4]
add esi, 0x68
inc ecx
test ebx, ebx
mov dword [esp + 0x1c], esi
mov dword [ebp + 0x56e4], ecx
jne 0x47bf16
jmp 0x47c229
mov ecx, dword [esi + 0x58]
lea ebx, [ebp + 0x466c]
push ecx
push 0
push 0x9f
call fcn.00484c20
add esp, 8
push eax
push str._s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x20]
push ebp
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0047d0c0
push ebp
push ebx
push edi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ecx, dword [esi + 0x48]
lea ebx, [ebp + 0x466c]
push ecx
push 0
push 0x9e
call fcn.00484c20
add esp, 8
push eax
push str._s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
call fcn.00478590
lea edx, [esp + 0x24]
push ebp
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.0047d0c0
push ebp
push ebx
push edi
call fcn.00479380
mov ecx, dword [ebp]
push ebp
push ecx
call fcn.004791d0
mov eax, dword [ebp]
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov edx, dword [esi + 0x48]
lea ebx, [ebp + 0xc860]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.00478590
add esp, 4
lea esi, [ebp + 0x466c]
push ebx
push 0
push 0x9f
call fcn.00484c20
add esp, 8
push eax
push str._s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x20]
push ebp
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0047d0c0
push ebp
push esi
push edi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea eax, [esp + 0x10]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047d0c0
add esp, 0xc
push ebp
push 0
push 0x9b
call fcn.00484c20
add esp, 8
push eax
push 4
call fcn.00479380
mov edx, dword [ebp]
push ebp
push edx
call fcn.004791d0
mov eax, dword [ebp]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea eax, [esp + 0x10]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047d0c0
mov edx, dword [esi + 0x48]
add esp, 0xc
lea ebx, [ebp + 0xc860]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call fcn.00478590
add esp, 4
push ebx
push 0
push 0x9e
call fcn.00484c20
add esp, 8
lea ebx, [ebp + 0x466c]
push eax
push str._s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
push ebp
push ebx
push edi
call fcn.00479380
mov eax, dword [ebp]
push ebp
push eax
call fcn.004791d0
mov ecx, dword [esi + 0x48]
push ecx
call fcn.004ad74d
mov edx, dword [esi + 0x58]
push edx
call fcn.004ad74d
push esi
call fcn.004ad74d
add esp, 0x30
mov dword [esp + 0x10], 0xffffffff
jmp 0x47c229
mov eax, dword [esi + 0x48]
lea edi, [ebp + 0xc860]
push eax
push edi
mov dword [esp + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call fcn.00478590
add esp, 4
push ebp
push edi
push 0
push 0x89
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
mov ecx, dword [esi + 0x48]
push ecx
call fcn.004ad74d
mov edx, dword [esi + 0x58]
push edx
call fcn.004ad74d
push esi
call fcn.004ad74d
add esp, 0x18
xor edi, edi
mov eax, dword [ebp + 0x4ea0]
cmp eax, edi
je 0x47c244
push eax
call fcn.004ad74d
add esp, 4
mov dword [ebp + 0x4ea0], edi
cmp dword [ebp], edi
je 0x47c274
lea eax, [esp + 0x10]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047d0c0
mov edx, dword [ebp]
push ebp
push edx
call fcn.004791d0
mov eax, dword [ebp]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov ax, word [ebp + 0x5734]
mov dword [ebp + 0x8b4], 1
test ah, 0x80
je 0x47c7d4
test ah, 0x10
je 0x47c7d4
cmp dword [ebp + 0x56e0], edi
je 0x47c7d4
mov eax, dword [ebp + 0x5738]
mov ecx, dword [ebp + 0x5744]
cmp eax, ecx
je 0x47c2b9
mov dword [ebp + 0x5748], edi
mov edx, dword [ebp + 0x56f4]
mov eax, dword [ebp + 0x56f0]
lea ecx, [esp + 0x10]
push ebp
push ecx
mov ecx, dword [ebp + 0x5764]
push edx
mov edx, dword [ebp + 0x5760]
push eax
mov eax, dword [ebp + 0x5730]
push edi
push edi
push ecx
push edx
push edi
push eax
call fcn.00481c00
mov esi, eax
add esp, 0x28
cmp esi, edi
je 0x47c32f
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x47c310
cmp dword [ebp + 8], eax
je 0x47c310
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [ebp + 0xb848]
push ebp
push ecx
push esi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0xa8]
or ebx, 0xffffffff
cmp eax, ebx
je 0x47c388
lea edx, [esp + 0x10]
push ebp
push edx
push edi
call fcn.00484830
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x47c388
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47c369
cmp dword [ebp + 8], eax
je 0x47c369
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.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov esi, 0x4000
test word [ebp + 0x5734], si
je 0x47c3ba
mov eax, dword [ebp + 0xa8]
cmp eax, ebx
je 0x47c3ad
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 + 0x5768], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x47c3df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x47c6e5
mov dword [esp + 0x10], ebx
mov dword [ebp + 8], ebx
test word [ebp + 0x5734], si
je 0x47c3f1
mov dword [ebp + 0x5738], edi
cmp dword [ebp + 0x5738], edi
je 0x47c42b
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
call fcn.004839c0
add esp, 4
push eax
call fcn.0048ab10
push ebp
push 0x526974
push edi
push ebx
push 1
push edi
call fcn.004842a0
add esp, 0x20
cmp eax, 1
jne 0x47b27a
mov dword [ebp + 0x5700], edi
mov dword [ebp + 0x5704], edi
test word [ebp + 0x5734], si
mov dword [ebp + 0x5758], edi
mov dword [ebp + 0x8b8], 0x200000
mov dword [ebp + 0x5738], edi
mov dword [ebp + 0x575c], edi
mov dword [ebp + 0x8bc], edi
je 0x47c494
lea eax, [ebp + 0xac]
push 0x2e
push eax
call fcn.00483480
cmp eax, edi
je 0x47c705
inc eax
push 0x51f8dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test word [ebp + 0x5734], si
lea eax, [ebp + 0xac]
jne 0x47c49a
mov eax, dword [ebp + 0x4ea8]
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x47c603
lea ecx, [esp + 0x34]
push edi
lea esi, [ebp + 0x576c]
push ecx
push 0x2e
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47c5c0
cmp dword [esp + 0x34], 0x2e
jne 0x47c5c0
cmp dword [esi], 0x2014b50
jne 0x47c5c0
mov ax, word [ebp + 0x5788]
cmp ax, di
je 0x47c5c0
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
movsx eax, ax
push edi
lea esi, [ebp + 0x466c]
push edx
push eax
push esi
push ecx
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47c528
mov ebx, dword [esp + 0x34]
movsx edx, word [ebp + 0x5788]
mov byte [edx + ebp + 0x466c], 0
mov eax, dword [ebp + 0x928]
cmp eax, edi
jne 0x47c552
mov eax, dword [ebp + 0x56e0]
mov eax, dword [eax + 0x58]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemA]
movsx ecx, word [ebp + 0x5788]
cmp ebx, ecx
jne 0x47c576
mov edx, dword [ebp + 0x56e0]
mov eax, dword [edx + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x47c632
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 0x5735], 0x40
mov dword [esp + 0x10], 0xffffffff
push ebp
jne 0x47c757
push 0x526974
push edi
push edi
push 1
push 0xa
call fcn.004842a0
add esp, 0x18
cmp eax, 1
jne 0x47c776
mov esi, 0x4000
or ebx, 0xffffffff
jmp 0x47c3c4
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 0x5735], 0x40
mov dword [esp + 0x10], ebx
push ebp
jne 0x47c796
push 0x526974
push edi
push edi
push 1
push 0xa
call fcn.004842a0
add esp, 0x18
cmp eax, 1
jne 0x47b27a
mov esi, 0x4000
jmp 0x47c3c4
test word [ebp + 0x5734], si
push ebp
jne 0x47c7b5
push 0x526974
push edi
push edi
push 1
push 0xa
call fcn.004842a0
add esp, 0x18
cmp eax, 1
jne 0x47b2f0
jmp 0x47c3c4
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, dword [ebp + 0x56e0]
cmp esi, edi
je 0x47c69a
lea ecx, [esp + 0x10]
push ebp
push ecx
push esi
call fcn.004810a0
mov ebx, eax
add esp, 0xc
cmp ebx, edi
jne 0x47c725
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 + 0x5700]
add edx, ecx
mov dword [ebp + 0x5700], edx
mov ecx, dword [ebp + 0x5704]
adc ecx, edi
mov dword [ebp + 0x5704], ecx
mov esi, dword [esi + 0x68]
cmp esi, edi
jne 0x47c64a
test byte [ebp + 0x5735], 0x40
je 0x47c6d5
lea edx, [ebp + 0xac]
lea eax, [esp + 0x1a74]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [ebp + 0x5738]
lea ecx, [esp + 0x1a74]
push ebp
push ecx
inc edx
push edi
push edx
push edi
push 0xe
call fcn.004842a0
add esp, 0x18
mov dword [ebp + 0x5768], edi
xor esi, esi
or edi, 0xffffffff
jmp 0x47ca8f
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push 0x11
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea ecx, [ebp + 0xac]
push ebp
push ecx
push 0x11
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x4ea8]
push ebp
push eax
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea ecx, [ebp + 0xac]
push ecx
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov edx, dword [ebp + 0x4ea8]
push ebp
push edx
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea eax, [ebp + 0xac]
push eax
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
lea edx, [ebp + 0xac]
push edx
push 9
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x5700]
mov ecx, dword [ebp + 0x5704]
mov dword [esp + 0x40], eax
mov dword [ebp + 0x4eb8], eax
mov eax, dword [ebp + 0x4ec0]
xor edi, edi
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x44], ecx
mov dword [ebp + 0x4ebc], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
je 0x47c81d
push eax
call fcn.004ad74d
add esp, 4
mov dword [ebp + 0x4ec0], edi
mov esi, dword [ebp + 0x56e0]
mov dword [ebp + 0x4ec4], 0
test esi, esi
je 0x47c8b0
lea edx, [esp + 0x10]
push ebp
push edx
push esi
call fcn.004810a0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x47c8d3
mov eax, dword [esi + 0x64]
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
add eax, edx
mov edx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esi + 0x20]
lea eax, [eax + ecx + 0x2e]
xor ecx, ecx
add ebx, eax
adc edx, ecx
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x5700]
add edx, eax
mov dword [ebp + 0x5700], edx
mov edx, dword [ebp + 0x5704]
adc edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x5704], edx
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov esi, dword [esi + 0x68]
add ecx, edx
mov edx, dword [esp + 0x20]
adc edx, eax
inc edi
test esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jne 0x47c831
test edi, edi
jne 0x47c906
push ebp
push 0x526974
push 0
push 0x8a
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
add esp, 0xc
jmp 0x47c9a3
lea ecx, [esp + 0x10]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0047d0c0
mov eax, dword [ebp + 0xb848]
mov ecx, dword [esp + 0x24]
push ebp
push eax
push ecx
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x4ec4]
test eax, eax
je 0x47c9a3
mov eax, dword [ebp + 0x4ec0]
mov ecx, dword [esp + 0x10]
xor esi, esi
lea edx, [esp + 0x3c]
push esi
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x47c954
cmp dword [esp + 0x3c], ebx
jne 0x47c954
mov eax, dword [ebp + 0x4ec0]
cmp eax, esi
je 0x47c9a5
push eax
call fcn.004ad74d
add esp, 4
mov dword [ebp + 0x4ec0], esi
jmp 0x47c9a5
lea edx, [esp + 0x10]
push ebp
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0047d0c0
mov eax, dword [ebp + 0x4ec0]
add esp, 0xc
cmp eax, esi
je 0x47c980
push eax
call fcn.004ad74d
add esp, 4
mov dword [ebp + 0x4ec0], esi
mov ecx, dword [ebp + 0xb848]
mov edx, dword [esp + 0x18]
push ebp
push ecx
push edx
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
xor esi, esi
mov ecx, dword [ebp + 0x56f4]
mov edx, dword [ebp + 0x56f0]
lea eax, [esp + 0x10]
push ebp
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
mov eax, edi
push edx
cdq
push ebx
push edx
push eax
call fcn.00481c00
mov edi, eax
add esp, 0x28
cmp edi, esi
je 0x47ca0b
lea eax, [esp + 0x10]
push ebp
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.0047d0c0
mov edx, dword [ebp + 0xb848]
push ebp
push edx
push edi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0xa8]
or edi, 0xffffffff
cmp eax, edi
je 0x47ca5c
lea eax, [esp + 0x10]
push ebp
push eax
push esi
call fcn.00484830
mov ebx, eax
add esp, 0xc
cmp ebx, esi
je 0x47ca5c
lea ecx, [esp + 0x10]
push ebp
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.0047d0c0
lea eax, [ebp + 0xac]
push ebp
push eax
push ebx
call fcn.00479380
mov eax, dword [ebp]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
test byte [ebp + 0x5735], 0x40
je 0x47ca8f
mov eax, dword [ebp + 0xa8]
cmp eax, edi
je 0x47ca7c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0xa8], edi
lea ecx, [ebp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
dec dword [ebp + 0x5738]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x47caa2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x10]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x47caeb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov dword [esp + 0x10], edi
jne 0x47caeb
mov eax, dword [ebp + 0x4ec8]
mov edx, dword [ebp + 0xb848]
neg eax
sbb eax, eax
push ebp
and eax, 4
push edx
add eax, 0xa
push eax
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov eax, dword [ebp + 0x4e78]
push ebp
cmp eax, 9
jne 0x47cafe
call fcn.00488320
jmp 0x47cb03
call fcn.00485880
add esp, 4
test byte [ebp + 0x5735], 0x40
jne 0x47cb25
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x47cb25
mov ecx, dword [ebp + 0x4ea8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ax, word [ebp + 0x5734]
test ah, 0x80
je 0x47cbeb
test ah, 0x40
je 0x47cbc3
mov eax, dword [ebp + 0x4ea8]
cmp eax, esi
je 0x47cbc3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ebx, [ebp + 0xac]
push 0x2e
push ebx
call fcn.00483480
cmp eax, esi
je 0x47cb84
mov ecx, dword [ebp + 0x8b0]
inc eax
cmp ecx, 0x64
push ecx
jge 0x47cb75
push str.z_02d
jmp 0x47cb7a
push str._03d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp + 0x4ea8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp + 0x4ea8]
lea ecx, [esp + 0x1a74]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x8b0]
lea edx, [esp + 0x1a74]
push ebp
push edx
push esi
push eax
push esi
push 0xe
call fcn.004842a0
add esp, 0x18
mov ecx, dword [ebp + 0xb848]
push ecx
call fcn.004ad74d
mov edx, dword [ebp + 0xb848]
mov eax, dword [ebp + 0x4ea8]
add esp, 4
cmp edx, eax
jne 0x47cca7
jmp 0x47cca1
cmp dword [ebp + 0x4ec8], esi
jne 0x47ccad
mov eax, dword [ebp + 0xb848]
mov ecx, dword [ebp + 0x4ea8]
push ebp
push eax
push ecx
call fcn.0047e180
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x47cc82
mov edx, dword [ebp + 0xb848]
push ebp
push edx
push esi
push 0x8b
call fcn.00484c20
add esp, 8
push eax
call fcn.004795f0
mov eax, dword [ebp + 0xb848]
push eax
call fcn.004ad74d
mov ecx, dword [ebp + 0xb848]
mov eax, dword [ebp + 0x4ea8]
add esp, 0x10
cmp ecx, eax
jne 0x47cc55
mov dword [ebp + 0x4ea8], esi
push ebp
push esi
push 0x9c
mov dword [ebp + 0xb848], esi
call fcn.00484c20
add esp, 8
push eax
push edi
call fcn.00479380
mov eax, dword [ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret
mov edx, dword [ebp + 0xb848]
push edx
call fcn.004ad74d
mov eax, dword [ebp + 0xb848]
mov ecx, dword [ebp + 0x4ea8]
add esp, 4
cmp eax, ecx
jne 0x47cca7
mov dword [ebp + 0x4ea8], esi
mov dword [ebp + 0xb848], esi
mov eax, dword [esp + 0x24]
push ebp
neg eax
sbb eax, eax
mov dword [ebp + 0xb848], esi
and eax, 0x12
push eax
call fcn.004791d0
mov eax, dword [ebp]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x32a4
ret