Function at 0x412be0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
xor edi, edi
push 0x517348
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.004d38eb
push 0x517348
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004d38eb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x14]
push str._d_s
push edx
mov byte [ebp - 4], 2
call fcn.004d2912
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x5175b4]
add esp, 0x10
push str.ICONQuery
push eax
call fcn.0042c7e0
push ecx
lea edx, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.004d35f2
lea eax, [ebp + 0xc]
push eax
call fcn.00416490
add esp, 8
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004d39b6
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.004d387d
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push ecx
push str.DATA_s
push edx
call fcn.004d2912
add esp, 0xc
lea ecx, [ebp - 0x18]
push 0x517348
call fcn.004d38eb
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x52c]
mov ecx, dword [esi + 0x528]
push edx
push eax
lea eax, [ebp + 0xc]
mov bl, 4
push ecx
push eax
mov byte [ebp - 4], bl
call fcn.0041c8f0
add esp, 0x10
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004d39b6
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.004d387d
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 8], edi
jle 0x412d06
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp + 0xc], esp
push edx
call fcn.004d35f2
mov ecx, esi
call fcn.00413f50
push 0x517418
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x51740c]
mov bl, 0xd
mov ecx, dword [eax]
mov dword [ebp + 0xc], ecx
mov edx, dword [0x51740c]
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x412ecf
mov eax, dword [0x511ed0]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
push 0x517348
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
call fcn.004d3a06
push 0x517348
lea ecx, [ebp - 0x44]
call fcn.004d3a06
push 0x517348
lea ecx, [ebp - 0x40]
call fcn.004d3a06
push 0x517348
lea ecx, [ebp - 0x3c]
call fcn.004d3a06
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xe
mov ecx, dword [eax + 0x10]
lea esi, [eax + 0x10]
mov dword [ebp - 0x50], ecx
mov edx, dword [esi + 4]
lea ecx, [esi + 0xc]
mov dword [ebp - 0x4c], edx
mov eax, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.004d39b6
lea edx, [esi + 0x10]
lea ecx, [ebp - 0x40]
push edx
call fcn.004d39b6
lea eax, [esi + 0x14]
lea ecx, [ebp - 0x3c]
push eax
call fcn.004d39b6
lea ecx, [esi + 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004d39b6
lea edx, [esi + 0x1c]
lea ecx, [ebp - 0x34]
push edx
call fcn.004d39b6
lea eax, [esi + 0x20]
lea ecx, [ebp - 0x30]
push eax
call fcn.004d39b6
lea ecx, [esi + 0x24]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004d39b6
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x48]
cmp eax, edi
je 0x412e34
mov esi, dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00414e80
lea ecx, [ebp - 0x20]
push esi
push ecx
mov ecx, 0x517408
call fcn.00414940
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x412e65
mov eax, dword [ebp + 0xc]
mov edx, dword [0x51744c]
mov ecx, dword [eax + 8]
cmp ecx, edx
je 0x412e4e
mov eax, dword [ecx]
cmp eax, edx
je 0x412e62
mov ecx, eax
jmp 0x412e44
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x412e5d
mov eax, ecx
mov dword [ebp + 0xc], eax
jmp 0x412e4e
cmp dword [eax + 8], ecx
je 0x412e65
mov dword [ebp + 0xc], ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.004d387d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.004d387d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x12
call fcn.004d387d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x11
call fcn.004d387d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.004d387d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call fcn.004d387d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004d387d
jmp 0x412d1d
push 0x517418
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 2
call fcn.004d387d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004d387d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004d387d
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004d387d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8