joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441b10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x53d010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 3
je 0x441b40
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
lea eax, [ebp - 0x14]
mov dword [eax], 0x441c40
push 0
push eax
push 0x441aa0
push 0x55205c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x441c3b
cmp dword [0x552060], 0
jne 0x441b2c
push dword [0x552064]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441b2c
mov esi, eax
mov eax, 0x552068
push eax
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov edi, dword [0x55206c]
mov ebx, dword [0x552070]
mov eax, dword [0x552074]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x552078]
mov dword [ebp - 0x20], eax
mov eax, dword [0x55207c]
mov dword [ebp - 0x24], eax
mov eax, 0x552068
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test edi, edi
je 0x441bd4
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, edi
call dword [section..00cfg]
push dword [ebp - 0x18]
call edi
add esp, 4
test ebx, ebx
je 0x441be9
mov edi, dword [esi + 4]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x441bff
mov edi, dword [esi + 8]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
mov ebx, dword [ebp - 0x24]
je 0x441c18
mov edi, dword [esi + 0xc]
call dword [section..00cfg]
push edi
call ecx
add esp, 4
test ebx, ebx
je 0x441c2d
mov edi, dword [esi + 0x10]
mov ecx, ebx
call dword [section..00cfg]
push edi
call ebx
add esp, 4
push esi
call fcn.004655c0
add esp, 4
jmp 0x441b2c
call fcn.004ac89f
push ebp
mov ebp, esp
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x552064], eax
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [0x552060], ecx
pop ebp
ret
Function at 0x441c60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
mov dword [eax], 0x441c40
push 0
push eax
push 0x441aa0
push 0x55205c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x441d28
mov esi, dword [ebp + 0xc]
cmp dword [0x552060], 0
jne 0x441d36
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x552064]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
jne 0x441ceb
push 0x14
push 1
call fcn.00465660
add esp, 8
test eax, eax
je 0x441d36
mov edi, eax
push eax
push dword [0x552064]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x441d2d
mov ebx, dword [ebp + 8]
mov esi, 0x552068
push esi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebp + 0x10]
mov dword [ebx*4 + 0x55206c], eax
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [ebp + 0xc]
mov dword [edi + ebx*4], eax
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004ac89f
push edi
call fcn.004655c0
add esp, 4
mov ecx, dword [ebp + 0x10]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
xor esi, esi
jmp 0x441d14

Function at 0x4440a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4440b7
test eax, eax
je 0x4440b7
pop esi
pop edi
pop ebp
ret 0xc
test eax, eax
jne 0x4440c5
mov ecx, dword [0x552094]
test ecx, ecx
jne 0x444101
cmp dword [0x55208c], 0
je 0x4440b1
mov esi, dword [0x552090]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test edi, edi
jne 0x44410b
test esi, esi
je 0x4440b1
mov ecx, dword [0x55208c]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4440b1
call dword [section..00cfg]
call ecx
jmp 0x4440c5
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4440e9
Function at 0x4483f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov eax, dword [0x540000]
cmp eax, 0xffffffff
je 0x4484b1
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
je 0x4484b1
mov eax, dword [0x55318c]
mov ecx, dword [0x540070]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4484bb
mov edi, dword [0x553188]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x448503
mov ecx, dword [0x552180]
inc ecx
xor edx, edx
lea eax, [ecx + edx]
movzx eax, al
mov ebx, eax
shl ebx, 4
cmp dword [ebx + 0x552184], 0
jne 0x44850f
lea ecx, [ebx + 0x552184]
mov dword [ecx], 1
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov edx, dword [0x553184]
inc edx
mov dword [0x553184], edx
mov dword [ecx + 0xc], edx
mov dword [0x552180], 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 0x448500
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00448530
jmp 0x448415
push 0x55318c
call fcn.0049a9a7
add esp, 4
cmp dword [0x55318c], 0xffffffff
jne 0x448436
push 4
call fcn.0049a900
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.00468ae0
mov dword [0x553188], edi
push 0x55318c
call fcn.0049aa1d
add esp, 4
jmp 0x448436
int3
mov ecx, edi
call fcn.00468af0
jmp 0x44844b
inc edx
cmp edx, 0x100
jne 0x448454
jmp 0x44849b

Function at 0x448530
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x808
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x814], 0xffffffff
mov ecx, dword [0x540000]
mov dword [ebp - 0x814], ecx
cmp ecx, 0xffffffff
je 0x4485dd
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x448626
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0
push ebx
call fcn.0049e890
add esp, 0xc
lea eax, [ebp - 0x80d]
push eax
push dword [ebp - 0x814]
call fcn.0044f870
add esp, 8
push edi
call fcn.0049a963
add esp, 4
mov esi, eax
push edi
push ebx
push eax
call fcn.0049e310
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x814]
call fcn.0044f870
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
mov eax, esi
add esp, 0x808
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x814]
push esi
call fcn.0044f850
add esp, 4
test al, al
je 0x448629
mov ecx, dword [ebp - 0x814]
cmp ecx, 0xffffffff
je 0x44862c
xor eax, eax
dec eax
lock cmpxchg dword [0x540000], ecx
je 0x448561
push ecx
call fcn.00514620
add esp, 4
mov ecx, dword [0x540000]
mov dword [ebp - 0x814], ecx
jmp 0x448561
int3
int3
push esi
call fcn.0044f850
add esp, 4
test al, al
je 0x448654
cmp dword [ebp - 0x814], 0xffffffff
je 0x448654
push 0xffffffffffffffff
call fcn.00514620
add esp, 4
mov ecx, dword [ebp - 0x814]
jmp 0x4485fb
int3
Function at 0x458c40
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx eax, cx
shr ecx, 0x10
mov edx, ebx
and edx, 0x1f
mov dword [ebp - 0x10], edx
cmp ebx, 0x20
jb 0x458e42
shr ebx, 5
movdqa xmm0, xmmword [0x524130]
pxor xmm2, xmm2
movdqa xmm3, xmmword [0x524120]
mov edx, 0xad
cmp ebx, edx
mov esi, 0xad
cmovb esi, ebx
mov edx, eax
imul edx, esi
movd xmm5, edx
movd xmm4, ecx
mov ecx, esi
shl ecx, 5
mov dword [ebp - 0x14], esi
mov edx, esi
pxor xmm6, xmm6
mov esi, edi
nop dword [eax]
movdqu xmm7, xmmword [esi]
movdqa xmm1, xmm7
pmaddubsw xmm7, xmmword [0x524110]
pmaddwd xmm7, xmm3
paddd xmm7, xmm4
movdqu xmm4, xmmword [esi + 0x10]
paddd xmm5, xmm6
psadbw xmm1, xmm2
paddd xmm1, xmm6
movdqa xmm6, xmm4
psadbw xmm6, xmm2
paddd xmm6, xmm1
pmaddubsw xmm4, xmm0
pmaddwd xmm4, xmm3
paddd xmm4, xmm7
add esi, 0x20
dec edx
jne 0x458cb0
add edi, ecx
mov dword [ebp - 0x18], edi
pslld xmm5, 5
paddd xmm4, xmm5
phaddd xmm6, xmm6
pshufd xmm1, xmm6, 0xff
paddd xmm1, xmm6
movd esi, xmm1
add esi, eax
phaddd xmm4, xmm4
pshufd xmm1, xmm4, 0xff
mov eax, esi
mov ecx, 0x80078071
mul ecx
mov edi, edx
paddd xmm1, xmm4
movd ecx, xmm1
shr edi, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, edi, 0xfff1
mov edi, dword [ebp - 0x18]
sub esi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, esi
sub ebx, dword [ebp - 0x14]
jne 0x458c80
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x458da3
cmp ebx, 0x10
jae 0x458db2
xor eax, eax
movzx edx, byte [edi + eax]
add esi, edx
add ecx, esi
inc eax
cmp ebx, eax
jne 0x458d73
lea eax, [esi - 0xfff1]
cmp esi, 0xfff1
cmovae esi, eax
mov edx, 0x80078071
mov eax, ecx
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
shl ecx, 0x10
or ecx, esi
mov eax, ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [edi]
add esi, eax
add ecx, esi
movzx eax, byte [edi + 1]
add eax, esi
add ecx, eax
movzx edx, byte [edi + 2]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 3]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 4]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 5]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 6]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 7]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 8]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 9]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 0xa]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 0xb]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 0xc]
add edx, eax
add ecx, edx
movzx eax, byte [edi + 0xd]
add eax, edx
add ecx, eax
movzx edx, byte [edi + 0xe]
add edx, eax
add ecx, edx
movzx esi, byte [edi + 0xf]
add esi, edx
add ecx, esi
add ebx, 0xfffffff0
je 0x458d80
add edi, 0x10
jmp 0x458d71
mov esi, eax
jmp 0x458d65
Function at 0x45b6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movdqu xmm4, xmmword [ecx]
movdqu xmm3, xmmword [ecx + 0x10]
movdqu xmm2, xmmword [ecx + 0x20]
movdqu xmm1, xmmword [ecx + 0x30]
movd xmm0, dword [ebp + 0x10]
pxor xmm0, xmm4
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x40
jae 0x45b800
movdqa xmm4, xmmword [0x524c50]
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x524c60]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp eax, 0x10
jb 0x45b798
movdqu xmm1, xmmword [ecx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add ecx, 0x10
add eax, 0xfffffff0
cmp eax, 0xf
ja 0x45b771
movdqa xmm1, xmmword [0x524c60]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm2, xmm2
pxor xmm1, xmm1
pblendw xmm1, xmm0, 3
psrldq xmm0, 4
pclmulqdq xmm1, xmmword [0x524c70], 0
pxor xmm1, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm1, 3
pclmulqdq xmm0, xmmword [0x524c80], 0x10
pblendw xmm0, xmm2, 0xfc
pclmulqdq xmm0, xmmword [0x524c90], 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
pop ebp
ret
movdqa xmm4, xmmword [0x524c30]
movdqa xmm5, xmmword [0x524c40]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pxor xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm3, xmm5, 0x11
pxor xmm3, xmm6
movdqa xmm6, xmm2
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm2, xmm5, 0x11
pxor xmm2, xmm6
movdqa xmm6, xmm1
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm1, xmm5, 0x11
pxor xmm1, xmm6
movdqu xmm6, xmmword [ecx]
pxor xmm0, xmm6
movdqu xmm6, xmmword [ecx + 0x10]
pxor xmm3, xmm6
movdqu xmm6, xmmword [ecx + 0x20]
pxor xmm2, xmm6
movdqu xmm6, xmmword [ecx + 0x30]
pxor xmm1, xmm6
add eax, 0xffffffc0
add ecx, 0x40
cmp eax, 0x3f
ja 0x45b810
jmp 0x45b714

Function at 0x45dba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
xor ecx, ecx
cmp dword [ebp + 8], ebx
sete cl
push ebx
push eax
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], ebx
test eax, eax
je 0x45dc1e
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x45dc07
lea eax, [edi + 1]
cmp eax, 2
jb 0x45dbeb
mov dword [esi], edi
call fcn.00462b50
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi]
mov byte [esi + 4], 0
inc eax
cmp eax, 1
jbe 0x45dc22
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.00462b50
push dword [esi]
call fcn.0045db70
add esp, 4
mov dword [esi], 0
jmp 0x45dbdc
mov byte [esi + 4], 0
int3
Function at 0x45de60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x45de95
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x45de9c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x45de8e
mov dword [esi], ebx
call fcn.00462b50
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00462b50
push dword [esi]
call fcn.0045db70
add esp, 4
mov dword [esi], 0
jmp 0x45de7f

