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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x100393ba
pop esi
mov eax, edx
pop ebp
ret 4

Function at 0x10039801
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xf], 0x7c
xor ecx, ecx
mov byte [ebp - 0xe], 0x7d
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x6a
mov byte [ebp - 0xb], 0x76
mov byte [ebp - 0xa], 0x43
mov byte [ebp - 9], 0x38
mov byte [ebp - 8], 0x38
mov byte [ebp - 7], 0x7b
mov byte [ebp - 6], 0x7e
mov byte [ebp - 5], 0x77
mov byte [ebp - 4], 0x38
mov byte [ebp - 3], 0x2e
mov byte [ebp - 2], 0x6d
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xf]
sub byte [ebp + ecx - 0xf], 9
inc ecx
cmp ecx, 0xe
jb 0x10039847
mov eax, dword [0x1018a388]
push dword [eax + 0x108]
lea eax, [ebp - 0xf]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100395ca
add esp, 0x10
xor eax, eax
leave
ret 8

Function at 0x1003a947
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008b32c
call fcn.10089e2c
sub esp, 0xc
push esi
push 0xc
push 0x100d3180
push 0x14b
xor esi, esi
call fcn.10038686
push 4
call fcn.1007a692
mov dword [ebp - 0x10], eax
mov dword [eax], 0x1003a92a
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
push ecx
push esi
push eax
push 0x1003a9e9
push esi
push esi
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003a9b3
inc esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x14], 0
je 0x1003a9c9
push dword [ebp - 0x14]
push eax
call fcn.1007968d
pop ecx
pop ecx
test eax, eax
jne 0x1003a9c9
jmp 0x1003a9ba
mov dword [ebp - 0x14], esi
push 6
jmp 0x1003a9ca
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
push esi
call fcn.100794de
int3
Function at 0x1003b972
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor ecx, ecx
mov al, byte [ecx + 0x1018a738]
mov byte [ecx + 0x1018b220], al
inc ecx
test al, al
jne 0x1003b97a
mov byte [ebp - 9], 0x30
mov byte [ebp - 8], 0x6a
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x62
mov byte [ebp - 5], 0x68
mov byte [ebp - 4], 0x66
mov byte [ebp - 3], 0x74
mov byte [ebp - 2], 0x30
mov byte [ebp - 1], al
mov al, byte [ebp - 9]
xor eax, eax
dec byte [ebp + eax - 9]
inc eax
cmp eax, 8
jb 0x1003b9b3
push ebx
push esi
lea edx, [ebp - 9]
push edi
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003b9c5
mov ebx, 0x1018b220
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9d6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1003b9f1
sub edx, esi
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1003b9fd
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1003ba37
mov ecx, ebx
call fcn.100440dd
push ecx
push dword [ebp + 8]
call fcn.1005b4e6
test al, al
jne 0x1003ba37
mov byte [0x1018b220], al
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x1003c75c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [0x1018a388]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebx
mov edi, dword [edi + 0x254]
mov esi, dword [edi]
jmp 0x1003c8fe
mov eax, dword [0x1018a388]
cmp byte [eax + 0x124], 0
jne 0x1003c7f5
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], 0x76
mov byte [esp + 0x2c], 0x73
mov byte [esp + 0x2d], 0x71
mov byte [esp + 0x2e], 0x73
mov byte [esp + 0x2f], 0
mov al, byte [esp + 0x2a]
xor eax, eax
sub byte [esp + eax + 0x2a], 4
inc eax
cmp eax, 5
jb 0x1003c7b7
lea eax, [esp + 0x2a]
push eax
lea ecx, [esp + 0x54]
call fcn.1000b091
lea eax, [esp + 0x50]
or ebx, 1
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ebx
push eax
lea ecx, [esi + 0xc]
call fcn.1003d433
mov byte [esp + 0x13], 0
mov eax, dword [eax]
cmp eax, dword [esi + 0x10]
je 0x1003c7fa
mov byte [esp + 0x13], 1
test bl, 1
je 0x1003c80f
and ebx, 0xfffffffe
lea ecx, [esp + 0x50]
mov dword [esp + 0x14], ebx
call fcn.1000b2aa
cmp byte [esp + 0x13], 0
je 0x1003c8fc
mov byte [esp + 0x43], 0x6a
mov byte [esp + 0x44], 0x75
mov byte [esp + 0x45], 0x66
mov byte [esp + 0x46], 0x6e
mov byte [esp + 0x47], 0x60
mov byte [esp + 0x48], 0x72
mov byte [esp + 0x49], 0x76
mov byte [esp + 0x4a], 0x62
mov byte [esp + 0x4b], 0x6d
mov byte [esp + 0x4c], 0x6a
mov byte [esp + 0x4d], 0x75
mov byte [esp + 0x4e], 0x7a
mov byte [esp + 0x4f], 0
mov al, byte [esp + 0x43]
xor eax, eax
dec byte [esp + eax + 0x43]
inc eax
cmp eax, 0xc
jb 0x1003c861
lea eax, [esp + 0x43]
push eax
lea ecx, [esp + 0x54]
call fcn.1000b091
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esi + 0xc]
call fcn.1003d433
lea ecx, [esp + 0x50]
call fcn.1000b2aa
mov eax, dword [esp + 0x20]
lea ecx, [esi + 8]
cmp eax, dword [ecx + 8]
je 0x1003c8de
add eax, 0x20
mov dword [esp + 0x18], eax
cmp dword [eax + 0x14], 0xf
jbe 0x1003c8b3
mov eax, dword [eax]
mov dword [esp + 0x18], eax
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x34]
push eax
lea ecx, [ecx + 0x238]
call fcn.1003d590
push dword [esp + 0x18]
mov ebx, dword [eax]
call dword [sym.imp.msvcrt.dll_atoi]
mov dword [ebx + 0xc], eax
mov ebx, dword [esp + 0x18]
pop ecx
jmp 0x1003c8fc
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
lea ecx, [ecx + 0x238]
call fcn.1003d590
mov eax, dword [eax]
mov dword [eax + 0xc], 1
mov esi, dword [esi]
cmp esi, edi
jne 0x1003c785
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003f00b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1008b739
call fcn.10089e2c
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], vtable.ISteamRemoteStorage004.0
mov dword [edi + 8], vtable.ISteamRemoteStorage005.0
mov dword [edi + 0xc], vtable.ISteamRemoteStorage006.0
mov dword [edi + 0x10], vtable.ISteamRemoteStorage008.0
mov dword [edi + 0x14], vtable.ISteamRemoteStorage010.0
mov dword [edi + 0x18], vtable.ISteamRemoteStorage011.0
mov dword [edi + 0x1c], vtable.ISteamRemoteStorage012.0
mov dword [edi + 0x20], vtable.ISteamRemoteStorage013.0
mov dword [edi + 0x24], vtable.ISteamRemoteStorage014.0
mov dword [edi + 0x28], vtable.ISteamRemoteStorage016.0
mov dword [edi], vtable.IMySteamRemoteStorage.7.0
mov dword [edi + 4], vtable.IMySteamRemoteStorage.6.0
mov dword [edi + 8], vtable.IMySteamRemoteStorage.5.0
mov dword [edi + 0xc], vtable.IMySteamRemoteStorage.10.0
mov dword [edi + 0x10], vtable.IMySteamRemoteStorage.2.0
mov dword [edi + 0x14], vtable.IMySteamRemoteStorage.8.0
mov dword [edi + 0x18], vtable.IMySteamRemoteStorage.0
mov dword [edi + 0x1c], vtable.IMySteamRemoteStorage.3.0
mov dword [edi + 0x20], vtable.IMySteamRemoteStorage.9.0
mov dword [edi + 0x24], vtable.IMySteamRemoteStorage.4.0
mov dword [edi + 0x28], vtable.IMySteamRemoteStorage.1.0
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [ebp - 4], ebx
lea esi, [edi + 0x38]
mov dword [ebp - 0x14], esi
and dword [esi], ebx
push 0x24
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1007a692
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov byte [ebp - 4], 2
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
call fcn.1000b2db
lea ecx, [edi + 0x58]
mov byte [ebp - 4], 3
call fcn.1003f154
push ebx
mov ecx, edi
call fcn.1003ed00
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100429a7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008b338
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov dword [esi], vtable.IMySteamUserStats.4.0
mov dword [esi + 4], vtable.IMySteamUserStats.1.0
mov dword [esi + 8], vtable.IMySteamUserStats.5.0
mov dword [esi + 0xc], vtable.IMySteamUserStats.7.0
mov dword [esi + 0x10], vtable.IMySteamUserStats.6.0
mov dword [esi + 0x14], vtable.IMySteamUserStats.8.0
mov dword [esi + 0x18], vtable.IMySteamUserStats.3.0
mov dword [esi + 0x1c], vtable.IMySteamUserStats.2.0
mov dword [esi + 0x20], vtable.IMySteamUserStats.0
call fcn.10042a37
lea ecx, [esi + 0x50]
call fcn.1000ac08
lea ecx, [esi + 0x48]
call fcn.10043705
lea ecx, [esi + 0x30]
call fcn.1000ac08
lea ecx, [esi + 0x28]
call fcn.1000ac8d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x100440dd
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x208]
sub esp, 0x208
sub edx, ecx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x100440ee
push esi
mov esi, dword [sym.imp.msvcrt.dll_strrchr]
lea eax, [ebp - 0x208]
push edi
push 0x5c
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x208]
push 0x2f
push eax
call esi
add esp, 0x10
cmp eax, edi
cmova edi, eax
test edi, edi
je 0x100441bb
lea eax, [ebp - 0x208]
mov byte [edi + 1], 0
push 0x1009bdb8
push eax
call dword [sym.imp.msvcrt.dll_strtok]
mov byte [ebp - 0x104], 0
jmp 0x100441b3
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10044149
lea edi, [ebp - 0x104]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10044159
mov ecx, edx
lea eax, [ebp - 0x104]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1004418e
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edi, [ebp - 0x104]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10044195
mov ax, word [0x1009bdb0]
push 0x1009bdb4
push 0
mov word [edi], ax
call dword [sym.imp.msvcrt.dll_strtok]
mov edx, eax
pop ecx
pop ecx
test edx, edx
jne 0x10044147
pop edi
pop esi
leave
ret
Function at 0x10049d8f
Capabilities:
Create thread

Disassembly:
mov eax, 0x1008bb8c
call fcn.10089e2c
push ecx
push ebx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.1007a692
mov edx, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], esi
mov edx, dword [edx]
mov dword [esi], edx
mov ecx, dword [0x1018a5a4]
mov dword [esi + 4], ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
xor eax, eax
lea ebx, [edi + 4]
push ebx
push eax
push esi
push 0x10049e19
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x10049dfd
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
and dword [ebx], 0
push 6
call fcn.100794de
int3
Function at 0x1004a9e1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008bc49
call fcn.10089e2c
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1004bd47
lea edi, [esi + 0x80]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.1005d56c
mov byte [ebp - 4], 1
lea ecx, [esi + 0xd4]
mov dword [esi], vtable.GlRender.0
mov dword [edi], vtable.GlRender.1.0
call fcn.1004ade2
mov byte [ebp - 4], 2
mov byte [ebp - 0x1f], 0x7c
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x71
mov byte [ebp - 0x1c], 0x58
mov byte [ebp - 0x1b], 0x7c
mov byte [ebp - 0x1a], 0x66
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x7a
mov byte [ebp - 0x16], 0x6b
mov byte [ebp - 0x15], 0x6b
mov byte [ebp - 0x14], 0x6a
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x78
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x1f]
sub byte [ebp + ebx - 0x1f], 5
inc ebx
cmp ebx, 0xe
jb 0x1004aa6a
lea eax, [ebp - 0x1f]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1004aaa1
push 1
push 1
push 0x1004a985
push eax
mov ecx, edi
call fcn.1005c180
mov dword [0x1018aa48], esi
mov byte [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1004b668
Capabilities:
Contain obfuscated stackstrings
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x1018a388]
sub esp, 0x18
mov eax, dword [eax + 0x120]
push ebx
push esi
mov esi, ecx
sub eax, 1
je 0x1004b80a
sub eax, 1
jne 0x1004b820
mov byte [esp + 0xf], 0x47
xor ebx, ebx
mov byte [esp + 0x10], 0x6c
mov byte [esp + 0x11], 0x76
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x64
mov byte [esp + 0x14], 0x77
mov byte [esp + 0x15], 0x66
mov byte [esp + 0x16], 0x6b
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x68
mov byte [esp + 0x19], 0x76
mov byte [esp + 0x1a], 0x76
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], 0x6a
mov byte [esp + 0x1d], 0x68
mov byte [esp + 0x1e], 0x44
mov byte [esp + 0x1f], bl
mov al, byte [esp + 0xf]
mov eax, ebx
sub byte [esp + eax + 0xf], 3
inc eax
cmp eax, 0x10
jb 0x1004b6ee
mov byte [esp + 8], 0x59
mov byte [esp + 9], 0x77
mov byte [esp + 0xa], 0x69
mov byte [esp + 0xb], 0x76
mov byte [esp + 0xc], 0x37
mov byte [esp + 0xd], 0x36
mov byte [esp + 0xe], bl
mov al, byte [esp + 8]
mov eax, ebx
sub byte [esp + eax + 8], 4
inc eax
cmp eax, 6
jb 0x1004b721
push 1
push 1
push 0x1004b5da
push ecx
lea eax, [esp + 0x1f]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1005da39
pop ecx
push eax
mov ecx, esi
call fcn.1005c180
mov byte [esp + 0xf], 0x4b
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], 0x7a
mov byte [esp + 0x12], 0x77
mov byte [esp + 0x13], 0x68
mov byte [esp + 0x14], 0x7b
mov byte [esp + 0x15], 0x6a
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x18], 0x6c
mov byte [esp + 0x19], 0x7a
mov byte [esp + 0x1a], 0x7a
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x6c
mov byte [esp + 0x1e], 0x5e
mov byte [esp + 0x1f], bl
mov al, byte [esp + 0xf]
mov eax, ebx
sub byte [esp + eax + 0xf], 7
inc eax
cmp eax, 0x10
jb 0x1004b7a8
mov byte [esp + 8], 0x61
mov byte [esp + 9], 0x7f
mov byte [esp + 0xa], 0x71
mov byte [esp + 0xb], 0x7e
mov byte [esp + 0xc], 0x3f
mov byte [esp + 0xd], 0x3e
mov byte [esp + 0xe], bl
mov al, byte [esp + 8]
sub byte [esp + ebx + 8], 0xc
inc ebx
cmp ebx, 6
jb 0x1004b7d9
push 1
push 1
push 0x1004b5da
push ecx
lea eax, [esp + 0x1f]
mov ecx, esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.1005da39
pop ecx
push eax
mov ecx, esi
call fcn.1005c180
jmp 0x1004b820
xor ebx, ebx
push ebx
push ebx
push 0x1004b53f
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1018ad10], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004cddd
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1008c175
call fcn.10089e2c
sub esp, 0x24c
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
and dword [esi], eax
push edi
push 0x24
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.1007a692
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0xc]
xor eax, eax
inc ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 8
mov byte [ebp - 4], 2
pop edi
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], edi
mov dword [esi], 0x3f800000
call fcn.1000b2db
and dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1004cf01
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x224
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x1004cef6
mov al, byte [ebp - 0x238]
lea edi, [ebp - 0x238]
jmp 0x1004cea8
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_toupper]
mov byte [edi], al
inc edi
pop ecx
mov al, byte [edi]
test al, al
jne 0x1004ce98
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000b091
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.1000b995
mov ecx, dword [eax]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
mov dword [ecx + 0x20], eax
lea ecx, [ebp - 0x34]
call fcn.1000b2aa
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x1004ce8a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10051689
Capabilities:
Contain obfuscated stackstrings
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 0xa], 0x57
xor ecx, ecx
mov byte [ebp - 9], 0x78
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x71
mov byte [ebp - 5], 0x54
mov byte [ebp - 4], 0x65
mov byte [ebp - 3], 0x78
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xa]
sub byte [ebp + ecx - 0xa], 4
inc ecx
cmp ecx, 9
jb 0x100516bb
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0xa]
push edi
mov esi, 0x1018e680
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x100516ea
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1005a4c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], edx
push edi
push eax
mov dword [ebp - 8], eax
xor edi, edi
xor esi, esi
xor ebx, ebx
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
jne 0x1005a550
cmp ebx, edi
jne 0x1005a50b
lea eax, [edi + 0x3e8]
mov edx, edi
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.100590cd
pop ecx
test eax, eax
je 0x1005a587
mov edi, dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
push dword [ebp - 8]
and dword [eax], 0
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.msvcrt.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x1005a58e
push dword [ebp - 8]
add ebx, dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x1005a4e6
cmp ebx, edi
jne 0x1005a5c7
lea eax, [edi + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.100590cd
pop ecx
test eax, eax
jne 0x1005a5c5
push 0x10187174
push 0xc8
push dword [ebp - 4]
call fcn.100395ca
add esp, 0xc
test esi, esi
je 0x1005a583
push esi
call dword [0x1009ce00]
pop ecx
xor eax, eax
jmp 0x1005a5e7
push 0x1018719c
jmp 0x1005a567
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
cmp dword [eax], 0
je 0x1005a5a8
call edi
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
jmp 0x1005a5ad
mov eax, str.Error_reading_file
push eax
push 0x10187184
push 0xc8
push dword [ebp - 4]
call fcn.100395ca
add esp, 0x10
jmp 0x1005a577
mov esi, eax
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
mov byte [ebx + esi], 0
call fcn.1005a362
mov edi, eax
pop ecx
test esi, esi
je 0x1005a5e5
push esi
call dword [0x1009ce00]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1005b47c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov ecx, 0x4f4e4554
mov edi, esi
mov edx, dword [edi + 0x100d37f8]
mov eax, edx
xor eax, ecx
mov ecx, edx
mov dword [edi + 0x100d37f8], eax
add edi, 4
cmp edi, 0x9ca38
jb 0x1005b48a
push 0x4e018
push 1
call dword [sym.imp.msvcrt.dll_calloc]
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1005b4da
push ecx
push ecx
mov ecx, edi
mov dword [edi + 0x50], esi
call fcn.10076e39
pop ecx
pop ecx
test eax, eax
je 0x1005b4d2
mov esi, edi
jmp 0x1005b4da
push edi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
pop edi
mov dword [ebx + 4], esi
test esi, esi
pop esi
setne al
pop ebx
ret

Function at 0x1005b5af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xb], 0x6b
xor ecx, ecx
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], 0x71
mov byte [ebp - 8], 0x21
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], 0x79
mov byte [ebp - 5], 0x26
mov byte [ebp - 4], 0x31
mov byte [ebp - 3], 0x39
mov byte [ebp - 2], 0x79
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xb]
dec byte [ebp + ecx - 0xb]
inc ecx
cmp ecx, 0xa
jb 0x1005b5e5
push dword [ebp + 8]
lea eax, [ebp - 0xb]
push eax
push dword [ebp + 0xc]
call fcn.1005d343
add esp, 0xc
leave
ret 8

Function at 0x1005b605
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0xc], 0x6f
xor ecx, ecx
mov byte [ebp - 0xb], 0x6d
mov byte [ebp - 0xa], 0x78
mov byte [ebp - 9], 0x78
mov byte [ebp - 8], 0x2c
mov byte [ebp - 7], 0x3c
mov byte [ebp - 6], 0x84
mov byte [ebp - 5], 0x31
mov byte [ebp - 4], 0x3c
mov byte [ebp - 3], 0x44
mov byte [ebp - 2], 0x84
mov byte [ebp - 1], cl
mov al, byte [ebp - 0xc]
sub byte [ebp + ecx - 0xc], 0xc
inc ecx
cmp ecx, 0xb
jb 0x1005b63f
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.1005d343
add esp, 0xc
leave
ret 8