Function at 0x413470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x445a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [0x456050]
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x34]
mov byte [esp + 0x2c], 1
test esi, esi
mov byte [esp + 0x14], 0x7e
mov byte [esp + 0x15], 0x21
mov byte [esp + 0x16], 0x40
mov byte [esp + 0x17], 0x23
mov byte [esp + 0x18], 0x24
mov byte [esp + 0x19], 0x25
mov byte [esp + 0x1a], 0x5e
mov byte [esp + 0x1b], 0x26
mov byte [esp + 0x1c], 0x2a
mov byte [esp + 0x1d], 0x28
mov byte [esp + 0x1e], 0x29
mov byte [esp + 0x1f], 0x7c
mov byte [esp + 0x20], 0
je 0x413653
mov edi, dword [esp + 0x38]
test edi, edi
je 0x413653
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
call ebx
mov ebp, eax
lea ecx, [esp + 0x10]
push ebp
call fcn.00404630
test eax, eax
je 0x413540
mov edi, dword [esp + 0x10]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
mov dword [ecx - 8], ebp
mov edx, dword [esp + 0x10]
mov byte [edx + ebp], 0
push edi
call ebx
mov ebp, eax
lea ecx, [esp + 0x14]
push ebp
call fcn.00404630
test eax, eax
je 0x413578
mov ecx, ebp
mov esi, edi
mov edi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], ebp
mov edx, dword [esp + 0x14]
mov byte [edx + ebp], 0
mov ecx, dword [esp + 0x10]
pop ebp
mov eax, dword [ecx - 8]
test eax, eax
je 0x413653
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 8]
test edx, edx
je 0x413653
mov edi, dword [sym.imp.MSVCRT.dll__mbschr]
lea esi, [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jle 0x4135c5
movsx edx, byte [esi]
push edx
push ecx
call edi
mov ecx, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x4135c5
sub eax, ecx
cmp eax, 0xffffffff
jne 0x413653
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4135a1
mov edx, dword [ecx - 8]
xor eax, eax
test edx, edx
jle 0x4135e1
cmp byte [eax + ecx], 0x20
jle 0x413653
inc eax
cmp eax, edx
jl 0x4135d6
mov eax, dword [esp + 0x10]
mov esi, dword [0x456054]
lea edx, [eax - 0xc]
cmp edx, esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x413616
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x413612
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x456054]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x41363c
add ecx, 0xfffffff4
push ecx
call esi
test eax, eax
jg 0x41363c
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 0x10]
mov esi, dword [0x456054]
lea edx, [eax - 0xc]
cmp edx, esi
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x413688
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x413684
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [0x456054]
lea edx, [ecx - 0xc]
cmp edx, eax
je 0x4136ae
add ecx, 0xfffffff4
push ecx
call esi
test eax, eax
jg 0x4136ae
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret