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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42b6aa
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42b6a9
push ebx
mov ebx, 0x480e50
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dfb
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040151b
push eax
call fcn.00402dfb
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42c5b8
mov byte [edi + esi], al
call fcn.004123be
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42b64c
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00406602
pop edi
pop ebp
ret 0x14

Function at 0x401037
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
call 0x401037
push 0
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push esi
push edi
push ebx
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403030], eax
mov dword [ebp - 8], 0
push 0xa
push section..data
push 0
call sub.kernel32.dll_FindResourceA
or eax, eax
je 0x401089
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push 0
call sub.kernel32.dll_LoadResource
or eax, eax
je 0x401089
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4010c1
push 4
push 0x1000
push dword [ebp - 0xc]
push 0
call sub.kernel32.dll_VirtualAlloc
mov edi, eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push edi
call sub.kernel32.dll_RtlMoveMemory
mov dword [ebp - 8], edi
push 0xdeadbeef
push dword [ebp - 0xc]
push dword [ebp - 8]
call section..text
cmp dword [ebp - 8], 0
je 0x4010fb
lea eax, [ebp - 0x40c]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathA
push str.dup2patcher.dll
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_lstrcatA
push dword [ebp - 0xc]
push dword [ebp - 8]
lea eax, [ebp - 0x40c]
push eax
call fcn.00401184
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_LoadLibraryA
or eax, eax
je 0x401130
mov ebx, eax
push str.load_patcher
push ebx
call sub.kernel32.dll_GetProcAddress
or eax, eax
je 0x40111e
call eax
push ebx
call sub.kernel32.dll_FreeLibrary
lea eax, [ebp - 0x40c]
push eax
call sub.kernel32.dll_DeleteFileA
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401184
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x4011af
xor eax, eax
leave
ret 0xc
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call sub.kernel32.dll_WriteFile
push dword [ebp - 4]
call sub.kernel32.dll_FlushFileBuffers
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
leave
ret 0xc
Function at 0x100018e0
Capabilities:
Get system information on windows
Read .ini file

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
push str.._settings.ini
push 0
push str.AffinityMode
push 0x100040ea
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 2
je 0x10001947
mov esi, eax
push 5
push 0x6df1f6
call fcn.100016d4
add esp, 8
cmp esi, 1
jne 0x10001947
lea esi, [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esi + 0x14]
cmp eax, 3
jb 0x10001947
xor ecx, ecx
inc ecx
xor esi, esi
bts esi, ecx
inc ecx
cmp eax, ecx
jne 0x10001931
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
lea esi, [esp + 4]
mov dword [esi], 0x3000
push 4
push esi
push 0x703a20
call fcn.1000168c
add esp, 0xc
mov byte [esi], 0x40
push 1
push esi
push 0x654965
call fcn.1000168c
add esp, 0xc
mov dword [esi], 0x14ee9
mov byte [esi + 4], 0
push 5
push esi
push 0x5636f6
call fcn.1000168c
add esp, 0xc
push 0x100018c7
push 0x563cb2
call fcn.1000171d
add esp, 8
mov dword [esi + 4], 0x42d294
mov dword [esi], 0x42d2fe
xor edi, edi
lea ebx, [esp + 2]
mov ebp, dword [esp + edi*4 + 4]
push 9
push ebp
call fcn.100016d4
add esp, 8
mov word [esp + 2], 0x7eb
push 2
push ebx
push ebp
call fcn.1000168c
add esp, 0xc
inc edi
cmp edi, 2
jne 0x100019b3
xor ebx, ebx
mov byte [esp + 4], bl
xor edi, edi
inc edi
push edi
push esi
push 0x45e6e9
call fcn.1000168c
add esp, 0xc
mov ebp, 2
push ebp
push 0x45e26a
call fcn.100016d4
add esp, 8
mov word [esp + 4], 0xaee9
mov byte [esp + 6], bl
mov ebx, 3
push ebx
push esi
push 0x45e270
call fcn.1000168c
add esp, 0xc
mov word [esp + 4], 0x27eb
push ebp
push esi
push 0x6a0b85
call fcn.1000168c
add esp, 0xc
mov byte [esp + 4], 0x30
push edi
push esi
push 0x40d723
call fcn.1000168c
add esp, 0xc
mov word [esp + 4], 0x1b0
mov byte [esp + 6], 0xc3
push ebx
push esi
push 0x974395
call fcn.1000168c
add esp, 0xc
push str.._settings.ini
push 0
push str.Vibrance
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001aaa
cmp byte [0x10005318], 0
je 0x10001b2b
mov dword [esp + 4], 0x10005314
push 4
push esi
push 0x65163e
call fcn.1000168c
add esp, 0xc
push str.._settings.ini
push 0
push str.ShowFPS
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001ad4
push 2
push 0x658e6a
call fcn.100016d4
add esp, 8
push str.._settings.ini
push 0
push str.SkipLicenseScreen
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001af9
mov dword [0x8234cc], 0x453b8000
push str.._settings.ini
push 0
push str.SkipMovies
push str.Scarface
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001b23
push 5
push 0x4f61f0
call fcn.100016d4
add esp, 8
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
cvtsi2ss xmm0, eax
mulss xmm0, dword [0x10004038]
minss xmm0, dword [section..rdata]
mov byte [0x10005318], 1
xorps xmm1, xmm1
maxss xmm0, xmm1
movss dword [0x10005314], xmm0
jmp 0x10001a92
Function at 0x10001b5a
Capabilities:
Read .ini file

