Function at 0x40d270
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41122b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x730
push ebx
push esi
mov esi, dword [ebp + 8]
mov al, 0x67
mov dword [ebp - 0x48], ecx
push edi
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x15], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
mov bl, 0x6f
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 0x40d2e2
lea eax, [ebp - 0x4c]
push 0x412618
push eax
mov dword [ebp - 0x4c], edx
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x73c]
call fcn.00403b60
mov edx, dword [0x4146e4]
lea ecx, [ebp - 0x1c]
push ecx
push esi
mov byte [ebp - 4], 1
call dword [edx + 0x1e0]
add esp, 8
test eax, eax
jne 0x40d31e
mov eax, dword [ebp - 0x48]
lea ecx, [eax + 0x6ac]
add eax, 0xccc
push ecx
push esi
jmp 0x40d406
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x257]
mov byte [ebp - 0x258], 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 - 0x258]
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x21], cl
mov ecx, dword [0x4146e4]
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]
mov edi, dword [ebp - 0x48]
lea edx, [ebp - 0x258]
push edx
mov ecx, edi
call fcn.0040c450
add edi, 0x6ac
lea eax, [ebp - 0x258]
push edi
push esi
push eax
lea ecx, [ebp - 0x73c]
call fcn.00403eb0
xor edi, edi
cmp edi, 5
jge 0x40d43e
lea ecx, [ebp - 0x73c]
call fcn.00404320
mov ebx, eax
test ebx, ebx
jne 0x40d453
mov ecx, dword [0x4146e4]
push 0x3e8
call dword [ecx + 0x130]
inc edi
jmp 0x40d414
lea edx, [ebp - 0x50]
push 0x412618
push edx
mov dword [ebp - 0x50], 0
call sub.MSVCRT.dll__CxxThrowException
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x153]
mov byte [ebp - 0x154], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x154]
rep stosd dword es:[edi], eax
mov eax, dword [0x4146e4]
call dword [eax + 0x1d4]
xor edx, edx
lea ecx, [ebp - 0x154]
div ebx
push ecx
lea ecx, [ebp - 0x73c]
inc edx
push edx
call fcn.00405190
test eax, eax
je 0x40d518
mov edi, dword [ebp - 0x48]
lea edx, [ebp - 0x154]
push edx
lea ecx, [edi + 0xef4]
call fcn.0040bf20
mov eax, dword [0x4146e4]
push 0x7530
call dword [eax + 0x130]
mov edx, dword [0x4146e4]
lea ecx, [ebp - 0x1c]
push ecx
push esi
call dword [edx + 0x1e0]
add esp, 8
test eax, eax
je 0x40d4f2
mov ecx, dword [0x4146e4]
lea eax, [ebp - 0x154]
push eax
call dword [ecx + 0xc4]
mov eax, dword [0x4146e4]
lea edx, [ebp - 0x154]
push edx
call dword [eax + 0xc4]
lea ecx, [ebp - 0x154]
push 1
push ecx
lea ecx, [edi + 0x1918]
call fcn.004014c0
lea ecx, [ebp - 0x32c]
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