Function at 0x4c0960
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae75
mov eax, dword fs:[0]
push eax
sub esp, 0x8e4
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x884], ecx
mov dword [ebp - 0x880], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x50]
call fcn.00401050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040c6d0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
call fcn.00432a90
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
jge 0x4c0a33
push 0
push 0
push 0x5006f0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x3e8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x3e8]
jmp 0x4c1ec4
mov ecx, dword [ebp + 8]
push ecx
call fcn.004343f0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4c10d9
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x54]
call fcn.00401050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401050
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b3a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x110]
call fcn.00408220
lea ecx, [ebp - 0x110]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
je 0x4c0aca
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401070
jmp 0x4c0a33
lea edx, [ebp - 0x3f8]
push edx
mov ecx, dword [ebp - 0x884]
add ecx, 0x3d8
call fcn.004183d0
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x3f0]
push ecx
mov ecx, dword [ebp - 0x884]
add ecx, 0x3d8
call fcn.0040bfd0
mov ecx, eax
call fcn.0041a0c0
movzx edx, al
test edx, edx
je 0x4c0b3c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401070
jmp 0x4c0a33
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x884]
add ecx, 0x3d8
call fcn.0040bea0
push eax
lea ecx, [ebp - 0x10c]
call fcn.00408200
lea ecx, [ebp - 0x10c]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
je 0x4c0b9e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401070
jmp 0x4c0a33
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
push eax
call fcn.0047dd49
add esp, 4
test eax, eax
jg 0x4c0bdd
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401070
jmp 0x4c0a33
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x54]
call fcn.00408200
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push eax
lea ecx, [ebp - 0x58]
call fcn.00408220
lea ecx, [ebp - 0x58]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x50]
call fcn.0040bdd0
test eax, eax
jge 0x4c0c1b
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00408200
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x120]
call fcn.00408200
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x124]
call fcn.00408200
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
push edx
call fcn.0047dd49
add esp, 4
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 3
jmp 0x4c0c82
mov eax, dword [ebp - 0x12c]
add eax, 1
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x130]
add ecx, 1
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x12c]
cmp edx, dword [ebp - 0x24]
jge 0x4c0e06
cmp dword [ebp - 0x130], 0x1e
jge 0x4c0e06
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
push edx
call fcn.0047ddf7
add esp, 4
mov eax, dword [ebp - 0x130]
fstp dword [ebp + eax*4 - 0xe8]
mov ecx, dword [ebp - 0x130]
fld dword [ebp + ecx*4 - 0xe8]
fcomp qword [0x504f98]
fnstsw ax
test ah, 0x41
je 0x4c0d7c
mov edx, dword [ebp - 0x130]
fld dword [ebp + edx*4 - 0xe8]
fcomp qword [0x504f98]
fnstsw ax
test ah, 0x44
jp 0x4c0d70
lea ecx, [ebp - 0x58]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x504]
call fcn.004088a0
mov dword [ebp - 0x888], eax
mov eax, dword [ebp - 0x888]
mov dword [ebp - 0x88c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x880]
or ecx, 1
mov dword [ebp - 0x880], ecx
mov ecx, dword [ebp - 0x88c]
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x400], esp
push eax
call fcn.00408750
mov dword [ebp - 0x890], eax
call fcn.004b5c50
add esp, 4
mov dword [ebp - 0x894], eax
mov edx, dword [ebp - 0x894]
sub edx, 1
cmp edx, dword [ebp - 0x130]
jg 0x4c0d7c
mov dword [ebp - 0x898], 0
jmp 0x4c0d86
mov dword [ebp - 0x898], 1
mov al, byte [ebp - 0x898]
mov byte [ebp - 0x3f9], al
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x880]
and ecx, 1
je 0x4c0db6
and dword [ebp - 0x880], 0xfffffffe
lea ecx, [ebp - 0x504]
call fcn.004291d0
movzx edx, byte [ebp - 0x3f9]
test edx, edx
je 0x4c0dcf
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040c400
jmp 0x4c0e01
push 0x4f462a
lea ecx, [ebp - 0x508]
call fcn.00408100
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x508]
push ecx
lea ecx, [ebp - 0x70]
call fcn.0040c400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x508]
call fcn.00401070
jmp 0x4c0c64
lea edx, [ebp - 0x518]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004183d0
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x510]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040c870
mov ecx, eax
call fcn.0041a0c0
movzx edx, al
test edx, edx
je 0x4c0e6e
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x108]
call fcn.00408200
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040c700
mov ecx, eax
call fcn.0040b6d0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x4c10ad
lea ecx, [ebp - 0x1fc]
call fcn.0040b3a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040c700
push eax
lea ecx, [ebp - 0x1fc]
call fcn.0040b6d0
lea ecx, [ebp - 0x1fc]
call fcn.0040be80
movzx edx, al
test edx, edx
jne 0x4c0ec2
lea ecx, [ebp - 0x124]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x1fc]
call fcn.0040bdd0
test eax, eax
jle 0x4c0ed4
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x1fc]
call fcn.00408200
lea ecx, [ebp - 0x1f8]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
jne 0x4c0f01
lea ecx, [ebp - 0x120]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x1f8]
call fcn.0040bdd0
test eax, eax
jge 0x4c0f13
lea edx, [ebp - 0x120]
push edx
lea ecx, [ebp - 0x1f8]
call fcn.00408200
mov eax, dword [ebp - 0x1dc]
add eax, dword [ebp - 0x104]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x200], 0
jmp 0x4c0f40
mov ecx, dword [ebp - 0x200]
add ecx, 1
mov dword [ebp - 0x200], ecx
cmp dword [ebp - 0x200], 0x1e
jge 0x4c104a
mov edx, dword [ebp - 0x200]
fld dword [ebp + edx*4 - 0x1c0]
mov eax, dword [ebp - 0x200]
fadd dword [ebp + eax*4 - 0xe8]
mov ecx, dword [ebp - 0x200]
fstp dword [ebp + ecx*4 - 0x1c0]
mov edx, dword [ebp - 0x200]
push edx
lea ecx, [ebp - 0x70]
call fcn.00401910
push eax
lea ecx, [ebp - 0x204]
call fcn.004080e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x200]
push eax
lea ecx, [ebp - 0x148]
call fcn.00401910
push eax
lea ecx, [ebp - 0x208]
call fcn.004080e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x204]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
jne 0x4c1027
push 0
lea ecx, [ebp - 0x204]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x208]
call fcn.004084b0
cmp eax, 0xffffffff
jne 0x4c1027
push 0x500710
lea ecx, [ebp - 0x208]
call fcn.0040bdb0
lea edx, [ebp - 0x204]
push edx
lea ecx, [ebp - 0x208]
call fcn.0040bd90
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x200]
push ecx
lea ecx, [ebp - 0x148]
call fcn.00401910
mov ecx, eax
call fcn.00408200
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x208]
call fcn.00401070
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x204]
call fcn.00401070
jmp 0x4c0f31
push 0
lea ecx, [ebp - 0x58]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x1e0]
call fcn.004084b0
cmp eax, 0xffffffff
jne 0x4c1084
push 0x500714
lea ecx, [ebp - 0x1e0]
call fcn.0040bdb0
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x1e0]
call fcn.0040bd90
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040c700
mov ecx, eax
call fcn.0040b6d0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1fc]
call fcn.0040b660
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.0040b660
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x54]
call fcn.00401070
jmp 0x4c0a33
lea ecx, [ebp - 0x3c]
call fcn.00421af0
test eax, eax
ja 0x4c1135
push 0
push 0x500718
push 0x500740
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x51c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x51c]
jmp 0x4c1ec4
push ecx
mov ecx, esp
mov dword [ebp - 0x520], esp
push 0x500750
call fcn.00408750
mov dword [ebp - 0x89c], eax
mov edx, dword [ebp - 0x89c]
mov dword [ebp - 0x8a0], edx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x628]
call fcn.004088a0
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x8a8], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x8a8]
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x524], esp
push eax
call fcn.00408750
mov dword [ebp - 0x8ac], eax
push 1
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 0xd
call fcn.004b6160
add esp, 0x10
mov dword [ebp - 0x8b0], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x628]
call fcn.004291d0
lea ecx, [ebp - 0x10]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x6ac]
call fcn.00408870
mov dword [ebp - 0x8b4], eax
mov edx, dword [ebp - 0x8b4]
mov dword [ebp - 0x8b8], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x8b8]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x44]
call fcn.00408220
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x6ac]
call fcn.004291d0
lea ecx, [ebp - 0x18]
call fcn.00418280
lea ecx, [ebp - 0x28]
call fcn.00401050
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00401050
mov byte [ebp - 4], 0x12
push 0x500768
lea ecx, [ebp - 0x48]
call fcn.00408750
mov byte [ebp - 4], 0x13
push 0x5007f0
lea ecx, [ebp - 0x40]
call fcn.00408750
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x884]
mov ecx, dword [eax + 0x3c8]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401aa0
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.0040a8f0
add esp, 0xc
mov eax, dword [ebp - 0x884]
mov ecx, dword [eax + 0x3c8]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00401aa0
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.0040a8f0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x30]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x28]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4c137e
push 0
push 0x500878
lea ecx, [ebp - 0x28]
call fcn.00401aa0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x6b0], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00401070
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00401070
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00401070
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x6b0]
jmp 0x4c1ec4
lea eax, [ebp - 0x6b8]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004183a0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
jmp 0x4c13ab
push 0
lea eax, [ebp - 0x6c0]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040c900
lea ecx, [ebp - 0x6c8]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004183d0
push eax
lea ecx, [ebp - 0x18]
call fcn.004142d0
movzx edx, al
test edx, edx
je 0x4c18cb
mov dword [ebp - 0x2dc], 0
lea ecx, [ebp - 0x20c]
call fcn.00401050
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x18]
call fcn.004182a0
add eax, 4
push eax
lea ecx, [ebp - 0x2d4]
call fcn.0040b810
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2b8]
call fcn.0040be80
movzx eax, al
test eax, eax
jne 0x4c1432
push 0x5007ec
push 0x500888
lea ecx, [ebp - 0x2b8]
call fcn.004082f0
add eax, 1
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 7
jge 0x4c145e
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2d4]
call fcn.0040b660
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x20c]
call fcn.00401070
jmp 0x4c139a
mov eax, dword [ebp - 0x2b4]
cdq
idiv dword [ebp - 0x2dc]
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0x64
jge 0x4c149d
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2d4]
call fcn.0040b660
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x20c]
call fcn.00401070
jmp 0x4c139a
fldz
fstp dword [ebp - 0x2b0]
fldz
fstp dword [ebp - 0x2ac]
fldz
fstp dword [ebp - 0x2ac]
lea ecx, [ebp - 0x44]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040b100
push 0x50088c
lea ecx, [ebp - 0x20c]
call fcn.00401150
lea ecx, [ebp - 0x18]
call fcn.004182a0
mov ecx, eax
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x20c]
call fcn.0040b100
push 0x500890
lea ecx, [ebp - 0x20c]
call fcn.00401150
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2e4], 2
jmp 0x4c1538
mov ecx, dword [ebp - 0x2e0]
add ecx, 1
mov dword [ebp - 0x2e0], ecx
mov edx, dword [ebp - 0x2e4]
add edx, 1
mov dword [ebp - 0x2e4], edx
cmp dword [ebp - 0x2e0], 0x1e
jge 0x4c166c
mov dword [ebp - 0x2ec], 0
lea ecx, [ebp - 0x2f0]
call fcn.00401050
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401910
push eax
lea ecx, [ebp - 0x2e8]
call fcn.004080e0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x2e8]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
jne 0x4c15b0
push 0x500894
push 0x500898
lea ecx, [ebp - 0x2e8]
call fcn.004082f0
add eax, 1
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
jne 0x4c15ca
mov edx, dword [ebp - 0x2e0]
fldz
fstp dword [ebp + edx*4 - 0x298]
jmp 0x4c15f0
fild dword [ebp - 0x2ec]
mov eax, dword [ebp - 0x2e0]
fdivr dword [ebp + eax*4 - 0x298]
fidiv dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2e0]
fstp dword [ebp + ecx*4 - 0x298]
mov edx, dword [ebp - 0x2e0]
fld dword [ebp + edx*4 - 0x298]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp - 0x2e4]
push eax
push 0x50089c
lea ecx, [ebp - 0x2f0]
push ecx
call fcn.0040a8f0
add esp, 0x14
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x20c]
call fcn.0040b0e0
cmp dword [ebp - 0x2e0], 0x1d
je 0x4c1649
push 0x5008a8
lea ecx, [ebp - 0x20c]
call fcn.00401150
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x2e8]
call fcn.00401070
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2f0]
call fcn.00401070
jmp 0x4c151a
push 0x5008ac
lea ecx, [ebp - 0x20c]
call fcn.00401150
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004b6730
add esp, 8
lea edx, [ebp - 0x2d4]
push edx
lea ecx, [ebp - 0x18]
call fcn.004182a0
add eax, 4
mov ecx, eax
call fcn.0040b6d0
lea ecx, [ebp - 0x2d8]
call fcn.00401050
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x884]
add ecx, 0x3c8
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x74c]
call fcn.00408870
mov dword [ebp - 0x8bc], eax
mov eax, dword [ebp - 0x8bc]
mov dword [ebp - 0x8c0], eax
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x884]
add ecx, 0x3c8
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x7d0]
call fcn.00408870
mov dword [ebp - 0x8c4], eax
mov ecx, dword [ebp - 0x8c4]
mov dword [ebp - 0x8c8], ecx
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x2d0]
push edx
mov eax, dword [ebp - 0x2d4]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
fld dword [ebp - 0x29c]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x2ac]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x224]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x264]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x280]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x298]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
mov ecx, dword [ebp - 0x2bc]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
mov ecx, dword [ebp - 0x8c0]
call fcn.00401aa0
push eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x2d0]
push ecx
mov edx, dword [ebp - 0x2d4]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
fld dword [ebp - 0x29c]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x2ac]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x224]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x264]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x280]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x298]
fmul qword [0x505000]
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp - 0x2b4]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
mov ecx, dword [ebp - 0x8c8]
call fcn.00401aa0
push eax
mov eax, dword [ebp - 0x44]
push eax
push str.insert_into_calc_ltv_duba_link_values__s___s_____s___d__null___0.2f_____0.2f_____0.2f_____0.2f_____0.4f___0.4f__0_0_0_0_0_0___d___s__s__s__s__s_0_0_0_0_0_0_0_0_0_0__s__ON_DUPLICATE_KEY_UPDATE_tag_s_newinstall_d_ciliu_0.2f___7liu_0.2f___14liu_0.2f___30liu_0.2f___newuserARPU_0.4f_activeARPU_0.4f_calc_day_d_cal_st_ed_day_s__s
lea ecx, [ebp - 0x2d8]
push ecx
call fcn.0040a920
add esp, 0xa8
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x7d0]
call fcn.004291d0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x74c]
call fcn.004291d0
lea edx, [ebp - 0x2d8]
push edx
call fcn.004bb910
mov ecx, eax
call fcn.004bb9b0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x2d8]
call fcn.00401070
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2d4]
call fcn.0040b660
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x20c]
call fcn.00401070
jmp 0x4c139a
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x884]
call fcn.004bda00
test eax, eax
jne 0x4c1960
mov dword [ebp - 0x7d4], 0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00401070
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00401070
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00401070
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x7d4]
jmp 0x4c1ec4
mov dword [ebp - 0x2f4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7d8], esp
lea eax, [ebp - 0x30]
push eax
call fcn.00401940
mov dword [ebp - 0x8cc], eax
lea ecx, [ebp - 0x2f4]
push ecx
mov ecx, dword [ebp - 0x884]
call fcn.004bd930
mov dword [ebp - 0x8d0], eax
cmp dword [ebp - 0x8d0], 0
je 0x4c1e30
lea ecx, [ebp - 0x2f8]
call fcn.00401050
mov byte [ebp - 4], 0x1c
mov edx, dword [ebp - 0x2f4]
push edx
lea ecx, [ebp - 0x2fc]
call fcn.00408100
mov byte [ebp - 4], 0x1d
push 0
push 0x500a2c
lea ecx, [ebp - 0x2fc]
call fcn.004084b0
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0xffffffff
je 0x4c1e12
lea ecx, [ebp - 0x314]
call fcn.00401050
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x310]
call fcn.004018a0
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x300]
push eax
lea ecx, [ebp - 0x7dc]
push ecx
lea ecx, [ebp - 0x2fc]
call fcn.00408690
mov dword [ebp - 0x8d4], eax
mov edx, dword [ebp - 0x8d4]
mov dword [ebp - 0x8d8], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x8d8]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00408200
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x7dc]
call fcn.00401070
lea ecx, [ebp - 0x2f8]
call fcn.00408bb0
cmp eax, 0xa
jge 0x4c1a92
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x310]
call fcn.0040c260
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x314]
call fcn.00401070
jmp 0x4c1e12
lea ecx, [ebp - 0x310]
push ecx
push 0x500a30
lea ecx, [ebp - 0x2f8]
call fcn.00401aa0
push eax
call fcn.004b6810
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.004018d0
cmp eax, 6
jne 0x4c1d84
lea edx, [ebp - 0x7ec]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004183d0
push eax
push 0
lea ecx, [ebp - 0x310]
call fcn.00401910
push eax
lea eax, [ebp - 0x7e4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c870
mov ecx, eax
call fcn.004142d0
movzx ecx, al
test ecx, ecx
je 0x4c1d84
lea ecx, [ebp - 0x3dc]
call fcn.0040b3a0
mov byte [ebp - 4], 0x21
push 0
lea ecx, [ebp - 0x310]
call fcn.00401910
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040c700
push eax
lea ecx, [ebp - 0x3dc]
call fcn.0040b6d0
push 1
lea ecx, [ebp - 0x310]
call fcn.00401910
mov ecx, eax
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040bdd0
test eax, eax
je 0x4c1c36
push 0
push 0x500a34
lea ecx, [ebp - 0x30]
call fcn.00401aa0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x7f0], 0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3dc]
call fcn.0040b660
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x310]
call fcn.0040c260
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x314]
call fcn.00401070
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2fc]
call fcn.00401070
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f8]
call fcn.00401070
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00401070
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00401070
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00401070
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x7f0]
jmp 0x4c1ec4
push 2
lea ecx, [ebp - 0x310]
call fcn.00401910
mov ecx, eax
call fcn.00401aa0
push eax
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x8dc]
fld dword [ebp - 0x8dc]
push ecx
fstp dword [esp]
push 0xb4
mov ecx, dword [ebp - 0x884]
call fcn.004bd7b0
fstp dword [ebp - 0x3e0]
push 3
lea ecx, [ebp - 0x310]
call fcn.00401910
mov ecx, eax
call fcn.00401aa0
push eax
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x8e0]
fld dword [ebp - 0x8e0]
push ecx
fstp dword [esp]
push 0x168
mov ecx, dword [ebp - 0x884]
call fcn.004bd7b0
fstp dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x884]
add ecx, 0x3c8
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x874]
call fcn.00408870
mov dword [ebp - 0x8e4], eax
mov edx, dword [ebp - 0x8e4]
mov dword [ebp - 0x8e8], edx
mov byte [ebp - 4], 0x22
push 0
lea ecx, [ebp - 0x310]
call fcn.00401910
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x8e8]
call fcn.00401aa0
push eax
push 1
lea ecx, [ebp - 0x310]
call fcn.00401910
mov ecx, dword [eax]
push ecx
fld dword [ebp - 0x3e4]
fadd qword [0x505038]
sub esp, 8
fstp qword [esp]
fld dword [ebp - 0x3e0]
fadd qword [0x505038]
sub esp, 8
fstp qword [esp]
push str.UPDATE_calc_ltv_duba_link_SET_LT_180_0.2f_LT_365_0.2f_WHERE_keyid_s__s__s
lea edx, [ebp - 0x314]
push edx
call fcn.0040a920
add esp, 0x24
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x874]
call fcn.004291d0
lea eax, [ebp - 0x314]
push eax
call fcn.004bb910
mov ecx, eax
call fcn.004bb9b0
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x3dc]
call fcn.0040b660
mov edx, dword [ebp - 0x300]
add edx, 1
push edx
lea eax, [ebp - 0x878]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.0040be20
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x8ec]
mov dword [ebp - 0x8f0], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x8f0]
push edx
lea ecx, [ebp - 0x2fc]
call fcn.00408200
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x878]
call fcn.00401070
push 0
push 0x500aa0
lea ecx, [ebp - 0x2fc]
call fcn.004084b0
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x310]
call fcn.0040c260
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x314]
call fcn.00401070
jmp 0x4c19e4
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x2fc]
call fcn.00401070
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x2f8]
call fcn.00401070
cmp dword [ebp - 0x2f4], 0
je 0x4c1e52
mov eax, dword [ebp - 0x2f4]
push eax
call fcn.0047d0ca
add esp, 4
mov dword [ebp - 0x2f4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x87c], ecx
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00401070
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
call fcn.00401070
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.00401070
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0040b640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401070
mov eax, dword [ebp - 0x87c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4