Function at 0x40d340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [0x42fab0]
test ecx, ecx
je 0x40d35e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x68], 0x41414141
mov eax, dword [str._LIBGCCW32_EH_2_SJLJ_GTHR_MINGW32]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x41414141
mov dword [ebp - 0x60], 0x41414141
mov dword [ebp - 0x48], eax
mov eax, dword [0x42a024]
mov dword [ebp - 0x5c], 0x41414141
mov dword [ebp - 0x58], 0x41414141
mov dword [ebp - 0x44], eax
mov eax, dword [0x42a028]
mov dword [ebp - 0x54], 0x41414141
mov dword [ebp - 0x50], 0x41414141
mov dword [ebp - 0x40], eax
mov eax, dword [0x42a02c]
mov dword [ebp - 0x4c], 0x41414141
mov dword [ebp - 0x3c], eax
mov eax, dword [0x42a030]
mov dword [ebp - 0x38], eax
mov eax, dword [0x42a034]
mov dword [ebp - 0x34], eax
mov eax, dword [0x42a038]
mov dword [ebp - 0x30], eax
mov eax, dword [0x42a03c]
mov dword [ebp - 0x2c], eax
movzx eax, word [0x42a040]
mov word [ebp - 0x28], ax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
movzx eax, ax
sub esp, 4
test eax, eax
mov dword [ebp - 0xbc], eax
jne 0x40d53c
mov dword [esp], 0x3c
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x40d570
cld
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebx + 4], sub.msvcrt.dll_abort
mov ecx, 1
mov dword [ebx + 8], 0x40d290
mov eax, dword [0x42f0b8]
mov dword [ebx], 0x3c
mov edx, dword [0x42f0bc]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [0x418068]
mov dword [ebx + 0x18], edx
mov edx, dword [0x41806c]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x42f0c8]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x2c], eax
mov edx, dword [0x418074]
mov eax, dword [0x418070]
mov dword [ebx + 0x38], edx
mov edx, 0x1f
mov dword [ebx + 0x34], eax
mov esi, esi
mov eax, ebx
and eax, ecx
cmp eax, 1
sbb eax, eax
and al, 0x20
add ecx, ecx
add al, 0x41
mov byte [edx + ebp - 0xb8], al
dec edx
jns 0x40d490
mov eax, dword [str._LIBGCCW32_EH_2_SJLJ_GTHR_MINGW32]
mov dword [ebp - 0x98], eax
mov eax, dword [0x42a024]
mov dword [ebp - 0x94], eax
mov eax, dword [0x42a028]
mov dword [ebp - 0x90], eax
mov eax, dword [0x42a02c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x42a030]
mov dword [ebp - 0x88], eax
mov eax, dword [0x42a034]
mov dword [ebp - 0x84], eax
mov eax, dword [0x42a038]
mov dword [ebp - 0x80], eax
mov eax, dword [0x42a03c]
mov dword [ebp - 0x7c], eax
movzx eax, word [0x42a040]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_AddAtomA]
movzx edi, ax
sub esp, 4
test edi, edi
jne 0x40d561
xor edx, edx
test edx, edx
jne 0x40d543
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
movzx eax, ax
call fcn.0040d2a0
mov ebx, eax
mov dword [0x42fab0], ebx
lea eax, [ebx + 4]
mov dword [0x42faa0], eax
lea eax, [ebx + 8]
mov dword [0x42fac0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.0040d2a0
cmp eax, ebx
mov edx, edi
jne 0x40d51f
jmp 0x40d521
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
xor edx, edx
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0xffffffff
lock cmpxchg dword [ecx], edx
pop ebp
not eax
shr eax, 0x1f
ret