joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100378ac
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100378e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.10037915
add esp, 0x10
jmp 0x10037911
lea eax, [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100378fd
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x10037911
push 0
push 0xdf6
push 0
push 0xe76
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov esp, ebp
pop ebp
ret

Function at 0x10038398
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10038400
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100383d9
push 0
push 0x2487
push 0x23b0
push 0x690
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
jmp 0x100383fe
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100383fe
push 0x11d2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x1003843f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
push 0x2cb0
push 0x9e5
push dword [ebp - 0x14]
push 0x1a7d
push 0x4b4a
push 0xf7d
push 1
push 0x289f
push dword [ebp - 0x18]
push 0x5ee7
call fcn.1002f96d
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x1005d9f5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10068750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1004fb98
mov dword [ebp - 0x14], eax
cmp dword [0x1060b91c], esi
jne 0x1005dae8
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005da75
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005dbc8
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005dbc8
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005dbc8
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1060b91c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x1060b920], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x1060b924], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060b92c], eax
test eax, eax
je 0x1005dae5
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060b928], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005db0d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005db00
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005db22
push 4
pop eax
jmp 0x1005dbca
cmp dword [ebp - 0x14], esi
je 0x1005db22
push dword [0x1060b91c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005db07
mov eax, dword [0x1060b928]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005db80
cmp dword [0x1060b92c], edi
je 0x1005db80
push eax
call ebx
push dword [0x1060b92c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005db80
test eax, eax
je 0x1005db80
call ecx
test eax, eax
je 0x1005db75
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005db75
test byte [ebp - 8], 1
jne 0x1005db80
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005dbb0
mov eax, dword [0x1060b920]
cmp eax, edi
je 0x1005dbad
push eax
call ebx
test eax, eax
je 0x1005dbad
call eax
mov esi, eax
test esi, esi
je 0x1005dbad
mov eax, dword [0x1060b924]
cmp eax, edi
je 0x1005dbad
push eax
call ebx
test eax, eax
je 0x1005dbad
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060b91c]
call ebx
test eax, eax
je 0x1005dbc8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005dbca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004d0ac
mov esp, ebp
pop ebp
ret
Function at 0xe44580
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe446d0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe445a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe44592
add dl, dl
jne 0xe445b1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe44604
xor eax, eax
add dl, dl
jne 0xe445be
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe446a5
add dl, dl
jne 0xe445cd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe445d8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe445e3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe445ee
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe445fa
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe4459d
mov eax, 1
add dl, dl
jne 0xe44612
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe4461d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe44609
sub eax, ebx
mov ebx, 1
jne 0xe44650
mov ecx, 1
add dl, dl
jne 0xe44636
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe44641
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe4462d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe4459d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe44667
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe44672
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe4465e
cmp eax, 0x7d00
jae 0xe44695
cmp eax, 0x500
jb 0xe44690
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe4459d
cmp eax, 0x7f
ja 0xe44698
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe4459d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe446c6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe4459d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x467fbc
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00467e33

Function at 0x404b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x404b33
pop dword [ebp - 8]
mov eax, 0x404b33
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x35db5217
add dword [ebp - 0x18], 0x1876f334
mov dword [ebp - 0x14], 0x73c0bc6e
add dword [ebp - 0x14], 0xbe728fd7
mov dword [ebp - 0x10], 0xdf299c67
sub dword [ebp - 0x10], 0x92dd5839
mov dword [ebp - 0xc], 0x85396d28
sub dword [ebp - 0xc], 0x85396d28
lea eax, [ebp - 0x18]
push eax
mov eax, 0xc60a447c
sub eax, 0xc5c81408
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x57c3aaf6
sub dword [ebp - 0x18], 0xe35141a0
mov dword [ebp - 0x14], 0xeb4f9a3d
add dword [ebp - 0x14], 0x561cc738
mov dword [ebp - 0x10], 0xc23bf9b6
add dword [ebp - 0x10], 0xa13372b6
mov dword [ebp - 0xc], 0xc69687e1
add dword [ebp - 0xc], 0x3969781f
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xc9cabb0c
add eax, 0x36777618
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3b67c
push 0
call eax
mov ecx, 0x3ebb
mov esi, eax
mov edx, 0xb43d0b53
add edx, 0x4c0638ad
add edx, dword [ebp - 8]
mov edi, 0x980bd2a5
sub dword [ebp - 4], edi
mov ebx, dword [edx]
add dword [ebp - 4], eax
sub ebx, edi
xor dword [ebp - 4], edi
mov dword [esi], ebx
sub dword [ebp - 4], 0x819b0f7f
add esi, 0xe2332f58
add esi, 0x1dccd0ac
add edx, 4
loop 0x404c44
add eax, 0x565e7dfa
add eax, 0xa9a26fc5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x560510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe6000]
push edi
or ebp, 0xffffffff
jmp 0x560532
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x560539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x560528
mov eax, 1
add ebx, ebx
jne 0x56054b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56055c
jne 0x56056c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56056c
dec eax
add ebx, ebx
jne 0x560568
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x560540
xor ecx, ecx
sub eax, 3
jb 0x560584
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5605f6
sar eax, 1
mov ebp, eax
jmp 0x56058f
add ebx, ebx
jne 0x56058f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x56059c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5605c0
inc ecx
add ebx, ebx
jne 0x5605ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5605a1
jne 0x5605bd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5605a1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5605e0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5605d1
jmp 0x56052e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5605e0
add edi, ecx
jmp 0x56052e
pop esi
mov edi, esi
mov ecx, 0x4fa1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5605fe
cmp byte [edi], 0x1b
jne 0x5605fe
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x560603
lea edi, [esi + 0x15d000]
mov eax, dword [edi]
or eax, eax
je 0x560672
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x168860]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x168964]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x560630
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x168968]
or eax, eax
je 0x56066c
mov dword [ebx], eax
add ebx, 4
jmp 0x56064d
call dword [esi + 0x16896c]
popal
jmp 0x4b59e4
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40611c
pop dword [ebp - 0x50]
mov eax, 0x99b08174
sub eax, 0x99702058
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xd62279fe
sub dword [ebp - 0x60], 0x87d034b3
mov dword [ebp - 0x5c], 0xe997e1a7
sub dword [ebp - 0x5c], 0xb7649562
mov dword [ebp - 0x58], 0x9e6af1b7
add dword [ebp - 0x58], 0xade15277
mov dword [ebp - 0x54], 0x89009117
sub dword [ebp - 0x54], 0x89009117
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xaa8a125
add dword [ebp - 0x60], 0x69c9c831
mov dword [ebp - 0x5c], 0x8bf29200
sub dword [ebp - 0x5c], 0x4a86308b
mov dword [ebp - 0x58], 0x386c9aa2
sub dword [ebp - 0x58], 0xd4fd2e36
mov dword [ebp - 0x54], 0xbe3a1902
add dword [ebp - 0x54], 0x41c5e6fe
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x4e3804db
sub eax, 0x4df793db
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x35497
push 0
call eax
mov ecx, 0x42b7
mov edi, eax
mov esi, 0x848669b8
sub esi, 0x844569b8
add esi, dword [ebp - 0x50]
mov ebx, 0x6f673d70
sub ebx, 0x672ab42
add dword [ebp - 0x24], eax
mov edx, dword [esi]
xor dword [ebp - 4], 0xf850c3bc
xor edx, ebx
add dword [ebp - 0x30], 0x992de6c5
mov dword [edi], edx
xor dword [ebp - 0x30], eax
add edi, 4
add esi, 0x97e29036
add esi, 0x681d6fce
loop 0x406233
add eax, 0x8af975d5
add eax, 0x750787da
mov ebx, eax
add eax, 0x29534b8a
add eax, 0xd6acb47b
mov ecx, 0x2a6682f4
add ecx, 0xd5d97d0c
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x10002780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10058300
push 0x64
mov edi, edx
mov esi, ecx
call fcn.10052044
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10002989
push 0x64
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
lea eax, [ebx + 4]
mov byte [ebx], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [ebx + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x10115c44], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10001560
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x100e4a48
mov dword [0x1011a07c], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x1000285b
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x100e4a74]
cmp eax, 0x7fffffff
jne 0x10002875
dec eax
push 6
mov dword [0x100e4a74], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test edi, edi
je 0x1000288a
movups xmm0, xmmword [edi]
movups xmmword [0x10115e48], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10002894
xorps xmm0, xmm0
movups xmmword [0x10115e48], xmm0
movq qword [0x10115e58], xmm0
xorps xmm0, xmm0
push 0x100e4a48
movups xmmword [0x10116060], xmm0
movq qword [0x10116070], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x1011a180], 0
jne 0x10002993
mov dword [0x10105af0], 0x1006d984
test esi, esi
je 0x100028fe
cmp byte [esi], 0
mov ecx, 0x10105b00
je 0x100028fb
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x100028fb
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x100028e8
mov byte [ecx], 0
mov esi, dword [0x10115c44]
mov al, 1
mov dword [0x1011a180], 0x10105af0
mov dword [0x10105af8], 0x10002d90
mov dword [0x10105afc], 0x10002da0
xchg byte [esi], al
push 4
call fcn.10052014
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100034f0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x1000297a
cmp dword [esi + 0x60], 0
je 0x10002960
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10052006
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x10115c44], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10052006
mov esp, ebp
pop ebp
ret
Function at 0x10002e80
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1006d040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100e4a48
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10002eaa
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x100e4a74], 0x7fffffff
jne 0x10002ec8
push 6
mov dword [0x100e4a74], 0x7ffffffe
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
cmp dword [0x1011606c], 0
jne 0x10002f1b
cmp dword [0x10115e54], 0
je 0x10002f5e
mov dword [ebp - 0x14], 0x5448585b
xor ecx, ecx
mov dword [ebp - 0x10], 0x78745648
mov dword [ebp - 0xc], 0x6c6b697d
mov word [ebp - 8], 0x68
mov byte [ebp - 6], 1
nop
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 0xd
jb 0x10002f00
lea ecx, [ebp - 0x14]
mov byte [ebp - 6], 0
call fcn.100026a0
jmp 0x10002f5e
cmp dword [0x10115e54], 0
jne 0x10002f5e
mov dword [ebp - 0x14], 0x5448585b
xor ecx, ecx
mov dword [ebp - 0x10], 0x78745648
mov dword [ebp - 0xc], 0x6c6b697d
mov word [ebp - 8], 0x68
mov byte [ebp - 6], 1
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x14], al
inc ecx
cmp ecx, 0xd
jb 0x10002f45
lea ecx, [ebp - 0x14]
mov byte [ebp - 6], 0
call fcn.10002710
cmp dword [0x10116070], 0
jne 0x10002fa2
cmp dword [0x10115e58], 0
je 0x10002fdb
movaps xmm0, xmmword [0x10068e70]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x6f
mov byte [ebp - 6], 1
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x11
jb 0x10002f87
lea ecx, [ebp - 0x18]
mov byte [ebp - 6], 0
call fcn.100026a0
jmp 0x10002fdb
cmp dword [0x10115e58], 0
jne 0x10002fdb
movaps xmm0, xmmword [0x10068e70]
xor ecx, ecx
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x6f
mov byte [ebp - 6], 1
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x11
jb 0x10002fc2
lea ecx, [ebp - 0x18]
mov byte [ebp - 6], 0
call fcn.10002710
cmp dword [0x10116074], 0
jne 0x1000302b
cmp dword [0x10115e5c], 0
je 0x1000306b
movaps xmm0, xmmword [0x10068dc0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x7e697e7b
mov word [ebp - 8], 0x7a
mov byte [ebp - 6], 1
nop
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0x15
jb 0x10003010
lea ecx, [ebp - 0x1c]
mov byte [ebp - 6], 0
call fcn.100026a0
jmp 0x1000306b
cmp dword [0x10115e5c], 0
jne 0x1000306b
movaps xmm0, xmmword [0x10068dc0]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x7e697e7b
mov word [ebp - 8], 0x7a
mov byte [ebp - 6], 1
lea eax, [ecx + 0x1a]
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 0x15
jb 0x10003052
lea ecx, [ebp - 0x1c]
mov byte [ebp - 6], 0
call fcn.10002710
movups xmm0, xmmword [0x10115e48]
push 0x100e4a48
movups xmmword [0x10116060], xmm0
movq xmm0, qword [0x10115e58]
movq qword [0x10116070], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.10052006
mov esp, ebp
pop ebp
ret
Function at 0x100030b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x100030d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x100030c0
mov byte [esi + 9], 0
pop esi
ret

Function at 0x100030e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x10003102
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x100030f0
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x10003110
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x10003132
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x10003120
mov byte [esi + 7], 0
pop esi
ret

Function at 0x10003140
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x10003162
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x10003150
mov byte [esi + 0xe], 0
pop esi
ret

Function at 0x10003170
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x10003192
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x10003180
mov byte [esi + 8], 0
pop esi
ret

Function at 0x100031a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x100031c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x100031b0
mov byte [esi + 5], 0
pop esi
ret

Function at 0x100031d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x100031f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x100031e0
mov byte [esi + 6], 0
pop esi
ret
Function at 0x10003c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x1011a180]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10003ce7
mov eax, dword [edi]
test eax, eax
je 0x10003ca0
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10003ca0
test ebx, ebx
je 0x10003ca0
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10003ca0
cmp dword [ebp + 0xc], esi
je 0x10003ce7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10003cc0
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10003cb4
cmp eax, 1
jne 0x10003cc0
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10004200
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x10004222
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1b]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x10004210
mov byte [esi + 0xc], 0
pop esi
ret
Function at 0x10007db0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x10007dd2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1b]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x10007dc0
mov byte [esi + 0xa], 0
pop esi
ret

Function at 0x10007de0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x10007e02
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x1b]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x10007df0
mov byte [esi + 0xd], 0
pop esi
ret