Function at 0x100472b7
Capabilities:
Delete file
Get graphical window text

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x9c
mov eax, 0x1013b62d
call fcn.101018b2
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x1019e6e0
mov dword [ebp - 4], edi
call fcn.100adc3c
mov eax, dword [ebp - 0x18]
cmp eax, edi
je 0x100478ea
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push eax
call dword [ecx + 0x88]
cmp dword [ebp - 0x64], 0x32
jle 0x10047351
push 0x10
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ecx
mov dword [eax], 0x90
mov eax, esp
mov dword [ebp - 0x20], esp
mov dword [eax], 0xf9
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.10018835
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
cmp eax, edi
jmp 0x100478e2
push 0x7fe
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.101027c0
mov eax, dword [0x1019a028]
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], eax
push 0xe5
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov byte [ebp - 4], 3
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, 0x400
push ebx
lea ecx, [ebp]
push ecx
push eax
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001cbf
mov eax, dword [ebp - 0x4c]
push 0xff
push dword [eax + 4]
call esi
push ebx
lea ecx, [ebp]
push ecx
push eax
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x40]
call fcn.10001cbf
mov eax, dword [ebp - 0x4c]
push 0xe4
push dword [eax + 4]
call esi
push ebx
lea ecx, [ebp]
push ecx
push eax
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001cbf
mov eax, dword [ebp - 0x4c]
push 0xe6
push dword [eax + 4]
call esi
push ebx
lea ecx, [ebp]
push ecx
push eax
call edi
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x54]
call fcn.1000587e
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [eax - 8], ebx
mov byte [ebp - 4], 4
jne 0x1004746d
lea ecx, [ebp - 0xa8]
call fcn.100d7b79
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.100d7cdb
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100e57e9
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.10005459
lea ecx, [ebp - 0x1c]
call fcn.100015d9
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.100d7bde
mov eax, dword [0x1019a028]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x28]
push ebx
push eax
mov byte [ebp - 4], 8
call fcn.100273c9
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x30]
jle 0x10047496
lea ecx, [ebp - 0x34]
call fcn.10005459
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
mov edi, 0x10152f84
push edi
call fcn.1000587e
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edi
mov byte [ebp - 4], 9
call fcn.1000587e
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0xa
call fcn.1000584b
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
mov byte [ebp - 4], 0xb
call fcn.1000584b
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.1004179f
add esp, 0x14
mov eax, dword [ebp - 0x58]
cmp dword [eax - 8], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0xc
je 0x100475be
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call fcn.10003abd
mov eax, dword [eax]
mov ecx, dword [ebx]
lea edx, [ebp - 0x14]
push edx
push eax
push ebx
mov byte [ebp - 4], 0xe
call dword [ecx + 0x58]
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.1002bc2b
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x1004759d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov byte [ebp - 4], 0x11
call dword [ecx + 0x3c]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.1000587e
push dword [ebp - 0x24]
mov byte [ebp - 4], 0x12
call fcn.100dd2fb
test eax, eax
pop ecx
je 0x1004757e
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
lea ecx, [ebp - 0x24]
call fcn.100015d9
push dword [ebp - 0x10]
call esi
push ebx
call esi
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 0xd
je 0x100475ab
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0xc
je 0x100475bc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
push edi
lea ecx, [ebp - 0x1c]
call fcn.1000587e
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x4c]
add eax, 0xe4
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.10041c85
add esp, 0x24
lea ecx, [ebp - 0x1c]
call fcn.100015d9
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x38]
mov byte [ebp - 4], 0x16
call fcn.100e70df
pop ecx
test eax, eax
mov eax, dword [ebp - 0x48]
pop ecx
jl 0x1004788b
cmp eax, ebx
je 0x1004788b
mov dword [ebp - 0x5c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x5c]
push edx
push 0x10158d3c
push eax
mov byte [ebp - 4], 0x17
call dword [ecx + 0x94]
cmp dword [ebp - 0x5c], ebx
je 0x10047888
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x60]
call fcn.1003bd40
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0x18
call fcn.100408fa
pop ecx
pop ecx
lea eax, [ebp - 0x3c]
push eax
push 0x1019e10c
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x19
call fcn.1000c751
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x1a
call fcn.1000587e
mov dword [ebp - 0x50], ebx
mov edi, dword [ebp - 0x48]
push 0x10158d18
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1c
call fcn.100164bd
mov eax, dword [eax]
mov ecx, dword [edi]
lea edx, [ebp - 0x50]
push edx
push eax
push edi
mov byte [ebp - 4], 0x1d
call dword [ecx + 0x94]
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x50], ebx
je 0x1004771a
push dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
call fcn.1003bd40
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x1f
je 0x10047704
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x68]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
call fcn.1000587e
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x20
call fcn.10005459
lea ecx, [ebp - 0x20]
call fcn.100015d9
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], 0x1c
je 0x1004771a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x44], ebx
push 1
push 1
push 1
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 0x21
call fcn.1000584b
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
mov byte [ebp - 4], 0x22
call fcn.1000584b
push ecx
lea eax, [ebp - 0x68]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 0x23
call fcn.1000584b
mov byte [ebp - 4], 0x21
call fcn.1003e889
add esp, 0x20
cmp dword [ebp - 0x44], ebx
je 0x100477ed
push dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.10003abd
push dword [ebp - 0x44]
lea ecx, [ebp - 0x10]
call fcn.1002bc2b
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0x25
je 0x1004779e
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
push dword [ebp - 0x44]
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.1000b131
mov eax, dword [eax]
mov ecx, dword [edi]
push eax
push edi
mov byte [ebp - 4], 0x26
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
mov byte [ebp - 4], 0x25
je 0x100477ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
mov byte [ebp - 4], 0x24
je 0x100477e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x14]
mov byte [ebp - 4], 0x21
call esi
mov esi, dword [ebp - 0x4c]
lea edi, [esi + 0xe8]
cmp dword [edi], ebx
je 0x10047812
push ebx
push ebx
lea ecx, [ebp - 0x3c]
call fcn.10001a82
push eax
push 0x544
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [esi + 0xec]
call fcn.10005459
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [ebp - 0x44]
cmp eax, ebx
mov byte [ebp - 4], 0x1c
je 0x1004783d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x50]
cmp eax, ebx
mov byte [ebp - 4], 0x1b
je 0x1004784e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp - 0x68]
call fcn.100015d9
lea ecx, [ebp - 0x3c]
call fcn.100015d9
mov eax, dword [ebp - 0x60]
cmp eax, ebx
mov byte [ebp - 4], 0x17
je 0x10047877
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
mov byte [ebp - 4], 0x16
je 0x10047888
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
cmp eax, ebx
mov byte [ebp - 4], 0x15
je 0x10047899
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
call fcn.100015d9
lea ecx, [ebp - 0x58]
call fcn.100015d9
lea ecx, [ebp - 0x34]
call fcn.100015d9
lea ecx, [ebp - 0x30]
call fcn.100015d9
lea ecx, [ebp - 0x54]
call fcn.100015d9
lea ecx, [ebp - 0x28]
call fcn.100015d9
lea ecx, [ebp - 0x40]
call fcn.100015d9
lea ecx, [ebp - 0x2c]
call fcn.100015d9
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100478ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x804
leave
ret