Function at 0x53a710
Capabilities:
Contain obfuscated stackstrings
Delete file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59db8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14c], esi
xor ebx, ebx
mov dword [esp + 0x288], ebx
mov eax, dword [esp + 0x290]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5fd02c
push eax
mov dword [esi + 4], ebx
call edi
add esp, 8
test eax, eax
jne 0x53a76c
mov dword [esi + 4], 0xf
jmp 0x53b420
mov ecx, dword [esp + 0x294]
push 0x5fd02c
push ecx
call edi
add esp, 8
test eax, eax
jne 0x53a78e
mov dword [esi + 4], 0x10
jmp 0x53b420
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x34]
mov dl, 0x5e
rep stosd dword es:[edi], eax
mov cl, 0xe2
mov al, 0x53
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 4
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 1
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 1
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], 0xcd
mov byte [esp + 0x3d], 0xb5
mov byte [esp + 0x3e], 0xe6
mov byte [esp + 0x3f], 0x25
mov byte [esp + 0x40], 0xd3
mov byte [esp + 0x41], 0xb9
mov byte [esp + 0x42], 0xca
mov byte [esp + 0x43], 6
mov byte [esp + 0x44], 0x49
mov byte [esp + 0x45], 0xfe
mov byte [esp + 0x46], 0x94
mov byte [esp + 0x47], 0x7d
mov byte [esp + 0x48], dl
mov byte [esp + 0x49], 0x41
mov byte [esp + 0x4a], 0x2b
mov byte [esp + 0x4b], dl
mov byte [esp + 0x4c], 0xe
mov byte [esp + 0x4d], 0x82
mov byte [esp + 0x4e], 0x9a
mov byte [esp + 0x4f], 0x98
mov byte [esp + 0x50], 0xad
mov byte [esp + 0x51], 0xc8
mov byte [esp + 0x52], 0xc1
mov byte [esp + 0x53], 0x75
mov byte [esp + 0x54], 0xd9
mov byte [esp + 0x55], cl
mov byte [esp + 0x56], al
mov byte [esp + 0x57], 0x33
mov byte [esp + 0x58], 0x6d
mov byte [esp + 0x59], 0xd
mov byte [esp + 0x5a], 0xc3
mov byte [esp + 0x5b], 2
mov byte [esp + 0x5c], 0xba
mov byte [esp + 0x5d], 0x4a
mov byte [esp + 0x5e], 0xe9
mov byte [esp + 0x5f], 0x2f
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], 0x24
mov byte [esp + 0x62], 0x3c
mov byte [esp + 0x63], 0x68
mov byte [esp + 0x64], 0x8d
mov byte [esp + 0x65], 0x12
mov byte [esp + 0x66], 0xff
mov byte [esp + 0x67], 0x6b
mov byte [esp + 0x68], 0x69
mov byte [esp + 0x69], 0x57
mov byte [esp + 0x6a], 0x6f
mov byte [esp + 0x6b], 0xa8
mov byte [esp + 0x6c], 0xb5
mov byte [esp + 0x6d], 0x43
mov byte [esp + 0x6e], 0x50
mov byte [esp + 0x6f], 0xec
mov byte [esp + 0x70], 0x73
mov byte [esp + 0x71], 0x29
mov byte [esp + 0x72], al
mov byte [esp + 0x73], 0x7d
mov byte [esp + 0x74], 0x83
mov byte [esp + 0x75], 0xcf
mov byte [esp + 0x76], 0xf3
mov byte [esp + 0x77], 0x5c
mov byte [esp + 0x78], 0xa0
mov byte [esp + 0x79], 0xe5
mov byte [esp + 0x7a], 0x63
mov byte [esp + 0x7b], 0xdd
mov byte [esp + 0x7c], 0x60
mov byte [esp + 0x7d], 0xd1
mov byte [esp + 0x85], dl
mov byte [esp + 0x89], al
mov byte [esp + 0xad], al
mov cl, 0x32
mov dl, 0x8a
mov al, 0xaa
mov byte [esp + 0x7e], 0xf7
mov byte [esp + 0x7f], 0xfc
mov byte [esp + 0x80], cl
mov byte [esp + 0x81], 0x9a
mov byte [esp + 0x82], 0x10
mov byte [esp + 0x83], 0x7a
mov byte [esp + 0x84], 0x33
mov byte [esp + 0x86], 0xbf
mov byte [esp + 0x87], 0x87
mov byte [esp + 0x88], 0x7a
mov byte [esp + 0x8a], 0xcb
mov byte [esp + 0x8b], 0xdf
mov byte [esp + 0x8c], 0x57
mov byte [esp + 0x8d], dl
mov byte [esp + 0x8e], 5
mov byte [esp + 0x8f], 0xac
mov byte [esp + 0x90], 0x95
mov byte [esp + 0x91], 0x56
mov byte [esp + 0x92], dl
mov byte [esp + 0x93], 0xcc
mov byte [esp + 0x94], cl
mov byte [esp + 0x95], 0x1f
mov byte [esp + 0x96], 0xf3
mov byte [esp + 0x97], 0x46
mov byte [esp + 0x98], 0x70
mov byte [esp + 0x99], 0x8b
mov byte [esp + 0x9a], 0x4d
mov byte [esp + 0x9b], 0x68
mov byte [esp + 0x9c], 0xae
mov byte [esp + 0x9d], 0x75
mov byte [esp + 0x9e], 0x52
mov byte [esp + 0x9f], 0xdc
mov byte [esp + 0xa0], 0x16
mov byte [esp + 0xa1], 0xa4
mov byte [esp + 0xa2], 0x29
mov byte [esp + 0xa3], 0x49
mov byte [esp + 0xa4], 0x8d
mov byte [esp + 0xa5], 0x15
mov byte [esp + 0xa6], 0xde
mov byte [esp + 0xa7], 0x59
mov byte [esp + 0xa8], 0xf1
mov byte [esp + 0xa9], 0xb2
mov byte [esp + 0xaa], 0x7b
mov byte [esp + 0xab], 0xfe
mov byte [esp + 0xac], 0xd
mov byte [esp + 0xae], 0xaf
mov byte [esp + 0xaf], 0x1b
mov byte [esp + 0xb0], al
mov byte [esp + 0xb1], 0x6b
mov byte [esp + 0xb2], 0x9c
mov byte [esp + 0xb3], 0xfa
mov byte [esp + 0xb4], 0xd7
mov byte [esp + 0xb5], cl
mov byte [esp + 0xb6], 0x21
mov byte [esp + 0xb7], 0x1c
mov byte [esp + 0xb8], 0x41
mov byte [esp + 0xb9], al
mov byte [esp + 0xba], 0x7d
mov byte [esp + 0xbb], 0x2f
mov byte [esp + 0xbc], bl
mov byte [esp + 0xbd], bl
mov byte [esp + 0xbe], bl
mov byte [esp + 0xbf], bl
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], bl
mov byte [esp + 0xc2], bl
mov byte [esp + 0xc3], bl
mov byte [esp + 0xc4], bl
mov byte [esp + 0xc5], bl
mov byte [esp + 0xc6], bl
mov byte [esp + 0xc7], bl
mov byte [esp + 0xc8], bl
mov byte [esp + 0xc9], bl
mov byte [esp + 0xca], bl
mov byte [esp + 0xcb], bl
mov byte [esp + 0xcc], bl
mov byte [esp + 0xcd], bl
mov byte [esp + 0xce], bl
mov byte [esp + 0xcf], bl
mov byte [esp + 0xd0], bl
mov byte [esp + 0xd1], bl
mov byte [esp + 0xd2], bl
mov byte [esp + 0xd3], bl
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], bl
mov byte [esp + 0xda], bl
mov byte [esp + 0xdb], bl
mov byte [esp + 0xdc], bl
mov byte [esp + 0xdd], bl
mov byte [esp + 0xde], bl
mov byte [esp + 0xdf], bl
mov byte [esp + 0xe0], bl
mov byte [esp + 0xe1], bl
mov byte [esp + 0xe2], bl
mov byte [esp + 0xe3], bl
mov byte [esp + 0xe4], bl
mov byte [esp + 0xe5], bl
mov byte [esp + 0xe6], bl
mov byte [esp + 0xe7], bl
mov byte [esp + 0xe8], bl
mov byte [esp + 0xe9], bl
mov byte [esp + 0xea], bl
mov byte [esp + 0xeb], bl
mov byte [esp + 0xec], bl
mov byte [esp + 0xed], bl
mov byte [esp + 0xee], bl
mov byte [esp + 0xef], bl
mov byte [esp + 0xf0], bl
mov byte [esp + 0xf1], bl
mov byte [esp + 0xf2], bl
mov byte [esp + 0xf3], bl
mov byte [esp + 0xf4], bl
mov byte [esp + 0xf5], bl
mov byte [esp + 0xf6], bl
mov byte [esp + 0xf7], bl
mov byte [esp + 0xf8], bl
mov byte [esp + 0xf9], bl
mov byte [esp + 0xfa], bl
mov byte [esp + 0xfb], bl
mov byte [esp + 0xfc], bl
mov byte [esp + 0xfd], bl
mov byte [esp + 0xfe], bl
mov byte [esp + 0xff], bl
mov byte [esp + 0x100], bl
mov byte [esp + 0x101], bl
mov byte [esp + 0x102], bl
mov byte [esp + 0x103], bl
mov byte [esp + 0x104], bl
mov byte [esp + 0x105], bl
mov byte [esp + 0x106], bl
mov byte [esp + 0x107], bl
mov byte [esp + 0x108], bl
mov byte [esp + 0x109], bl
mov byte [esp + 0x10a], bl
mov byte [esp + 0x10b], bl
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], bl
mov byte [esp + 0x10e], bl
mov byte [esp + 0x10f], bl
mov byte [esp + 0x110], bl
mov byte [esp + 0x111], bl
mov byte [esp + 0x112], bl
mov byte [esp + 0x113], bl
mov byte [esp + 0x114], bl
mov byte [esp + 0x115], bl
mov byte [esp + 0x116], bl
mov byte [esp + 0x117], bl
mov byte [esp + 0x118], bl
mov byte [esp + 0x119], bl
mov byte [esp + 0x11a], bl
mov byte [esp + 0x11b], bl
mov byte [esp + 0x11c], bl
mov byte [esp + 0x11d], bl
mov byte [esp + 0x11e], bl
mov byte [esp + 0x11f], bl
mov byte [esp + 0x120], bl
mov byte [esp + 0x121], bl
mov byte [esp + 0x122], bl
mov byte [esp + 0x123], bl
mov byte [esp + 0x124], bl
mov byte [esp + 0x125], bl
mov byte [esp + 0x126], bl
mov byte [esp + 0x127], bl
mov byte [esp + 0x128], bl
mov byte [esp + 0x129], bl
mov byte [esp + 0x12a], bl
mov byte [esp + 0x12b], bl
mov byte [esp + 0x12c], bl
mov byte [esp + 0x12d], bl
mov byte [esp + 0x12e], bl
mov byte [esp + 0x12f], bl
mov byte [esp + 0x130], bl
mov byte [esp + 0x131], bl
mov byte [esp + 0x132], bl
mov byte [esp + 0x133], bl
mov byte [esp + 0x134], bl
mov byte [esp + 0x135], bl
mov byte [esp + 0x136], bl
mov byte [esp + 0x137], bl
mov byte [esp + 0x138], bl
mov byte [esp + 0x139], bl
mov byte [esp + 0x13a], bl
mov byte [esp + 0x13b], bl
call fcn.0055c530
mov ebp, eax
cmp ebp, ebx
jne 0x53ae85
mov dword [esi + 4], 8
jmp 0x53b420
xor edx, edx
lea ecx, [esp + 0x3c]
mov word [esp + 0x14], dx
mov byte [esp + 0x16], dl
mov eax, dword [ebp + 0x10]
push eax
push 0x80
push ecx
call fcn.0055d270
mov dword [ebp + 0x10], eax
mov byte [esp + 0x20], 1
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], 1
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x20]
push edx
push 3
push eax
call fcn.0055d270
mov ecx, dword [ebp + 0x10]
add esp, 0x18
cmp ecx, ebx
mov dword [ebp + 0x14], eax
je 0x53b410
cmp eax, ebx
je 0x53b410
lea ecx, [esp + 0x148]
call fcn.0052f840
push 0x5fd02c
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 2
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 3
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x140]
mov byte [esp + 0x28c], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x13c]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x150]
mov byte [esp + 0x290], 5
call fcn.0052f8b0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::TrimLeft
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.0052fb50
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x28c], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, 0xf
mov esi, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWSYZabcdefghijklmnopqrstuvwxyz
lea edi, [esp + 0x1c0]
push ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
lea ecx, [esp + 0x140]
push 0x5fd02c
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x288], 8
mov dword [esp + 0x10], 0x15
push 0x5fd02c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov edi, 2
mov byte [esp + 0x288], 9
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
lea esi, [esp + 0x2c]
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xa
add esi, 4
idiv ecx
inc edx
dec edi
mov dword [esi - 4], edx
jne 0x53b038
mov eax, dword [esp + 0x2c]
mov ecx, 0x3e
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x30]
lea eax, [eax + edx*2]
cdq
idiv ecx
lea eax, [esp + 0x18]
movsx edx, byte [esp + edx + 0x1c0]
push edx
push 0x5f2ab8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x144]
call fcn.0054ed32
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x53b00d
push 0x5fd02c
lea ecx, [esp + 0x148]
call sub.MFC42.DLL_CString::CString_4
mov byte [esp + 0x288], 0xa
mov dword [esp + 0x10], 0x19
push 0x5fd02c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov edi, 2
mov byte [esp + 0x288], 0xb
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], edi
lea esi, [esp + 0x2c]
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0xa
add esi, 4
idiv ecx
inc edx
dec edi
mov dword [esi - 4], edx
jne 0x53b0fe
mov eax, dword [esp + 0x2c]
mov ecx, 0x3e
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x30]
lea eax, [eax + edx*2]
cdq
idiv ecx
lea eax, [esp + 0x18]
movsx edx, byte [esp + edx + 0x1c0]
push edx
push 0x5f2ab8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x148]
call fcn.0054ed32
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 0xa
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x53b0d3
push 0x5fd02c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x290]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._s_s_s
push edx
mov byte [esp + 0x29c], 0xc
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x3c]
add esp, 0x14
lea ecx, [esp + 0x28]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x200]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28]
push 1
lea eax, [esp + 0x204]
push ebp
mov esi, dword [ecx - 8]
push eax
push edx
push esi
call fcn.0055c160
add esp, 0x14
lea ecx, [esp + 0x1a4]
call sub.MFC42.DLL_CFileFind::CFileFind
mov ecx, dword [esp + 0x294]
push ebx
push ecx
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x290], 0xd
call sub.MFC42.DLL_CFileFind::FindFile
cmp eax, ebx
jle 0x53b22c
mov edx, dword [esp + 0x294]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x294]
push 0x1001
push eax
lea ecx, [esp + 0x158]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1000
lea ecx, [esp + 0x158]
push ebx
push ecx
lea ecx, [esp + 0x170]
mov byte [esp + 0x298], 0xe
call sub.MFC42.DLL_CArchive::CArchive
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x188]
add edx, 4
mov byte [esp + 0x288], 0xf
cmp edx, eax
jbe 0x53b291
lea ecx, [esp + 0x160]
call sub.MFC42.DLL_CArchive::Flush
mov eax, dword [esp + 0x184]
mov dword [eax], esi
mov eax, dword [esp + 0x184]
add eax, 4
xor esi, esi
mov dword [esp + 0x184], eax
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x188]
mov cl, byte [esp + esi + 0x200]
inc edx
cmp edx, eax
mov byte [esp + 0x1f], cl
jbe 0x53b2d7
lea ecx, [esp + 0x160]
call sub.MFC42.DLL_CArchive::Flush
mov ecx, dword [esp + 0x184]
mov al, byte [esp + 0x1f]
mov byte [ecx], al
mov edx, dword [esp + 0x184]
inc edx
inc esi
cmp esi, 0x80
mov dword [esp + 0x184], edx
jl 0x53b2ad
lea ecx, [esp + 0x160]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [esp + 0x150]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp + 0x14c]
push ebp
mov dword [edx + 4], 0x11
call fcn.0055c760
add esp, 4
lea ecx, [esp + 0x160]
mov byte [esp + 0x288], 0xe
call fcn.0054f2f6
lea ecx, [esp + 0x150]
mov byte [esp + 0x288], 0xd
call fcn.0054f2f0
lea ecx, [esp + 0x1a4]
mov byte [esp + 0x288], 0xc
call fcn.0054ed9e
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x144]
mov byte [esp + 0x288], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x140]
mov byte [esp + 0x288], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x13c]
mov byte [esp + 0x288], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x148]
call fcn.0052f870
lea ecx, [esp + 0x290]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x294]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
jmp 0x53b44c
push ebp
mov dword [esi + 4], 9
call fcn.0055c760
add esp, 4
lea ecx, [esp + 0x290]
mov byte [esp + 0x288], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x294]
mov dword [esp + 0x288], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x280]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x27c
ret 8