Function at 0x539aa0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59dace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x200
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x220]
xor ebx, ebx
lea ecx, [ebp + 0x10]
push eax
mov dword [esp + 0x21c], 1
mov dword [ebp + 4], ebx
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x220]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5fd02c
push ecx
mov dword [ebp + 0x14], ebx
call esi
add esp, 8
test eax, eax
jne 0x539b09
mov dword [ebp + 4], 7
jmp 0x539b75
mov edx, dword [esp + 0x224]
push 0x5fd02c
push edx
call esi
add esp, 8
test eax, eax
jne 0x539b28
mov dword [ebp + 4], 7
jmp 0x539b75
lea ecx, [esp + 0x138]
call sub.MFC42.DLL_CFile::CFile_1
mov eax, dword [esp + 0x224]
push ebx
push 0x8000
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x224], 2
call sub.MFC42.DLL_CFile::Open
cmp eax, ebx
jne 0x539ba9
lea ecx, [esp + 0x138]
mov dword [ebp + 4], 7
mov byte [esp + 0x218], 1
call fcn.0054f2f0
lea ecx, [esp + 0x220]
mov byte [esp + 0x218], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov dword [esp + 0x218], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 7
jmp 0x53a6ee
push ebx
push 0x1000
lea ecx, [esp + 0x140]
push 1
push ecx
lea ecx, [esp + 0x15c]
call sub.MFC42.DLL_CArchive::CArchive
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x190]
mov byte [esp + 0x218], 3
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x170]
mov edi, dword [esp + 0x174]
lea edx, [eax + 4]
cmp edx, edi
jbe 0x539c12
sub eax, edi
lea ecx, [esp + 0x14c]
add eax, 4
push eax
call sub.MFC42.DLL_CArchive::FillBuffer
mov edi, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
add eax, 4
xor esi, esi
mov dword [esp + 0x170], eax
lea ecx, [eax + 1]
cmp ecx, edi
jbe 0x539c43
sub eax, edi
lea ecx, [esp + 0x14c]
inc eax
push eax
call sub.MFC42.DLL_CArchive::FillBuffer
mov edi, dword [esp + 0x174]
mov eax, dword [esp + 0x170]
mov dl, byte [eax]
inc eax
mov byte [esp + esi + 0x190], dl
inc esi
cmp esi, 0x80
mov dword [esp + 0x170], eax
jl 0x539c1e
lea ecx, [esp + 0x14c]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [esp + 0x138]
call sub.MFC42.DLL_CFile::Close
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x2c]
mov dl, 0x5e
rep stosd dword es:[edi], eax
mov cl, 0xe2
mov al, 0x53
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 4
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 1
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0xcd
mov byte [esp + 0x35], 0xb5
mov byte [esp + 0x36], 0xe6
mov byte [esp + 0x37], 0x25
mov byte [esp + 0x38], 0xd3
mov byte [esp + 0x39], 0xb9
mov byte [esp + 0x3a], 0xca
mov byte [esp + 0x3b], 6
mov byte [esp + 0x3c], 0x49
mov byte [esp + 0x3d], 0xfe
mov byte [esp + 0x3e], 0x94
mov byte [esp + 0x3f], 0x7d
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], 0x41
mov byte [esp + 0x42], 0x2b
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], 0xe
mov byte [esp + 0x45], 0x82
mov byte [esp + 0x46], 0x9a
mov byte [esp + 0x47], 0x98
mov byte [esp + 0x48], 0xad
mov byte [esp + 0x49], 0xc8
mov byte [esp + 0x4a], 0xc1
mov byte [esp + 0x4b], 0x75
mov byte [esp + 0x4c], 0xd9
mov byte [esp + 0x4d], cl
mov byte [esp + 0x4e], al
mov byte [esp + 0x4f], 0x33
mov byte [esp + 0x50], 0x6d
mov byte [esp + 0x51], 0xd
mov byte [esp + 0x52], 0xc3
mov byte [esp + 0x53], 2
mov byte [esp + 0x54], 0xba
mov byte [esp + 0x55], 0x4a
mov byte [esp + 0x56], 0xe9
mov byte [esp + 0x57], 0x2f
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], 0x24
mov byte [esp + 0x5a], 0x3c
mov byte [esp + 0x5b], 0x68
mov byte [esp + 0x5c], 0x8d
mov byte [esp + 0x5d], 0x12
mov byte [esp + 0x5e], 0xff
mov byte [esp + 0x5f], 0x6b
mov byte [esp + 0x60], 0x69
mov byte [esp + 0x61], 0x57
mov byte [esp + 0x62], 0x6f
mov byte [esp + 0x63], 0xa8
mov byte [esp + 0x64], 0xb5
mov byte [esp + 0x65], 0x43
mov byte [esp + 0x66], 0x50
mov byte [esp + 0x67], 0xec
mov byte [esp + 0x68], 0x73
mov byte [esp + 0x69], 0x29
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], 0x7d
mov byte [esp + 0x6c], 0x83
mov byte [esp + 0x6d], 0xcf
mov byte [esp + 0x6e], 0xf3
mov byte [esp + 0x6f], 0x5c
mov byte [esp + 0x70], 0xa0
mov byte [esp + 0x71], 0xe5
mov byte [esp + 0x7d], dl
mov byte [esp + 0x81], al
mov byte [esp + 0xa5], al
mov cl, 0x32
mov dl, 0x8a
mov al, 0xaa
mov byte [esp + 0x72], 0x63
mov byte [esp + 0x73], 0xdd
mov byte [esp + 0x74], 0x60
mov byte [esp + 0x75], 0xd1
mov byte [esp + 0x76], 0xf7
mov byte [esp + 0x77], 0xfc
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], 0x9a
mov byte [esp + 0x7a], 0x10
mov byte [esp + 0x7b], 0x7a
mov byte [esp + 0x7c], 0x33
mov byte [esp + 0x7e], 0xbf
mov byte [esp + 0x7f], 0x87
mov byte [esp + 0x80], 0x7a
mov byte [esp + 0x82], 0xcb
mov byte [esp + 0x83], 0xdf
mov byte [esp + 0x84], 0x57
mov byte [esp + 0x85], dl
mov byte [esp + 0x86], 5
mov byte [esp + 0x87], 0xac
mov byte [esp + 0x88], 0x95
mov byte [esp + 0x89], 0x56
mov byte [esp + 0x8a], dl
mov byte [esp + 0x8b], 0xcc
mov byte [esp + 0x8c], cl
mov byte [esp + 0x8d], 0x1f
mov byte [esp + 0x8e], 0xf3
mov byte [esp + 0x8f], 0x46
mov byte [esp + 0x90], 0x70
mov byte [esp + 0x91], 0x8b
mov byte [esp + 0x92], 0x4d
mov byte [esp + 0x93], 0x68
mov byte [esp + 0x94], 0xae
mov byte [esp + 0x95], 0x75
mov byte [esp + 0x96], 0x52
mov byte [esp + 0x97], 0xdc
mov byte [esp + 0x98], 0x16
mov byte [esp + 0x99], 0xa4
mov byte [esp + 0x9a], 0x29
mov byte [esp + 0x9b], 0x49
mov byte [esp + 0x9c], 0x8d
mov byte [esp + 0x9d], 0x15
mov byte [esp + 0x9e], 0xde
mov byte [esp + 0x9f], 0x59
mov byte [esp + 0xa0], 0xf1
mov byte [esp + 0xa1], 0xb2
mov byte [esp + 0xa2], 0x7b
mov byte [esp + 0xa3], 0xfe
mov byte [esp + 0xa4], 0xd
mov byte [esp + 0xa6], 0xaf
mov byte [esp + 0xa7], 0x1b
mov byte [esp + 0xa8], al
mov byte [esp + 0xa9], 0x6b
mov byte [esp + 0xaa], 0x9c
mov byte [esp + 0xab], 0xfa
mov byte [esp + 0xac], 0xd7
mov byte [esp + 0xad], cl
mov byte [esp + 0xae], 0x21
mov byte [esp + 0xaf], 0x1c
mov byte [esp + 0xb0], 0x41
mov byte [esp + 0xb1], al
mov byte [esp + 0xb2], 0x7d
mov byte [esp + 0xb3], 0x2f
mov byte [esp + 0xb4], bl
mov byte [esp + 0xb5], bl
mov byte [esp + 0xb6], bl
mov byte [esp + 0xb7], bl
mov byte [esp + 0xb8], bl
mov byte [esp + 0xb9], bl
mov byte [esp + 0xba], bl
mov byte [esp + 0xbb], bl
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
lea ecx, [esp + 0x20]
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
call fcn.0052f840
push 0x5fd02c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 4
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 5
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x21c], 6
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x220], 7
call fcn.0052f8b0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x21c], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x218], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimLeft
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.0052fb50
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x21c], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x218], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
call fcn.0055c530
mov esi, eax
cmp esi, ebx
jne 0x53a4c7
lea ecx, [esp + 0x28]
mov dword [ebp + 4], 8
mov byte [esp + 0x218], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call fcn.0052f870
lea ecx, [esp + 0x14c]
mov byte [esp + 0x218], 2
call fcn.0054f2f6
lea ecx, [esp + 0x138]
mov byte [esp + 0x218], 1
call fcn.0054f2f0
lea ecx, [esp + 0x220]
mov byte [esp + 0x218], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov dword [esp + 0x218], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 8
jmp 0x53a6ee
xor eax, eax
lea edx, [esp + 0x34]
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
mov ecx, dword [esi + 0x10]
push ecx
push 0x80
push edx
call fcn.0055d270
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 1
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 1
mov eax, dword [esi + 0x14]
lea ecx, [esp + 0x28]
push eax
push 3
push ecx
call fcn.0055d270
mov ecx, dword [esi + 0x10]
add esp, 0x18
cmp ecx, ebx
mov dword [esi + 0x14], eax
je 0x53a517
cmp eax, ebx
jne 0x53a52f
push esi
mov dword [ebp + 4], 9
call fcn.0055c760
mov ebp, dword [ebp + 4]
add esp, 4
jmp 0x53a65e
push 0x80
call sub.MFC42.DLL_operatornew
mov edi, eax
push 1
push esi
lea edx, [esp + 0x19c]
push edi
push edx
push 0x80
call fcn.0055c1f0
add esp, 0x18
lea ecx, [esp + 0x24]
push 0x5fd02c
call sub.MFC42.DLL_CString::CString_4
push edi
lea eax, [esp + 0x28]
push 0x5e227c
push eax
mov byte [esp + 0x224], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x220]
push ecx
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::Find_1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x220]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x148], eax
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Find_1
push edi
mov dword [esp + 0x138], eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, ebx
jl 0x53a63a
cmp dword [esp + 0x148], ebx
jl 0x53a63a
cmp dword [esp + 0x134], ebx
jl 0x53a63a
push str.JWRC_Ver5.0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x138], esp
push edx
mov byte [esp + 0x220], 0xb
call sub.MFC42.DLL_CString::CString_3
mov ecx, ebp
call fcn.0052fe90
lea ecx, [esp + 0x10]
mov dword [ebp + 4], 1
mov byte [esp + 0x218], 0xa
call sub.MFC42.DLL_CString::CString
jmp 0x53a641
mov dword [ebp + 4], 7
push esi
call fcn.0055c760
mov ebp, dword [ebp + 4]
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x218], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x218], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x218], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x218], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call fcn.0052f870
lea ecx, [esp + 0x14c]
mov byte [esp + 0x218], 2
call fcn.0054f2f6
lea ecx, [esp + 0x138]
mov byte [esp + 0x218], 1
call fcn.0054f2f0
lea ecx, [esp + 0x220]
mov byte [esp + 0x218], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov dword [esp + 0x218], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, ebp
mov ecx, dword [esp + 0x210]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20c
ret 8