joyce8/EMBER2024-capa huggingface dataset:
Function at 0x536f00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x72a00c]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.0052bb50
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x537052
mov esi, dword [ebp - 0x20]
mov dword [ebx], esi
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x70b2b8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x537081
push 0x70b308
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x536f89
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test esi, esi
je 0x536ffb
mov dword [ebp - 0x30], ebx
shl esi, 2
cmp esi, 0x55555555
jae 0x537091
lea edi, [esi + esi*2]
push edi
call fcn.0066d870
add esp, 4
mov dword [ebp - 0x20], eax
mov ecx, eax
add ecx, edi
mov dword [ebp - 0x18], ecx
xor ebx, ebx
mov dword [ebp - 0x28], eax
mov edi, eax
test edi, edi
je 0x537066
mov ecx, edi
mov eax, dword [ebp - 0x24]
push dword [eax + ebx]
call fcn.0069b560
add edi, 0xc
add ebx, 4
cmp esi, ebx
jne 0x536fd6
mov dword [ebp - 0x1c], edi
mov ebx, dword [ebp - 0x30]
mov ecx, ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00536cd0
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x537024
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x537052
cmp edi, ebx
je 0x537049
lea esi, [edi - 0xc]
cmp byte [edi - 1], 0
jns 0x537043
push dword [edi - 0xc]
call fcn.0066d8a0
add esp, 4
mov edi, esi
cmp esi, ebx
jne 0x53702f
push ebx
call fcn.0066d8a0
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str........._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.0069cc70
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x536f86
lea ecx, [ebp - 0x20]
call fcn.0069b550
int3
Function at 0x537900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [0x730048]
and eax, 1
neg eax
cmp eax, 0xfffffffd
je 0x5379e0
mov esi, edx
xor ebx, ebx
mov dword [ebp - 0x24], edx
mov edi, esi
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x1c]
mov ecx, esi
push dword [ebx*8 + 0x70b29c]
push dword [ebx*8 + 0x70b298]
call fcn.0051b9e0
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, esi
mov ecx, edx
mov dword [ebp - 0x2c], edx
test dl, dl
jns 0x537973
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
cmp edi, ecx
mov edx, ecx
cmovb edx, edi
test edx, edx
js 0x5379fb
mov esi, edi
cmp ecx, edi
jbe 0x537988
xor eax, eax
jmp 0x5379b4
test edx, edx
je 0x5379a8
xor esi, esi
mov edi, dword [ebp - 0x30]
movzx edi, word [edi + esi*2]
cmp di, word [eax + esi*2]
jne 0x5379af
inc esi
cmp edx, esi
jne 0x53798e
mov dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x24]
jmp 0x5379ab
mov dword [ebp - 0x20], ecx
mov al, 1
jmp 0x5379b4
xor eax, eax
mov esi, dword [ebp - 0x24]
cmp byte [ebp - 0x2c], 0
jns 0x5379c9
push dword [ebp - 0x28]
mov edi, eax
call fcn.0066d8a0
mov eax, edi
add esp, 4
test al, al
jne 0x5379e4
inc ebx
movzx eax, byte [0x730048]
xor eax, 3
cmp ebx, eax
jb 0x537932
xor esi, esi
jmp 0x5379e7
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
int3
Function at 0x539a00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov esi, dword [ebp + 8]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x216]
push 0x206
push 0xff
push edi
call fcn.006719e0
add esp, 0xc
mov word [edi - 2], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x70b39c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x539a93
inc eax
cmp eax, 1
je 0x539a93
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x539a5b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x539a7a
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00682dfc
add esp, 0xc
test eax, eax
je 0x539b70
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x539af7
inc eax
cmp eax, 1
je 0x539af7
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x539abf
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x539ade
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00682dfc
add esp, 0xc
test eax, eax
je 0x539b95
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x539b57
inc eax
cmp eax, 1
je 0x539b57
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x539b23
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x539b42
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00682dfc
add esp, 0xc
test eax, eax
je 0x539bba
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esi + 0xb]
test al, al
jns 0x539b7b
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x539b59
mov ecx, esi
push edi
call fcn.006ab260
cmp word [eax], 0x5c
jne 0x539a93
jmp 0x539b59
movzx eax, byte [esi + 0xb]
test al, al
jns 0x539ba0
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x539b59
mov ecx, esi
push edi
call fcn.006ab260
cmp word [eax], 0x5c
jne 0x539af7
jmp 0x539b59
movzx eax, byte [esi + 0xb]
test al, al
jns 0x539bc5
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x539b59
mov ecx, esi
push edi
call fcn.006ab260
cmp word [eax], 0x5c
jne 0x539b57
jmp 0x539b59
Function at 0x53cc60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp edx, eax
mov esi, eax
mov dword [ebp - 0x10], edx
cmovb esi, edx
test esi, esi
je 0x53cccf
xor edx, edx
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov eax, dword [ebx + edi*4]
mov edx, ecx
mov ecx, dword [ecx + edi*4]
mov esi, ecx
xor esi, eax
mov ebx, ecx
sub ebx, eax
lea eax, [esi - 1]
xor ebx, ecx
or ebx, esi
not esi
and eax, esi
sar eax, 0x1f
xor ebx, ecx
mov ecx, edx
sar ebx, 0x1f
mov esi, ebx
not ebx
and ebx, 1
or ebx, esi
mov esi, eax
and esi, dword [ebp - 0x18]
not eax
and eax, ebx
mov ebx, dword [ebp + 8]
or eax, esi
mov esi, dword [ebp - 0x14]
inc edi
mov edx, eax
cmp esi, edi
jne 0x53cc84
jmp 0x53ccd1
xor eax, eax
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jae 0x53ccfb
xor ecx, ecx
or ecx, dword [ebx + edx*4]
inc edx
cmp esi, edx
jne 0x53ccdd
mov edx, ecx
not edx
dec ecx
and ecx, edx
sar ecx, 0x1f
mov edx, ecx
and edx, eax
not ecx
or ecx, edx
mov eax, ecx
jmp 0x53cd1e
jbe 0x53cd1e
xor edi, edi
or edi, dword [ecx + esi*4]
inc esi
cmp edx, esi
jne 0x53ccff
mov edx, edi
not edx
dec edi
and edi, edx
sar edi, 0x1f
mov edx, edi
and edx, eax
not edi
and edi, 1
or edi, edx
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x53e910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [edx + 4]
test eax, eax
je 0x53e94d
mov edi, edx
mov ebx, dword [edx]
xor edx, edx
xor esi, esi
or esi, dword [ebx + edx*4]
inc edx
cmp eax, edx
jne 0x53e928
test esi, esi
je 0x53e94d
test eax, eax
jle 0x53e93f
mov ebx, dword [edi]
test byte [ebx], 1
jne 0x53e96f
push 0xa8
push str........._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x68
jmp 0x53e959
push 0xa4
push str........._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x69
push 0
push 3
call fcn.006d0e70
add esp, 0x14
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [edi + 0xc], 0
je 0x53e983
push 0xac
push str........._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x6d
jmp 0x53e959
cmp eax, 0x801
jb 0x53e9ab
xor edx, edx
mov esi, 0x800
or edx, dword [ebx + esi*4]
inc esi
cmp eax, esi
jne 0x53e991
test edx, edx
je 0x53e9ab
push 0xb0
push str........._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x66
jmp 0x53e959
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + 0x14]
cmp ebx, edi
je 0x53e9ef
push eax
push ebx
call fcn.0053c650
add esp, 8
test eax, eax
je 0x53ea2a
mov eax, dword [edi + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x53e9e1
push ecx
push dword [edi]
push dword [ebx]
call fcn.00670ee0
add esp, 0xc
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 0x20], eax
mov edi, ebx
test edi, edi
je 0x53ea2a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov ecx, eax
sar ecx, 0x1f
and ecx, eax
mov edx, eax
test edx, edx
jle 0x53ea3b
mov edi, dword [ebx]
lea esi, [edx - 1]
cmp dword [edi + edx*4 - 4], 0
mov edx, esi
je 0x53ea02
inc esi
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], esi
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
cmp esi, 2
jb 0x53ea50
mov edx, dword [eax + 4]
jmp 0x53ea52
push 0xb6
push str........._third_party_boringssl_srccrypto_fipsmodule_bnmontgomery.c
push 0x44
jmp 0x53e959
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
js 0x53ea4c
mov dword [edx + 0x20], 0
mov eax, dword [ebx]
mov ecx, dword [eax]
xor edx, edx
xor eax, eax
xor esi, esi
inc esi
mov edi, 0x40
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edi
and esi, 1
neg esi
mov edi, 0
sbb edi, edi
mov edx, dword [ebp - 0x1c]
and edx, edi
and esi, ecx
mov ecx, edx
xor ecx, eax
and edx, eax
mov eax, esi
xor eax, dword [ebp - 0x14]
and esi, dword [ebp - 0x14]
shrd eax, ecx, 1
shr ecx, 1
add esi, eax
adc edx, ecx
mov ecx, dword [ebp - 0x20]
and edi, 0x80000000
shrd dword [ebp - 0x18], ebx, 1
shr ebx, 1
or ebx, edi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
mov eax, edx
dec edi
jne 0x53ea6e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
xor eax, eax
inc eax
jmp 0x53e967
Function at 0x542db0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov dword [ebp - 0x64], edx
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov ecx, dword [0x72a00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
lea ecx, [edx + 4]
mov esi, ecx
shr esi, 5
mov dword [ebp - 0x5c], eax
mov ebx, dword [eax + 0xc]
xor eax, eax
mov edi, 0
mov dword [ebp - 0x58], ebx
cmp esi, ebx
jae 0x542df6
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + esi*4]
shr edi, cl
shl edi, 5
and edi, 0x20
lea ecx, [edx + 3]
mov esi, ecx
shr esi, 5
cmp esi, dword [ebp - 0x58]
jae 0x542e11
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + esi*4]
shr eax, cl
shl eax, 4
and eax, 0x10
or eax, edi
lea ecx, [edx + 2]
mov ebx, ecx
shr ebx, 5
xor edi, edi
mov esi, 0
cmp ebx, dword [ebp - 0x58]
jae 0x542e35
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + ebx*4]
shr esi, cl
shl esi, 3
and esi, 8
or eax, esi
lea ecx, [edx + 1]
mov esi, ecx
shr esi, 5
cmp esi, dword [ebp - 0x58]
jae 0x542e52
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + esi*4]
shr edi, cl
shl edi, 2
and edi, 4
or eax, edi
mov ecx, edx
shr ecx, 5
xor esi, esi
cmp ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x64]
jae 0x542e72
mov esi, dword [ebp + 0xc]
mov esi, dword [esi + ecx*4]
mov ecx, edx
shr esi, cl
add esi, esi
and esi, 2
or eax, esi
test edx, edx
je 0x542e95
dec edx
mov esi, edx
shr esi, 5
xor ecx, ecx
cmp esi, dword [ebp - 0x58]
jae 0x542e93
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + esi*4]
xor ecx, ecx
bt esi, edx
setb cl
or eax, ecx
mov edi, dword [ebp + 8]
mov esi, eax
mov ecx, eax
shr ecx, 5
lea eax, [ecx - 1]
neg ecx
and eax, esi
xor esi, 0x3f
mov dword [ebp - 0x60], ecx
and esi, ecx
or esi, eax
mov eax, esi
shr eax, 1
and esi, 1
add esi, eax
push 0xcc
push 0
push ebx
call fcn.006719e0
add esp, 0xc
mov dword [ebp - 0x58], esi
not esi
mov dword [ebp - 0x68], esi
xor esi, esi
mov eax, esi
xor eax, dword [ebp - 0x58]
dec eax
and eax, dword [ebp - 0x68]
sar eax, 0x1f
push ebx
push edi
push eax
push ebx
push dword [ebp - 0x5c]
call fcn.006be440
add esp, 0x14
inc esi
add edi, 0xcc
cmp esi, 0x11
jne 0x542ed3
pcmpeqd xmm0, xmm0
lea eax, [ebp - 0x54]
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax], xmm0
mov dword [eax + 0x40], 0xffffffff
add ebx, 0x44
push ebx
push eax
mov esi, dword [ebp - 0x5c]
push esi
call fcn.006c0210
add esp, 0xc
mov esi, dword [esi + 0x28]
test esi, esi
mov ecx, dword [ebp - 0x60]
je 0x542f59
mov eax, ecx
mov dword [ebp - 0x5c], eax
not ecx
xor edx, edx
mov eax, esi
mov esi, dword [ebp + edx*4 - 0x54]
and esi, dword [ebp - 0x5c]
mov edi, dword [ebx + edx*4]
and edi, ecx
or edi, esi
mov esi, eax
mov dword [ebx + edx*4], edi
inc edx
cmp eax, edx
jne 0x542f3f
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x543430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ecx, dword [0x72a00c]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x50], xmm0
movdqu xmmword [ebp - 0x60], xmm0
movdqu xmmword [ebp - 0x70], xmm0
test eax, eax
jne 0x54357f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20]
movdqu xmmword [eax], xmm0
movdqu xmmword [eax - 0x10], xmm0
movdqu xmmword [eax - 0x20], xmm0
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
lea ebx, [esi + 0xfc]
lea eax, [esi + 0xf4]
mov dword [ebp - 0x74], eax
call dword [section..00cfg]
lea eax, [ebp - 0x40]
push esi
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [ebp - 0x30]
push eax
push ebx
call ecx
add esp, 0xc
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0x108]
bswap eax
inc eax
bswap eax
mov dword [esi + 0x108], eax
call dword [section..00cfg]
push esi
lea eax, [ebp - 0x20]
push eax
push ebx
call ecx
add esp, 0xc
xor eax, eax
mov cl, byte [edi + eax]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x30
jne 0x543502
mov eax, dword [0x73027c]
bt eax, 0x19
jae 0x5435b7
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.0042ec80
add esp, 0xc
mov ecx, 0x42c900
mov eax, 0x42d490
mov edx, dword [ebp - 0x74]
test edx, edx
je 0x543543
mov dword [edx], ecx
mov dword [esi + 0xf8], eax
lea eax, [ebp - 0x20]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ebx], xmm0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 1
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, esi
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
cmp eax, 0x30
ja 0x54356b
mov ecx, dword [ebp + 0x10]
movups xmm1, xmmword [edi + 0x20]
lea edx, [ebp - 0x70]
movups xmmword [edx + 0x20], xmm1
movups xmm1, xmmword [edi]
movups xmm2, xmmword [edi + 0x10]
movups xmmword [edx + 0x10], xmm2
movups xmmword [edx], xmm1
xor esi, esi
mov bl, byte [ecx + esi]
xor byte [ebp + esi - 0x70], bl
inc esi
cmp eax, esi
jne 0x5435a4
mov edi, edx
jmp 0x543465
bt eax, 9
jae 0x5435db
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.0042f7a0
add esp, 0xc
xor eax, eax
mov ecx, 0x42f850
jmp 0x54353a
push esi
push 0x100
lea eax, [ebp - 0x40]
push eax
call fcn.006b7710
add esp, 0xc
mov ecx, 0x6b7610
mov eax, 0x6b7c40
jmp 0x54353a
Function at 0x554a90
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [esp + 0x28], eax
cmp dword [ebp + 8], 0
je 0x554c65
cmp dword [0x72cc68], 0xe69e32f3
jne 0x554c68
mov ecx, 0x308
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0xc]
mov byte [esp + 0xf], 0xff
movzx eax, byte [esi + 2]
push eax
mov dword [esp + 8], ecx
push ecx
call fcn.0063c8d0
add esp, 8
movzx ebx, ax
shl ebx, 5
lea edi, [esi + ebx]
add edi, 0x48
add esi, 0x40
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x554c2d
mov dword [esp + 8], esi
mov eax, dword [edi]
mov esi, dword [eax]
test esi, esi
je 0x554bd2
mov byte [esp + 0xf], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x554c23
mov edi, dword [ebp + 8]
lea edx, [edi + 0x48]
mov ebx, dword [edx + ebx + 0xc]
bswap ecx
mov edx, ecx
xor edx, esi
cmp edx, 0x1fffff
ja 0x554c39
mov edx, ecx
and edx, 0x1fc000
je 0x554c39
prefetcht0 byte [ecx]
mov dword [eax], ecx
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 2]
and edx, 0x3ffe
and ecx, 0xffffc001
or ecx, edx
mov dword [eax + 0xc], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + 0x117c]
add ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x1180]
mov dword [edi + 0x117c], ecx
cmp eax, ecx
cmova ecx, eax
mov dword [edi + 0x1180], ecx
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, esi
push edi
call fcn.00655330
push esi
push dword [0x73028c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0x72dff4]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [eax + 0xa8], esi
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.0066e1f1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0xf]
mov ecx, edi
push eax
push 0x4000
push dword [esp + 0xc]
push 2
mov edi, dword [ebp + 8]
push edi
call fcn.0065e820
test eax, eax
je 0x554c6b
mov esi, eax
mov ecx, eax
and ecx, 0xffe00000
mov edx, eax
shr edx, 9
and edx, 0xfe0
lea eax, [edx + ecx]
movzx ecx, byte [edx + ecx + 0x101e]
and ecx, 0x3f
shl ecx, 5
sub eax, ecx
add eax, 0x1000
jmp 0x554b66
xor ecx, ecx
mov edi, dword [ebp + 8]
jmp 0x554b4d
mov ecx, esi
call fcn.00655e40
jmp 0x554b01
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi], xmm0
mov ecx, edi
push 0
push dword [esi]
push str.first
call fcn.006b55b0
push edi
call fcn.00514420
add esp, 4
mov ecx, ebx
call fcn.00554c90
int3
int3
xor esi, esi
jmp 0x554b89

Function at 0x555ca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x555cb8
cmp dword [ebp + 0x10], 0
jne 0x555cb4
call fcn.00567a00
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00555790

Function at 0x555fa0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00555cc0
Function at 0x558910
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x5589e9
cmp dword [esi], 0
jne 0x5589e9
cmp dword [esi + 0xc], 0
jne 0x5589e9
xor eax, eax
cmp dword [esi + 4], 0
jne 0x5589e9
mov ebx, dword [edi]
cmp eax, ebx
je 0x558973
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x5589b9
lea eax, [ebx + 1]
cmp eax, 2
jb 0x558969
mov dword [esi], ebx
call fcn.0063cf00
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x5589a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x5589d0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x55899c
mov dword [esi + 4], ebx
call fcn.0063cf00
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0063cf00
push dword [esi]
call fcn.00633790
add esp, 4
mov dword [esi], 0
jmp 0x55895a
call fcn.0063cf00
push dword [esi + 4]
call fcn.00633790
add esp, 4
mov dword [esi + 4], 0
jmp 0x55898c
mov ecx, esi
call fcn.006ccae0
mov eax, dword [esi]
jmp 0x558944
Function at 0x55cc40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x72dc8c]
cmp eax, 0xffffffff
je 0x55cd01
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x55cd01
mov eax, dword [0x73e4f8]
mov ecx, dword [0x72dff4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x55cd0b
mov edi, dword [0x73e4f4]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x55cd50
mov ecx, dword [0x73d4ec]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx eax, al
mov ebx, eax
shl ebx, 4
cmp dword [ebx + 0x73d4f0], 0
jne 0x55cd5c
lea ecx, [ebx + 0x73d4f0]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [0x73e4f0]
inc edx
mov dword [0x73e4f0], edx
mov dword [ecx + 0xc], edx
mov dword [0x73d4ec], eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp dword [esi], 0x100
jae 0x55cd6b
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0055cd70
jmp 0x55cc65
push 0x73e4f8
call fcn.0066d917
add esp, 4
cmp dword [0x73e4f8], 0xffffffff
jne 0x55cc86
push 4
call fcn.0066d870
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00634040
mov dword [0x73e4f4], edi
push 0x73e4f8
call fcn.0066d98d
add esp, 4
jmp 0x55cc86
mov ecx, edi
call fcn.00634050
jmp 0x55cc9b
inc edx
cmp edx, 0x100
jne 0x55cca4
jmp 0x55cceb
int3

Function at 0x55cd70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x72dc8c]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
jne 0x55ce13
lea esi, [ebp - 0x814]
push esi
call fcn.0056bca0
add esp, 4
test al, al
je 0x55ce8e
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
jne 0x55cdf1
push esi
call fcn.0056bca0
add esp, 4
test al, al
je 0x55ce91
cmp dword [ebp - 0x814], 0xffffffff
je 0x55ce91
push 0xffffffffffffffff
call fcn.006d4be0
add esp, 4
mov ecx, dword [ebp - 0x814]
xor eax, eax
dec eax
lock cmpxchg dword [0x72dc8c], ecx
je 0x55ce13
push ecx
call fcn.006d4be0
add esp, 4
mov ecx, dword [0x72dc8c]
mov dword [ebp - 0x814], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x55ce8b
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.006719e0
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0056bcc0
add esp, 8
push edi
call fcn.0066d8d3
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.00670ee0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0056bcc0
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
int3