Disassembly:
push esi
sub esp, 0x18
mov byte [0x7bf728], 0
push str.._settings.ini
push 0
push 0x10004119
push str.Windowed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
and esi, 0xff
je 0x10001bd2
lea eax, [esp + 8]
mov dword [eax], 1
push 4
push eax
push 0x4586f2
call fcn.1000168c
add esp, 0xc
cmp esi, 2
jne 0x10001bd2
lea eax, [esp + 3]
mov byte [eax], 0xe9
push 1
push eax
push 0x45728f
call fcn.1000168c
add esp, 0xc
test al, al
je 0x10001bd2
push 0x100018d1
push 0x45728f
call fcn.1000171d
add esp, 8
push str.._settings.ini
push 0
push str.Enable
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001c61
mov byte [0x830a0c], 1
push str.._settings.ini
push 0
push str.Bloom
push str.PostProcessFX
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jle 0x10001c61
cvtsi2ss xmm0, eax
minss xmm0, dword [section..rdata]
movss dword [esp + 4], xmm0
lea eax, [esp + 0x12]
mov byte [eax], 0xba
mov dword [eax + 1], 0
mov byte [eax + 5], 0x90
push 6
push eax
push 0x6523e0
call fcn.1000168c
add esp, 0xc
lea eax, [esp + 0xc]
movss xmm0, dword [esp + 4]
movss dword [eax], xmm0
push 4
push eax
push 0x6523e1
call fcn.1000168c
add esp, 0xc
push str.._settings.ini
push 0
push str.DebugMenu
push 0x100040ea
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x10001c88
xor eax, eax
mov byte [0x7c1c54], al
mov byte [0x7c1c55], al
add esp, 0x18
pop esi
ret

Function at 0x10001d59
Capabilities:
Set current directory

Disassembly:
push esi
sub esp, 0x104
cmp dword [esp + 0x110], 1
jne 0x10001ddc
mov esi, dword [esp + 0x10c]
call fcn.10001782
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [0x400128], 0x455cad51
jne 0x10001de9
mov esi, esp
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10001dbe
mov cl, byte [esp]
cmp cl, 0x5c
cmove eax, esi
mov cl, byte [esi + 1]
inc esi
test cl, cl
jne 0x10001da0
test eax, eax
je 0x10001dbe
mov byte [eax], 0
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call fcn.10001e04
mov dword [0x1000530c], eax
call fcn.100018e0
call fcn.10001b5a
call fcn.10001c8d
call fcn.100017e4
xor eax, eax
inc eax
add esp, 0x104
pop esi
ret 0xc
push 0x10
push str.GangstaPatch
push str.Youre_using_wrong_game_version__only_v1.00.2_is_usable__nVisit_abandonware_site_for_download_or_find_alternative_way_to_obtain_this_version.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
inc ecx
int 0x29
int3
Function at 0x10001e04
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0x10005324]
test eax, eax
jne 0x10001e6a
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10001e65
mov dword [esp], 0x54535253
mov dword [esp + 0xb], 0x6b6f6f
mov dword [esp + 8], 0x6f486e69
mov dword [esp + 4], 0x4d594957
mov byte [esp], 0x56
xor ecx, ecx
inc ecx
mov dl, byte [ecx + 0x1000404b]
xor byte [esp + ecx], dl
inc ecx
cmp ecx, 0xe
jne 0x10001e45
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10005324], eax
jmp 0x10001e6a
mov eax, dword [0x10005324]
add esp, 0x10
ret
Function at 0x1000252c
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [ecx]
test eax, eax
je 0x10002580
mov esi, ecx
cmp dword [ecx + 8], 0
je 0x10002571
xor ebx, ebx
inc ebx
mov ebp, dword [sym.imp.KERNEL32.dll_OpenThread]
push dword [eax + ebx*4 - 4]
push 0
push 0x5a
call ebp
test eax, eax
je 0x10002565
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, dword [esi + 8]
jae 0x1000256f
mov eax, dword [esi]
inc ebx
jmp 0x10002547
mov eax, dword [esi]
push eax
push 0
push dword [0x10005320]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c20c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1000c2bf
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]
Function at 0x10010c97
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.1000c20c
test eax, eax
je 0x10010cda
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10010cda
cmp word [eax], 0x5a4d
jne 0x10010cda
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10010cda
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.10010cf9
mov eax, dword [ebp + 8]
jmp 0x10010cf3
mov esp, ebp
pop ebp
ret 4

Function at 0x10010e95
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x10010eb7
mov eax, 0xfffffffd
jmp 0x10010f97
mov ebx, dword [0x101b5f34]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10010f65
mov ebx, dword [0x101b5f34]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x10010f06
mov ebx, dword [0x101b5f34]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x10010f06
mov eax, 1
jmp 0x10010f0b
mov eax, 0
test eax, eax
je 0x10010f37
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x10010f20
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x101b5f34]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x10010f8d
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x10010f97
mov esp, ebp
pop ebp
ret 4
Function at 0x100187c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b8a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100ade53
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10019d00
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10018814
jmp dword [ecx*4 + 0x1001897c]
mov al, byte [esi]
test al, al
je 0x10018842
cmp al, 0x20
je 0x1001882e
cmp al, 0xa1
jne 0x10018842
cmp byte [esi + 1], al
jne 0x10018842
test al, 0x80
je 0x1001883a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10018842
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10018821
test ecx, ecx
je case.default.0x10018814
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10018814
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10018888
cmp dl, 0xa1
jne 0x1001887c
cmp byte [eax + 1], 0xa1
jne 0x1001887c
test ecx, ecx
jne 0x10018874
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1001889c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100188b6
jmp 0x1001889c
cmp dl, 0x20
jne 0x1001889a
test ecx, ecx
jne 0x10018893
mov edi, eax
mov ecx, 1
jmp 0x1001889c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1001885c
cmp ecx, 1
jne case.default.0x10018814
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10018814
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10018814
mov al, byte [esi]
test al, al
je 0x1001890e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100188f4
mov cl, byte [esi + 1]
test cl, cl
je 0x1001890e
cmp al, 0xa1
jne 0x100188e4
cmp cl, al
je 0x100188f1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10019fd0
inc esi
jmp 0x10018906
cmp al, 0x20
je 0x10018906
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.1001a010
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100188cd
push 0
lea ecx, [esp + 0x14]
call fcn.1001a010
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10027370
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10018941
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100c10e8
call fcn.10019f00
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100adde5
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100197e0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, 0x1019d204
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100197a0
add esp, 8
mov byte [esp + 8], al
or esi, 0xffffffff
push str.GetDiskFreeSpaceExA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1001988a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x10]
push edx
push ecx
call eax
test eax, eax
je 0x100198eb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1001986c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x10019874
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, 0xa
call fcn.1009e2d0
mov edx, dword [esp + 0x28]
pop edi
pop esi
mov dword [edx], eax
add esp, 0x1c
ret
lea eax, [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x100198df
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x30]
je 0x100198bd
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0x400
imul edx, dword [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword [ecx], eax
add esp, 0x1c
ret
mov edx, dword [esp + 0x28]
pop edi
mov dword [edx], esi
pop esi
add esp, 0x1c
ret
mov eax, dword [esp + 0x28]
pop edi
mov dword [eax], esi
pop esi
add esp, 0x1c
ret
Function at 0x10020530
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b90db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100adb5a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100205b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100aba34
mov eax, dword [eax]
push 0x101a0ccc
push eax
call fcn.1009dae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100adde5
test bl, bl
je 0x100205b2
push 0x101a0ccc
lea ecx, [esp + 0xc]
call fcn.100ae175
push 0x101a0cd8
lea ecx, [esp + 0xc]
call fcn.100ae175
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x100205ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100adde5
jmp 0x100206b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x10020672
lea edx, [esp + 0x7c]
push 0x101a0cd4
push edx
call fcn.1009dae4
add esp, 8
test eax, eax
je 0x10020672
lea eax, [esp + 0x7c]
push 0x101a0cd0
push eax
call fcn.1009dae4
add esp, 8
test eax, eax
je 0x10020672
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10020602
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100adde5
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10020ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10020f42
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10020f50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100b915b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x101b1e10]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x10021088
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10020fb6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100adde5
xor eax, eax
jmp 0x100210ff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100adf22
push esi
lea ecx, [esp + 0xc]
call fcn.100ae1b1
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100210dd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10020ee0
test eax, eax
jne 0x100210dd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.10020ee0
test eax, eax
jne 0x100210dd
lea eax, [esp + 0x14]
push 0x101a0ce8
push eax
call fcn.1009eba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100210bc
lea ecx, [esp + 0x14]
push 0x101a0ce4
push ecx
call fcn.1009eb20
mov esi, eax
add esp, 8
test esi, esi
jne 0x100210bc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100210bf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.100aded2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10020fce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100adde5
xor eax, eax
jmp 0x100210ff
mov byte [esi], 0
push 0x101a0ce0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.100adde5
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4