Function at 0x401007
Capabilities:
Contain obfuscated stackstrings
Encrypt data using tea
Get thread local storage value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xa18
mov eax, dword [0x422b20]
mov ecx, dword [ebp + 0x7c]
push ebx
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x188], eax
mov eax, dword [0x422b24]
push esi
mov esi, dword [ecx]
xor edx, edx
mov dword [ebp - 0x184], eax
push edi
lea eax, [ebp - 0x178]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x178], edx
call fcn.00401000
add dword [ebp - 0x178], 0x23f
cmp dword [0x2810ac4], 0x14
jne 0x401092
xor eax, eax
mov word [ebp - 0x1a4], ax
lea edi, [ebp - 0x1a2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
lea eax, [ebp - 0x9a4]
push eax
push 0x41f948
lea eax, [ebp - 0x1a4]
push eax
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ecx, dword [ebp + 0x7c]
mov eax, dword [0x422b28]
mov dword [ebp - 0x190], eax
mov eax, dword [0x422b2c]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x180], 0x20
mov dword [ebp + 0x6c], 2
add dword [ebp + 0x6c], 3
mov eax, dword [0x2810ac4]
mov edi, esi
shl edi, 4
add edi, dword [ebp - 0x190]
cmp eax, 0xfa9
jne 0x4010de
mov dword [0x2810ac0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ff
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and dword [0x281054c], 0
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebp - 0x17c]
shr eax, 5
mov dword [ebp + 0x70], eax
mov eax, dword [ebp + 0x70]
add eax, dword [ebp - 0x194]
mov edx, dword [ebp - 0x178]
add edx, esi
xor eax, edx
xor eax, edi
sub ebx, eax
mov eax, ebx
shr eax, 5
mov dword [0x2810abc], 0xf4ea3dee
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 0x184]
add dword [ebp + 0x70], eax
mov edx, dword [ebp - 0x178]
and dword [ebp - 0x17c], 0
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x188]
add edx, ebx
xor eax, edx
mov dword [ebp - 0x18c], eax
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x70]
xor dword [ebp - 0x17c], eax
sub esi, dword [ebp - 0x17c]
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x9c], 0xffc637a
mov dword [ebp + 0x14], 0x5a30d42
mov dword [ebp - 0xd4], 0x20a02506
mov dword [ebp - 0x118], 0x6317a00b
mov dword [ebp - 0x2c], 0xd867557
mov dword [ebp - 0x94], 0x295c993c
mov dword [ebp - 0x124], 0x67897f3f
mov dword [ebp - 0xd0], 0x66827f19
mov dword [ebp - 0x8c], 0x6e437e53
mov dword [ebp - 0x90], 0x4909150e
mov dword [ebp], 0x473a0b4e
mov dword [ebp - 0x148], 0x501f7cbb
mov dword [ebp + 0x1c], 0x7d4a8cb1
mov dword [ebp - 0x28], 0x5034f01e
mov dword [ebp - 0x128], 0x203d7a30
mov dword [ebp - 0x174], 0x35e34b8b
mov dword [ebp - 0x16c], 0xd89d27f
mov dword [ebp - 0x120], 0x37f3d53
mov dword [ebp + 0x38], 0x56383d6b
mov dword [ebp - 0x84], 0x2b740e00
mov dword [ebp - 0xcc], 0x4308790a
mov dword [ebp + 0x58], 0x5c8d759f
mov dword [ebp - 0x14c], 0x31805d58
mov dword [ebp + 0x4c], 0xff6cbc6
mov dword [ebp + 0x54], 0x8e7722a
mov dword [ebp - 0x7c], 0x614411f5
mov dword [ebp - 0xc4], 0x60010d0
mov dword [ebp + 0x5c], 0x159e418d
mov dword [ebp - 0x78], 0x79643576
mov dword [ebp - 0x74], 0x64c387b2
mov dword [ebp - 0x104], 0xdb64e7d
mov dword [ebp - 0x6c], 0xc3b9df3
mov dword [ebp - 0x48], 0x6eabd5e8
mov dword [ebp - 0x24], 0x3cbf8c2d
mov dword [ebp - 0x1c], 0x59c790ef
mov dword [ebp - 0xa0], 0x12c714ae
mov dword [ebp - 0x58], 0x60f7fa3b
mov dword [ebp - 0x11c], 0xbca79f9
mov dword [ebp - 0x14], 0x1db69cad
mov dword [ebp - 0xb0], 0x3dd7a91a
mov dword [ebp - 0xfc], 0x3c34e3a7
mov dword [ebp - 0xe0], 0x3f5d602b
mov dword [ebp - 0x154], 0x1a4a39f7
mov dword [ebp - 0xbc], 0x2740ee2c
mov dword [ebp + 8], 0x360608da
mov dword [ebp + 0x40], 0x1dd47b92
mov dword [ebp + 0x24], 0x55c52104
mov dword [ebp - 0x20], 0x434ce96b
mov dword [ebp - 0xc], 0x49fe406e
mov dword [ebp - 0x64], 0x4bf61a7d
mov dword [ebp - 0x160], 0x6cd7685f
mov dword [ebp - 0x15c], 0x4605664e
mov dword [ebp - 4], 0x6135c407
mov dword [ebp - 0x114], 0x45dc6391
mov dword [ebp - 0x158], 0x3fdc26bd
mov dword [ebp - 0xf4], 0x1640eae6
mov dword [ebp + 0x64], 0x488b0b54
mov dword [ebp - 0x108], 0x214e60d3
mov dword [ebp + 0x48], 0x5fd693d9
mov dword [ebp - 0xa8], 0x1d5ef42c
mov dword [ebp - 0xf0], 0x57732149
mov dword [ebp - 0x40], 0x275894f
mov dword [ebp - 0xf8], 0x5aa7b8db
mov dword [ebp - 0x18], 0x18304b22
mov dword [ebp - 0xec], 0x645e530b
mov dword [ebp - 0x144], 0x676f7a2
mov dword [ebp - 0x13c], 0x733b6c2f
mov dword [ebp - 0x70], 0x4568181d
mov dword [ebp - 0x5c], 0x6a7a6065
mov dword [ebp + 0x2c], 0x2ad6dcc3
mov dword [ebp - 0x164], 0x570e4579
mov dword [ebp + 4], 0x6b6c9f53
mov dword [ebp - 0x38], 0x66a38b1d
mov dword [ebp + 0x34], 0x4baa5d54
mov dword [ebp - 0xc8], 0x3540c46f
mov dword [ebp + 0xc], 0x42110aaa
mov dword [ebp - 0xb4], 0x7c28745d
mov dword [ebp + 0x10], 0x4040d107
mov dword [ebp + 0x3c], 0x7f5dbf15
mov dword [ebp - 0x130], 0x69c4cc8a
mov dword [ebp - 0x54], 0xa33d3ed
mov dword [ebp - 0xd8], 0x50b50f5b
mov dword [ebp - 0x134], 0x71e2a0d6
mov dword [ebp + 0x50], 0x4d33fe88
mov dword [ebp - 0x10], 0x6c06085d
mov dword [ebp - 0x168], 0x5d0249a7
mov dword [ebp + 0x18], 0x5e106256
mov dword [ebp - 0x4c], 0x151683b0
mov dword [ebp - 0x150], 0x3680e0d3
mov dword [ebp - 0x44], 0x347ea9b
mov dword [ebp - 0xe8], 0x3284f0fc
mov dword [ebp - 0xac], 0x1ea0dc6b
mov dword [ebp - 0x30], 0xfaf39ec
mov dword [ebp - 0xc0], 0x126e7262
mov dword [ebp - 0xa4], 0x470e7d78
mov dword [ebp + 0x20], 0x4415c99b
mov dword [ebp + 0x68], 0x24190a1b
mov dword [ebp - 0x140], 0x4c6b30c8
mov dword [ebp + 0x60], 0x12130447
mov dword [ebp - 0x138], 0x2eec57d3
mov dword [ebp - 8], 0x3d58fdaa
mov dword [ebp - 0x88], 0x3d24b8e
mov dword [ebp - 0x170], 0x190de8f4
mov dword [ebp + 0x28], 0x5d3717cc
mov dword [ebp - 0x68], 0x6a70ff3
mov dword [ebp - 0x3c], 0x507d80fe
mov dword [ebp - 0x10c], 0x67a9ca00
mov dword [ebp + 0x44], 0x4daf8b5c
mov dword [ebp - 0x50], 0x7eeded65
mov dword [ebp - 0x100], 0x2c35e6bd
mov dword [ebp - 0x98], 0x566734d5
mov dword [ebp - 0x34], 0x5d4b7d50
mov dword [ebp - 0x60], 0x6eb2a306
mov dword [ebp - 0xe4], 0x48a0116a
mov dword [ebp - 0xb8], 0x75f75c5c
mov dword [ebp - 0x12c], 0x7dfc25f0
mov dword [ebp - 0xdc], 0x5b879f23
mov dword [ebp + 0x30], 0x64ba7859
mov dword [ebp - 0x110], 0x5dd1c981
mov dword [ebp - 0x80], 0x19c33fa2
sub dword [ebp + 0x14], 0x3ddf0581
add dword [ebp + 0x14], 0x10e934f4
add dword [ebp + 0x14], 0x6645b57c
mov eax, 0x5b5066c2
mul dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
sub dword [ebp - 0x9c], 0x49959f44
add dword [ebp - 0xd4], 0x965bde0
add dword [ebp - 0x9c], 0x67517da4
add dword [ebp - 0xd4], 0x625f8dcb
mov eax, 0x2ef92e4e
mul dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
add dword [ebp - 0x9c], 0xb3f0ba5
sub dword [ebp - 0x9c], 0x14fa2be4
mov eax, 0x7c7e816e
mul dword [ebp - 0x124]
mov eax, dword [ebp - 0x124]
mov eax, 0x5c805937
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
sub dword [ebp - 0x8c], 0x46492d8e
sub dword [ebp - 0x9c], 0x6117f4d
mov eax, 0x725e3866
mul dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
sub dword [ebp - 0x9c], 0x5225fb4e
mov eax, 0x4f17671c
mul dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
add dword [ebp - 0x9c], 0x3c6ebc29
mov eax, 0x1f2121eb
mul dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
sub dword [ebp - 0x9c], 0x6962dbc8
add dword [ebp + 0x1c], 0x238f4c07
add dword [ebp - 0x118], 0x66f7148c
sub dword [ebp - 0x2c], 0x31ae1a8c
add dword [ebp - 0x120], 0x4d5f2a8e
sub dword [ebp - 0x9c], 0x600abec8
add dword [ebp - 0x124], 0x145fcc10
add dword [ebp + 0x1c], 0xa675322
sub dword [ebp + 0x1c], 0x7e5bdaa0
sub dword [ebp - 0xd0], 0x1ea13c85
add dword [ebp - 0x94], 0x337f2d6b
add dword [ebp - 0xd4], 0x5758261b
sub dword [ebp - 0x9c], 0x11408fec
mov eax, 0x7d14793f
mul dword [ebp + 0x14]
mov eax, dword [ebp + 0x14]
sub dword [ebp + 0x38], 0x159a538a
mov eax, 0x575e3524
mul dword [ebp]
mov eax, dword [ebp]
mov eax, 0x28b56085
add dword [ebp - 0x178], 0x61c88647
dec dword [ebp - 0x180]
jne 0x4010b2
pop edi
mov dword [ecx], esi
pop esi
mov dword [ecx + 4], ebx
pop ebx
add ebp, 0x74
leave
ret 4