Function at 0x4128d0
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440916
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call fcn.0041acf0
mov dword [esp + 0x48], eax
call fcn.0041e290
mov edi, eax
mov dword [esp + 0x1c], edi
call fcn.00409db0
mov ebx, 1
cmp dword [esi + 0x4c], ebx
jne 0x41294f
mov ecx, dword [esi + 4]
push pe_nt_image_headers32
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
lea edx, [esp + 0x2c]
push edx
call fcn.00417820
mov dword [esp + 0x188], 0
test byte [0x457660], 1
jne 0x412985
or dword [0x457660], ebx
call fcn.0040ae80
push 0x441be0
call fcn.0042c9f1
add esp, 4
lea eax, [esp + 0x28]
push eax
push 0x411120
mov ecx, edi
mov dword [esp + 0x30], 0x456600
call fcn.0041de50
mov esi, dword [esp + 0x28]
call fcn.0040b860
mov ecx, dword [esp + 0x40]
mov esi, dword [ecx]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x40]
test ebx, ebx
je 0x4129bf
cmp ebx, dword [esp + 0x2c]
je 0x4129c4
call fcn.0042bcc3
cmp esi, edi
je 0x412a70
test ebx, ebx
jne 0x412a0e
call fcn.0042bcc3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4129e1
call fcn.0042bcc3
cmp byte [esi + 8], 0
je 0x412a22
test ebx, ebx
jne 0x412a12
call fcn.0042bcc3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x4129fc
call fcn.0042bcc3
cmp dword [esi + 0x24], 8
jb 0x412a16
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x412a50
mov eax, dword [ebx]
jmp 0x4129d7
mov eax, dword [ebx]
jmp 0x4129f2
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x412a50
test ebx, ebx
jne 0x412a42
call fcn.0042bcc3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x412a37
call fcn.0042bcc3
cmp dword [esi + 0x24], 8
jb 0x412a46
mov eax, dword [esi + 0x10]
jmp 0x412a49
mov eax, dword [ebx]
jmp 0x412a2d
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
jne 0x412a6c
call fcn.0042bcc3
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x412a65
call fcn.0042bcc3
mov esi, dword [esi]
jmp 0x4129b1
mov eax, dword [ebx]
jmp 0x412a5b
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push str.DELETE_FROM_MetaConfig
call eax
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push str.DELETE_FROM_Meta
call eax
mov edi, dword [esp + 0x14]
add edi, 0x30
call fcn.004177e0
lea eax, [esp + 0x4c]
call fcn.004100f0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x188], 1
mov ecx, dword [eax + 0x24]
mov edi, dword [eax + 0x10]
mov dword [esp + 0x4c], 3
mov esi, dword [ecx]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
jmp 0x412ad0
mov edx, dword [esp + 0x18]
mov ebx, dword [eax + 0x24]
mov eax, dword [edx + 0x10]
test edi, edi
je 0x412ae2
cmp edi, eax
je 0x412ae7
call fcn.0042bcc3
cmp esi, ebx
je 0x412c1e
test edi, edi
jne 0x412c0f
call fcn.0042bcc3
cmp esi, dword [edi + 0x14]
jne 0x412b06
call fcn.0042bcc3
mov al, byte [esi + 8]
add esi, 8
push 0xffffffffffffffff
mov byte [esp + 0x54], al
mov ecx, dword [esi + 4]
push 0
lea edx, [esi + 8]
mov dword [esp + 0x5c], ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0040a3e0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x80]
call fcn.0040a3e0
mov ecx, dword [esi + 0x40]
push 0xffffffffffffffff
push 0
lea edx, [esi + 0x44]
mov dword [esp + 0x98], ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.0040a3e0
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x60]
push eax
lea ecx, [esp + 0xbc]
call fcn.0040a3e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x7c]
push ecx
lea ecx, [esp + 0xd8]
call fcn.0040a3e0
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x44]
mov edx, dword [esi + 0x98]
add eax, 0x30
lea eax, [esp + 0x4c]
mov dword [esp + 0xe8], edx
mov ecx, dword [edi + 4]
push eax
push ecx
push edi
call fcn.00417e20
mov ecx, dword [esp + 0x14]
add ecx, 0x30
mov ebx, eax
call fcn.00417ec0
mov dword [edi + 4], ebx
mov edi, dword [esp + 0x20]
mov edx, dword [ebx + 4]
mov dword [edx], ebx
test edi, edi
jne 0x412c16
call fcn.0042bcc3
xor eax, eax
mov ebx, dword [esp + 0x24]
cmp ebx, dword [eax + 0x14]
jne 0x412bdb
call fcn.0042bcc3
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0041e800
test edi, edi
jne 0x412c1a
call fcn.0042bcc3
cmp ebx, dword [edi + 0x14]
jne 0x412bfa
call fcn.0042bcc3
mov ecx, dword [ebx]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov esi, ecx
jmp 0x412ad0
mov edi, dword [edi]
jmp 0x412afc
mov eax, dword [edi]
jmp 0x412bcd
mov edi, dword [edi]
jmp 0x412bf0
mov esi, dword [esp + 0x48]
mov ebx, 8
cmp dword [esi + 0x1c], ebx
jb 0x412c31
mov eax, dword [esi + 8]
jmp 0x412c34
lea eax, [esi + 8]
mov edi, dword [esp + 0x14]
push edi
push 0x410e00
push eax
call fcn.00429160
add esp, 0xc
cmp dword [esi + 0x1c], ebx
jb 0x412c51
mov ecx, dword [esi + 8]
jmp 0x412c54
lea ecx, [esi + 8]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
push edx
push eax
call fcn.0040b6a0
test eax, eax
je 0x412cb5
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
push 0xa
lea eax, [esp + 0x138]
push eax
push edx
call fcn.0042cb90
add esp, 0xc
lea eax, [esp + 0x134]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
push str.SyncVer
push ecx
mov ecx, dword [eax + 0x18]
call fcn.0041dd40
mov edx, dword [0x456308]
mov eax, dword [edi + 4]
push 0
push 5
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 0x4c]
call fcn.00410760
lea ebx, [esp + 0x2c]
call fcn.00417f60
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042bb4c
mov edx, dword [esp + 0x30]
add esp, 4
push edx
mov dword [esp + 0x44], 0
call fcn.0042bb4c
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0042bb57
mov esp, ebp
pop ebp
ret 4