Function at 0x45f4c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [esp + 0x58], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 0x10]
push 0x5f
push str....._base_files_file_win.cc
push str.ReadAtCurrentPos
push ebx
call fcn.00462b20
add esp, 0x10
mov ecx, edi
push 0
push ebx
mov ebx, dword [ebp + 0xc]
call fcn.00466980
test ebx, ebx
js 0x45f581
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00467ce0
test al, al
jne 0x45f59d
lea eax, [esp + 0xc]
mov dword [eax], 0xffffffff
push 0
push eax
push ebx
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f58b
mov ebx, dword [esp + 0xc]
test ebx, ebx
js 0x45f586
lea ecx, [esp + 0x10]
call fcn.00467d80
lea ecx, [esp + 0x20]
call fcn.004669f0
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.0049b483
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor ebx, ebx
dec ebx
jmp 0x45f561
int3
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x26
setne bl
neg ebx
jmp 0x45f558
lea ecx, [esp + 0x10]
push 0
push ebx
push esi
push str.File::ReadAtCurrentPos
call fcn.004df500
jmp 0x45f535
Function at 0x4647a0
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]
mov ecx, edi
call fcn.0045f3d0
mov dword [esi], 0
test eax, eax
je 0x4647e7
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x464816
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4647dd
mov dword [esi], ebx
call fcn.00462b50
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
lea ecx, [esi + 4]
lea eax, [edi + 4]
push eax
call fcn.00462d40
lea ecx, [esi + 0x10]
call fcn.00467d10
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov al, byte [edi + 0x18]
mov byte [esi + 0x18], al
mov al, byte [edi + 0x19]
mov byte [esi + 0x19], al
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00462b50
push dword [esi]
call fcn.0045db70
add esp, 4
mov dword [esi], 0
jmp 0x4647ce
Function at 0x467240
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x541bdc]
mov ecx, dword [0x540070]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x467290
mov esi, dword [0x541bd8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x541bdc
call fcn.0049a9a7
add esp, 4
cmp dword [0x541bdc], 0xffffffff
jne 0x467273
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.0049e890
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.0049a900
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x541c0c]
mov ecx, dword [0x540070]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x467339
mov ecx, esi
push ebx
push 0x541be8
push edi
call fcn.0042d950
mov dword [0x541bd8], esi
push 0x541bdc
call fcn.0049aa1d
add esp, 4
jmp 0x467273
push 0x541c0c
call fcn.0049a9a7
add esp, 4
cmp dword [0x541c0c], 0xffffffff
jne 0x467313
xorps xmm0, xmm0
movups xmmword [0x541bf8], xmm0
movups xmmword [0x541be8], xmm0
mov dword [0x541c08], 0
push 0x541be8
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x541c0c
call fcn.0049aa1d
add esp, 4
jmp 0x467313
Function at 0x46a280
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474b50
Function at 0x471800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp edx, eax
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebp - 0x14], edx
cmovb ebx, edx
xor eax, eax
test ebx, ebx
je 0x471865
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov edx, dword [edi + esi*4]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + esi*4]
mov ebx, ecx
xor ebx, edx
mov edi, ecx
sub edi, edx
lea edx, [ebx - 1]
xor edi, ecx
or edi, ebx
not ebx
and edx, ebx
mov ebx, dword [ebp - 0x1c]
xor edi, ecx
mov ecx, dword [ebp - 0x18]
sar edx, 0x1f
sar edi, 0x1f
or edi, 1
xor eax, edi
and eax, edx
xor eax, edi
mov edi, dword [ebp + 8]
inc esi
cmp ebx, esi
jne 0x47182a
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jb 0x471879
ja 0x471893
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
xor ecx, ecx
or ecx, dword [edi + edx*4]
inc edx
cmp esi, edx
jne 0x47187b
mov edx, ecx
not edx
dec ecx
and ecx, edx
sar ecx, 0x1f
not ecx
or eax, ecx
jmp 0x471871
mov edx, ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
or esi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x14], ecx
jne 0x471897
mov ecx, esi
not ecx
dec esi
and esi, ecx
sar esi, 0x1f
xor eax, 1
and eax, esi
xor eax, 1
jmp 0x471871
Function at 0x472530
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [0x53d010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp eax, 0x30
ja 0x4725fb
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [ebp - 0x30], xmm1
movups xmmword [ebp - 0x40], xmm0
test eax, eax
jne 0x4725ff
mov esi, dword [ebp + 8]
xor eax, eax
mov cl, byte [eax + 0x530d47]
xor byte [ebp + eax - 0x40], cl
inc eax
cmp eax, 0x30
jne 0x472577
lea edi, [esi + 0xf4]
push 1
call fcn.00471690
add esp, 4
bt eax, 0x19
jae 0x472616
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.00403380
add esp, 0xc
mov ecx, section..text
mov eax, 0x401b90
test edi, edi
je 0x4725bf
mov dword [edi], ecx
mov dword [esi + 0xf8], eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi + 0xfc], 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.0049b483
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x4725e7
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov bl, byte [ecx + edx]
xor byte [ebp + edx - 0x40], bl
inc edx
cmp eax, edx
je 0x472572
jmp 0x472604
bt eax, 9
jae 0x472637
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.00403ea0
add esp, 0xc
xor eax, eax
mov ecx, 0x403f50
jmp 0x4725b9
lea eax, [ebp - 0x40]
push esi
push 0x100
push eax
call fcn.004e4f20
add esp, 0xc
mov ecx, 0x4e4e30
mov eax, 0x4e56b0
jmp 0x4725b9
Function at 0x474330
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, ecx
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [esp + 0x28], eax
mov byte [ecx + 4], 0
mov edi, pe_nt_image_headers32
jmp 0x47444c
bswap edi
test edi, 0x1fc000
je 0x4744bd
prefetcht0 byte [edi]
mov eax, dword [esi + 0x2f8]
mov ecx, ebx
and ecx, 0xffe00000
mov edx, ebx
shr edx, 9
and edx, 0x1fe0
or edx, ecx
mov ecx, edx
or ecx, 0x1000
or edx, 0x101e
movzx edx, byte [edx]
and edx, 0x3f
shl edx, 5
sub ecx, edx
mov edx, dword [ecx + 8]
mov edx, dword [edx + 0xc]
sub dword [eax + 0x117c], edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x4744ba
bswap eax
mov dword [ebx], eax
mov dword [ecx], ebx
mov eax, dword [ecx + 0xc]
mov edx, eax
and edx, 0xefffffff
mov dword [ecx + 0xc], edx
test eax, 0x3ffe
je 0x4744b7
lea edx, [eax + 0x3ffe]
and edx, 0x3ffe
mov ebx, eax
and ebx, 0xefffc001
or ebx, edx
mov dword [ecx + 0xc], ebx
test al, 1
jne 0x474412
test edx, edx
je 0x474412
mov ebx, edi
test edi, edi
je 0x47441b
mov edi, dword [ebx]
test edi, edi
jne 0x474360
xor edi, edi
jmp 0x474371
push 1
call fcn.00474620
jmp 0x4743fb
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esp + 0xc]
mov dword [esi + edi], 0
mov byte [esi + edi + 4], 0
movzx eax, word [esi + edi + 6]
imul eax, dword [esp + 8]
sub dword [esi], eax
add edi, 8
cmp edi, 0x2f8
je 0x4744a4
cmp byte [esi + edi + 4], 0
je 0x474441
mov ecx, dword [esi + edi]
movzx eax, word [esi + edi + 6]
push eax
call fcn.004744f0
movzx eax, byte [esi + edi + 4]
mov dword [esp + 8], eax
movzx eax, word [esi + edi + 6]
mov dword [esp], eax
mov dword [esp + 0xc], edi
mov ebx, dword [esi + edi]
mov edi, dword [esi + 0x2f8]
add edi, 0x40
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x47449b
mov dword [esp + 4], edi
test ebx, ebx
jne 0x474401
jmp 0x47441b
mov ecx, edi
call fcn.00474570
jmp 0x47448d
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.0049b483
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
int3
int3
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x10]
movdqa xmmword [esi], xmm0
mov ecx, esi
push 0
push dword [ebx]
push str.first
call fcn.004e3790
push esi
call fcn.004106c0
add esp, 4
push dword [esp]
call fcn.00500b30
int3

Function at 0x475160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x475196
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
nop word [eax + eax]
movzx eax, byte [ecx + esi]
xor al, byte [edx + esi]
or bl, al
inc esi
cmp edi, esi
jne 0x475180
movzx eax, bl
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x475191
Function at 0x479530
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x53d010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0x441c40
lea eax, [ebp - 0x14]
push 0
push eax
push 0x441aa0
push 0x55205c
call dword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x4795aa
xor esi, esi
cmp dword [0x552060], 0
jne 0x479596
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push dword [0x552064]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x479596
mov eax, dword [ebp + 8]
mov esi, dword [edi + eax*4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004ac89f
int3