Function at 0x4d5150
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8d0
push ebx
push esi
push edi
add eax, 0x410
push 0x3e8
push eax
lea esi, [ebp - 8]
mov dword [ebp - 0x50], eax
call fcn.00401e5a
push 4
lea eax, [ebp - 0x28]
push eax
mov eax, esi
xor ebx, ebx
push eax
mov dword [ebp - 0x28], ebx
call fcn.00401e16
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
jbe 0x4d5544
lea eax, [ebp - 8]
push eax
mov eax, 0x104
lea ecx, [ebp - 0x6c4]
call fcn.0044ab18
push 4
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x38], ebx
call fcn.00401e16
cmp dword [ebp - 0x38], ebx
je 0x4d5272
push 8
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x5c], 0x19
mov dword [ebp - 0x58], ebx
call fcn.00401e16
push 0x24
call fcn.0044b085
cmp eax, ebx
pop ecx
je 0x4d51fe
fld qword [ebp - 0x5c]
push ecx
push ecx
mov edi, eax
fstp qword [esp]
call fcn.004b064b
mov edi, eax
mov dword [ebp - 0x18], edi
jmp 0x4d5203
mov dword [ebp - 0x18], ebx
mov edi, ebx
push 4
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x34], 0xc8
call fcn.00401e16
mov eax, dword [ebp - 0x34]
cmp eax, 0x63
jb 0x4d5224
push 0x63
pop eax
push eax
lea esi, [edi + 0x14]
call fcn.004f3f25
push 4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
mov dword [edi + 0x18], ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.00401e16
xor esi, esi
cmp dword [ebp - 0x24], ebx
jbe 0x4d5272
push 8
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
call fcn.00401e16
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x44]
call fcn.004b0bc5
inc esi
cmp esi, dword [ebp - 0x24]
jb 0x4d5249
push 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x20], ebx
call fcn.00401e16
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], ebx
je 0x4d54ca
push 0x18
call fcn.0044b085
cmp eax, ebx
pop ecx
je 0x4d52b4
lea ecx, [eax + 7]
and ecx, 0xfffffffc
mov dword [eax], ecx
mov dword [ecx], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [ebp - 0x14], eax
jmp 0x4d52b7
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
je 0x4d54ca
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
jbe 0x4d54ca
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401e16
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 8]
push eax
push 2
pop eax
lea ecx, [ebp - 0x8cc]
call fcn.0044ab18
mov eax, edi
lea edx, [ebp - 0x8cc]
lea edi, [ebp - 0x2a4]
call fcn.004289df
mov eax, edi
push eax
push dword [ebp - 0x14]
call fcn.00428aa7
push 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401e16
cmp dword [ebp - 0x3c], ebx
mov dword [ebp - 0xc], ebx
jbe 0x4d54b0
lea eax, [ebp - 8]
push eax
call fcn.00424122
mov dword [ebp - 0x54], eax
lea eax, [ebp - 8]
push eax
call fcn.00424122
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00424122
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4d5390
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051fd80
mov esi, eax
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x1c]
mov ecx, esi
call fcn.0044ab18
push esi
lea eax, [ebp - 0x68]
call fcn.0041d2d0
push esi
call fcn.00520947
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00424122
test eax, eax
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
jge 0x4d53a9
fadd qword [0x5997e0]
fmul qword [0x5997b0]
lea eax, [ebp - 8]
push eax
fstp qword [ebp - 0x74]
call fcn.00424122
test eax, eax
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
jge 0x4d53cb
fadd qword [0x5997e0]
fmul qword [0x5997b0]
lea eax, [ebp - 8]
push eax
fstp qword [ebp - 0x7c]
call fcn.00424122
mov edi, eax
lea eax, [ebp - 8]
push eax
call fcn.00424122
mov esi, eax
lea eax, [ebp - 8]
push eax
call fcn.00424122
mov dword [ebp - 0x48], eax
lea eax, [ebp - 8]
push eax
call fcn.00424122
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
push eax
call fcn.00424122
fld qword [ebp - 0x7c]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x74]
fstp qword [esp]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x2a4]
push dword [ebp - 0x2c]
push esi
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
call fcn.004d0aaa
mov edi, eax
push 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401e16
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jbe 0x4d5498
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x4b4]
call fcn.0044ab18
push 0x41
mov byte [edi + 0x38], 1
mov byte [edi + 0x39], 1
call fcn.0044b085
cmp eax, ebx
pop ecx
je 0x4d547a
call fcn.00460442
mov dword [eax + 0x3d], ebx
jmp 0x4d547c
xor eax, eax
push eax
lea edx, [ebp - 0x4b4]
mov dword [edi + 0x3a], eax
call fcn.0045d9af
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x68]
call fcn.00520947
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x3c]
pop ecx
jb 0x4d5329
lea ecx, [ebp - 0x2a4]
call fcn.00421733
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jb 0x4d52cc
mov edi, dword [ebp - 0x18]
cmp edi, ebx
mov dword [ebp - 0xc], ebx
je 0x4d54e9
lea esi, [ebp - 0xc]
call fcn.00422647
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
je 0x4d5509
lea edi, [ebp - 0x10]
call fcn.00422675
mov esi, dword [ebp - 0x14]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp + 8]
mov edx, 0x53ec98
call fcn.004cb766
lea edi, [ebp - 0x10]
call fcn.00422675
lea esi, [ebp - 0xc]
call fcn.00422647
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x28]
jb 0x4d5191
mov edi, dword [ebp - 8]
cmp edi, 0xffffffff
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4d5558
push edi
call esi
or edi, 0xffffffff
push dword [ebp - 0x50]
mov eax, 0x3e8
call fcn.00449190
cmp edi, 0xffffffff
je 0x4d556d
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret 4