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

Disassembly:
push 0xffffffffffffffff
push 0x59da0a
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 0x538c8c
mov dword [esi + 4], 0xf
jmp 0x53993e
mov ecx, dword [esp + 0x294]
push 0x5fd02c
push ecx
call edi
add esp, 8
test eax, eax
jne 0x538cae
mov dword [esi + 4], 0x10
jmp 0x53993e
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x34]
mov dl, 0x86
rep stosd dword es:[edi], eax
mov cl, 0x3a
mov al, 0xd7
mov byte [esp + 0x3d], cl
mov byte [esp + 0x43], dl
mov byte [esp + 0x49], al
mov byte [esp + 0x4c], cl
mov byte [esp + 0x50], dl
mov byte [esp + 0x60], cl
mov byte [esp + 0x75], al
mov dl, 0xe3
mov cl, 0xea
mov al, 0x56
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], 0xe2
mov byte [esp + 0x3e], 0x54
mov byte [esp + 0x3f], 0x3c
mov byte [esp + 0x40], 0xb5
mov byte [esp + 0x41], 0x19
mov byte [esp + 0x42], 0x6d
mov byte [esp + 0x44], 0x5e
mov byte [esp + 0x45], 0x75
mov byte [esp + 0x46], 0xd0
mov byte [esp + 0x47], 0x9f
mov byte [esp + 0x48], 0x5b
mov byte [esp + 0x4a], 0x1b
mov byte [esp + 0x4b], 0xdd
mov byte [esp + 0x4d], 0x67
mov byte [esp + 0x4e], 0xd1
mov byte [esp + 0x4f], 0x57
mov byte [esp + 0x51], 0x38
mov byte [esp + 0x52], 0x3d
mov byte [esp + 0x53], 0x7b
mov byte [esp + 0x54], 4
mov byte [esp + 0x55], 0x92
mov byte [esp + 0x56], 0xd3
mov byte [esp + 0x57], 0x16
mov byte [esp + 0x58], dl
mov byte [esp + 0x59], 0x75
mov byte [esp + 0x5a], 0xe2
mov byte [esp + 0x5b], 0x6c
mov byte [esp + 0x5c], 0x1d
mov byte [esp + 0x5d], 0x4a
mov byte [esp + 0x5e], 0xd5
mov byte [esp + 0x5f], bl
mov byte [esp + 0x61], 0x4e
mov byte [esp + 0x62], bl
mov byte [esp + 0x63], 0x2e
mov byte [esp + 0x64], 0x8e
mov byte [esp + 0x65], 0x96
mov byte [esp + 0x66], 0xd8
mov byte [esp + 0x67], 0xb6
mov byte [esp + 0x68], 0x40
mov byte [esp + 0x69], 0x66
mov byte [esp + 0x6a], 0xbc
mov byte [esp + 0x6b], cl
mov byte [esp + 0x6c], 0x5c
mov byte [esp + 0x6d], 0xc7
mov byte [esp + 0x6e], 0xa
mov byte [esp + 0x6f], 0x71
mov byte [esp + 0x70], 0xb4
mov byte [esp + 0x71], 8
mov byte [esp + 0x72], 0xce
mov byte [esp + 0x73], 0x50
mov byte [esp + 0x74], 0x2c
mov byte [esp + 0x76], 0xdf
mov byte [esp + 0x77], al
mov byte [esp + 0x78], 0x73
mov byte [esp + 0x79], 0x7a
mov byte [esp + 0x7a], dl
mov byte [esp + 0x80], al
mov byte [esp + 0x88], al
mov al, 0x87
mov byte [esp + 0x7b], 0x4d
mov byte [esp + 0xa3], al
mov byte [esp + 0xa6], al
mov al, 0xfa
mov byte [esp + 0x7c], 0x4d
mov byte [esp + 0x7d], 0x2f
mov byte [esp + 0x7e], 0x6d
mov byte [esp + 0x7f], 0xa2
mov byte [esp + 0x81], 0xd8
mov byte [esp + 0x82], 0x90
mov byte [esp + 0x83], 0x6b
mov byte [esp + 0x84], 0x4f
mov byte [esp + 0x85], 0x44
mov byte [esp + 0x86], 0x76
mov byte [esp + 0x87], 0x67
mov byte [esp + 0x89], 0x6e
mov byte [esp + 0x8a], 0x39
mov byte [esp + 0x8b], 0xa9
mov byte [esp + 0x8c], 0xcf
mov byte [esp + 0x8d], 0xc
mov byte [esp + 0x8e], 0x7f
mov byte [esp + 0x8f], 0x61
mov byte [esp + 0x90], 0xe5
mov byte [esp + 0x91], 0x57
mov byte [esp + 0x92], 0x58
mov byte [esp + 0x93], 0xbd
mov byte [esp + 0x94], 0x64
mov byte [esp + 0x95], 2
mov byte [esp + 0x96], 0x54
mov byte [esp + 0x97], cl
mov byte [esp + 0x98], 0x60
mov byte [esp + 0x99], 3
mov byte [esp + 0x9a], 0x21
mov byte [esp + 0x9b], 0x68
mov byte [esp + 0x9c], 0xbe
mov byte [esp + 0x9d], 0x95
mov byte [esp + 0x9e], 0x41
mov byte [esp + 0x9f], 0xab
mov byte [esp + 0xa0], 0x34
mov byte [esp + 0xa1], 0x50
mov byte [esp + 0xa2], 0x77
mov byte [esp + 0xa4], 0x42
mov byte [esp + 0xa5], 0x10
mov byte [esp + 0xa7], 0x89
mov byte [esp + 0xa8], 0x98
mov byte [esp + 0xa9], al
mov byte [esp + 0xaa], 0x17
mov byte [esp + 0xab], cl
mov byte [esp + 0xac], dl
mov byte [esp + 0xad], 2
mov byte [esp + 0xae], 0xe0
mov byte [esp + 0xaf], 0x91
mov byte [esp + 0xb0], 0xba
mov byte [esp + 0xb1], 0xa2
mov byte [esp + 0xb2], 0xd9
mov byte [esp + 0xb3], 0x99
mov byte [esp + 0xb4], 0xc1
mov byte [esp + 0xb5], al
mov byte [esp + 0xb6], 0x83
mov byte [esp + 0xb7], 0x9f
mov byte [esp + 0xb8], 2
mov byte [esp + 0xb9], 0xd5
mov byte [esp + 0xba], 0x1e
mov byte [esp + 0xbb], 0x23
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 0x5393a3
mov dword [esi + 4], 8
jmp 0x53993e
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 0x53992e
cmp eax, ebx
je 0x53992e
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 0x539556
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 0x53952b
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 0x53961c
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 0x5395f1
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 0x53974a
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 0x5397af
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 0x5397f5
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 0x5397cb
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 0x53996a
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