joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103347d
Capabilities:
Enumerate files on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x880
mov eax, dword [0x10372d8]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1002f84
push eax
mov edi, 0x10027c4
push edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
mov ebx, ecx
push esi
push eax
mov dword [ebp - 0x870], ebx
call fcn.0100d577
push 0x1004464
lea eax, [ebp - 0x20c]
push eax
push edi
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0100d577
push 0x10
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
add esp, 0x2c
cmp eax, edi
je 0x10334f7
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 1
jmp 0x10334f9
xor eax, eax
cmp eax, edi
mov dword [ebx + 0x30], eax
jne 0x103350a
mov eax, 0x8007000e
jmp 0x1033693
lea eax, [ebp - 0x874]
push eax
push 1
push edi
push 0x10036b8
push 0x80000001
mov word [ebp - 0x414], di
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1033580
lea eax, [ebp - 0x880]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x87c]
push eax
push edi
push 0x10035a8
push dword [ebp - 0x874]
mov dword [ebp - 0x880], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103356d
cmp dword [ebp - 0x87c], 1
je 0x1033574
mov word [ebp - 0x414], di
push dword [ebp - 0x874]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x878], eax
je 0x1033684
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0xc
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
je 0x10335c1
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov esi, eax
jmp 0x10335c3
xor esi, esi
cmp esi, edi
je 0x1033657
lea eax, [ebp - 0x840]
push eax
call ebx
mov edi, eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea edi, [edi + eax + 1]
lea eax, [edi + edi]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi], eax
je 0x103364c
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call fcn.01007263
lea eax, [ebp - 0x840]
push eax
push edi
push dword [esi]
call fcn.01007b96
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
push esi
jne 0x103363c
mov esi, dword [ebp - 0x870]
mov ecx, dword [esi + 0x30]
call fcn.0101ee6c
mov dword [esi + 0x2c], eax
jmp 0x1033655
mov eax, dword [ebp - 0x870]
mov ecx, dword [eax + 0x30]
call fcn.0101ee6c
jmp 0x1033655
push 1
mov ecx, esi
call fcn.01032c4d
xor edi, edi
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10335a9
push dword [ebp - 0x878]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x870]
cmp dword [ebx + 0x2c], edi
jne 0x1033691
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01034242
leave
ret 4
Function at 0x1033bcb
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10372d8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
push eax
push 0x10044d8
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1033d0f
push esi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xa0]
push eax
push esi
push esi
push esi
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1033d02
cmp dword [ebp - 0xa0], esi
je 0x1033d02
mov dword [ebp - 0x9c], esi
jbe 0x1033d02
push ebx
mov ebx, 0x103
push edi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x9c]
mov dword [ebp - 0xa4], 0x40
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, esi
je 0x1033c7c
cmp edi, ebx
jne 0x1033ce8
cmp dword [ebp - 0xa4], 0x3c
ja 0x1033ce8
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jl 0x1033ce8
lea eax, [ebp - 0xa8]
push eax
push 0x100156c
push 1
push esi
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1033ce8
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
push esi
push 0x1033a91
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [0x1037d20], 0x63
jae 0x1033d00
cmp edi, ebx
je 0x1033d00
inc dword [ebp - 0x9c]
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jb 0x1033c44
pop edi
pop ebx
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
call fcn.01034242
leave
ret

Function at 0x1033d1e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
push edi
mov esi, ecx
push dword [esi]
call ebx
test eax, eax
je 0x1033d5b
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1033d8d
push 0x100455c
push dword [esi + 0x10]
call fcn.0102eed4
mov ecx, dword [esi + 0x18]
push 0x1004538
push dword [esi + 0x14]
call fcn.0102eed4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1033d8d
push 1
call fcn.0102ae12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1033d9b
push 1
call fcn.01033a2e
push dword [esi]
call ebx
test eax, eax
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
je 0x1033dad
push dword [esi]
call edi
push dword [esi + 4]
call ebx
test eax, eax
je 0x1033dbb
push dword [esi + 4]
call edi
mov esi, dword [esi + 0xc]
test esi, esi
je 0x1033dc9
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x103435a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x10045e0
call fcn.0103454c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1034395
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1034395
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10343ad
cmp eax, 0x20b
je 0x103439a
mov dword [ebp - 0x1c], edi
jmp 0x10343c1
cmp dword [ecx + 0x84], 0xe
jbe 0x1034395
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10343bb
cmp dword [ecx + 0x74], 0xe
jbe 0x1034395
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
pop ebx
push ebx
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1037ed8], 0xffffffff
or dword [0x1037edc], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1037ec4]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1037ec0]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1037ee0], eax
call fcn.01034660
cmp dword [0x10372e0], edi
jne 0x103441e
push fcn.01034660
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01034649
push 0x1037010
push 0x103700c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1037ebc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1037eb8]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x38], eax
push 0x1037008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x1034484
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x103453e
mov dword [ebp - 0x20], esi
cmp word [esi], 0x22
jne 0x10344d2
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x10344a0
cmp ax, 0x22
jne 0x103448d
cmp word [esi], 0x22
jne 0x10344ab
add esi, ebx
mov dword [ebp - 0x20], esi
mov ax, word [esi]
cmp ax, di
je 0x10344b9
cmp ax, 0x20
jbe 0x10344a6
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x54], 1
je 0x10344df
movzx eax, word [ebp - 0x50]
jmp 0x10344e2
cmp word [esi], 0x20
jbe 0x10344ab
add esi, ebx
mov dword [ebp - 0x20], esi
jmp 0x10344d2
push 0xa
pop eax
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], edi
jne 0x1034503
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1034538
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01034587
ret
Function at 0x41a14b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x41a15a
pop dword [ebp - 0x28]
mov eax, 0xe56d3d2c
sub eax, 0xe52b9bd2
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xce655845
add dword [ebp - 0x38], 0x7feced06
mov dword [ebp - 0x34], 0x8bbf541d
sub dword [ebp - 0x34], 0x598c07d8
mov dword [ebp - 0x30], 0x29bee96c
add dword [ebp - 0x30], 0x228d5ac2
mov dword [ebp - 0x2c], 0x804fe731
add dword [ebp - 0x2c], 0x7fb018cf
lea eax, [ebp - 0x38]
push eax
mov eax, 0xb0b12907
sub eax, 0xb06e47af
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x15e0bd10
add dword [ebp - 0x38], 0x5e91ac46
mov dword [ebp - 0x34], 0x1ff24a4b
add dword [ebp - 0x34], 0x217a172a
mov dword [ebp - 0x30], 0x280aa30f
sub dword [ebp - 0x30], 0xc49b36a3
mov dword [ebp - 0x2c], 0xc56fad28
add dword [ebp - 0x2c], 0x3a9052d8
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xab1df1d8
add eax, 0x5524ee3c
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3dd90
push 0
call eax
mov ecx, 0x3af7
xor edx, edx
add edx, eax
mov esi, 0x461000
add esi, dword [ebp - 0x28]
mov ebx, 0x3f988c31
sub ebx, 0x522f9f59
xor dword [ebp - 0xc], 0xc0a9c149
mov edi, dword [esi]
add dword [ebp - 0x24], 0x50cad78
sub edi, ebx
mov dword [edx], edi
xor dword [ebp - 0x20], edx
add edx, 0xd5c96e98
sub edx, 0xd5c96e94
add esi, 4
loop 0x41a272
add eax, 0xdeaf
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000116b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x1000125b
mov eax, 0x94
call fcn.100021a0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100012d0
mov ecx, dword [esi + 0x10]
mov dword [0x10008924], ecx
mov eax, dword [esi + 4]
mov dword [0x10008930], eax
mov edx, dword [esi + 8]
mov dword [0x10008934], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x10008928], esi
je 0x100011d6
or esi, 0x8000
mov dword [0x10008928], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x1000892c], eax
call fcn.100020c8
test eax, eax
pop ecx
je 0x100012d0
call fcn.100017ca
test eax, eax
jne 0x10001203
call fcn.10002119
jmp 0x100012d0
call fcn.10002026
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10009134], eax
call fcn.10001f04
mov dword [0x10008910], eax
call fcn.100019e5
test eax, eax
jl 0x10001254
call fcn.10001e62
test eax, eax
jl 0x1000124f
call fcn.10001c2f
test eax, eax
jl 0x1000124f
push 0
call fcn.1000145d
test eax, eax
pop ecx
jne 0x1000124f
inc dword [0x1000890c]
jmp 0x100012e1
call fcn.10001be3
call fcn.100015b3
jmp 0x100011f9
test eax, eax
jne 0x1000128b
cmp dword [0x1000890c], eax
jle 0x100012d0
dec dword [0x1000890c]
cmp dword [0x10008960], eax
jne 0x1000127a
call fcn.1000159b
call fcn.10001be3
call fcn.100015b3
call fcn.10002119
jmp 0x100012e1
cmp eax, 2
jne 0x100012d4
push 0x8c
push 1
call fcn.1000192a
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x100012d0
push esi
push dword [0x10008034]
call dword [0x10008970]
test eax, eax
push esi
je 0x100012ca
call fcn.100015d0
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x100012e1
call fcn.100018b9
pop ecx
xor eax, eax
jmp 0x100012e4
cmp eax, 3
jne 0x100012e1
push 0
call fcn.1000179b
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc

Function at 0x100014c7
Capabilities:
Terminate process

Disassembly:
push 8
push 0x10006178
call fcn.1000235c
push 8
call fcn.100027b4
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x10008964], esi
jne 0x100014fb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10008960], esi
mov al, byte [ebp + 0x10]
mov byte [0x1000895c], al
cmp dword [ebp + 0xc], edi
jne 0x10001545
cmp dword [0x10009128], edi
je 0x10001535
mov eax, dword [0x10009124]
sub eax, 4
mov dword [0x10009124], eax
cmp eax, dword [0x10009128]
jb 0x10001535
mov eax, dword [eax]
cmp eax, edi
je 0x10001516
call eax
jmp 0x10001516
push 0x10008020
mov eax, 0x1000801c
call fcn.10001445
pop ecx
push 0x10008028
mov eax, 0x10008024
call fcn.10001445
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x10001576
cmp dword [ebp + 0x10], edi
jne 0x10001584
mov dword [0x10008964], esi
push dword [ebp + 8]
call fcn.10001403
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x10001583
push 8
call fcn.100026ff
pop ecx
ret
call fcn.10002397
ret
Function at 0x100025c0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x100025fb
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100025e2
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x100025f3
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x100025fd
inc edi
add eax, 0x28
cmp edi, esi
jb 0x100025d8
xor eax, eax
pop edi
pop esi
ret

Function at 0x100027b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and bl, al
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x100027da
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100027d4
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x100027c5
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10002580
lds edx, [ebp + 0x47]
pop ebx
lea eax, [ebp - 0x58]
push eax
call fcn.10002590
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10002545
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x1000286e
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10002580
rol ebx, 1
invalid
popfd
lea eax, [ebp - 0x40]
Function at 0x10004180
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x10004626
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x100040fb
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.10002590
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.10002590
pop ecx
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.100024f1
add esp, 0xc
lea eax, [ebp - 0x504]
mov dword [ebp - 0x3a0], eax
jmp 0x100044f8
cmp dword [ebp - 0x6fc], 1
jne 0x100041ac
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
cmp eax, esi
test dword [ecx + 0x33fffff8], eax
cmp eax, esi
test dword [ecx + 0x33fffff8], eax
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.10002590
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.100024f1
add esp, 0xc
lea eax, [ebp - 0x12c]
invalid
Function at 0x100058ae
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.100021a0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005949
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x10008924]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x10005949
cmp eax, 1
je 0x1000596a
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10005949
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10005916
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x10005945
xor eax, eax
inc eax
jmp 0x10005989
cmp edi, eax
jae 0x1000594d
xor eax, eax
jmp 0x10005989
cmp eax, esi
jae 0x10005954
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x10008924]
jmp 0x1000596d
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d228
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100512d4]
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.100076e0
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 0x10003270
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d228
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100512d4]
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.100076e0
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

Function at 0x100076e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100076ef
pop dword [ebp - 0x24]
mov eax, 0x100076ef
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xae19bf19
sub dword [ebp - 0x34], 0x5fc779ce
mov dword [ebp - 0x30], 0xfd87e0a8
sub dword [ebp - 0x30], 0xcb549463
mov dword [ebp - 0x2c], 0xa2c657da
sub dword [ebp - 0x2c], 0x567a13ac
invalid
test eax, ebx
invalid