Function at 0x4d77d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5a60b0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
xor ebp, ebp
or ebx, 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebp
push ebp
push 0x80
push 3
push ebp
push 1
mov dword [esp + 0x98], ebp
mov eax, dword [0x603394]
push closesocket
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, ebx
jne 0x4d78b4
call fcn.004129d0
cmp eax, ebp
jl 0x4d7866
mov eax, esi
lea ecx, [esp + 0x3c]
call fcn.004d08f0
cmp esi, ebp
mov edi, eax
je 0x4d7862
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebp
jge 0x4d78b8
lea esi, [esp + 0x54]
call fcn.004d04e0
mov ecx, dword [0x603394]
push ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004d04e0
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.004d04e0
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
mov esi, eax
jmp 0x4d784a
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x84], 1
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x84], 2
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x84], 3
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
mov byte [esp + 0x88], 4
call fcn.004d05c0
test eax, eax
je 0x4d7e0e
lea ebx, [ebx]
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7d2a
push str._cdict
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7bda
sub eax, esi
sar eax, 1
cmp eax, ebx
je 0x4d7bda
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
call fcn.004d05c0
cmp eax, ebp
je 0x4d7d48
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7dad
push 0x5bcffc
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7dad
sub eax, esi
sar eax, 1
cmp eax, ebx
je 0x4d7dad
lea ecx, [eax + 1]
lea esi, [esp + 0x28]
lea edx, [esp + 0x18]
call fcn.00403540
mov byte [esp + 0x84], 5
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4d7a2d
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x4d7a20
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d7a20
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d7a17
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
jmp 0x4d7a2d
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x24]
call fcn.00404050
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7a55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
call fcn.004d05c0
cmp eax, ebp
je 0x4d7dc2
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7ddc
push 0x5bcffc
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7ddc
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4d7ddc
lea ecx, [eax + 1]
lea esi, [esp + 0x2c]
lea edx, [esp + 0x18]
call fcn.00403540
mov byte [esp + 0x84], 6
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4d7b04
cmp dword [esi + 0xc], ebp
lea edi, [esi + 0xc]
jl 0x4d7af7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d7af7
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d7aee
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x4d7b04
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00404050
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7b2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
call fcn.004d05c0
cmp eax, ebp
je 0x4d7df2
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7dc2
push 0x5bcffc
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7dc2
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4d7dc2
lea ecx, [eax + 1]
lea esi, [esp + 0x30]
lea edx, [esp + 0x18]
call fcn.00403540
lea edi, [esp + 0x24]
mov byte [esp + 0x84], 7
call fcn.004035d0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d7bbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x94]
call fcn.004d3360
jmp 0x4d7d2a
cmp dword [esi - 0xc], ebp
jl 0x4d7d2a
push str._mergedict_
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7d2a
sub eax, esi
sar eax, 1
cmp eax, ebx
je 0x4d7d2a
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
call fcn.004d05c0
cmp eax, ebp
je 0x4d7d48
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7dad
push 0x5bcffc
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7dad
sub eax, esi
sar eax, 1
cmp eax, ebx
je 0x4d7dad
lea ecx, [eax + 1]
lea esi, [esp + 0x34]
lea edx, [esp + 0x18]
call fcn.00403540
mov esi, dword [esp + 0x8c]
lea edi, [esi + 0x18]
mov byte [esp + 0x84], 8
call fcn.004035d0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d7c98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
call fcn.004d05c0
cmp eax, ebp
jne 0x4d7cbb
push 0x5bcc3c
lea eax, [esi + 0x1c]
xor ebx, ebx
call fcn.00404050
jmp 0x4d7d2a
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], ebp
jl 0x4d7d2a
push 0x5bcffc
push esi
call fcn.0057880c
add esp, 8
cmp eax, ebp
je 0x4d7d2a
sub eax, esi
sar eax, 1
cmp eax, ebx
je 0x4d7d2a
lea ecx, [eax + 1]
lea esi, [esp + 0x38]
lea edx, [esp + 0x18]
call fcn.00403540
mov edi, dword [esp + 0x8c]
add edi, 0x1c
mov byte [esp + 0x84], 9
call fcn.004035d0
mov byte [esp + 0x84], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4d7d2a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x40]
call fcn.004d05c0
test eax, eax
je 0x4d7e0e
or ebx, 0xffffffff
jmp 0x4d7950
lea esi, [esp + 0x54]
call fcn.004d04e0
mov dword [esp + 0x3c], ebx
mov edx, dword [0x603394]
push edx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
call fcn.00404510
lea ecx, [esp + 0x1c]
call fcn.00404510
lea ecx, [esp + 0x20]
call fcn.00404510
lea ecx, [esp + 0x18]
call fcn.00404510
lea edi, [esp + 0x3c]
call fcn.004d08d0
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
lea esi, [esp + 0x54]
call fcn.004d04e0
mov eax, dword [0x603394]
mov dword [esp + 0x3c], ebx
push eax
jmp 0x4d7d5c
lea esi, [esp + 0x54]
call fcn.004d04e0
mov ecx, dword [0x603394]
mov dword [esp + 0x3c], 0xffffffff
push ecx
jmp 0x4d7d5c
lea esi, [esp + 0x54]
call fcn.004d04e0
mov dword [esp + 0x3c], 0xffffffff
jmp 0x4d7d55
lea esi, [esp + 0x54]
call fcn.004d04e0
mov eax, dword [0x603394]
mov dword [esp + 0x3c], 0xffffffff
push eax
jmp 0x4d7d5c
lea ecx, [esp + 0x24]
call fcn.00404510
lea ecx, [esp + 0x1c]
call fcn.00404510
lea ecx, [esp + 0x20]
call fcn.00404510
lea ecx, [esp + 0x18]
call fcn.00404510
lea edi, [esp + 0x3c]
call fcn.004d08d0
mov eax, 1
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret