joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101152e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x10115318
mov edx, dword [esp + 4]
test edx, edx
je 0x10115318
cmp dword [eax], 0xffffffff
je 0x10115318
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10115318
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x10115350
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x101153b3
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x101153b3
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1011538e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x101153b3
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.102af895
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.102af895
add esp, 8
ret 4

Function at 0x10115840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101158be
cmp dword [esp + 0x14], 6
jb 0x101158be
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.10115610
add esp, 0xc
test al, al
je 0x101158be
cmp word [esi], 0
jne 0x10115916
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.10115610
add esp, 0xc
test al, al
je 0x101158ea
cmp word [esi], 0
jne 0x10115916
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.10115610
add esp, 0xc
test al, al
je 0x1011592b
cmp word [esi], 0
je 0x1011592b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.102af895
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.102af895
mov esp, ebp
pop ebp
ret
Function at 0x10115cb0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x262c]
mov eax, 0x262c
call fcn.102b1730
push 0xffffffffffffffff
push 0x102d6b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp + 0x2628], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x420]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x420], ax
test esi, esi
je 0x10115eb1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x10115eb1
push esi
call edi
cmp eax, 0xffa
jge 0x10115eb1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x420]
push eax
call esi
push 0x102f3438
lea eax, [ebp + 0x420]
push eax
call esi
push 0x102f343c
lea ecx, [ebp - 0x2c]
call fcn.100187b0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.10116910
mov ecx, eax
call fcn.101169e0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10018a30
test esi, esi
je 0x10115eb1
push str.ShellExecuteW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10115eb1
lea ecx, [ebp]
call fcn.10115940
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x10115dd6
push 1
push 0
lea eax, [ebp + 0x420]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x10115de4
inc edi
add esi, 0x210
cmp edi, 2
jl 0x10115db5
jmp 0x10115e06
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x10115dfe
add ebx, 0x10
test ebx, ebx
jne 0x10115ead
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x420]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x10115ea8
mov dword [ebp - 0x14], 0x102f3458
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x2420]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2420]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10115e9e
push 1
push 0
lea eax, [ebp + 0x420]
push eax
lea eax, [ebp + 0x2420]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x10115ea8
inc esi
cmp esi, 2
jb 0x10115e40
mov eax, ebx
jmp 0x10115eb3
mov ebx, 0x10
mov eax, ebx
jmp 0x10115eb3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2628]
xor ecx, ebp
call fcn.102af895
lea esp, [ebp + 0x262c]
pop ebp
ret
Function at 0x10119920
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x101199a2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x101199a2
test ecx, ecx
je 0x1011999e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x10119960
xor eax, eax
jmp 0x101199a7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x101199b1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102af895
add esp, 0xc
ret 0xc

Function at 0x10119a30
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x10119a5e
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.102af895
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x10119a47
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10119aa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x10119aa4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.102af895
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.102af895
add esp, 8
ret 4

Function at 0x1011c020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102d7dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1011c056
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1011c0ba
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1011c0e0
test al, al
je 0x1011c0ab
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10018a30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102af895
mov esp, ebp
pop ebp
ret
Function at 0x10121480
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x1012149a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x1012149a
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x1012149a
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1013adb0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x1013adbb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.1013adf0
Function at 0x1013b730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
mov edi, ecx
call fcn.1013b5e0
test eax, eax
je 0x1013b743
mov eax, 0xfffffffe
pop edi
ret
push esi
mov esi, dword [edi + 0x1c]
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x2c], 2
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], 0
test eax, eax
jns 0x1013b77c
neg eax
mov dword [esi + 0x18], eax
cmp eax, 2
jne 0x1013b786
lea ecx, [eax + 0x37]
jmp 0x1013b795
test eax, eax
mov ecx, 0x71
mov edx, 0x2a
cmovne ecx, edx
mov dword [esi + 4], ecx
cmp eax, 2
jne 0x1013b7a1
xor eax, eax
jmp 0x1013b7af
push 0
xor edx, edx
xor ecx, ecx
call fcn.1013ab20
add esp, 4
mov dword [edi + 0x30], eax
mov ecx, esi
lea eax, [esi + 0x94]
mov dword [esi + 0x28], 0
mov dword [esi + 0xb18], eax
lea eax, [esi + 0x988]
mov dword [esi + 0xb24], eax
lea eax, [esi + 0xa7c]
mov dword [esi + 0xb30], eax
xor eax, eax
mov dword [esi + 0xb20], 0x102e2164
mov dword [esi + 0xb2c], 0x102e22ec
mov dword [esi + 0xb38], 0x102df364
mov word [esi + 0x16b8], ax
mov dword [esi + 0x16bc], eax
call fcn.1013e310
mov esi, dword [edi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x84]
add esp, 0xc
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x102e1c2a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x102e1c28]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x102e1c2c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x102e1c2e]
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop edi
ret
Function at 0x1014ccd0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebx
mov ebx, edx
mov edx, ecx
push esi
mov ecx, ebx
xor esi, esi
push edi
shr ecx, 2
xor edi, edi
test ecx, ecx
je 0x1014cd07
imul eax, dword [edx + esi*4], 0xcc9e2d51
inc esi
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edi, eax
rol edi, 0xd
add edi, 0xfaddaf14
lea edi, [edi + edi*4]
cmp esi, ecx
jb 0x1014cce4
mov eax, ebx
lea edx, [edx + ecx*4]
and eax, 3
xor ecx, ecx
sub eax, 1
je 0x1014cd30
sub eax, 1
je 0x1014cd27
sub eax, 1
jne 0x1014cd46
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edi, eax
xor edi, ebx
mov eax, edi
shr eax, 0x10
xor eax, edi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x10169390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x64
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xorps xmm1, xmm1
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
push ebp
mov ebp, dword [esp + 0x7c]
movss xmm2, dword [ebx]
movss xmm0, dword [ebx + 8]
subss xmm0, xmm2
mov dword [esp + 0xc], eax
push esi
mov esi, dword [esp + 0x78]
push edi
comiss xmm1, xmm0
movss dword [esp + 0x1c], xmm0
jae 0x10169577
test eax, eax
je 0x10169577
lea edi, [eax + esi]
movzx eax, word [ebp + 0x42]
and eax, 3
mov dword [esp + 0x30], edi
sub eax, 0
je 0x10169405
sub eax, 1
jne 0x10169408
mulss xmm0, dword [0x102ff070]
jmp 0x10169408
xorps xmm0, xmm0
addss xmm2, xmm0
mov ecx, ebp
lea eax, [esp + 0x34]
push eax
movss dword [esp + 0x30], xmm2
xorps xmm2, xmm2
call fcn.1014ed40
cmp byte [ebx + 0x18], 1
movaps xmm2, xmm0
movss xmm0, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0xc]
mulss xmm0, xmm2
movss dword [esp + 0x24], xmm2
addss xmm0, dword [ebx + 0x14]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebx + 4]
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
jne 0x10169496
cmp byte [ebx + 0x19], 0
je 0x10169496
movss xmm3, dword [esp + 0x1c]
mov ecx, esi
mov edx, dword [esp + 0x14]
push ebp
call fcn.101692f0
movss xmm2, dword [esp + 0x28]
add esp, 4
movss xmm1, dword [esp + 0x18]
dec eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esp + 0x20]
addss xmm2, xmm0
movss xmm0, dword [ebx + 4]
movzx eax, byte [ebx + 0x19]
sub eax, 0
je 0x101694b2
subss xmm1, xmm2
sub eax, 1
jne 0x101694b5
mulss xmm1, dword [0x102ff070]
jmp 0x101694b5
xorps xmm1, xmm1
subss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm0
movss xmm3, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push ebp
mov edx, edi
mov ecx, esi
call fcn.10169100
movss xmm0, dword [esp + 0x48]
add esp, 8
movss xmm1, dword [esp + 0x14]
mov edi, eax
addss xmm0, xmm1
addss xmm0, dword [esp + 0x48]
comiss xmm0, dword [0x102fef60]
jbe 0x10169528
mov ecx, dword [esp + 0x28]
movss xmm0, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
push ebp
mov edx, dword [ecx]
sub esp, 8
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push eax
push esi
call dword [edx + 4]
movss xmm1, dword [esp + 0x14]
add esi, edi
mov edi, dword [esp + 0x30]
cmp esi, edi
jae 0x10169552
addss xmm1, dword [esp + 0x20]
movss xmm0, dword [esp + 0x3c]
addss xmm0, xmm1
movss dword [esp + 0x14], xmm1
comiss xmm0, dword [ebx + 0xc]
jb 0x101694c5
movss xmm0, dword [esp + 0x40]
addss xmm0, xmm1
addss xmm0, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.102af895
add esp, 0x64
ret 0x10
movss xmm0, dword [ebx + 4]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.102af895
add esp, 0x64
ret 0x10
Function at 0x10196800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [0x1036900c]
xor eax, esp
mov dword [esp + 0x60], eax
mov edx, dword [edx]
push ebx
mov ebx, dword [esp + 0x74]
push esi
mov eax, dword [edx + 0x1c]
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov eax, dword [edx + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x20]
sub eax, dword [edx + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x30]
push edi
mov edi, dword [esp + 0x78]
sub eax, 4
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
push 1
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov word [esp + 0x3c], 0
mov byte [esp + 0x3f], 0
call fcn.10153ab0
cmp eax, 6
je 0x101969e2
movss xmm1, dword [0x102ff070]
nop
cmp eax, 5
ja case.0x10196899.3
jmp dword [eax*4 + 0x101969f4]
push ebx
push edi
push 1
lea edx, [esp + 0x58]
lea ecx, [esp + 0x40]
call fcn.10196670
add esp, 0xc
lea ecx, [esp + 0xc]
push 0
push 0
push esi
call fcn.101949a0
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push 0
xorps xmm2, xmm2
mov eax, dword [eax + 0x28]
mov dword [esi + 4], eax
call fcn.10153300
movss xmm0, dword [esp + 0x34]
mov cl, 2
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [eax + 4], xmm0
lea eax, [esi + 0xa]
mov byte [esi + 9], 0
xchg byte [eax], cl
jmp case.0x10196899.3
movss xmm0, dword [esp + 0x54]
lea edx, [esp + 0x4c]
addss xmm0, dword [esp + 0x4c]
mulss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [esp + 0x50]
mulss xmm0, xmm1
movss dword [esp + 0x50], xmm0
push ebx
push edi
push 2
lea ecx, [esp + 0x40]
call fcn.10196670
movss xmm0, dword [esp + 0x4c]
add esp, 8
movss xmm3, dword [esp + 0x40]
mov ecx, esi
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x38]
movss dword [esp], xmm0
call fcn.101550d0
jmp case.0x10196899.3
lea edx, [esp + 0x54]
jmp 0x1019692d
push ebx
push edi
push 3
lea edx, [esp + 0x60]
lea ecx, [esp + 0x40]
call fcn.10196670
movss xmm0, dword [esp + 0x54]
mov ecx, esi
movss xmm3, dword [esp + 0x48]
movss xmm2, dword [esp + 0x44]
movss xmm1, dword [esp + 0x40]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x50]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x4c]
movss dword [esp], xmm0
call fcn.10155320
jmp case.0x10196899.3
mov ecx, esi
call fcn.101553e0
push 0
push 1
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.10153ab0
movss xmm1, dword [0x102ff070]
cmp eax, 6
jne 0x10196890
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.102af895
add esp, 0x68
ret
Function at 0x101b4a50
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push ecx
mov ebx, edx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_osfhandle]
mov esi, eax
add esp, 4
cmp esi, 0xffffffff
je 0x101b4af4
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x101b4af4
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x101b4af4
mov ecx, dword [esp + 0x10]
jg 0x101b4af4
test ecx, ecx
jb 0x101b4af4
test eax, eax
jg 0x101b4af4
jl 0x101b4aa0
cmp ecx, 0xffffffff
ja 0x101b4af4
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x101b4ae2
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x101b4ae2
mov eax, dword [esp + 0x10]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101efbe0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sar dword [esp + 4], 3
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov ebp, ecx
push edi
sub ebp, edx
movzx eax, word [edx]
lea edx, [edx + 2]
movzx ecx, word [edx + ebp - 2]
mov esi, eax
and esi, 0x7e0
mov edi, ecx
and edi, 0x7e0
shl esi, 0x10
shl edi, 0x10
or esi, eax
or edi, ecx
and esi, 0xfffff81f
and edi, 0xfffff81f
dec ebx
sub edi, esi
imul edi, dword [esp + 0x14]
shr edi, 5
add edi, esi
mov eax, edi
shr eax, 0x10
xor eax, edi
and eax, 0x7e0
xor eax, edi
mov word [edx - 2], ax
test ebx, ebx
jg 0x101efbf1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x102229e0
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
cmp byte [0x10371ac2], 0
jne 0x10222a47
push esi
or eax, 0xffffffff
mov esi, 0x1036939c
lock xadd dword [esi], eax
test eax, eax
jg 0x10222a0b
mov ecx, esi
call fcn.10172b50
push 0xffffffffffffffff
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x10371ac2], 0
jne 0x10222a26
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x10371ae0], eax
mov byte [0x10371ac2], 1
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jns 0x10222a46
mov ecx, esi
call fcn.10172b50
push 0
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop esi
push dword [0x10371ae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
ret

Function at 0x10222a70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 3
je 0x10222a7d
test eax, eax
jne 0x10222ad1
cmp byte [0x10371ac2], 0
je 0x10222ad1
push esi
push dword [0x10371ae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10222ad0
push edi
nop word [eax + eax]
mov eax, dword [esi + 0xc]
mov edi, dword [esi]
test eax, eax
je 0x10222ab1
push dword [esi + 4]
call eax
add esp, 4
push 0x10
push esi
call fcn.102afe02
add esp, 8
mov esi, edi
test edi, edi
jne 0x10222aa0
push edi
push dword [0x10371ae0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
ret 0xc
Function at 0x102acd70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1036900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x102ace6a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x102ace63
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x102ace49
call ebx
cmp dword [ebp - 0x14], eax
jne 0x102ace49
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x102ace49
mov edx, dword [esi]
test edx, edx
jne 0x102ace12
push 0x200
push edx
push dword [0x1036e60c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x102ace63
jmp 0x102ace3d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x102ace3d
shl eax, 3
push eax
push edx
push 0
push dword [0x1036e60c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x102ace63
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x102acdd1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x102aceaf
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x102aceaf
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x102acea9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.102acb00
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x102ace76
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.102af895
mov esp, ebp
pop ebp
ret

Function at 0x102acec0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
test eax, eax
je 0x102acf0e
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x102acefe
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x102acef5
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x102aced2
mov eax, dword [ebx]
pop edi
push eax
push 0
push dword [0x1036e60c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret