Function at 0x402180
Capabilities:
Copy file
Delete directory
Delete file
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x504
mov eax, dword [0x43416c]
mov ecx, dword [esp + 0x510]
mov edx, dword [esp + 0x50c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x510], eax
mov eax, dword [esp + 0x524]
push eax
mov eax, dword [esp + 0x51c]
push ecx
push edx
push eax
lea ecx, [esp + 0x338]
call fcn.0040a890
lea ecx, [esp + 0x1bc]
push 1
push ecx
call fcn.004087c0
mov edx, dword [eax + 0x14]
add esp, 8
mov ebp, 0x10
push ebp
push str.UninstallExecute
push edx
xor ebx, ebx
push ebx
mov ecx, eax
call fcn.00401150
test eax, eax
mov eax, dword [esp + 0x1d4]
setne byte [esp + 0x12]
cmp eax, ebp
jb 0x40220f
mov eax, dword [esp + 0x1c0]
push eax
call fcn.004043d0
add esp, 4
cmp byte [esp + 0x12], bl
je 0x402521
lea ecx, [esp + 0x280]
push ecx
call fcn.0040c230
add esp, 4
push 0xe
mov edi, 0xf
push str.uninstall.exe
lea ecx, [esp + 0x234]
mov dword [esp + 0x24c], edi
mov dword [esp + 0x248], ebx
mov byte [esp + 0x238], bl
call fcn.00401930
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x1e8]
push edx
call fcn.0040b930
mov eax, dword [esp + 0x88]
add esp, 0x14
cmp eax, ebp
jb 0x402299
mov eax, dword [esp + 0x60]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x244], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x4022be
mov ecx, dword [esp + 0x230]
push ecx
call fcn.004043d0
add esp, 4
push 0xe
push str.uninstall.ini
lea ecx, [esp + 0x234]
mov dword [esp + 0x24c], edi
mov dword [esp + 0x248], ebx
mov byte [esp + 0x238], bl
call fcn.00401930
lea edx, [esp + 0x22c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0040bf70
add esp, 4
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x220]
push edx
call fcn.0040b930
mov eax, dword [esp + 0x88]
add esp, 0x14
cmp eax, ebp
jb 0x40232f
mov eax, dword [esp + 0x60]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x58], ebp
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x40234e
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x244], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x402373
mov edx, dword [esp + 0x230]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x1f0], ebp
mov esi, dword [esp + 0x1dc]
jae 0x40238a
lea esi, [esp + 0x1dc]
lea eax, [esp + 0x1bc]
push eax
call fcn.0040c160
mov ecx, dword [eax + 0x18]
add esp, 4
cmp ecx, ebp
jb 0x4023a6
mov eax, dword [eax + 4]
jmp 0x4023a9
add eax, 4
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [esp + 0x1d4], ebp
jb 0x4023cb
mov ecx, dword [esp + 0x1c0]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x1f0], ebp
mov edx, dword [esp + 0x1dc]
jae 0x4023e2
lea edx, [esp + 0x1dc]
mov eax, edx
mov dword [esp + 0x244], edi
mov dword [esp + 0x240], ebx
mov byte [esp + 0x230], bl
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402400
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x234]
call fcn.00401930
cmp dword [esp + 0x228], ebp
mov eax, dword [esp + 0x214]
jae 0x40242e
lea eax, [esp + 0x214]
push eax
lea edx, [esp + 0x44]
push str._UninstallExecute____s_
push edx
call fcn.0040bda0
push eax
lea eax, [esp + 0x290]
push eax
lea ecx, [esp + 0x240]
push ebx
push ecx
call fcn.0040b3d0
mov eax, dword [esp + 0x74]
add esp, 0x1c
cmp eax, ebp
jb 0x40246d
mov edx, dword [esp + 0x44]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x244], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x402492
mov eax, dword [esp + 0x230]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x228], ebp
jb 0x4024ab
mov ecx, dword [esp + 0x214]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x1f0], ebp
mov dword [esp + 0x228], edi
mov dword [esp + 0x224], ebx
mov byte [esp + 0x214], bl
jb 0x4024d9
mov edx, dword [esp + 0x1dc]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x298], ebp
mov dword [esp + 0x1f0], edi
mov dword [esp + 0x1ec], ebx
mov byte [esp + 0x1dc], bl
jb 0x402507
mov eax, dword [esp + 0x284]
push eax
call fcn.004043d0
add esp, 4
mov dword [esp + 0x298], edi
mov dword [esp + 0x294], ebx
mov byte [esp + 0x284], bl
jmp 0x403539
lea ecx, [esp + 0x1bc]
push ecx
call fcn.0040c230
push eax
call fcn.0040b3a0
mov eax, dword [esp + 0x1dc]
add esp, 8
cmp eax, ebp
jb 0x402552
mov edx, dword [esp + 0x1c0]
push edx
call fcn.004043d0
add esp, 4
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x1f8]
push ecx
lea edx, [esp + 0x1c4]
mov edi, 0xf
push 2
push edx
mov dword [esp + 0x21c], edi
mov dword [esp + 0x218], ebx
mov byte [esp + 0x208], bl
mov dword [esp + 0x270], edi
mov dword [esp + 0x26c], ebx
mov byte [esp + 0x25c], bl
call fcn.004087c0
add esp, 8
push eax
call fcn.0040c510
mov eax, dword [esp + 0x1e0]
add esp, 0xc
cmp eax, ebp
jb 0x4025c7
mov eax, dword [esp + 0x1c0]
push eax
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0040cd30
lea ecx, [esp + 0x1bc]
push 2
push ecx
call fcn.004087c0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.0040ce20
neg al
sbb al, al
inc al
mov byte [esp + 0x12], al
cmp dword [esp + 0x1d4], ebp
jb 0x40260f
mov edx, dword [esp + 0x1c0]
push edx
call fcn.004043d0
add esp, 4
cmp byte [esp + 0x12], bl
je 0x402699
push ebp
push 0x42a4f4
push 0x42a4c4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x18]
call fcn.0040cd60
cmp dword [esp + 0x260], ebp
jb 0x40264d
mov eax, dword [esp + 0x24c]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x20c], ebp
mov dword [esp + 0x260], edi
mov dword [esp + 0x25c], ebx
mov byte [esp + 0x24c], bl
jb 0x40274d
mov ecx, dword [esp + 0x1f8]
push ecx
call fcn.004043d0
add esp, 4
mov dword [esp + 0x20c], edi
mov dword [esp + 0x208], ebx
mov byte [esp + 0x1f8], bl
jmp 0x403539
lea ecx, [esp + 0x210]
mov byte [esp + 0x12], bl
call fcn.0040d010
lea edx, [esp + 0x1bc]
push 2
push edx
call fcn.004087c0
add esp, 8
push eax
lea ecx, [esp + 0x214]
call fcn.0040d0a0
neg al
sbb al, al
inc al
mov byte [esp + 0x13], al
cmp dword [esp + 0x1d4], ebp
jb 0x4026eb
mov eax, dword [esp + 0x1c0]
push eax
call fcn.004043d0
add esp, 4
cmp byte [esp + 0x13], bl
je 0x402767
lea ecx, [esp + 0x210]
call fcn.0040d070
lea ecx, [esp + 0x18]
call fcn.0040cd60
cmp dword [esp + 0x260], ebp
jb 0x40271f
mov ecx, dword [esp + 0x24c]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x20c], ebp
mov dword [esp + 0x260], edi
mov dword [esp + 0x25c], ebx
mov byte [esp + 0x24c], bl
jb 0x40274d
mov edx, dword [esp + 0x1f8]
push edx
call fcn.004043d0
add esp, 4
mov dword [esp + 0x20c], edi
mov dword [esp + 0x208], ebx
mov byte [esp + 0x1f8], bl
jmp 0x403539
push fcn.00401410
push 0x4013f0
push 2
push 0x1c
lea eax, [esp + 0x2ac]
push eax
call fcn.0041de61
lea ecx, [esp + 0x29c]
push ecx
push 2
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
je 0x40283f
mov edx, dword [esp + 0x2b0]
push 8
push str.AppName
push edx
push ebx
lea ecx, [esp + 0x2ac]
call fcn.00401150
test eax, eax
jne 0x4027f0
lea ecx, [esp + 0x2c]
call fcn.0040cea0
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x30]
call fcn.0040cf70
cmp eax, 1
jne 0x4034db
lea ecx, [esp + 0x2c]
mov byte [esp + 0x12], al
call fcn.0040cf00
push fcn.00401410
push 2
push 0x1c
lea ecx, [esp + 0x2a8]
push ecx
call fcn.0041de01
push fcn.00401410
push 0x4013f0
push 2
push 0x1c
lea edx, [esp + 0x2ac]
push edx
call fcn.0041de61
lea eax, [esp + 0x29c]
push eax
push 2
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
jne 0x4027a0
push fcn.00401410
push 2
push 0x1c
lea ecx, [esp + 0x2a8]
push ecx
call fcn.0041de01
cmp byte [esp + 0x12], bl
jne 0x402872
push ebp
push 0x42a4f4
push 0x42a48c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40350c
lea ecx, [esp + 0x210]
call fcn.0040d070
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push 0x144
push 0x42a478
push 0x42a440
push ebx
call esi
cmp eax, 7
je 0x403518
push 0x144
push 0x42a478
push 0x42a420
push ebx
call esi
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.00401820
lea ecx, [esp + 0x34]
call fcn.00401820
push str.DeleteSaveFile.ini
lea ecx, [esp + 0x2f4]
call fcn.00401a80
push 0x42a3fc
lea ecx, [esp + 0x98]
mov dword [esp + 0x280], edi
mov dword [esp + 0x27c], ebx
mov byte [esp + 0x26c], bl
call fcn.00401a80
push eax
lea edx, [esp + 0x1f8]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00401c90
push eax
lea ecx, [esp + 0x1cc]
push ecx
call fcn.0040b930
add esp, 0x14
lea ecx, [esp + 0x78]
call fcn.00401410
lea ecx, [esp + 0x94]
call fcn.00401410
lea ecx, [esp + 0x210]
call fcn.0040d010
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x214]
call fcn.0040d0a0
test al, al
je 0x402a7a
push fcn.00401410
push 0x4013f0
push 2
push 0x1c
lea eax, [esp + 0x2ac]
push eax
call fcn.0041de61
lea ecx, [esp + 0x29c]
push ecx
push 2
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
je 0x402a64
lea esp, [esp]
lea edx, [esp + 0x29c]
push str.UserDataDirectory
push edx
call fcn.004013b0
add esp, 8
test al, al
jne 0x4029d8
lea eax, [esp + 0x29c]
push eax
push 2
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
jne 0x4029a0
jmp 0x402a64
lea ecx, [esp + 0x2b8]
push ecx
push 0x42a3e4
lea edx, [esp + 0xb8]
push 0x1a
push edx
call fcn.0040c2b0
add esp, 8
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00401d30
add esp, 0xc
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x88]
push edx
call fcn.0040b930
add esp, 0x14
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x270]
call fcn.00401840
lea ecx, [esp + 0x78]
call fcn.00401410
lea ecx, [esp + 0x94]
call fcn.00401410
lea ecx, [esp + 0xcc]
call fcn.00401410
lea ecx, [esp + 0xb0]
call fcn.00401410
push fcn.00401410
push 2
push 0x1c
lea eax, [esp + 0x2a8]
push eax
call fcn.0041de01
lea ecx, [esp + 0x210]
call fcn.0040d070
lea ecx, [esp + 0x1bc]
call fcn.00401410
cmp esi, 6
jne 0x403094
lea ecx, [esp + 0x210]
call fcn.0040d010
lea ecx, [esp + 0x2f0]
push ecx
push 0x42a3e4
lea edx, [esp + 0x1fc]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.00401d30
add esp, 0xc
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x1cc]
push edx
call fcn.0040b930
add esp, 0x14
push eax
lea ecx, [esp + 0x214]
call fcn.0040d0a0
lea ecx, [esp + 0x1bc]
call fcn.00401410
lea ecx, [esp + 0x78]
call fcn.00401410
lea ecx, [esp + 0x94]
call fcn.00401410
lea eax, [esp + 0x1d8]
push eax
push 1
lea ecx, [esp + 0x218]
mov dword [esp + 0x1f8], edi
mov dword [esp + 0x1f4], ebx
mov byte [esp + 0x1e4], bl
call fcn.0040d2f0
test al, al
je 0x402fc2
lea esp, [esp]
lea ecx, [esp + 0x1d8]
push str.file
push ecx
call fcn.004013b0
add esp, 8
test al, al
lea edx, [esp + 0x1d8]
je 0x402db9
push edx
push 1
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
je 0x402fa4
jmp 0x402b90
mov eax, dword [esp + 0x1ec]
push 2
push 0x42a3d8
push eax
push ebx
lea ecx, [esp + 0x1e8]
call fcn.00401150
test eax, eax
je 0x402fa4
lea ecx, [esp + 0x1d8]
push ecx
push 0x42a3e4
lea edx, [esp + 0x1fc]
push edx
lea eax, [esp + 0x238]
push eax
call fcn.00401d30
add esp, 0xc
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x50]
push edx
call fcn.0040b930
mov ecx, dword [esp + 0x38]
add esp, 0x14
lea edi, [ecx + 4]
push eax
mov eax, dword [edi]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401ac0
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00401b60
mov dword [edi], esi
mov ecx, dword [esi + 4]
mov dword [ecx], esi
cmp dword [esp + 0x58], ebp
jb 0x402c2e
mov edx, dword [esp + 0x44]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x74], ebp
mov esi, 0xf
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jb 0x402c52
mov eax, dword [esp + 0x60]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x244], ebp
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x402c77
mov ecx, dword [esp + 0x230]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x278], ebx
mov dword [esp + 0x244], esi
mov dword [esp + 0x240], ebx
mov byte [esp + 0x230], bl
je 0x402d96
lea edx, [esp + 0x1d8]
push edx
push 0x42a3e4
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0xd8]
push ecx
call fcn.00401d30
add esp, 0xc
push eax
lea edx, [esp + 0xb8]
push edx
call fcn.00401c90
push eax
lea eax, [esp + 0x290]
push eax
call fcn.0040b930
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 4]
add esp, 0x14
lea edi, [ecx + 4]
push eax
push edx
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401ac0
push 1
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00401b60
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp dword [esp + 0x298], ebp
jb 0x402d20
mov ecx, dword [esp + 0x284]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0xc8], ebp
mov esi, 0xf
mov dword [esp + 0x298], esi
mov dword [esp + 0x294], ebx
mov byte [esp + 0x284], bl
jb 0x402d53
mov edx, dword [esp + 0xb4]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0xe4], ebp
mov dword [esp + 0xc8], esi
mov dword [esp + 0xc4], ebx
mov byte [esp + 0xb4], bl
jb 0x402d81
mov eax, dword [esp + 0xd0]
push eax
call fcn.004043d0
add esp, 4
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe0], ebx
mov byte [esp + 0xd0], bl
lea ecx, [esp + 0x1d8]
push ecx
push 1
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
jne 0x402b90
jmp 0x402fa4
push str.dir
push edx
call fcn.004013b0
add esp, 8
test al, al
je 0x402fa4
lea eax, [esp + 0x1d8]
push eax
push 1
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
je 0x402fa4
lea ecx, [ecx]
mov ecx, dword [esp + 0x1ec]
push 2
push 0x42a3d8
push ecx
push ebx
lea ecx, [esp + 0x1e8]
call fcn.00401150
test eax, eax
je 0x402fa4
lea edx, [esp + 0x1d8]
push edx
push 0x42a3e4
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x1c8]
push ecx
call fcn.00401d30
add esp, 0xc
push eax
lea edx, [esp + 0x80]
push edx
call fcn.00401c90
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0040b930
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
add esp, 0x14
lea edi, [ecx + 4]
push eax
push edx
push ecx
lea ecx, [esp + 0x40]
call fcn.00401ac0
push 1
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00401b60
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
cmp dword [esp + 0xac], ebp
jb 0x402e9b
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x90], ebp
mov esi, 0xf
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
jb 0x402ecb
mov edx, dword [esp + 0x7c]
push edx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x1d4], ebp
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
jb 0x402ef6
mov eax, dword [esp + 0x1c0]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x278], ebx
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d0], ebx
mov byte [esp + 0x1c0], bl
je 0x402f86
lea ecx, [esp + 0x1d8]
push ecx
push 0x42a3e4
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x2a8]
push eax
call fcn.00401d30
add esp, 0xc
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.00401c90
push eax
lea edx, [esp + 0x31c]
push edx
call fcn.0040b930
add esp, 0x14
push eax
lea ecx, [esp + 0x38]
call fcn.00401e20
lea ecx, [esp + 0x30c]
call fcn.00401410
lea ecx, [esp + 0xe8]
call fcn.00401410
lea ecx, [esp + 0x29c]
call fcn.00401410
lea eax, [esp + 0x1d8]
push eax
push 1
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
jne 0x402df0
lea ecx, [esp + 0x1d8]
push ecx
push 1
lea ecx, [esp + 0x218]
call fcn.0040d2f0
test al, al
jne 0x402b50
lea edx, [esp + 0x2f0]
push edx
push 0x42a3e4
lea eax, [esp + 0x1fc]
push eax
lea ecx, [esp + 0x318]
push ecx
call fcn.00401d30
add esp, 0xc
push eax
lea edx, [esp + 0xf0]
push edx
call fcn.00401c90
push eax
lea eax, [esp + 0x2ac]
push eax
call fcn.0040b930
add esp, 0x14
push eax
lea ecx, [esp + 0x24]
call fcn.00401e20
lea ecx, [esp + 0x29c]
call fcn.00401410
lea ecx, [esp + 0xe8]
call fcn.00401410
lea ecx, [esp + 0x30c]
call fcn.00401410
lea ecx, [esp + 0x1f4]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401e20
cmp dword [esp + 0x278], ebx
je 0x40307c
lea edx, [esp + 0x264]
push edx
lea eax, [esp + 0x2a0]
push eax
call fcn.0040b930
add esp, 8
push eax
lea ecx, [esp + 0x38]
call fcn.00401e20
lea ecx, [esp + 0x29c]
call fcn.00401410
lea ecx, [esp + 0x1d8]
call fcn.00401410
lea ecx, [esp + 0x210]
call fcn.0040d070
mov edi, dword [esp + 0x24]
mov esi, dword [edi]
cmp esi, edi
je 0x4030ba
mov edi, edi
cmp dword [esi + 0x20], ebp
jb 0x4030aa
mov eax, dword [esi + 0xc]
jmp 0x4030ad
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esi]
cmp esi, edi
jne 0x4030a0
mov edi, dword [esp + 0x38]
mov esi, dword [edi]
cmp esi, edi
je 0x4030de
cmp dword [esi + 0x20], ebp
jb 0x4030ce
mov eax, dword [esi + 0xc]
jmp 0x4030d1
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, dword [esi]
cmp esi, edi
jne 0x4030c4
lea ecx, [esp + 0x388]
call fcn.00401e80
mov ecx, dword [esp + 0x518]
push ebx
push 0x415f60
push ebx
push 0x65
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0x3e9
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0x640000
push ebx
mov esi, eax
push 0x401
push esi
call ebp
push ebx
push ebx
push 0x402
push esi
call ebp
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x1cc]
push edx
call edi
test eax, eax
je 0x403196
lea ebx, [ebx]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1bc]
push eax
push ecx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x403183
lea edx, [esp + 0x1bc]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1cc]
push ecx
call edi
test eax, eax
jne 0x403150
lea edx, [esp + 0x388]
push edx
lea ecx, [esp + 0x108]
call fcn.00401070
lea ecx, [esp + 0x104]
call fcn.00401000
lea ecx, [esp + 0x104]
mov dword [esp + 0x2c], ebx
call fcn.00401040
test al, al
jne 0x403261
mov edi, edi
mov eax, dword [esp + 0x4dc]
cmp dword [esp + 0x2c], eax
je 0x4031eb
push ebx
push eax
push 0x402
push esi
mov dword [esp + 0x3c], eax
call ebp
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x1cc]
push eax
call edi
test eax, eax
je 0x403246
mov edi, edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1bc]
push ecx
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x403233
lea eax, [esp + 0x1bc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x1cc]
push edx
call edi
test eax, eax
jne 0x403200
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x104]
call fcn.00401040
test al, al
je 0x4031d0
push ebx
push 0x64
push 0x402
push esi
call ebp
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x1cc]
push eax
call edi
test eax, eax
je 0x4032ce
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageA]
jmp 0x403290
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1bc]
push ecx
push edx
call esi
test eax, eax
jne 0x4032bb
lea eax, [esp + 0x1bc]
push eax
call ebp
lea ecx, [esp + 0x1bc]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push ebx
lea edx, [esp + 0x1cc]
push edx
call edi
test eax, eax
jne 0x403290
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call fcn.0040cd40
lea eax, [esp + 0x1bc]
push eax
call fcn.0040c230
push eax
call fcn.0040b3a0
mov eax, dword [esp + 0x1dc]
mov edi, 0x10
add esp, 8
cmp eax, edi
jb 0x403318
mov ecx, dword [esp + 0x1c0]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x20c], edi
mov eax, dword [esp + 0x1f8]
jae 0x40332f
lea eax, [esp + 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
lea edx, [esp + 0x1f4]
push edx
lea eax, [esp + 0x2d8]
push eax
call fcn.0040ba90
mov eax, dword [esp + 0x2f4]
add esp, 8
cmp eax, edi
mov eax, dword [esp + 0x2d8]
jae 0x403369
lea eax, [esp + 0x2d8]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [esp + 0x198], 1
jne 0x40338f
push 0x40
push 0x42a3c8
push 0x42a3a0
jmp 0x40339a
push edi
push 0x42a3c8
push 0x42a37c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x2ec], edi
jb 0x4033ba
mov edx, dword [esp + 0x2d8]
push edx
call fcn.004043d0
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0x104]
mov dword [esp + 0x2ec], esi
mov dword [esp + 0x2e8], ebx
mov byte [esp + 0x2d8], bl
call fcn.004010d0
lea ecx, [esp + 0x388]
call fcn.00401fa0
cmp dword [esp + 0x27c], edi
jb 0x403405
mov eax, dword [esp + 0x268]
push eax
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x308], edi
mov dword [esp + 0x27c], esi
mov dword [esp + 0x278], ebx
mov byte [esp + 0x268], bl
jb 0x403433
mov ecx, dword [esp + 0x2f4]
push ecx
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x308], esi
mov dword [esp + 0x304], ebx
mov byte [esp + 0x2f4], bl
call fcn.00401de0
mov edx, dword [esp + 0x38]
push edx
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x20]
call fcn.00401de0
mov eax, dword [esp + 0x24]
push eax
call fcn.004043d0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0040cd60
cmp dword [esp + 0x260], edi
jb 0x403496
mov ecx, dword [esp + 0x24c]
push ecx
call fcn.004043d0
add esp, 4
cmp dword [esp + 0x20c], edi
mov dword [esp + 0x260], esi
mov dword [esp + 0x25c], ebx
mov byte [esp + 0x24c], bl
jb 0x4034c4
mov edx, dword [esp + 0x1f8]
push edx
call fcn.004043d0
add esp, 4
mov dword [esp + 0x20c], esi
mov dword [esp + 0x208], ebx
mov byte [esp + 0x1f8], bl
jmp 0x403539
push ebp
push 0x42a370
push 0x42a338
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x2c]
call fcn.0040cf00
push fcn.00401410
push 2
push 0x1c
lea eax, [esp + 0x2a8]
push eax
call fcn.0041de01
lea ecx, [esp + 0x210]
call fcn.0040d070
lea ecx, [esp + 0x18]
call fcn.0040cd60
lea ecx, [esp + 0x248]
call fcn.00401410
lea ecx, [esp + 0x1f4]
call fcn.00401410
lea ecx, [esp + 0x328]
call fcn.0040a4c0
mov ecx, dword [esp + 0x510]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.0041def4
add esp, 0x504
ret 0x10