joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c04e0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [ebx + eax*4 + 0x198]
push edi
call fcn.005c0430
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
mov edi, dword [esp + 0x20]
mov esi, eax
mov dword [edi], 0
cmp esi, 0xffffffff
jne 0x5c0562
push ebp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebp, eax
cmp ebp, 0x2733
jne 0x5c0539
pop ebp
mov dword [edi], 0x51
pop edi
pop esi
xor eax, eax
pop ebx
ret
push ebp
push ebx
call fcn.005d3360
mov edx, dword [ebx]
push eax
push str.Send_failure:__s
push edx
call fcn.005bfec0
mov eax, dword [ebx]
mov dword [eax + 0x108a4], ebp
add esp, 0x14
mov dword [edi], 0x37
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5c2780
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x6a21bc]
xor eax, esp
mov dword [esp + 0x14], eax
xor eax, eax
cmp dword [esi + 0x6b4], eax
push 4
lea ecx, [esp + 4]
push ecx
setne al
push 8
push 0xffff
push edi
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
js 0x5c2815
mov edx, dword [esi + 0x6b8]
push edx
mov dword [esp + 0xc], 1
call fcn.005c86c0
imul eax, eax, 0x3e8
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x6bc]
push eax
call fcn.005c86c0
imul eax, eax, 0x3e8
add esp, 8
push 0
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0xc
lea edx, [esp + 0x20]
push edx
push 0x98000004
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005211a0
add esp, 0x18
ret
Function at 0x5c2eb0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x10c
mov eax, dword [0x6a21bc]
xor eax, esp
mov dword [esp + 0x108], eax
push ebp
mov ebp, dword [esp + 0x114]
cmp dword [ebp + 0x94], 2
push edi
mov edi, dword [ebp]
mov dword [esp + 0xc], edi
je 0x5c3046
cmp dword [ebp + 0x278], 0
push ebx
push esi
jne 0x5c303b
cmp dword [ebp + 0x2e8], 0
jne 0x5c303b
mov esi, dword [esp + 0x124]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ebx, 0x80
push esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x5c2f49
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.005d3360
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push edi
call fcn.005bfec0
add esp, 0x18
jmp 0x5c3044
push ebx
lea edx, [esp + 0x1c]
push 0
push edx
mov dword [esp + 0x1c], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x5c2f96
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebp
call fcn.005d3360
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push edi
call fcn.005bfec0
add esp, 0x18
jmp 0x5c3044
lea edi, [ebp + 0x10a]
lea ebx, [ebp + 0x138]
lea esi, [esp + 0x98]
call fcn.005c2e30
test eax, eax
jne 0x5c2fe1
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov edi, eax
call esi
mov edx, dword [edi]
push edx
push ebp
mov esi, eax
call fcn.005d3360
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esi]
push eax
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ecx
call fcn.005bfec0
add esp, 0x18
jmp 0x5c3044
lea edi, [ebp + 0x60]
mov ecx, 0xb
lea esi, [ebp + 0x10a]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ebx, [ebp + 0x16c]
lea edi, [ebp + 0x13c]
lea esi, [esp + 0x18]
call fcn.005c2e30
test eax, eax
jne 0x5c303b
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov edi, eax
call esi
mov edx, dword [edi]
push edx
push ebp
mov esi, eax
call fcn.005d3360
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esi]
push eax
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ecx
call fcn.005bfec0
add esp, 0x18
jmp 0x5c3044
push ebp
call fcn.005c2db0
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
pop edi
pop ebp
xor ecx, esp
call fcn.005211a0
add esp, 0x10c
ret
Function at 0x5c3090
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
mov eax, dword [0x718900]
mov dword [esp + 4], 0x10020
mov dword [esp], 0
mov dword [esp + 8], 4
test eax, eax
jne 0x5c30e0
push 3
push 2
push eax
push 6
call fcn.005d3e30
add esp, 0x10
test eax, eax
je 0x5c30d4
mov dword [0x718900], 2
add esp, 0xc
ret
mov dword [0x718900], 1
jmp 0x5c30e5
cmp eax, 2
je 0x5c312c
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x5c3113
mov edx, dword [esp + 4]
cmp edx, dword [esp + 8]
jg 0x5c312b
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
pop esi
add esp, 0xc
ret
Function at 0x5cca90
Capabilities:
Resolve dns

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x5ccb34
cmp word [ecx + 8], 2
push ebx
push ebp
push edi
jne 0x5ccb05
cmp word [ecx + 0xa], 4
jne 0x5ccb05
mov edi, dword [ecx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x5ccb05
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebx
push ebp
call fcn.005cca10
mov dword [esi], eax
test eax, eax
je 0x5ccb28
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x5ccae0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x24]
push 0x400
push ecx
push 0x401
push edx
call fcn.00523332
add esp, 0x10
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
ret 0x18
pop edi
pop ebp
pop ebx
mov eax, 8
pop esi
ret 0x18
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x5ccb44.11001
jmp dword [eax*4 + 0x5ccb68]
mov eax, 0x2af9
pop esi
ret 0x18
mov eax, 0x2afa
pop esi
ret 0x18
mov eax, 0x2afb
pop esi
ret 0x18
Function at 0x5cd3a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x6a21bc]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x71890c], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x5cce00
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x5cd0f0
mov dword [esp + 0x10], str.freeaddrinfo
mov dword [esp + 0x14], fcn.005ccdb0
je 0x5cd412
movzx eax, word [esp + 0x234]
mov eax, dword [eax*8 + 0x6a2b68]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.005211a0
add esp, 0x230
ret 4
push 0x104
lea ecx, [esp + 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5cd50d
push ebx
push ebp
push esi
push edi
lea edx, [esp + 0x134]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.00523206
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.00523192
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x5cd48d
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x5cd4d4
push esi
call ebp
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.00523206
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.00523192
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x5cd509
push str.getaddrinfo
push esi
call ebx
test eax, eax
je 0x5cd53d
xor edi, edi
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
mov dword [esp + edi*8 + 0x14], eax
test eax, eax
je 0x5cd53d
inc edi
cmp edi, 3
jl 0x5cd4d6
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x6a2b68], edx
mov dword [0x6a2b70], eax
mov dword [fcn.005ccdb0], ecx
pop edi
pop esi
pop ebp
pop ebx
movzx edx, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
mov eax, dword [edx*8 + 0x6a2b68]
xor ecx, esp
mov dword [0x71890c], 1
call fcn.005211a0
add esp, 0x230
ret 4
push esi
call ebp
jmp 0x5cd509

Function at 0x5cf080
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x5cf0a4
cmp eax, 0xffffffff
jne 0x5cf0a6
xor eax, eax
ret
Function at 0x5d2920
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x6a21bc]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x10c]
push eax
call dword [sym.imp.msvcrt.dll_getenv]
add esp, 4
mov byte [esp], 0
test eax, eax
je 0x5d2986
push 0x104
lea ecx, [esp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [esp], 0
je 0x5d2986
lea edx, [esp]
push edx
call dword [0x6a2b18]
add esp, 4
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.005211a0
add esp, 0x108
ret
mov ecx, dword [esp + 0x104]
xor ecx, esp
xor eax, eax
call fcn.005211a0
add esp, 0x108
ret

Function at 0x5d5c10
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
mov eax, 1
ret

Function at 0x5d5f30
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov eax, 1
ret
Function at 0x40baa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40bab2
pop dword [ebp - 0xc]
mov eax, 0x53c6aa0d
add eax, 0xac7a10a5
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x7029df14
add dword [ebp - 0x1c], 0xde286637
mov dword [ebp - 0x18], 0x88983917
add dword [ebp - 0x18], 0xa99b132e
mov dword [ebp - 0x14], 0xd716d72e
sub dword [ebp - 0x14], 0x8aca9300
mov dword [ebp - 0x10], 0xe216067c
add dword [ebp - 0x10], 0x1de9f984
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x95b18a8f
add eax, 0x6a8e861d
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x6001ad8
add dword [ebp - 0x1c], 0x6e724e7e
mov dword [ebp - 0x18], 0xe8717022
sub dword [ebp - 0x18], 0xa7050ead
mov dword [ebp - 0x14], 0x1830659
sub dword [ebp - 0x14], 0x9e1399ed
mov dword [ebp - 0x10], 0x7739097b
add dword [ebp - 0x10], 0x88c6f685
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x3981c
push 0
call eax
mov ecx, 0x4c62
mov esi, eax
mov edi, 0x35331fe7
add edi, 0xcb0e1e19
add edi, dword [ebp - 0xc]
mov edx, 0xd9f4ce95
mov ebx, dword [edi]
add dword [ebp - 4], edi
xor ebx, edx
add dword [ebp - 4], 0x7a8f4e38
mov dword [esi], ebx
sub dword [ebp - 4], eax
add esi, 0x4a37da97
sub esi, 0x4a37da93
add edi, 4
loop 0x40bbc3
add eax, 0x27e531e5
add eax, 0xd81bf276
mov ebx, eax
add eax, 0x17e61c
sub eax, 0x17e617
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x100348d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x100348df
pop dword [ebp - 0x28]
mov eax, 0x3ab084cb
add eax, 0xd552c414
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x4ab18
push 0
mov eax, 0x56e80cd2
sub eax, 0x46de5b9e
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x14cbea6e
sub ecx, 0x14cb9d6a
mov ebx, eax
mov esi, 0xebcde133
sub esi, 0xdbc31133
add esi, dword [ebp - 0x28]
mov edi, 0x64fc41db
sub dword [ebp - 0xc], 0x54f6e1a7
mov edx, dword [esi]
xor dword [ebp - 0x24], 0xd7f25473
sub edx, edi
add dword [ebp - 0x24], 0xc3e1d864
mov dword [ebx], edx
mov dword [ebp - 0x1c], 0xe44c64c7
add ebx, 0x5eca637f
add ebx, 0xa1359c85
add esi, 0x62c7b51e
add esi, 0x9d384ae6
loop 0x10034938
add eax, 0x126e3
xor ebx, ebx
add ebx, eax
add eax, 0xfd346107
sub eax, 0xfd346102
mov ecx, 0x7ffd2cf2
add ecx, 0x9002d30e
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x100934d6
Capabilities:
Terminate process

Disassembly:
push 8
push 0x1009b6b8
call fcn.10091db8
push 8
call sym.MSTH3IT.DLL_IsRomanNumber
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x100a4598], esi
jne 0x1009350a
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov dword [0x100a4594], esi
mov al, byte [ebp + 0x10]
mov byte [0x100a4590], al
cmp dword [ebp + 0xc], edi
jne 0x10093554
cmp dword [0x100a6708], edi
je 0x10093544
mov eax, dword [0x100a6704]
sub eax, 4
mov dword [0x100a6704], eax
cmp eax, dword [0x100a6708]
jb 0x10093544
mov eax, dword [eax]
cmp eax, edi
je 0x10093525
call eax
jmp 0x10093525
push 0x1009e020
mov eax, 0x1009e01c
call fcn.10093436
pop ecx
push 0x1009e028
mov eax, 0x1009e024
call fcn.10093436
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10093585
cmp dword [ebp + 0x10], edi
jne 0x10093593
mov dword [0x100a4598], esi
push dword [ebp + 8]
call fcn.100933f4
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10093592
push 8
call sym.MSTH3IT.DLL_IsRomanNumber
pop ecx
ret
call fcn.10091df3
ret
Function at 0x10094069
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x100a1cdc]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x100a2100]
je 0x1009409e
inc eax
cmp eax, 0x13
jb 0x1009408f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x100a2100]
jne 0x100941c4
mov eax, dword [0x100a44dc]
cmp eax, 1
je 0x1009419c
cmp eax, edx
jne 0x100940ce
cmp dword [0x100a44e0], 1
je 0x1009419c
cmp ecx, 0xfc
je 0x100941c4
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10094104
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.10094340
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.10090280
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10094138
mov eax, edi
push eax
call fcn.10090280
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x1009b264
push edi
call fcn.10094440
add esp, 0x10
push edi
call fcn.10090280
push dword [esi + 0x100a2104]
mov ebx, eax
call fcn.10090280
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.10090ef0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.10094340
push edi
push ebx
call fcn.10094350
push 0x1009b260
push ebx
call fcn.10094350
push dword [esi + 0x100a2104]
push ebx
call fcn.10094350
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call sym.MSTH3IT.DLL_IsRomanNumber
add esp, 0x2c
jmp 0x100941c4
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x100a2104]
push dword [esi]
call fcn.10090280
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.1009023b
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x10001520
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000152f
pop dword [ebp - 0x24]
mov eax, 0x9fed38b5
add eax, 0x7012dc7a
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x37094
push 0
mov eax, 0xc8a108bf
sub eax, 0xb8a068bb
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x88bb24ae
sub ecx, 0x88badc64
mov edx, eax
mov edi, 0xe5afed4f
add edi, 0x2a50e8b1
add edi, dword [ebp - 0x24]
mov esi, 0x7b2a541c
add dword [ebp - 0xc], 0x830cb948
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0x1ed667
sub ebx, esi
xor dword [ebp - 8], ebx
mov dword [edx], ebx
sub dword [ebp - 8], edx
add edx, 4
add edi, 0xe85bbf5e
sub edi, 0xe85bbf5a
loop 0x10001588
add eax, 0xe814da6e
add eax, 0x17ec398d
xor ebx, ebx
add ebx, eax
add eax, 0x2a52c5eb
sub eax, 0x2a52c5e6
mov ecx, 0xbd1c9b67
sub ecx, 0xad1c9b67
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x1000928f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b348]
jne 0x10009299
repz ret
jmp fcn.1000966a
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401443
pop dword [ebp - 0x20]
mov eax, 0xa0e6314e
sub eax, 0xa0a61d0b
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x1b323792
add dword [ebp - 0x30], 0x33200db9
mov dword [ebp - 0x2c], 0xf8ee0f13
sub dword [ebp - 0x2c], 0xc6bac2ce
mov dword [ebp - 0x28], 0x7002686d
add dword [ebp - 0x28], 0xdc49dbc1
mov dword [ebp - 0x24], 0x585ac511
add dword [ebp - 0x24], 0xa7a53aef
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xaceabb89
add dword [ebp - 0x30], 0xc787adcd
mov dword [ebp - 0x2c], 0xa95a73c8
add dword [ebp - 0x2c], 0x9811edad
mov dword [ebp - 0x28], 0x1e923803
add dword [ebp - 0x28], 0x44dd3469
mov dword [ebp - 0x24], 0x1d2725e4
sub dword [ebp - 0x24], 0x1d2725e4
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x370d6
push 0
call eax
mov ecx, 0x17d702f3
add ecx, 0xe8294019
mov edi, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x20]
mov esi, 0x3318fc46
sub dword [ebp - 4], edx
mov edx, dword [ebx]
xor edx, esi
mov dword [edi], edx
sub dword [ebp - 4], edi
add edi, 0xef89ae59
sub edi, 0xef89ae55
add ebx, 0x87b519a8
sub ebx, 0x87b519a4
loop 0x40154f
add eax, 0xb2e85d9a
add eax, 0x4d18a169
mov ebx, eax
add eax, 0x4528c997
sub eax, 0x4528c992
mov ecx, 0x10a85273
sub ecx, 0x10685273
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x10003ba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a2b8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.10007e30
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10003db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a2b8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1004e2d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
lea eax, [edi + 4]
push eax
mov dword [edi], vtable.std::exception.0
movq qword [eax], xmm0
lea eax, [esi + 4]
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
add esp, 8
mov dword [edi], vtable.boost::system::system_error.0
lea ecx, [edi + 0x14]
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
lea eax, [esi + 0x14]
push eax
mov dword [ebp - 4], 0
call fcn.10007e30
mov dword [edi + 0x2c], vtable.boost::exception.0
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [edi + 0x2c], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret