Function at 0x4d5fd0
Capabilities:
Contain obfuscated stackstrings
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad0b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push 0
push 0
mov eax, dword [ebx + 0xc4]
push 0x1032
push eax
mov dword [ebp - 0x28], ebx
call esi
cmp eax, 1
jne 0x4d6b79
push 0
lea ecx, [ebp - 0x1e8]
call fcn.00506430
mov ecx, dword [0x64fe78]
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x9d50]
lea ecx, [ebp - 0x1e8]
push eax
call fcn.005065e0
mov edx, dword [0x64fe78]
push str..tmp
add edx, 0x9d50
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.00575d7d
push 1
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 1
call fcn.00506600
test eax, eax
jne 0x4d60d4
lea ecx, [ebp - 0x14]
push 0xc9c3
push ecx
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.005737b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00575ae8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00575ae8
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x40]
call fcn.005760db
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call fcn.0057700b
mov edx, dword [0x64fe78]
push str..tmp
add edx, 0x9d50
lea eax, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.00575d7d
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.00576150
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00575ae8
test edi, edi
jne 0x4d6179
lea ecx, [ebp - 0x14]
push 0xc9c4
push ecx
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push edi
push edi
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.005737b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00575ae8
mov byte [ebp - 4], 3
call fcn.00577049
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0057610d
jmp 0x4d60a5
push 0
push 0x1000
lea edx, [ebp - 0x40]
push 0
push edx
lea ecx, [ebp - 0x22c]
call fcn.00579d2d
mov eax, dword [0x614cb0]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
call fcn.0051d950
mov eax, dword [ebx + 0xc4]
or edi, 0xffffffff
push 2
push edi
push 0x100c
push eax
mov byte [ebp - 4], 0xc
call esi
inc eax
test eax, eax
jne 0x4d61ff
lea ecx, [ebp - 0x14]
push 0xc9c5
push ecx
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.005737b9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.00575ae8
jmp 0x4d6974
mov edx, dword [ebx + 0xc4]
dec eax
push 2
push eax
push 0x100c
push edx
mov dword [ebp - 0x2c], eax
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebx + 0x98]
lea eax, [eax + eax*4]
shl eax, 5
lea edx, [eax + ecx + 4]
lea ecx, [ebp - 0x18]
push edx
call fcn.00575c21
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x14], 0
call fcn.00507440
test eax, eax
je 0x4d6a20
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4d69f6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1e8]
push eax
push ecx
call fcn.005589c0
add esp, 8
test eax, eax
je 0x4d69f6
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1e8]
push edx
push eax
call fcn.005589c0
add esp, 8
test eax, eax
je 0x4d69f6
mov edx, dword [ebp - 0x1e8]
lea ecx, [ebp - 0xe0]
push edi
push ecx
push edx
lea ecx, [ebp - 0x1e8]
call fcn.00509810
test eax, eax
je 0x4d69f6
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x98]
lea esi, [esi + esi*4]
shl esi, 5
mov edx, dword [esi + eax + 0x10]
lea ecx, [esi + eax]
cmp edx, dword [ebp - 0xd0]
jne 0x4d69f6
fld qword [ecx + 8]
fcomp qword [ebp - 0xd8]
fnstsw ax
test ah, 0x40
je 0x4d69f6
mov eax, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x5c]
push eax
push ecx
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4d69f6
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [esi + ecx + 4]
mov eax, dword [esi + ecx + 4]
push eax
call fcn.0055724d
add esp, 8
test eax, eax
jne 0x4d69f6
push eax
lea ecx, [ebp - 0x53c]
call fcn.00501fa0
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0057585d
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [ebp - 0x188]
call fcn.0057585d
mov edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x184], edx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0x17c], ecx
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0xc8]
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x170], ecx
push edx
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x174], eax
call fcn.00432430
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x160]
push eax
call fcn.00432430
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x154]
call fcn.00432430
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x148]
push edx
call fcn.00432430
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x88]
mov dword [ebp - 0x138], ecx
push edx
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x13c], eax
call fcn.0057585d
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x130]
push eax
mov byte [ebp - 4], 0x11
call fcn.0057585d
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x12
push ecx
lea ecx, [ebp - 0x12c]
call fcn.0057585d
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x128]
push edx
mov byte [ebp - 4], 0x13
call fcn.0057585d
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0x14
call fcn.0057585d
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp - 0x120]
call fcn.0057585d
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x11c]
push edx
mov byte [ebp - 4], 0x16
call fcn.0057585d
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x118]
push eax
mov byte [ebp - 4], 0x17
call fcn.0057585d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x18
push ecx
lea ecx, [ebp - 0x114]
call fcn.0057585d
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x110]
push edx
mov byte [ebp - 4], 0x19
call fcn.0057585d
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0057585d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
push ecx
lea ecx, [ebp - 0x108]
call fcn.0057585d
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0x1c
call fcn.0057585d
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0057585d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1e
push ecx
lea ecx, [ebp - 0xfc]
call fcn.0057585d
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xf8]
push edx
mov byte [ebp - 4], 0x1f
call fcn.0057585d
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], ecx
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x230], edx
call fcn.005716de
cmp eax, 1
jne 0x4d67b2
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
mov eax, dword [ebx + 0x98]
add ecx, eax
call fcn.0051dbb0
mov ecx, dword [ebx + 0xc4]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xe0]
push edx
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00508ff0
mov eax, dword [0x64fe78]
lea ecx, [ebp - 0xe0]
lea edx, [ebp - 0x18c]
push ecx
mov ecx, dword [eax + 0xa44c]
push edx
call fcn.0052c670
lea ecx, [ebp - 0x18c]
push 1
push ecx
mov ecx, dword [0x64fe78]
call fcn.0047c000
mov ecx, dword [0x64fe78]
lea edx, [ebp - 0xe0]
push 0
push edx
call fcn.0047c000
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x22c]
push eax
call fcn.0057a1da
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0xe
call fcn.0051da80
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x3a
call fcn.00575ae8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x39
call fcn.00575ae8
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x38
call fcn.00575ae8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x37
call fcn.00575ae8
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x24c]
call fcn.00575ae8
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x35
call fcn.00575ae8
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x34
call fcn.00575ae8
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x33
call fcn.00575ae8
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x32
call fcn.00575ae8
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x31
call fcn.00575ae8
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x30
call fcn.00575ae8
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x2f
call fcn.00575ae8
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x2e
call fcn.00575ae8
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x2d
call fcn.00575ae8
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x2c
call fcn.00575ae8
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x2b
call fcn.00575ae8
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x2a
call fcn.00575ae8
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x29
call fcn.00587c48
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x28
call fcn.00587c48
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0x27
call fcn.00587c48
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x26
call fcn.00587c48
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0x25
call fcn.00587983
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x24
call fcn.00587983
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0x23
call fcn.00587983
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x22
call fcn.005879bb
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0x21
call fcn.00587c48
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 0xc
call fcn.005712db
jmp 0x4d6a0d
lea ecx, [ebp - 0x1e8]
call fcn.00506720
lea ecx, [ebp - 0x22c]
call fcn.00579e4f
lea ecx, [ebp - 0x40]
call fcn.005764b6
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xe
call fcn.0051da80
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x54
call fcn.00575ae8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x53
call fcn.00575ae8
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x52
call fcn.00575ae8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x51
call fcn.00575ae8
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x50
call fcn.00575ae8
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x4f
call fcn.00575ae8
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x4e
call fcn.00575ae8
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x4d
call fcn.00575ae8
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x4c
call fcn.00575ae8
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x4b
call fcn.00575ae8
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x4a
call fcn.00575ae8
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x49
call fcn.00575ae8
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x48
call fcn.00575ae8
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x47
call fcn.00575ae8
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x46
call fcn.00575ae8
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x2b4]
call fcn.00575ae8
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x44
call fcn.00575ae8
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x43
call fcn.00587c48
lea ecx, [ebp - 0x33c]
mov byte [ebp - 4], 0x42
call fcn.00587c48
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0x41
call fcn.00587c48
lea ecx, [ebp - 0x3b4]
mov byte [ebp - 4], 0x40
call fcn.00587c48
lea ecx, [ebp - 0x3f0]
mov byte [ebp - 4], 0x3f
call fcn.00587983
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x3e
call fcn.00587983
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0x3d
call fcn.00587983
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x3c
call fcn.005879bb
lea ecx, [ebp - 0x4e0]
mov byte [ebp - 4], 0x3b
call fcn.00587c48
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 0xc
call fcn.005712db
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
call fcn.0051da80
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00575ae8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00575ae8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00575ae8
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 5
call fcn.00579e09
mov byte [ebp - 4], 3
call fcn.00577049
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0057610d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00575ae8
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], edi
call fcn.00506500
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1e8]
cmp byte [eax], 0
je 0x4d6a0d
push eax
lea ecx, [ebp - 0x22c]
call fcn.0057a1da
lea ecx, [ebp - 0x1e8]
call fcn.00507440
test eax, eax
jne 0x4d624a
lea ecx, [ebp - 0x1e8]
call fcn.00506720
lea ecx, [ebp - 0x22c]
call fcn.00579e91
lea ecx, [ebp - 0x40]
call fcn.00576480
mov ecx, dword [0x64fe78]
push str..old
add ecx, 0x9d50
lea edx, [ebp - 0x14]
push ecx
push edx
call fcn.00575d7d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.00575ae8
mov eax, dword [0x64fe78]
push str..old
add eax, 0x9d50
lea ecx, [ebp - 0x14]
push eax
push ecx
call fcn.00575d7d
mov edx, dword [0x64fe78]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [edx + 0x9d50]
push ecx
call edi
lea ecx, [ebp - 0x14]
call fcn.00575ae8
mov eax, dword [0x64fe78]
push str..tmp
add eax, 0x9d50
lea ecx, [ebp - 0x14]
push eax
push ecx
mov esi, dword [eax]
call fcn.00575d7d
mov eax, dword [eax]
push esi
push eax
call edi
lea ecx, [ebp - 0x14]
call fcn.00575ae8
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
call fcn.0051da80
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00575ae8
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.00575ae8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00575ae8
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 5
call fcn.00579e09
jmp 0x4d6b41
mov dword [ebp - 4], 3
call fcn.00577049
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0057610d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00575ae8
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00506500
jmp 0x4d6bae
lea eax, [ebp - 0x28]
push 0xc9c6
push eax
call fcn.005054c0
add esp, 8
mov eax, dword [eax]
push 0x40
push 0
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x70
call fcn.005737b9
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00575ae8
lea ecx, [ebx + 0xa8]
call fcn.0057525a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret