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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d3ab9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x534
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 + 0xd4]
push 0x1032
push eax
mov dword [ebp - 0x28], ebx
call esi
cmp eax, 1
jne 0x536fb9
push 0
lea ecx, [ebp - 0x1ec]
call fcn.004ee9a0
mov ecx, dword [0x63fd4c]
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x9f04]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.004eeb50
mov edx, dword [0x63fd4c]
push str..tmp
add edx, 0x9f04
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.00593970
push 1
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 1
call fcn.004eeb70
test eax, eax
jne 0x536514
lea ecx, [ebp - 0x14]
push 0xc9c3
push ecx
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.005913a9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005936db
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 4], 0xffffffff
call fcn.004eea70
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.00595172
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call fcn.00593d4b
mov edx, dword [0x63fd4c]
push str..tmp
add edx, 0x9f04
lea eax, [ebp - 0x14]
push edx
push eax
mov byte [ebp - 4], 5
call fcn.00593970
mov eax, dword [eax]
push 0
push 0x1001
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.005951e7
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 5
call fcn.005936db
test edi, edi
jne 0x5365b9
lea ecx, [ebp - 0x14]
push 0xc9c4
push ecx
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push edi
push edi
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.005913a9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.005936db
mov byte [ebp - 4], 3
call fcn.00593d89
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005951a4
jmp 0x5364e5
push 0
push 0x1000
lea edx, [ebp - 0x40]
push 0
push edx
lea ecx, [ebp - 0x230]
call fcn.00597946
mov eax, dword [0x639698]
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.00500050
mov eax, dword [ebx + 0xd4]
or edi, 0xffffffff
push 2
push edi
push 0x100c
push eax
mov byte [ebp - 4], 0xc
call esi
inc eax
test eax, eax
jne 0x53663f
lea ecx, [ebp - 0x14]
push 0xc9c5
push ecx
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push 0
push 0
push eax
mov ecx, ebx
mov byte [ebp - 4], 0xd
call fcn.005913a9
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.005936db
jmp 0x536db4
mov edx, dword [ebx + 0xd4]
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 + 0xa8]
lea eax, [eax + eax*4]
shl eax, 5
lea edx, [eax + ecx + 4]
lea ecx, [ebp - 0x18]
push edx
call fcn.00593814
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x14], 0
call fcn.004ef9e0
test eax, eax
je 0x536e60
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x536e36
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1ec]
push eax
push ecx
call fcn.005752d0
add esp, 8
test eax, eax
je 0x536e36
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1ec]
push edx
push eax
call fcn.005752d0
add esp, 8
test eax, eax
je 0x536e36
mov edx, dword [ebp - 0x1ec]
lea ecx, [ebp - 0xe0]
push edi
push ecx
push edx
lea ecx, [ebp - 0x1ec]
call fcn.004f1e10
test eax, eax
je 0x536e36
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebx + 0xa8]
lea esi, [esi + esi*4]
shl esi, 5
mov edx, dword [esi + eax + 0x10]
lea ecx, [esi + eax]
cmp edx, dword [ebp - 0xd0]
jne 0x536e36
fld qword [ecx + 8]
fcomp qword [ebp - 0xd8]
fnstsw ax
test ah, 0x40
je 0x536e36
mov eax, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x5c]
push eax
push ecx
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x536e36
mov ecx, dword [ebx + 0xa8]
mov edx, dword [ebp - 0xdc]
push edx
lea eax, [esi + ecx + 4]
mov eax, dword [esi + ecx + 4]
push eax
call fcn.00573b74
add esp, 8
test eax, eax
jne 0x536e36
push eax
lea ecx, [ebp - 0x540]
call fcn.004e8320
lea eax, [ebp - 0xe0]
lea ecx, [ebp - 0x18c]
push eax
mov byte [ebp - 4], 0xe
call fcn.00593450
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
push ecx
lea ecx, [ebp - 0x188]
call fcn.00593450
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.004754f0
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x160]
push eax
call fcn.004754f0
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x154]
call fcn.004754f0
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x148]
push edx
call fcn.004754f0
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.00593450
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x130]
push eax
mov byte [ebp - 4], 0x11
call fcn.00593450
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x12
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00593450
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x128]
push edx
mov byte [ebp - 4], 0x13
call fcn.00593450
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x124]
push eax
mov byte [ebp - 4], 0x14
call fcn.00593450
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp - 0x120]
call fcn.00593450
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x11c]
push edx
mov byte [ebp - 4], 0x16
call fcn.00593450
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x118]
push eax
mov byte [ebp - 4], 0x17
call fcn.00593450
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x18
push ecx
lea ecx, [ebp - 0x114]
call fcn.00593450
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x110]
push edx
mov byte [ebp - 4], 0x19
call fcn.00593450
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00593450
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
push ecx
lea ecx, [ebp - 0x108]
call fcn.00593450
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x104]
push edx
mov byte [ebp - 4], 0x1c
call fcn.00593450
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x100]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00593450
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1e
push ecx
lea ecx, [ebp - 0xfc]
call fcn.00593450
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xf8]
push edx
mov byte [ebp - 4], 0x1f
call fcn.00593450
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 - 0x540]
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x234], edx
call fcn.0058f2cb
cmp eax, 1
jne 0x536bf2
lea eax, [ebp - 0xe0]
mov ecx, esi
push eax
mov eax, dword [ebx + 0xa8]
add ecx, eax
call fcn.005002b0
mov ecx, dword [ebx + 0xd4]
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 - 0x1ec]
call fcn.004f15c0
mov eax, dword [0x63fd4c]
lea ecx, [ebp - 0xe0]
lea edx, [ebp - 0x18c]
push ecx
mov ecx, dword [eax + 0xa640]
push edx
call fcn.00510ff0
lea ecx, [ebp - 0x18c]
push 1
push ecx
mov ecx, dword [0x63fd4c]
call fcn.0045e380
mov ecx, dword [0x63fd4c]
lea edx, [ebp - 0xe0]
push 0
push edx
call fcn.0045e380
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x230]
push eax
call fcn.00597df3
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0xe
call fcn.00500180
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x3a
call fcn.005936db
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x39
call fcn.005936db
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x38
call fcn.005936db
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x37
call fcn.005936db
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x250]
call fcn.005936db
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x35
call fcn.005936db
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x34
call fcn.005936db
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x33
call fcn.005936db
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x32
call fcn.005936db
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x31
call fcn.005936db
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x30
call fcn.005936db
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x2f
call fcn.005936db
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x2e
call fcn.005936db
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x2d
call fcn.005936db
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x2c
call fcn.005936db
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x2b
call fcn.005936db
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x2a
call fcn.005936db
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0x29
call fcn.005a50ec
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x28
call fcn.005a50ec
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x27
call fcn.005a50ec
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x26
call fcn.005a50ec
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x25
call fcn.005a4e27
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0x24
call fcn.005a4e27
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x23
call fcn.005a4e27
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0x22
call fcn.005a4e5f
lea ecx, [ebp - 0x4e4]
mov byte [ebp - 4], 0x21
call fcn.005a50ec
lea ecx, [ebp - 0x540]
mov byte [ebp - 4], 0xc
call fcn.0058eec8
jmp 0x536e4d
lea ecx, [ebp - 0x1ec]
call fcn.004eecc0
lea ecx, [ebp - 0x230]
call fcn.00597a68
lea ecx, [ebp - 0x40]
call fcn.0059554d
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xe
call fcn.00500180
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x54
call fcn.005936db
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x53
call fcn.005936db
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x52
call fcn.005936db
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x51
call fcn.005936db
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x50
call fcn.005936db
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x4f
call fcn.005936db
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x4e
call fcn.005936db
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 0x4d
call fcn.005936db
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 0x4c
call fcn.005936db
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x4b
call fcn.005936db
lea ecx, [ebp - 0x2a4]
mov byte [ebp - 4], 0x4a
call fcn.005936db
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x49
call fcn.005936db
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0x48
call fcn.005936db
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x47
call fcn.005936db
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x46
call fcn.005936db
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x2b8]
call fcn.005936db
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0x44
call fcn.005936db
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 0x43
call fcn.005a50ec
lea ecx, [ebp - 0x340]
mov byte [ebp - 4], 0x42
call fcn.005a50ec
lea ecx, [ebp - 0x37c]
mov byte [ebp - 4], 0x41
call fcn.005a50ec
lea ecx, [ebp - 0x3b8]
mov byte [ebp - 4], 0x40
call fcn.005a50ec
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 0x3f
call fcn.005a4e27
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0x3e
call fcn.005a4e27
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 0x3d
call fcn.005a4e27
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 0x3c
call fcn.005a4e5f
lea ecx, [ebp - 0x4e4]
mov byte [ebp - 4], 0x3b
call fcn.005a50ec
lea ecx, [ebp - 0x540]
mov byte [ebp - 4], 0xc
call fcn.0058eec8
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
call fcn.00500180
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.005936db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.005936db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005936db
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00597a22
mov byte [ebp - 4], 3
call fcn.00593d89
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005951a4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 4], edi
call fcn.004eea70
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 - 0x1ec]
cmp byte [eax], 0
je 0x536e4d
push eax
lea ecx, [ebp - 0x230]
call fcn.00597df3
lea ecx, [ebp - 0x1ec]
call fcn.004ef9e0
test eax, eax
jne 0x53668a
lea ecx, [ebp - 0x1ec]
call fcn.004eecc0
lea ecx, [ebp - 0x230]
call fcn.00597aaa
lea ecx, [ebp - 0x40]
call fcn.00595517
mov ecx, dword [0x63fd4c]
push str..old
add ecx, 0x9f04
lea edx, [ebp - 0x14]
push ecx
push edx
call fcn.00593970
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.005936db
mov eax, dword [0x63fd4c]
push str..old
add eax, 0x9f04
lea ecx, [ebp - 0x14]
push eax
push ecx
call fcn.00593970
mov edx, dword [0x63fd4c]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileA]
push eax
mov ecx, dword [edx + 0x9f04]
push ecx
call edi
lea ecx, [ebp - 0x14]
call fcn.005936db
mov eax, dword [0x63fd4c]
push str..tmp
add eax, 0x9f04
lea ecx, [ebp - 0x14]
push eax
push ecx
mov esi, dword [eax]
call fcn.00593970
mov eax, dword [eax]
push esi
push eax
call edi
lea ecx, [ebp - 0x14]
call fcn.005936db
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xb
call fcn.00500180
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.005936db
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.005936db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.005936db
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00597a22
jmp 0x536f81
mov dword [ebp - 4], 3
call fcn.00593d89
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.005951a4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.005936db
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 4], 0xffffffff
call fcn.004eea70
jmp 0x536fee
lea eax, [ebp - 0x28]
push 0xc9c6
push eax
call fcn.004ec350
add esp, 8
mov eax, dword [eax]
push 0x40
push 0
push eax
mov ecx, ebx
mov dword [ebp - 4], 0x70
call fcn.005913a9
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.005936db
lea ecx, [ebx + 0xb8]
call fcn.00592e45
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebx + 0x9c], 0xffffffff
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret