joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ff3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040591a
and dword [ebp - 4], 0
cmp dword [0x4115cc], 0
mov ebx, eax
jne 0x4080a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408155
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408155
push eax
call fcn.004058a8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4115cc], eax
call esi
push eax
call fcn.004058a8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4115d0], eax
call esi
push eax
call fcn.004058a8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4115d4], eax
call esi
push eax
call fcn.004058a8
pop ecx
mov dword [0x4115dc], eax
test eax, eax
je 0x4080a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004058a8
pop ecx
mov dword [0x4115d8], eax
mov eax, dword [0x4115d8]
cmp eax, ebx
je 0x4080fc
cmp dword [0x4115dc], ebx
je 0x4080fc
push eax
call fcn.00405923
push dword [0x4115dc]
mov esi, eax
call fcn.00405923
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4080fc
test edi, edi
je 0x4080fc
call esi
test eax, eax
je 0x4080f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4080f3
test byte [ebp - 0xc], 1
jne 0x4080fc
or dword [ebp + 0x10], 0x200000
jmp 0x408135
mov eax, dword [0x4115d0]
cmp eax, ebx
je 0x408135
push eax
call fcn.00405923
pop ecx
test eax, eax
je 0x408135
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408135
mov eax, dword [0x4115d4]
cmp eax, ebx
je 0x408135
push eax
call fcn.00405923
pop ecx
test eax, eax
je 0x408135
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4115cc]
call fcn.00405923
pop ecx
test eax, eax
je 0x408155
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408157
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001423
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push 1
pop edi
push edi
push eax
mov dword [ebp - 8], eax
call fcn.1002fca4
call sym.runtime.dll_runtimeGetRuntime
push dword [ebp - 8]
mov dword [0x1009053c], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
call fcn.10001653
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.10001fb2
push ebx
call fcn.1002f5c0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.100021e0
mov al, byte [ebp - 1]
mov byte [ebp - 0x2c], al
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001fb2
cmp dword [ebp - 0x14], esi
je 0x100014dd
cmp dword [ebp - 0x18], esi
je 0x100014aa
lea ecx, [ebp - 0x1c]
call fcn.10001f86
mov eax, dword [ebp - 0x18]
jmp 0x100014af
mov eax, 0x100783c4
cmp byte [eax], 0x20
jne 0x100014dd
push dword [0x100783c0]
lea eax, [ebp - 0x3c]
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001b02
push dword [0x100783c0]
lea ecx, [ebp - 0x1c]
push esi
push eax
call fcn.10001e36
push edi
lea ecx, [ebp - 0x3c]
jmp 0x1000148e
push edi
push esi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x22
call fcn.10001f04
test eax, eax
jne 0x10001563
push edi
push edi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x22
call fcn.10001f04
mov ebx, eax
mov eax, dword [0x100783c0]
cmp ebx, eax
je 0x100015d1
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001b02
push dword [0x100783c0]
lea ecx, [ebp - 0x2c]
push esi
push eax
call fcn.10001e36
push edi
lea ecx, [ebp - 0x3c]
call fcn.10001fb2
dec ebx
push ebx
push edi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001b02
push dword [0x100783c0]
lea ecx, [ebp - 0x1c]
push esi
push eax
call fcn.10001e36
push edi
lea ecx, [ebp - 0x3c]
jmp 0x100015cc
push edi
push esi
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], 0x20
call fcn.10001f04
mov ebx, eax
mov eax, dword [0x100783c0]
cmp ebx, eax
je 0x100015d1
push eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001b02
push dword [0x100783c0]
lea ecx, [ebp - 0x2c]
push esi
push eax
call fcn.10001e36
push edi
lea ecx, [ebp - 0x3c]
call fcn.10001fb2
push ebx
push esi
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001b02
push dword [0x100783c0]
lea ecx, [ebp - 0x1c]
push esi
push eax
call fcn.10001e36
push edi
lea ecx, [ebp - 0x3c]
call fcn.10001fb2
mov eax, dword [ebp - 0x28]
cmp eax, esi
mov dword [ebp - 0xc], 0x100783f0
jne 0x100015e4
mov eax, 0x100783c4
mov ecx, dword [0x1009053c]
mov edx, dword [ecx]
push esi
push esi
lea ebx, [ebp - 0xc]
push ebx
push eax
push dword [0x10090538]
call dword [edx + 0x14]
mov ecx, dword [0x1009053c]
mov eax, dword [ecx]
call dword [eax + 0x10]
push esi
push esi
push dword [ebp - 8]
call fcn.1002fca4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10001a7c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov ecx, 0x10090520
call fcn.1000219f
mov eax, dword [ebp - 4]
cmp eax, dword [0x10090524]
jne 0x10001aba
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov ecx, 0x10090500
call fcn.1000219f
mov eax, dword [ebp - 4]
cmp eax, dword [0x10090504]
je 0x10001abf
mov eax, dword [eax + 0x1c]
leave
ret
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push str.Cant_find_symbol:
push eax
call fcn.100030f4
mov eax, dword [ebp - 0x10]
add esp, 0xc
test eax, eax
jne 0x10001adf
mov eax, 0x100783c4
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10010802
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call fcn.1001362b
mov al, byte [ebp + 0xb]
mov edi, dword [ebp + 8]
mov cl, byte [ebp + 0xb]
mov byte [ebx + 8], al
xor eax, eax
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
lea eax, [ebp - 4]
push eax
lea esi, [ebx + 0x28]
push esi
mov byte [ebx + 0x18], cl
push edi
mov dword [ebx], 0x1007845c
mov dword [ebp - 4], 0x10
call sub.WSOCK32.dll_getsockname
lea edi, [ebx + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0x38]
lea esi, [ebx + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4

Function at 0x10010b50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
call fcn.1001362b
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
and dword [esi + 0xc], 0
mov dword [esi + 8], ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [esi + 4], eax
mov dword [esi], 0x10078470
mov dword [ebp - 4], 0x10
call sub.WSOCK32.dll_getsockname
test eax, eax
je 0x10010b97
and dword [esi + 0x14], 0
and dword [esi + 0x10], 0
jmp 0x10010bb0
push dword [ebp - 0x10]
call sub.WSOCK32.dll_ntohl
push dword [ebp - 0x12]
mov dword [esi + 0x10], eax
call sub.WSOCK32.dll_ntohs
movzx eax, ax
mov dword [esi + 0x14], eax
mov eax, esi
pop esi
leave
ret 8
Function at 0x10010bd3
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x10075518
call fcn.1002fbac
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x10078470
mov eax, dword [esi + 8]
and dword [ebp - 4], 0
test eax, eax
je 0x10010c06
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [eax + 8]
mov dword [ebp - 0x10], esi
call fcn.10012040
mov eax, dword [esi + 0xc]
test eax, eax
mov edi, dword [esi + 4]
jge 0x10010c2d
push 4
lea eax, [ebp - 0x10]
push eax
push 0xffffff7f
push 0xffff
push edi
mov dword [ebp - 0x10], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10013686
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10010e2a
Capabilities:
Set socket configuration

Disassembly:
mov eax, 0x1007552f
call fcn.1002fbac
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x14]
and dword [ebp - 4], 0
test eax, eax
je 0x10010e56
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10010e50
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
cmp dword [esi + 0x14], 0
jne 0x10010e3c
mov eax, dword [esi]
test eax, eax
mov edi, dword [esi + 4]
jge 0x10010e7c
push 4
lea eax, [ebp - 0x10]
push eax
push 0xffffff7f
push 0xffff
push edi
mov dword [ebp - 0x10], 1
call sub.WSOCK32.dll_setsockopt
push edi
call sub.WSOCK32.dll_closesocket
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call fcn.10011a97
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10010e9c
Capabilities:
Get socket status

Disassembly:
mov eax, 0x10075546
call fcn.1002fbac
sub esp, 0x118
push ebx
push esi
mov esi, ecx
cmp dword [esi], 0
push edi
jne 0x10010f2b
mov eax, dword [esi + 4]
mov dword [ebp - 0x120], eax
xor eax, eax
push 0x3f
pop ecx
mov dword [ebp - 0x124], 1
lea edi, [ebp - 0x11c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x100908a8]
mov eax, ecx
cdq
mov edi, 0x3e8
mov ebx, edi
idiv ebx
mov dword [ebp - 0x18], eax
mov eax, ecx
cdq
idiv edi
lea eax, [ebp - 0x18]
push eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x124]
push eax
push edi
imul edx, edx, 0x3e8
mov dword [ebp - 0x14], edx
call sub.WSOCK32.dll_select
cmp eax, edi
je 0x10010f2b
cmp eax, 1
jne 0x10010f28
push edi
push edi
push dword [esi + 4]
call sub.WSOCK32.dll_accept
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10010f2f
or dword [esi], 0xffffffff
xor eax, eax
jmp 0x10010f68
push 0x18
call fcn.100300b5
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, edi
mov dword [ebp - 4], edi
je 0x10010f4c
push esi
push ebx
mov ecx, eax
call fcn.10010b50
jmp 0x10010f4e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 8]
call fcn.10011f12
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1001ade1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0xc7]
cmp eax, 0xc
ja case.0x1001adf4.202
jmp dword [eax*4 + 0x1001af25]
push 3
jmp 0x1001ae21
push 4
jmp 0x1001ae21
push 1
jmp 0x1001ae21
push 2
jmp 0x1001ae21
push 5
jmp 0x1001ae21
push 6
jmp 0x1001ae21
push 0x1c
jmp 0x1001ae21
push 0x1d
jmp 0x1001ae21
push 0x1f
jmp 0x1001ae21
push 0x1e
pop eax
jmp 0x1001af1f
push 1
and edi, 0x7f
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ebx, eax
test ebx, ebx
je 0x1001af13
mov ecx, dword [0x10090cfc]
push esi
push 0x2a
call fcn.1001b07f
mov ecx, dword [0x10090cfc]
neg al
sbb al, al
mov esi, 0x80
push 0x36
and eax, esi
mov byte [0x10090c88], al
call fcn.1001b07f
mov ecx, dword [0x10090cfc]
neg al
sbb al, al
push 0x1d
and eax, esi
mov byte [0x10090c89], al
or al, byte [0x10090c88]
mov byte [0x10090bf8], al
call fcn.1001b07f
mov ecx, dword [0x10090cfc]
neg al
sbb al, al
push 0x9d
and eax, esi
mov byte [0x10090c8a], al
call fcn.1001b07f
mov ecx, dword [0x10090cfc]
neg al
sbb al, al
push 0x38
and eax, esi
mov byte [0x10090c8b], al
or al, byte [0x10090c8a]
mov byte [0x10090bf9], al
call fcn.1001b07f
mov ecx, dword [0x10090cfc]
neg al
sbb al, al
push 0xb8
and eax, esi
mov byte [0x10090c8c], al
call fcn.1001b07f
neg al
sbb al, al
push 0
and eax, esi
mov byte [0x10090c8d], al
or al, byte [0x10090c8c]
mov byte [0x10090bfa], al
lea eax, [ebp + 8]
push eax
push 0x10090be8
push edi
push ebx
call dword [sym.imp.USER32.dll_ToAscii]
cmp eax, 1
pop esi
je 0x1001af17
xor eax, eax
jmp 0x1001af1f
mov eax, dword [ebp + 8]
and eax, 0xff
pop edi
pop ebx
pop ebp
ret 4
Function at 0x100359c7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10085c48
cmp edx, dword [eax]
je 0x100359e9
add eax, 8
inc ecx
cmp eax, 0x10085cd8
jl 0x100359da
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10085c48]
jne 0x10035b17
mov eax, dword [0x10091300]
cmp eax, 1
je 0x10035af1
test eax, eax
jne 0x10035a1a
cmp dword [0x10091304], 1
je 0x10035af1
cmp edx, 0xfc
je 0x10035b17
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10035a51
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10037980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1002f5c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10035a94
lea eax, [ebp - 0x1a4]
push eax
call fcn.1002f5c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100792f4
push edi
call fcn.1003c450
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10037980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10037990
lea eax, [ebp - 0xa0]
push 0x100792d4
push eax
call fcn.10037990
push dword [esi + 0x10085c4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10037990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1003d7e0
add esp, 0x2c
pop edi
jmp 0x10035b17
lea eax, [ebp + 8]
lea esi, [esi + 0x10085c4c]
push 0
push eax
push dword [esi]
call fcn.1002f5c0
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]
pop esi
leave
ret

Function at 0x100424bb
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x100926cc]
test eax, eax
je 0x100424d6
cmp byte [0x100926d0], 0
je 0x100424d6
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [0x100926cc], 0
ret

Function at 0x10042584
Capabilities:
Create thread

Disassembly:
push ecx
push esi
call fcn.100424de
mov esi, eax
sub esi, 0x64
cmp esi, 1
jae 0x10042599
xor eax, eax
jmp 0x100425bb
call fcn.100424bb
lea eax, [esp + 4]
push eax
xor eax, eax
push eax
push esi
push 0x10042745
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100926cc], eax
mov eax, esi
pop esi
pop ecx
ret

Function at 0x10045b62
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0xc]
push edi
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x10045ba0
test eax, eax
je 0x10045b9c
cmp eax, 1
je 0x10045b98
cmp eax, 2
jne 0x10045ba9
push 0xf
jmp 0x10045ba2
push 2
jmp 0x10045ba2
push 0
jmp 0x10045ba2
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, edi
pop edi
pop ebp
ret

Function at 0x10045bae
Capabilities:
Terminate thread

Disassembly:
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
ret
Function at 0x100476a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
push ebx
lea eax, [ebp - 8]
push edi
push eax
xor edi, edi
push 1
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionMultimediaMIDIMap
push reloc.WSOCK32.dll_accept
mov dword [ebp - 0xc], 0x100
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100477ad
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x340]
push eax
push edi
push edi
push str.CurrentInstrument
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
push 0x134
lea eax, [ebp - 0x140]
push edi
push eax
call fcn.10030150
mov eax, dword [0x1009292c]
add esp, 0xc
lea edx, [ebp - 0x140]
mov dword [ebp - 0x140], 0x134
mov ecx, dword [eax]
push edx
push dword [ebp - 4]
push eax
call dword [ecx + 0xc]
mov ebx, eax
cmp ebx, edi
jne 0x10047775
cmp dword [ebp - 0x128], 1
jne 0x10047775
push edi
push edi
lea eax, [ebp - 0x240]
push 0x100
push eax
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.10035b20
pop ecx
test eax, eax
pop ecx
je 0x10047782
inc dword [ebp - 4]
cmp ebx, 1
je 0x1004779f
jmp 0x100476fa
lea eax, [ebp - 0x138]
push 0x10
push eax
push dword [ebp + 8]
call fcn.1002fd80
add esp, 0xc
test byte [0x100916d8], 1
je 0x100477ad
mov eax, dword [0x1009292c]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
pop edi
pop ebx
leave
ret
Function at 0x10048bee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x30]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
call fcn.10048a2b
add esp, 0x28
test al, al
je 0x10048d2b
mov eax, dword [ebp - 0xc]
test byte [ebp + 0x10], 0x10
mov edx, eax
je 0x10048c46
sar eax, 1
mov edx, eax
mov eax, dword [ebp + 0x10]
and eax, 0x40
je 0x10048c50
sar edx, 1
neg eax
sbb eax, eax
mov ecx, 0xff
and al, 0x7f
push ecx
add eax, 0x80
push eax
push ecx
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push edx
push 0xffffffffffffffff
call fcn.100430cc
mov esi, eax
cmp esi, ebx
je 0x10048d2b
mov eax, dword [esi + 0x108]
dec eax
push eax
push ebx
push esi
call fcn.10043620
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x148], eax
cmp dword [ebp - 0x14], ebx
je 0x10048cbd
push 1
push dword [ebp + 0xc]
call fcn.10039fa5
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x10048cbd
push esi
mov dword [0x100916e0], 0xc
call fcn.100431d9
jmp 0x10048d2b
push ebx
push dword [ebp - 0x1c]
push edi
call fcn.100485d7
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push ebx
push esi
call fcn.100434ef
cmp dword [esi + 0x148], ebx
push edi
push dword [ebp + 0xc]
je 0x10048d32
push dword [ebp - 4]
call fcn.10048538
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp - 4]
push esi
call fcn.10048b76
add esp, 0x20
test al, al
jne 0x10048d3d
push esi
mov dword [0x100916e0], 0xb
call fcn.100431d9
push dword [ebp - 4]
call fcn.10032c53
pop ecx
xor eax, eax
jmp 0x10048dbc
push dword [ebp - 8]
call fcn.10048538
add esp, 0xc
test byte [ebp + 0x10], 8
je 0x10048d57
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp dword [ebp - 0x10], ebx
jle 0x10048d57
xor byte [eax], 0x80
inc eax
inc ecx
cmp ecx, dword [ebp - 0x10]
jl 0x10048d4d
push dword [ebp - 0x20]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
push dword [ebp - 8]
push esi
call fcn.10043576
test byte [ebp + 0x10], 0x10
mov eax, dword [ebp - 0xc]
je 0x10048d74
sar eax, 1
test byte [ebp + 0x10], 0x40
je 0x10048d7c
sar eax, 1
cmp dword [ebp - 0x30], ebx
jne 0x10048d91
cmp dword [ebp - 0x2c], ebx
jne 0x10048d91
dec eax
push eax
push ebx
push esi
call fcn.10043620
jmp 0x10048da5
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push esi
call fcn.10043620
push 2
push esi
call fcn.100435bc
cmp dword [ebp - 4], ebx
je 0x10048db3
push dword [ebp - 4]
call fcn.10032c53
pop ecx
push esi
call fcn.10048b5f
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100515eb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 1
pop eax
push eax
push 0x410
mov dword [0x100b1038], eax
call fcn.10039fa5
pop ecx
mov dword [0x10092980], eax
test eax, eax
pop ecx
jne 0x1005161c
mov dword [0x100916e0], 0xc
xor al, al
leave
ret
add eax, 0xf
and al, 0xf0
xor ecx, ecx
mov dword [0x10092984], eax
mov dword [ebp - 4], ecx
jmp 0x10051632
mov eax, dword [0x10092984]
cmp ecx, 0x80
jge 0x10051645
fild dword [ebp - 4]
fmul dword [0x10079f68]
jmp 0x10051657
lea edx, [ecx - 0x100]
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fmul dword [0x10079f64]
fstp dword [eax + ecx*4]
inc ecx
cmp ecx, 0x100
mov dword [ebp - 4], ecx
jl 0x1005162d
push esi
mov eax, 0x100588b0
mov esi, 0x1005956a
lea ecx, [ebp - 4]
sub esi, eax
push ecx
push 0x40
push esi
push eax
mov dword [0x10092740], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push dword [0x10092740]
call dword [sym.imp.KERNEL32.dll_VirtualLock]
cmp byte [0x100b0f40], 0
pop esi
mov dword [0x100a2a9c], 0x10058840
jne 0x100516b1
mov dword [0x100a2a9c], 0x10058780
cmp byte [0x100b0f41], 0
mov dword [0x100a2a64], 0x100584f3
jne 0x100516ce
mov dword [0x100a2a64], 0x10058324
mov eax, dword [0x10088d78]
mov ecx, 0xac44
shl eax, 7
cdq
idiv ecx
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
mov dword [0x10092744], eax
fild qword [ebp - 8]
mov al, 1
fdivr dword [0x10078438]
fstp dword [0x10092988]
leave
ret
Function at 0x1006a7e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1006a7f0
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x1006a8d1
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x1007a3f8]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x1007a3f8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x1007a3f8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x1007a3f8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x1007a3f8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x1007a3f8]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x1007a3f8]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x1007a3f8]
xor eax, esi
inc edx
dec edi
jne 0x1006a80d
pop ebx
cmp dword [ebp + 0x10], 0
je 0x1006a8f2
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x1007a3f8]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x1006a8d7
pop edi
pop esi
not eax
pop ebp
ret