joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a790
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x10058a08]
cmp eax, 1
je 0x1000a7dc
cmp eax, 4
je 0x1000a7dc
push 0
cmp eax, 2
jne 0x1000a7cc
push 0
push 0
push 0x1000a760
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x1000a7c6
push 0
push 0
push 0x10001ed0
jmp 0x1000a7af
push 0
push 0
push 0
push 0x1000a760
jmp 0x1000a7af
Function at 0x1000afd0
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x81c
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x818], eax
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push str.MyBrowser
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
test esi, esi
je 0x1000b149
push 1
push 0
push 3
push 0
push 0
push 0x50
push dword [0x10058970]
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x1000b149
push 1
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x1004b520
push eax
push 0
push 0
push str.Codex_ServerSideBan_Renew.php
push str.POST
push ebx
mov dword [esp + 0x3c], 0
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x1000b149
mov ecx, str._____________________________og94kfkldjs7ekk_r_nContent_Disposition:_form_data__name_uploadedfile___filename_Log.txt__r_nContent_Type:_text_plain_r_n_r_nCodex_Anti_Hack_r_n_____________________________og94kfkldjs7ekk___r_n
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b070
sub ecx, edx
mov edx, str.Content_Type:_multipart_form_data__boundary___________________________og94kfkldjs7ekk
lea eax, [edx + 1]
mov dword [esp + 0x14], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1000b085
sub edx, dword [esp + 0x14]
push ecx
push str._____________________________og94kfkldjs7ekk_r_nContent_Disposition:_form_data__name_uploadedfile___filename_Log.txt__r_nContent_Type:_text_plain_r_n_r_nCodex_Anti_Hack_r_n_____________________________og94kfkldjs7ekk___r_n
push edx
push str.Content_Type:_multipart_form_data__boundary___________________________og94kfkldjs7ekk
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1000b149
push 0x800
lea eax, [esp + 0x24]
push 0
push eax
call fcn.1001b620
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push 0
push eax
lea eax, [esp + 0x28]
push eax
push 0x16
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x1000b149
lea edx, [esp + 0x20]
mov ecx, 0x10057c68
call fcn.10004300
push eax
call fcn.10008170
add esp, 4
lea eax, [esp + 0x20]
push 0x800
push 0
push eax
call fcn.1001b620
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 0x800
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1000b149
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x824]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
call fcn.1000ad20
int3
Function at 0x1000dce0
Capabilities:
Capture public ip
Connect to http server
Create http request
Read data from internet
Receive data
Send file using ftp
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetOpenA]
push esi
push edi
push 0
push 0
push 0
push 1
push 0
call ebx
push 0
push 0
push 1
push dword [0x10058978]
push dword [0x10058974]
push 0x15
push dword [0x10058970]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0
push 0
push 0
push 0
mov edi, eax
call ebx
push 0
push 0x80000000
push 0
push 0
push str.http:__icanhazip.com_
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x1000de2f
lea eax, [esp + 0xc]
push eax
push 0x2f
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [esp + 0xc]
cmp eax, 0x2f
jae 0x1000de53
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [esp + eax + 0x18], 0
call esi
push 0
push 2
lea eax, [esp + 0x1c]
push eax
push 0x1004b93c
push edi
call dword [sym.imp.WININET.dll_FtpPutFileA]
test eax, eax
je 0x1000de41
push edi
call esi
push dword [esp + 0x10]
call esi
push 0
push 0
push 0
push 1
push 0
call ebx
push 0
push 0x8000000
push 1
push dword [0x10058978]
mov edi, eax
push dword [0x10058974]
push 0x15
push dword [0x10058970]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 1
push 0x80
push 1
push 0x1004b938
mov ebx, eax
push str.1Hardware_Banlist.txt
push ebx
call dword [sym.imp.WININET.dll_FtpGetFileA]
test eax, eax
je 0x1000de34
push 2
push 0x1004b938
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call esi
push edi
call esi
call fcn.1000d870
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
call fcn.1000d1a0
push 0x1004b938
call fcn.100207ff
add esp, 4
push 0x1004b93c
call fcn.100207ff
add esp, 4
call fcn.1000ce90
call fcn.10019a45
int3
Function at 0x1000de60
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041390
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0x64
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1000df98
sub esp, 8
lea ecx, [ebp - 0x128]
push 8
push 0x1004b93c
call fcn.100032f0
mov edx, 0x1004b958
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.10004300
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x128]
call fcn.10004300
lea ecx, [ebp - 0x124]
call fcn.10003b40
test eax, eax
jne 0x1000df1a
mov eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.10001d60
call fcn.1000dce0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x12c], eax
lea ecx, [ebp - 0x124]
call fcn.10002f40
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x12c], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0xc0], vtable.std::ios_base.0
call fcn.1001913a
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret
Function at 0x1000e290
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x14
mov dword [ebp - 4], 4
call fcn.10025a36
push 0x288
mov ebx, eax
call fcn.10025a36
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000e2d0
push 0x179
push 0x1004b960
push str.AdapterInfo___NULL
call fcn.100259b5
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1000e36a
push dword [ebp - 4]
call fcn.10025a36
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000e30c
push 0x17d
push 0x1004b960
push str.AdapterInfo___NULL
call fcn.100259b5
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x1000e359
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X:_02X:_02X:_02X:_02X:_02X
push ebx
call fcn.1000c750
add esp, 0x20
push esi
call fcn.1001fa3e
add esp, 4
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1000cb50
int3

Function at 0x100110b0
Capabilities:
Create thread
Set file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push dword [0x10058980]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x100110de
push 0
push dword [0x10058964]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
test eax, eax
jne 0x100110e3
jmp fcn.10010d90
mov esp, ebp
pop ebp
ret
Function at 0x10012380
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x10058968]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100124b8
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_Window_found__n_nClick_Ok_to_search_Main_Window_Class.
push 0
call edi
push 0
push dword [0x10058960]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100124a7
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_found__n_nClick_Ok_to_search_Main_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10012465
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x10058938]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10012450
test dl, dl
je 0x1001244c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10012450
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012430
xor eax, eax
jmp 0x10012455
sbb eax, eax
or eax, 1
test eax, eax
je 0x1001248c
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10012423
cmp esi, 0xffffffff
je 0x1001249f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_PID_NOT_FOUND__n_nCheck__Start.cpp_____load.CabalMain__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_nMain_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__Start.cpp___load.Test_Main_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Class_Window_NOT_FOUND__n_nCheck__Start.cpp___load.MainClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___Start.cpp___Test_Main_Win_Class_PID__Turned_ON__n_n_Main_Window_NOT_FOUND__n_nCheck__Start.cpp___load.MainWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100124d0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push dword [0x10058980]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x10012608
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_Window_found__n_nClick_Ok_to_search_Launcher_Window_Class.
push 0
call edi
push 0
push dword [0x10058964]
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
push 0x200030
push str.CONFIGURATION_MESSAGE
test eax, eax
je 0x100125f7
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_found__n_nClick_Ok_to_search_Launcher_PID.
push 0
call edi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x100125b5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
mov eax, dword [0x1005895c]
lea ecx, [esp + 0x34]
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100125a0
test dl, dl
je 0x1001259c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100125a0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10012580
xor eax, eax
jmp 0x100125a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x100125dc
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x10012573
cmp esi, 0xffffffff
je 0x100125ef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_PID_NOT_FOUND__n_nCheck__Start.cpp_____load.LauncherName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x200030
push str.CONFIGURATION_MESSAGE
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_nLauncher_PID_found__n_nEVERYTHING_OK__n_nTurn_OFF__Start.cpp___load.Test_Launcher_Win_Class_PID_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Class_Window_NOT_FOUND__n_nCheck__Start.cpp___load.LauncherClassName__configuration_
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.WARNING___Start.cpp___Test_Launcher_Win_Class_PID__Turned_ON__n_n_Launcher_Window_NOT_FOUND__n_nCheck__Start.cpp___load.LauncherWindowName__configuration_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100135e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100417ed
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
lea ecx, [ebp - 0x28]
push 0
push esi
call fcn.1000e830
mov dword [ebp - 4], 0
lea eax, [esi + 1]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x10058968]
mov edi, edx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10013650
mov ebx, dword [ebp - 0x28]
sub edi, ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae ecx, ebx
cmp esi, edi
jne 0x10013713
sub esi, 4
jb 0x10013687
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1001368c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10013676
cmp esi, 0xfffffffc
je 0x100136c0
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100136b9
cmp esi, 0xfffffffd
je 0x100136c0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100136b9
cmp esi, 0xfffffffe
je 0x100136c0
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100136b9
cmp esi, 0xffffffff
je 0x100136c0
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100136c0
sbb eax, eax
or eax, 1
jmp 0x100136c2
xor eax, eax
test eax, eax
jne 0x10013713
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100136f5
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x100136eb
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013718
push ecx
push ebx
call fcn.100198f2
add esp, 8
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 - 0x10]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret
call fcn.100132e0
call fcn.10020628
int3
Function at 0x10013a00
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x400
push 0
push 0x10058af0
call fcn.1001b620
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
push ebx
nop
xor eax, eax
test cl, 1
je 0x10013a2b
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10013a36
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10013a41
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10013a4c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10013a57
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10013a62
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10013a6d
bts eax, 1
test cl, 2
je 0x10013a76
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
xor edx, edx
lea ecx, [edx + 1]
nop dword [eax]
test bl, 1
je 0x10013b0f
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10013b00
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x10058af0], edx
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10013a20
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10013b40
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x1004c6cc
push eax
or ebx, 0xffffffff
call fcn.10025cfd
add esp, 8
mov dword [ebp - 0x408], eax
test eax, eax
jne 0x10013b86
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100198af
mov esp, ebp
pop ebp
ret 4
push esi
push edi
nop dword [eax + eax]
push eax
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.1001fdd4
mov edi, eax
lea esi, [ebp - 0x404]
add esp, 0x10
mov edx, edi
test edi, edi
je 0x10013bdd
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10058af0]
sub edx, 1
jne 0x10013bb5
mov eax, dword [ebp - 0x408]
cmp edi, 0x400
je 0x10013b90
push dword [ebp - 0x408]
call fcn.1001eea0
mov ecx, dword [ebp - 4]
add esp, 4
not ebx
xor ecx, ebp
mov eax, ebx
pop edi
pop esi
pop ebx
call fcn.100198af
mov esp, ebp
pop ebp
ret 4
Function at 0x10015ff0
Capabilities:
Acquire debug privileges
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10053064]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100160a6
lea eax, [esp + 4]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x100160a6
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push 0
push 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
push dword [esp + 0x14]
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x100160a6
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100160a6
push 0
push 0
push 0
push 0x10015fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
xor ecx, esp
call fcn.100198af
mov esp, ebp
pop ebp
ret
Function at 0x10017be0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20a00
call fcn.1001a770
mov eax, dword [0x10053064]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
xor eax, eax
push esi
push esi
mov dword [ebp - 0x20a00], eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov edi, eax
test edi, edi
je 0x10017cdb
push ebx
lea ebx, [ebp - 0x209f4]
nop dword [eax]
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x10017cba
lea eax, [ebp - 0x209fc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x209fc]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x10017cba
mov eax, dword [ebp - 0x209fc]
mov dword [ebx], eax
lea eax, [ebx + 4]
push 0xff
push eax
push edi
mov dword [ebx - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xff
lea eax, [ebx + 0x103]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
inc dword [ebp - 0x20a00]
add ebx, 0x208
mov ecx, dword [ebp - 0x209fc]
xor eax, eax
test esi, esi
jle 0x10017cae
nop word [eax + eax]
cmp ecx, dword [ebp + eax*4 - 0x400]
je 0x10017cae
inc eax
cmp eax, esi
jl 0x10017ca0
cmp eax, esi
jne 0x10017cba
mov dword [ebp + esi*4 - 0x400], ecx
inc esi
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x10017c20
pop ebx
cmp dword [ebp - 0x20a00], eax
je 0x10017cdb
cmp esi, 1
jg 0x10017cf3
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100198af
mov esp, ebp
pop ebp
ret
call fcn.100178e0
int3

Function at 0x10017d70
Capabilities:
Create thread
Terminate process

Disassembly:
mov eax, dword [0x10058a08]
cmp eax, 1
je 0x10017dbc
cmp eax, 4
je 0x10017dbc
push 0
cmp eax, 2
jne 0x10017dac
push 0
push 0
push 0x10017d40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp eax, 3
jne 0x10017da6
push 0
push 0
push 0x10001ed0
jmp 0x10017d8f
push 0
push 0
push 0
push 0x10017d40
jmp 0x10017d8f