Function at 0x63232b20
Capabilities:
Encode data using xor
Get thread local storage value

Disassembly:
sub esp, 0x588
mov eax, dword [0x6325fbe0]
push ebx
push ebp
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
mov dword [esp + 0x4c], eax
cmp eax, ebx
jne 0x63232b50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x588
ret
mov ecx, 0x120
xor eax, eax
lea edi, [esp + 0x118]
rep stosd dword es:[edi], eax
mov ecx, 0x11
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x5a0]
mov ecx, dword [esp + 0x59c]
mov edx, edi
mov eax, dword [ecx]
add ecx, 4
mov ebp, dword [esp + eax*4 + 0x50]
lea eax, [esp + eax*4 + 0x50]
inc ebp
dec edx
mov dword [eax], ebp
jne 0x63232b7b
cmp dword [esp + 0x50], edi
jne 0x63232bb3
mov ecx, dword [esp + 0x5b0]
mov edx, dword [esp + 0x5b4]
pop edi
pop esi
mov dword [ecx], ebx
mov dword [edx], ebx
pop ebp
xor eax, eax
pop ebx
add esp, 0x588
ret
mov esi, dword [esp + 0x5b4]
mov ecx, 1
lea eax, [esp + 0x54]
mov ebp, dword [esi]
mov dword [esp + 0x14], ebp
cmp dword [eax], ebx
jne 0x63232bd6
inc ecx
add eax, 4
cmp ecx, 0x10
jbe 0x63232bc9
cmp ebp, ecx
mov dword [esp + 0x10], ecx
jae 0x63232be4
mov dword [esp + 0x14], ecx
mov ebp, ecx
mov eax, 0x10
lea edx, [esp + 0x90]
cmp dword [edx], ebx
jne 0x63232bfc
dec eax
sub edx, 4
cmp eax, ebx
jne 0x63232bf0
cmp ebp, eax
mov dword [esp + 0x2c], eax
jbe 0x63232c0a
mov dword [esp + 0x14], eax
mov ebp, eax
mov edx, 1
mov dword [esi], ebp
shl edx, cl
cmp ecx, eax
jae 0x63232c29
lea esi, [esp + ecx*4 + 0x50]
sub edx, dword [esi]
js 0x63232c35
inc ecx
add esi, 4
shl edx, 1
cmp ecx, eax
jb 0x63232c1b
mov ecx, dword [esp + eax*4 + 0x50]
sub edx, ecx
mov dword [esp + 0x48], edx
jns 0x63232c45
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x588
ret
add ecx, edx
mov dword [esp + 0x98], ebx
mov dword [esp + eax*4 + 0x50], ecx
xor ecx, ecx
dec eax
je 0x63232c6c
xor edx, edx
mov esi, dword [esp + edx + 0x54]
add edx, 4
add ecx, esi
dec eax
mov dword [esp + edx + 0x98], ecx
jne 0x63232c59
mov esi, dword [esp + 0x59c]
xor edx, edx
mov eax, dword [esi]
add esi, 4
cmp eax, ebx
je 0x63232c96
mov ecx, dword [esp + eax*4 + 0x94]
lea eax, [esp + eax*4 + 0x94]
mov dword [esp + ecx*4 + 0x118], edx
inc ecx
mov dword [eax], ecx
inc edx
cmp edx, edi
jb 0x63232c75
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov eax, ebp
lea edx, [esp + 0x118]
neg eax
xor edi, edi
cmp esi, ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0xd8], ebx
mov dword [esp + 0x44], ebx
jg 0x63232fa7
mov ecx, esi
dec ecx
mov dword [esp + 0x40], ecx
mov ecx, esi
lea ecx, [esp + ecx*4 + 0x50]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
mov esi, ecx
dec ecx
test esi, esi
mov dword [esp + 0x34], ecx
je 0x63232f7a
mov ecx, dword [esp + 0x10]
lea esi, [eax + ebp]
cmp ecx, esi
jle 0x63232e35
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
add eax, ebp
sub edx, eax
inc ecx
add edi, ebp
cmp edx, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edi
jbe 0x63232d38
mov edx, ebp
mov ebx, dword [esp + 0x10]
sub ebx, eax
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x34]
inc ecx
cmp eax, ecx
jbe 0x63232d77
mov esi, dword [esp + 0x34]
or ecx, 0xffffffff
sub ecx, esi
mov esi, dword [esp + 0x30]
add eax, ecx
inc ebx
cmp ebx, edx
jae 0x63232d77
mov ecx, dword [esi + 4]
add esi, 4
shl eax, 1
cmp eax, ecx
jbe 0x63232d77
sub eax, ecx
inc ebx
cmp ebx, edx
jb 0x63232d64
mov edi, 1
mov ecx, ebx
shl edi, cl
lea edx, [edi*8 + 8]
push edx
call fcn.632100d6
add esp, 4
test eax, eax
je 0x63232fc9
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 1]
mov esi, dword [ecx + 0x1682c]
add esi, edx
mov edx, dword [esp + 0x5b0]
mov dword [ecx + 0x1682c], esi
lea ecx, [eax + 8]
add eax, 4
mov dword [edx], ecx
mov dword [esp + 0x5b0], eax
mov dword [esp + 0x44], ecx
mov dword [eax], 0
mov eax, dword [esp + 0x18]
test eax, eax
lea ebp, [esp + eax*4 + 0xd8]
mov dword [ebp], ecx
je 0x63232e15
mov edx, dword [esp + 0x28]
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + eax*4 + 0x94], edx
mov eax, dword [esp + 0x14]
add bl, 0x10
sub ecx, eax
mov byte [esp + 0x21], al
mov eax, dword [ebp - 4]
mov byte [esp + 0x20], bl
shr edx, cl
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
mov dword [eax + edx*8], ecx
mov dword [eax + edx*8 + 4], esi
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp eax, edx
mov eax, dword [esp + 0x38]
jg 0x63232d13
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov cl, byte [esp + 0x10]
sub cl, al
mov byte [esp + 0x21], cl
mov ecx, dword [esp + 0x5a0]
lea ecx, [esp + ecx*4 + 0x118]
cmp edx, ecx
jb 0x63232e58
mov byte [esp + 0x20], 0x63
jmp 0x63232ec1
mov ecx, dword [edx]
mov esi, dword [esp + 0x5a4]
cmp ecx, esi
jae 0x63232e87
cmp ecx, 0x100
setb cl
add ecx, 0xf
add edx, 4
mov byte [esp + 0x20], cl
mov cx, word [edx - 4]
mov word [esp + 0x24], cx
mov dword [esp + 0x1c], edx
jmp 0x63232ec1
mov esi, dword [esp + 0x5ac]
test esi, esi
je 0x63232b40
sub ecx, dword [esp + 0x5a4]
shl ecx, 1
mov dl, byte [ecx + esi]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x5a8]
mov cx, word [ecx + edx]
mov word [esp + 0x24], cx
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov esi, 1
sub ecx, eax
mov edx, ebx
shl esi, cl
mov ecx, eax
shr edx, cl
cmp edx, edi
jae 0x63232f03
mov ecx, dword [esp + 0x44]
lea ebx, [esi*8]
lea ecx, [ecx + edx*8]
mov ebp, dword [esp + 0x20]
add edx, esi
mov dword [ecx], ebp
mov ebp, dword [esp + 0x24]
mov dword [ecx + 4], ebp
add ecx, ebx
cmp edx, edi
jb 0x63232ee6
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov edx, 1
shl edx, cl
test ebx, edx
je 0x63232f1a
xor ebx, edx
shr edx, 1
test ebx, edx
jne 0x63232f12
mov esi, 1
mov ecx, eax
xor ebx, edx
mov edx, dword [esp + 0x18]
shl esi, cl
mov ecx, dword [esp + edx*4 + 0x94]
lea edx, [esp + edx*4 + 0x94]
mov dword [esp + 0x28], ebx
dec esi
and esi, ebx
cmp esi, ecx
je 0x63232f63
mov esi, dword [esp + 0x18]
sub eax, ebp
dec esi
mov ecx, eax
mov dword [esp + 0x18], esi
mov esi, 1
shl esi, cl
mov ecx, dword [edx - 4]
sub edx, 4
dec esi
and esi, ebx
cmp esi, ecx
jne 0x63232f42
mov ecx, dword [esp + 0x34]
mov edx, ecx
dec ecx
test edx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
jne 0x63232d00
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
inc ecx
add esi, 4
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
inc ecx
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
jle 0x63232ceb
mov eax, dword [esp + 0x48]
test eax, eax
je 0x63232fbc
mov ecx, dword [esp + 0x2c]
mov eax, 1
cmp ecx, eax
jne 0x63232fbe
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x588
ret
mov eax, dword [esp + 0x18]
test eax, eax
je 0x63232fe1
mov edx, dword [esp + 0xd8]
push edx
call fcn.63233000
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x588
ret