joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ebfa0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x5ebfb2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.005d14f0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x5ec075
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x5ec006
test esi, esi
jle 0x5ec054
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x5ebff0
jmp 0x5ec054
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x5ec02a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00638f20
add esp, 0xc
test esi, esi
jle 0x5ec054
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x5ec040
push esi
push ebp
push ebp
push edi
call fcn.005d1930
add esp, 0x10
pop ebx
test eax, eax
jne 0x5ec075
push esi
push ebp
call fcn.00401360
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x5eee20
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
cmp ecx, dword [ebx + 4]
mov edi, dword [esp + 0x10]
cmovge ebp, ebx
cmovge ebx, edx
mov eax, dword [ebx + 4]
cmp eax, dword [edi + 8]
jg 0x5eee49
mov eax, edi
jmp 0x5eee53
push eax
push edi
call fcn.005b7230
add esp, 8
test eax, eax
jne 0x5eee5b
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x5eee7a
push esi
mov ecx, dword [ebx]
mov edx, dword [ebp]
mov esi, dword [ecx + eax*4]
mov ecx, dword [edi]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x5eee63
pop esi
cmp eax, dword [ebx + 4]
jge 0x5eee90
nop
mov ecx, dword [ebx]
mov edx, dword [edi]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [ebx + 4]
jl 0x5eee80
mov ecx, dword [ebx + 4]
mov dword [edi + 4], ecx
test ecx, ecx
jle 0x5eeeb3
mov edx, dword [edi]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x5eeeb0
dec ecx
test ecx, ecx
jg 0x5eeea2
mov dword [edi + 4], ecx
cmp dword [edi + 4], 0
jne 0x5eeec0
mov dword [edi + 0xc], 0
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x601420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.00620f90
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x6015f7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x6015f7
cmp dword [esp + 0x88], 0x40000000
ja 0x6015f7
push ebx
push edi
push eax
call fcn.005d1970
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.005d5170
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.005d4d50
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.005d4f00
add esp, 0x20
test eax, eax
je 0x6015d3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.005d4f00
add esp, 0xc
test eax, eax
je 0x6015d3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.005d4f00
add esp, 0xc
test eax, eax
je 0x6015d3
push 0
cmp esi, edi
jb 0x60159b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.005d4ca0
add esp, 0xc
test eax, eax
je 0x6015d3
sub esi, edi
je 0x6015cb
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.005d4d50
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.005d4f00
add esp, 0x18
test eax, eax
jne 0x6014e7
jmp 0x6015d3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.005d4ca0
add esp, 0xc
test eax, eax
je 0x6015d3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.00638420
lea eax, [esp + 0x48]
push edi
push eax
call fcn.00401360
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.005d4f10
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00620181
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.00620181
add esp, 0x70
ret
Function at 0x6017c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.00620f90
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x601826
cmp edi, dword [esi]
je 0x60181d
test ebp, ebp
je 0x6018a0
test ebx, ebx
js 0x6018a0
mov eax, 1
mov dword [esi], edi
jmp 0x60182c
mov edi, dword [esi]
test edi, edi
je 0x6018a0
test ebp, ebp
je 0x6019bb
push edi
call fcn.005cbca0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x601860
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.005b64d0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x6018bb
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.005d4d50
add esp, 0xc
test eax, eax
je 0x6018a0
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.005d4f00
add esp, 0xc
test eax, eax
je 0x6018a0
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.005d4cd0
add esp, 0xc
test eax, eax
jne 0x6018d7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00620181
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x6018a0
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.00638420
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x6018fa
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.00638f20
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x601900
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.005d4d50
add esp, 0xc
test eax, eax
je 0x6018a0
push edi
call fcn.005cbca0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.005d4f00
add esp, 0x10
test eax, eax
je 0x6018a0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x601950
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.005d4d50
add esp, 0xc
test eax, eax
je 0x6018a0
push edi
call fcn.005cbca0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.005d4f00
add esp, 0x10
test eax, eax
je 0x6018a0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.005d4fd0
add esp, 8
test eax, eax
je 0x6018a0
mov eax, 1
jmp 0x6018a2
test eax, eax
je 0x601999
jmp 0x6018fe
Function at 0x604920
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.00620f90
mov ecx, dword [esp + 0x28]
mov edx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x2c]
push edi
mov edi, dword [esp + 0x2c]
cmp esi, 0x10
jb 0x6049a0
mov eax, esi
shr eax, 4
mov dword [esp + 0x10], eax
nop
mov eax, edi
sub edx, ebp
sub eax, ebp
mov ecx, ebp
mov dword [esp + 0x14], eax
mov ebx, 4
mov esi, eax
mov eax, dword [edx + ecx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
mov dword [esi + ecx - 4], eax
sub ebx, 1
jne 0x604963
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
mov esi, dword [esp + 0x3c]
mov edx, edi
sub esi, 0x10
add esp, 0xc
add ebp, 0x10
mov dword [esp + 0x30], esi
add edi, 0x10
sub dword [esp + 0x10], 1
jne 0x604950
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x604aac
mov ebx, edi
mov ecx, edx
sub ebx, ebp
sub ecx, ebp
mov dword [esp + 0x14], ebx
xor eax, eax
mov ebx, 1
mov dword [esp + 0x20], ecx
sub ebx, ebp
mov dword [esp + 0x10], ebx
mov ebx, 2
sub ebx, ebp
mov dword [esp + 0x18], ebx
mov ebx, 3
sub ebx, ebp
mov dword [esp + 0x1c], ebx
nop dword [eax + eax]
cmp eax, esi
jae 0x604a52
mov esi, dword [esp + 0x14]
lea ebx, [eax + ebp]
mov cl, byte [ecx + ebx]
xor cl, byte [ebx]
mov byte [esi + ebx], cl
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
add ecx, ebx
cmp ecx, esi
jae 0x604a51
mov cl, byte [eax + ebp + 1]
xor cl, byte [eax + edx + 1]
mov byte [edi + eax + 1], cl
mov ecx, dword [esp + 0x18]
add ecx, ebx
cmp ecx, esi
jae 0x604a4c
mov cl, byte [eax + ebp + 2]
xor cl, byte [eax + edx + 2]
mov byte [edi + eax + 2], cl
mov ecx, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, esi
jae 0x604a47
mov cl, byte [eax + ebp + 3]
xor cl, byte [eax + edx + 3]
mov byte [edi + eax + 3], cl
add eax, 4
mov ecx, dword [esp + 0x20]
cmp eax, 0x10
jb 0x6049e0
jmp 0x604a71
add eax, 3
jmp 0x604a52
add eax, 2
jmp 0x604a52
inc eax
cmp eax, 0x10
jae 0x604a71
mov ebx, 0x10
lea ecx, [eax + edi]
sub edx, edi
sub ebx, eax
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub ebx, 1
jne 0x604a63
push dword [esp + 0x34]
push edi
push edi
call dword [esp + 0x48]
add esp, 0xc
mov edx, edi
cmp esi, 0x10
jbe 0x604a9a
sub esi, 0x10
add ebp, 0x10
add edi, 0x10
mov dword [esp + 0x30], esi
test esi, esi
jne 0x6049a8
mov eax, dword [esp + 0x38]
movups xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movups xmmword [eax], xmm0
pop ebx
add esp, 0x14
ret
movups xmm0, xmmword [edx]
pop edi
pop esi
pop ebp
movups xmmword [ecx], xmm0
pop ebx
add esp, 0x14
ret
Function at 0x605fc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 4
call fcn.00620f90
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x160]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x14], ebx
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
cmp edi, 0xc
jne 0x60606b
mov eax, dword [esp + 0x18]
mov edi, 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov byte [esi + 0xf], 1
jmp 0x606189
mov dword [esp + 0xc], edi
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, 0x10
jb 0x6060e3
mov ebx, ebp
lea ecx, [esi + 0xf]
mov eax, edi
sub ebx, esi
shr eax, 4
mov dword [esp + 0x20], eax
nop dword [eax]
lea eax, [ebx + ecx]
cmp esi, eax
ja 0x6060b2
cmp ecx, ebp
jb 0x6060b2
mov ecx, esi
mov edx, 0x10
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edx, 1
jne 0x6060a2
jmp 0x6060c0
movups xmm1, xmmword [esi]
movups xmm0, xmmword [ebp]
pxor xmm1, xmm0
movups xmmword [esi], xmm1
lea eax, [esi + 0x60]
push eax
push esi
call dword [esp + 0x20]
add esp, 8
lea ecx, [esi + 0xf]
add ebp, 0x10
add ebx, 0x10
sub edi, 0x10
sub dword [esp + 0x20], 1
jne 0x606090
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x606162
xor edx, edx
test edi, edi
je 0x606158
cmp edi, 0x20
jb 0x60613b
lea eax, [ebp - 1]
lea ecx, [esi - 1]
add eax, edi
add ecx, edi
cmp esi, eax
ja 0x606104
cmp ecx, ebp
jae 0x60613b
mov ecx, edi
mov ebx, ebp
and ecx, 0xffffffe0
mov eax, esi
sub ebx, esi
nop
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebx - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
movups xmm1, xmmword [edx + ebp + 0x10]
add edx, 0x20
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [eax - 0x10], xmm1
cmp edx, ecx
jb 0x606110
cmp edx, edi
jae 0x606154
sub ebp, esi
lea ecx, [edx + esi]
sub edi, edx
mov al, byte [ecx + ebp]
lea ecx, [ecx + 1]
xor byte [ecx - 1], al
sub edi, 1
jne 0x606146
mov ebx, dword [esp + 0x18]
lea eax, [esi + 0x60]
push eax
push esi
call ebx
add esp, 8
mov eax, dword [esp + 0x10]
xor ecx, ecx
shld ecx, eax, 3
shl eax, 3
bswap eax
xor dword [esi + 0xc], eax
lea eax, [esi + 0x60]
push eax
bswap ecx
xor dword [esi + 8], ecx
push esi
call ebx
mov edi, dword [esi + 0xc]
add esp, 8
bswap edi
pop ebp
push dword [esi + 0x174]
lea eax, [esi + 0x20]
push eax
mov eax, dword [esi + 0x170]
push esi
call eax
add esp, 0xc
inc edi
bswap edi
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x62345f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x65a7d7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0065a656
Function at 0x660fdc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00660c9c
Function at 0x4fa030
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x6427f0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa0bc
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x4fa0bc
cmp ebx, 0x15f90
jl 0x4fa0b3
cmp ebx, 0x1d4c0
jge 0x4fa090
mov eax, 0x32
jmp 0x4fa0b5
cmp ebx, 0x2bf20
jge 0x4fa09f
mov eax, 0x64
jmp 0x4fa0b5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x4fa0b5
mov eax, 0xfa
jmp 0x4fa0b5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa0d0
inc ebx
cmp ebx, 0x57e40
jl 0x4fa048
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa0ea
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.0051ca30
add esp, 4
mov eax, dword [0x6427f4]
test eax, eax
jne 0x4fa120
cmp dword [0x635300], 1
je 0x4fa1a4
xor ebx, ebx
xor esi, esi
cmp dword [0x6427ec], 0
je 0x4fa164
mov dword [0x6427f4], 1
cmp dword [0x635300], 1
je 0x4fa14f
mov dword [0x6427f0], 0
push dword [0x6427e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4fa1c2
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00555bf0
push ebx
push 0x16
call fcn.00555bf0
add esp, 0x10
jmp 0x4fa120
mov dword [0x6427ec], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6427e8], eax
cmp eax, 0xffffffff
jne 0x4fa188
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4fa10d
push 0x4f9fc0
call fcn.00556610
push 0x4f9f80
call fcn.00556610
add esp, 8
jmp 0x4fa10d
push 1
push 2
call fcn.00555bf0
mov esi, eax
push 1
push 0x16
call fcn.00555bf0
add esp, 0x10
mov ebx, eax
jmp 0x4fa104
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00505140
add esp, 0xc
test eax, eax
je 0x4fa1ec
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x63525c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x635258]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x635254]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x635250]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x4fa1f4
push dword [ebp - 0x10]
push dword [0x6427e8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x4fa13e
Function at 0x4fa240
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x6427f0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa2cc
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x4fa2cc
cmp ebx, 0x15f90
jl 0x4fa2c3
cmp ebx, 0x1d4c0
jge 0x4fa2a0
mov eax, 0x32
jmp 0x4fa2c5
cmp ebx, 0x2bf20
jge 0x4fa2af
mov eax, 0x64
jmp 0x4fa2c5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x4fa2c5
mov eax, 0xfa
jmp 0x4fa2c5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa2e0
inc ebx
cmp ebx, 0x57e40
jl 0x4fa258
mov eax, dword [ebp - 4]
test eax, eax
je 0x4fa2fa
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.0051ca30
add esp, 4
mov eax, dword [0x6427f4]
test eax, eax
jne 0x4fa330
cmp dword [0x635300], 1
je 0x4fa3c9
xor ebx, ebx
xor esi, esi
cmp dword [0x6427ec], 0
je 0x4fa386
mov dword [0x6427f4], 1
cmp dword [0x635300], 1
je 0x4fa371
mov dword [0x6427f0], 0
push dword [0x6427e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x4fa407
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp dword [0x635300], 1
je 0x4fa3e7
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.00555bf0
push ebx
push 0x16
call fcn.00555bf0
add esp, 0x10
jmp 0x4fa330
mov dword [0x6427ec], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x6427e8], eax
cmp eax, 0xffffffff
jne 0x4fa3ad
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4fa31d
push 0x4f9fc0
call fcn.00556610
push 0x4f9f80
call fcn.00556610
add esp, 8
jmp 0x4fa31d
push 1
push 2
call fcn.00555bf0
mov esi, eax
push 1
push 0x16
call fcn.00555bf0
add esp, 0x10
mov ebx, eax
jmp 0x4fa314
push 1
push 2
call fcn.00555bf0
push 1
push 0x16
mov dword [ebx + 0x64], eax
call fcn.00555bf0
add esp, 0x10
mov dword [ebx + 0x68], eax
jmp 0x4fa365
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.00505140
add esp, 0xc
test eax, eax
je 0x4fa42e
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x63525c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x635258]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x635254]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x635250]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x4fa436
push dword [ebp - 0x10]
push dword [0x6427e8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp - 0x10]
jmp 0x4fa353
Function at 0x506290
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x507100
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x507115
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x635300]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x507171
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x642c24]
test ecx, ecx
jne 0x5071fa
mov dword [edx + 0x642c24], 1
mov eax, dword [esi]
jmp 0x5071fa
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x642c24]
push ecx
call fcn.004fa4d0
add esp, 4
test eax, eax
jne 0x5071f2
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x642c20], 0
je 0x50726a
mov dword [edx + 0x642c24], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x642c20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x642c24]
push ecx
call fcn.004fa4d0
add esp, 4
mov edi, dword [0x635300]
mov eax, dword [esi]
cmp edi, 1
je 0x50724b
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x642c38]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x507243
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x507232
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x50721f
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x507234
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x642c30]
push eax
call fcn.004fa480
add esp, 4
mov eax, dword [esi]
jmp 0x5071ff
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x642c20], eax
mov dword [ecx + 0x642c24], 0
jmp 0x5071b9
Function at 0x5087b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]