Function at 0x100746dd
Capabilities:
Delete file

Disassembly:
mov eax, 0x100dd46b
call fcn.100ac440
sub esp, 0x234
mov eax, dword [0x1011c710]
and dword [ebp - 4], 0
push ebx
push esi
push edi
xor eax, ebp
mov edi, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x240], edi
call fcn.10098891
test eax, eax
mov dword [ebp - 0x224], eax
je 0x10074a65
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.100ae850
test eax, eax
pop ecx
pop ecx
je 0x100747c2
push 0x100ef55c
push eax
call fcn.100ad320
test eax, eax
pop ecx
pop ecx
je 0x100747c2
mov cl, byte [eax + 2]
cmp cl, 0x6d
jne 0x10074785
push 3
lea esi, [eax + 3]
push 0x100ef558
push esi
call fcn.100ae540
add esp, 0xc
test eax, eax
je 0x100747a7
jmp 0x10074793
cmp cl, 0x61
jne 0x100747c2
lea esi, [eax + 3]
cmp byte [esi], 0x6d
jne 0x100747c2
inc esi
push 3
push 0x100e8160
push esi
call fcn.100ae540
add esp, 0xc
test eax, eax
jne 0x100747c2
lea eax, [esi + 3]
push str..exe
push eax
call fcn.100ad190
test eax, eax
pop ecx
pop ecx
jne 0x100747c2
mov byte [edi + 0x270], 1
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax]
lea edx, [ebp - 0x234]
push edx
push 0x100fd9b8
xor esi, esi
push eax
mov dword [ebp - 0x234], esi
call dword [ecx]
mov eax, dword [ebp - 0x234]
cmp eax, esi
je 0x100748af
lea edx, [ebp - 0x22c]
push edx
push 0x100fda48
push 0x100fda58
mov dword [edi + 0x454], 1
mov dword [ebp - 0x22c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x22c]
cmp eax, esi
je 0x1007489e
mov ecx, dword [eax]
lea edx, [ebp - 0x224]
push edx
push eax
call dword [ecx + 0x78]
cmp eax, esi
jl 0x10074886
push dword [ebp - 0x224]
lea ecx, [ebp - 0x230]
call fcn.10017d0b
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], esi
mov byte [ebp - 4], 1
je 0x1007487a
mov ecx, dword [edi + 0x46c]
push eax
push str.refer
call dword [sym.imp.PSNetwork.dll_public:_void___thiscall_CPSNetwork::SetParam_char_const___char_const__]
push dword [ebp - 0x230]
lea ecx, [edi + 0x208]
call fcn.10002026
mov eax, dword [ebp - 0x230]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 0
call fcn.10001199
push dword [ebp - 0x224]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10074a65
mov ecx, edi
call fcn.100c4a94
mov esi, eax
test esi, esi
je 0x10074a65
call fcn.100c6d12
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100c480a
mov eax, dword [ebp - 0x220]
cmp dword [eax - 0xc], 0
je 0x10074a49
lea ecx, [ebp - 0x23c]
call fcn.1001e5ef
push 0x104
lea eax, [ebp - 0x118]
push eax
push 0
mov byte [ebp - 4], 3
call ebx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1001e60d
test eax, eax
je 0x10074a12
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call fcn.100ae850
test eax, eax
pop ecx
pop ecx
je 0x100749ae
push 0x100ef55c
push eax
call fcn.100ad320
test eax, eax
pop ecx
pop ecx
je 0x100749ae
cmp byte [eax + 2], 0x6d
jne 0x100749ae
push 3
lea esi, [eax + 3]
push 0x100ef558
push esi
call fcn.100ae540
add esp, 0xc
test eax, eax
je 0x10074993
push 3
push 0x100e8160
push esi
call fcn.100ae540
add esp, 0xc
test eax, eax
jne 0x100749ae
lea eax, [esi + 3]
push str..exe
push eax
call fcn.100ad190
test eax, eax
pop ecx
pop ecx
jne 0x100749ae
mov byte [edi + 0x270], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x23c]
call fcn.1001e6c2
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 4
je 0x100749f5
push 0x100e3814
lea ecx, [ebp - 0x220]
call fcn.10007475
mov eax, dword [ebp - 0x228]
push dword [eax - 0xc]
lea ecx, [ebp - 0x220]
push eax
call fcn.100073b4
lea ecx, [ebp - 0x23c]
call fcn.1001e5f9
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001199
push dword [ebp - 0x220]
mov ecx, dword [edi + 0x46c]
push str.refer
call dword [sym.imp.PSNetwork.dll_public:_void___thiscall_CPSNetwork::SetParam_char_const___char_const__]
push dword [ebp - 0x220]
lea ecx, [edi + 0x208]
call fcn.10002026
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 2
call fcn.1001e6bd
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.10001199
jmp 0x10074a65
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.1007160d
test eax, eax
jne 0x10074ae5
mov ecx, dword [edi + 0xb4c]
test ecx, ecx
je 0x10074ae5
call fcn.10006249
mov eax, dword [edi + 0xb4c]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x12
push dword [eax + 4]
push dword [edi + 0x1c]
call esi
mov eax, dword [edi + 0xb4c]
mov eax, dword [eax + 0x94]
push 4
push eax
call fcn.100ad0b7
test eax, eax
pop ecx
pop ecx
jne 0x10074ad7
push 0x100e2d52
lea ecx, [edi + 0x2a8]
call fcn.10001f92
mov eax, dword [edi + 0xb4c]
push dword [eax + 0x94]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0
push 0xaa5
push dword [edi + 0x1c]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret