Function at 0x40d1a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x12c
mov eax, 0x507dfb
call fcn.004c84d6
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x74], ebx
and dword [ebp - 4], 0
cmp dword [ebx], 0xc8
jne 0x40d4a4
push 0x74
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004df090
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.004be780
push 6
pop ecx
xor eax, eax
mov byte [ebp - 4], 2
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x70]
call fcn.004b92f0
lea eax, [ebx + 4]
mov byte [ebp - 4], 3
cmp dword [eax + 0x10], 0
je 0x40d465
push 0
lea ecx, [ebp - 0x70]
push ecx
push eax
lea ecx, [ebp - 0x108]
call fcn.004c2ba0
test al, al
je 0x40d465
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x68636577
push eax
lea ecx, [ebp - 0x70]
mov word [ebp - 0x18], 0x7461
mov byte [ebp - 0x16], 0
call fcn.004b9dd0
mov ecx, eax
call fcn.004bcc60
test al, al
jne 0x40d3e1
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004b9dd0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004bb8b0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x48], 0
je 0x40d3d5
lea ecx, [ebp - 0x120]
call fcn.0040937d
push 2
push 0x52dd00
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040495a
push eax
lea ecx, [ebp - 0x138]
call fcn.00401e64
push 0x52dce8
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 6
call fcn.00402146
push eax
lea ecx, [ebp - 0x8c]
call fcn.00401e64
lea ecx, [ebp - 0x138]
call fcn.004020a3
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 9
call fcn.004020a3
call fcn.0040a009
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
add eax, 4
push eax
call fcn.0040470d
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
push ecx
cmovae edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x120]
call fcn.00401961
pop ecx
mov byte [ebp - 4], 0xb
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x40d329
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402447
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0xa
call fcn.004020a3
push 0x52dcf4
lea ecx, [ebp - 0x40]
call fcn.00402146
push dword [ebp - 0x48]
push ecx
push ecx
lea ecx, [ebp - 0x58]
call fcn.0040dbea
inc eax
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.0040db9b
push eax
lea ecx, [ebp - 0x58]
call fcn.00401fbf
lea ecx, [ebp - 0x120]
call fcn.0040216d
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040a6bf
test eax, eax
jne 0x40d3c2
lea eax, [ebp - 0x40]
lea edi, [esi + 0x8f8]
push eax
mov ecx, edi
call fcn.00404690
cmp dword [esi + 0x9b8], 2
jne 0x40d3c2
cmp dword [edi + 0x14], 8
jb 0x40d3b6
mov edi, dword [edi]
mov ecx, dword [esi + 0x9bc]
push edi
call fcn.0042763d
lea ecx, [ebp - 0x40]
call fcn.004020a3
lea ecx, [ebp - 0x8c]
call fcn.004020a3
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040216d
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x5f796170
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0x74617473
mov word [ebp - 0x20], 0x7375
mov byte [ebp - 0x1e], 0
call fcn.004b9dd0
mov ecx, eax
call fcn.004bcc60
test al, al
jne 0x40d429
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.004b9dd0
mov ecx, eax
call fcn.004bb530
mov dword [esi + 0x8e8], eax
cmp dword [esi + 0x8e8], 1
jne 0x40d465
push dword [esi + 0x8e4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x8e0]
test eax, eax
je 0x40d458
push 0
push 0
push 0x640
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [esi + 0x8e8]
mov ecx, esi
call fcn.0040ca6d
lea ecx, [ebp - 0x70]
call fcn.004b9790
lea ecx, [ebp - 0xb4]
call fcn.0040216d
lea ecx, [ebp - 0xe0]
call fcn.0040216d
lea ecx, [ebp - 0xf4]
call fcn.0040daf6
lea ecx, [ebp - 0x108]
call fcn.0040dade
jmp 0x40d4a4
lea ecx, [ebx + 4]
call fcn.0040216d
push 0x1c
push ebx
call fcn.004c7511
pop ecx
pop ecx
call fcn.004c8423
ret 8