Function at 0x40d140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41183b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x72c
push ebx
push esi
mov al, 0x67
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x15], al
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
mov bl, 0x6f
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 0x10], esp
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x17], 0x70
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], edx
jne 0x40d1af
lea eax, [ebp - 0x4c]
push 0x412610
push eax
mov dword [ebp - 0x4c], edx
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x738]
call fcn.00403b60
mov edi, dword [ebp + 8]
mov edx, dword [0x4146f4]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
push ecx
push edi
call dword [edx + 0x1e0]
add esp, 8
test eax, eax
jne 0x40d1ed
lea eax, [esi + 0x6b0]
lea ecx, [esi + 0xcd0]
push eax
push edi
push ecx
jmp 0x40d2d6
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x253]
mov byte [ebp - 0x254], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, 0x25
mov al, 0x52
mov byte [ebp - 0x44], dl
mov cl, 0x45
mov byte [ebp - 0x38], dl
mov byte [ebp - 0x40], al
mov byte [ebp - 0x3e], al
mov dl, 0x44
mov byte [ebp - 0x41], cl
mov byte [ebp - 0x39], cl
mov al, 0x5c
mov byte [ebp - 0x33], dl
mov cl, 0x73
mov byte [ebp - 0x29], dl
mov byte [ebp - 0x37], al
mov byte [ebp - 0x2a], al
mov byte [ebp - 0x20], al
lea edx, [ebp - 0x254]
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x21], cl
mov ecx, dword [0x4146f4]
push 0x104
lea eax, [ebp - 0x44]
push edx
push eax
mov byte [ebp - 0x43], 0x55
mov byte [ebp - 0x42], 0x53
mov byte [ebp - 0x3f], 0x50
mov byte [ebp - 0x3d], 0x4f
mov byte [ebp - 0x3c], 0x46
mov byte [ebp - 0x3b], 0x49
mov byte [ebp - 0x3a], 0x4c
mov byte [ebp - 0x36], 0x4d
mov byte [ebp - 0x35], 0x79
mov byte [ebp - 0x34], 0x20
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], 0x63
mov byte [ebp - 0x30], 0x75
mov byte [ebp - 0x2f], 0x6d
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x74
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], 0x77
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], 0x64
mov byte [ebp - 0x1f], 0
call dword [ecx + 0x148]
lea edx, [ebp - 0x254]
mov ecx, esi
push edx
call fcn.0040c1e0
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x6b0]
push eax
lea edx, [ebp - 0x254]
push ecx
push edx
lea ecx, [ebp - 0x738]
call fcn.00403eb0
xor edi, edi
cmp edi, 5
jge 0x40d30c
lea ecx, [ebp - 0x738]
call fcn.00404320
mov ebx, eax
test ebx, ebx
jne 0x40d321
mov eax, dword [0x4146f4]
push 0x3e8
call dword [eax + 0x130]
inc edi
jmp 0x40d2e3
lea ecx, [ebp - 0x48]
push 0x412610
push ecx
mov dword [ebp - 0x48], 0
call sub.MSVCRT.dll__CxxThrowException
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x14f]
mov byte [ebp - 0x150], 0
rep stosd dword es:[edi], eax
mov edx, dword [0x4146f4]
mov ecx, 0x41
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x150]
rep stosd dword es:[edi], eax
call dword [edx + 0x1d4]
xor edx, edx
lea ecx, [ebp - 0x738]
div ebx
lea eax, [ebp - 0x150]
push eax
inc edx
push edx
call fcn.00405190
test eax, eax
je 0x40d41f
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [esi + 0xef8]
call fcn.0040bca0
mov edx, dword [0x4146f4]
push 0x7530
call dword [edx + 0x130]
mov ecx, dword [ebp + 8]
mov edx, dword [0x4146f4]
lea eax, [ebp - 0x1c]
push eax
push ecx
call dword [edx + 0x1e0]
add esp, 8
test eax, eax
je 0x40d3c6
mov ecx, dword [0x4146f4]
lea eax, [ebp - 0x150]
push eax
call dword [ecx + 0xc4]
lea edx, [ebp - 0x150]
mov ecx, esi
push edx
call fcn.0040e100
test eax, eax
je 0x40d3df
mov ecx, esi
call fcn.004107e0
mov ecx, dword [0x4146f4]
lea eax, [ebp - 0x150]
push eax
call dword [ecx + 0xc4]
lea edx, [ebp - 0x150]
push 1
push edx
lea ecx, [esi + 0x191c]
call fcn.004014c0
lea eax, [ebp - 0x150]
mov ecx, esi
push eax
call fcn.0040e100
test eax, eax
je 0x40d41f
mov ecx, esi
call fcn.00410720
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4