Function at 0x4c0b10
Capabilities:
Delete file
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x60466d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov esi, dword [esp + 0x144]
mov eax, dword [esp + 0x148]
push eax
push str.CPhraseSyncModule::ConvFile___s
mov ecx, esi
call fcn.004c6880
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x13c], ebx
mov ebp, 0xa
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
mov byte [esp + 0x13c], 2
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push ebx
lea eax, [esp + 0x1c]
push eax
call edx
lea edi, [esp + 0x1c]
mov byte [esp + 0x13c], 3
call fcn.0040ab90
mov byte [esp + 0x13c], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c0c04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 0xc]
cmp ecx, ebx
jle 0x4c0c37
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x4c0d12
cmp eax, ecx
jg 0x4c0d12
movzx eax, word [edx + eax*2]
cmp ax, 0x5c
je 0x4c0c37
push 0x5c
lea edi, [esp + 0x20]
call fcn.0040af90
push ebp
push str.phrase.ini
lea ecx, [esp + 0x24]
push ecx
call fcn.0040aee0
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x13c], 4
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0xf8]
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
call fcn.0050f180
lea edx, [esp + 0x44]
push edx
push str.Default
lea eax, [esp + 0x100]
push eax
mov byte [esp + 0x148], 5
call fcn.0050f980
mov edi, dword [esp + 0x50]
lea ebx, [ebx]
cmp edi, ebx
je 0x4c0d65
cmp edi, dword [esp + 0x4c]
je 0x4c0d65
mov eax, edi
mov ecx, dword [eax + 8]
mov edi, dword [edi]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
mov dword [esp + 0x50], edi
je 0x4c0d33
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4c0d1c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4c0d1c
call fcn.0040a210
mov dword [esp + 0x40], eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4c0d05
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ebp, dword [esp + 0x40]
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x4c0d33
push 0x80070057
call fcn.00403650
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004037a0
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x50]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x4c0cb0
push ebp
lea ecx, [esp + 0x70]
call fcn.004c39a0
cmp eax, ebx
jne 0x4c0d5c
mov eax, ebp
lea ebx, [esp + 0x6c]
call fcn.004c37c0
xor ebx, ebx
jmp 0x4c0ca6
mov byte [eax + 4], 0
jmp 0x4c0cb0
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14c]
call fcn.00409dd0
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], ebx
push ebx
push 0x80
push 3
push ebx
push 1
mov byte [esp + 0x150], 7
mov edx, dword [esp + 0x38]
push SysReAllocStringLen
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4c0e35
call fcn.0040f010
cmp eax, ebx
jl 0x4c0df7
mov eax, esi
lea ecx, [esp + 0x84]
call fcn.0050e4f0
cmp esi, ebx
je 0x4c0df7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x88]
call fcn.0050e200
test eax, eax
je 0x4c0e52
lea esp, [esp]
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
je 0x4c0e3d
push esi
lea ecx, [esp + 0x58]
call fcn.004c39a0
test eax, eax
jne 0x4c0e39
mov eax, esi
lea ebx, [esp + 0x54]
call fcn.004c37c0
jmp 0x4c0e3d
mov esi, eax
jmp 0x4c0dde
mov byte [eax + 4], 0
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x88]
call fcn.0050e200
test eax, eax
jne 0x4c0e10
lea esi, [esp + 0x9c]
call fcn.0050df50
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x58]
xor ebx, ebx
push eax
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
call fcn.004c00a0
mov edx, dword [esp + 0x14c]
mov eax, dword [edx + 4]
add esp, 8
push 0x629260
lea ecx, [esp + 0x24]
push ecx
push eax
call fcn.004c5f50
mov byte [esp + 0x13c], 8
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [esp + 0x20]
lea edx, [esp + 0xc0]
push edx
call fcn.0050f180
push 0x628b9c
push 0x6291fc
push str.Properties
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x14c], 9
call fcn.0050ffa0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xa
mov byte [esp + 0x13c], 0xa
cmp dword [esp + 0x44], ebx
je 0x4c0f25
mov eax, dword [esp + 0x48]
cmp eax, ebx
mov ebp, eax
je 0x4c0f29
mov ebp, dword [eax]
jmp 0x4c0f29
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
lea ecx, [ecx]
cmp ebp, ebx
je 0x4c1076
cmp ebp, dword [esp + 0x4c]
je 0x4c1076
mov eax, ebp
mov ecx, dword [eax + 8]
mov ebp, dword [ebp]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4c0f9b
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4c0f88
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4c0f88
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4c0f7f
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x18], edi
jmp 0x4c0f99
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004037a0
mov edi, dword [esp + 0x18]
xor ebx, ebx
push edi
lea ecx, [esp + 0x70]
call fcn.004c39a0
test eax, eax
je 0x4c1046
lea ecx, [esp + 0x40]
push str.__D:
push ecx
lea ecx, [esp + 0x20]
call fcn.00453450
add esp, 8
mov byte [esp + 0x13c], 0xb
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x4c101e
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x4c100b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4c100b
call fcn.0040a210
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4c1002
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [esp + 0x18], edi
jmp 0x4c101c
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004037a0
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov byte [esp + 0x13c], 0xa
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1046
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
push edi
lea ecx, [esp + 0x34]
call fcn.0045f2d0
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x4c1069
mov dword [ecx], eax
mov dword [esp + 0x2c], eax
jmp 0x4c0f30
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jmp 0x4c0f30
lea edx, [esp + 0x28]
push edx
push str.Default
lea eax, [esp + 0xc8]
push eax
call fcn.0050fc90
lea ecx, [esp + 0x28]
call fcn.0045f230
xor ebp, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xa
mov byte [esp + 0x13c], 0xc
mov edx, dword [esp + 0x54]
cmp edx, ebx
mov ecx, dword [esp + 0x68]
je 0x4c10de
cmp edx, ecx
je 0x4c10de
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c10e0
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c10d3
jmp 0x4c10e0
xor edx, edx
cmp edx, ebx
mov esi, edx
je 0x4c1161
jmp 0x4c10ec
mov ecx, dword [esp + 0x68]
test esi, esi
mov ebx, esi
je 0x4c1138
mov edx, dword [esi + 0x10]
cmp edx, ecx
je 0x4c1117
test edx, edx
je 0x4c1111
mov eax, dword [edx + 0xc]
cmp eax, ecx
je 0x4c1113
mov edx, eax
mov eax, dword [edx + 0xc]
cmp eax, ecx
jne 0x4c1104
mov esi, edx
jmp 0x4c1138
xor edx, edx
mov esi, edx
jmp 0x4c1138
mov eax, dword [esi + 0x14]
cmp eax, ecx
je 0x4c1134
mov edi, edi
cmp esi, dword [eax + 0x10]
jne 0x4c1130
mov esi, eax
mov eax, dword [eax + 0x14]
cmp eax, ecx
jne 0x4c1120
jmp 0x4c1134
cmp eax, ecx
jne 0x4c1136
xor eax, eax
mov esi, eax
mov eax, dword [ebx]
push 0
push ebp
push eax
lea ecx, [esp + 0x34]
call fcn.0045f2d0
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4c1153
mov dword [ecx], eax
jmp 0x4c1157
mov dword [esp + 0x28], eax
test esi, esi
mov ebp, eax
mov dword [esp + 0x2c], ebp
jne 0x4c10e8
lea ecx, [esp + 0x28]
push ecx
push str.Custom
lea edx, [esp + 0xc8]
push edx
call fcn.0050fc90
lea ecx, [esp + 0x28]
mov byte [esp + 0x13c], 9
call fcn.0045f230
cmp byte [esp + 0xf5], 0
je 0x4c11a0
lea eax, [esp + 0xc0]
push eax
call fcn.0050f8c0
lea ecx, [esp + 0xdc]
call fcn.004cb9a0
lea ecx, [esp + 0xc4]
call fcn.0045f230
push 0x6244e0
xor ebx, ebx
lea eax, [esp + 0xc4]
call fcn.004037a0
cmp dword [esp + 0x14c], ebx
mov byte [esp + 0xf4], bl
mov byte [esp + 0xf5], bl
je 0x4c11f6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.004c07f0
add esp, 8
jmp 0x4c1211
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x140], 8
call fcn.0050f250
mov byte [esp + 0x13c], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c1250
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x9c]
call fcn.0050df50
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
call fcn.0050df50
mov byte [esp + 0x13c], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4c129d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xf8]
push ecx
mov byte [esp + 0x140], 4
call fcn.0050f250
lea eax, [edi - 0x10]
mov byte [esp + 0x13c], 2
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4c12d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edi, [esp + 0x6c]
call fcn.004c6cd0
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x4c12f2
push eax
call fcn.005d27e0
add esp, 4
lea edi, [esp + 0x54]
call fcn.004c6cd0
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x4c130c
push eax
call fcn.005d27e0
add esp, 4
mov dword [esp + 0x13c], ebp
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4c1330
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret 0xc