joyce8/EMBER2024-capa huggingface dataset:
Function at 0x105f2ec1
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x105ed800
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x105f2f3e
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x105ed820], 0
je 0x105f2f2d
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x105ed820]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x105f2f2d
cmp dword [ebp - 4], 0x103
je 0x105f2f2d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x105ed820]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x105ed820], 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.105f3116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x105f2ed9
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 0x64
jge 0x105f2f7a
mov edx, dword [ebp - 8]
cmp dword [edx*4 + 0x105ed820], 0
je 0x105f2f69
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x105ed820]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [ebp - 8]
push edx
call fcn.105f3116
add esp, 4
mov dword [ebp - 8], eax
jmp 0x105f2f45
mov esp, ebp
pop ebp
ret

Function at 0x105f2f7e
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0x64
jge 0x105f2fbe
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x105ed820], 0
je 0x105f2fad
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x105ed820]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
push eax
call fcn.105f3116
add esp, 4
mov dword [ebp - 4], eax
jmp 0x105f2f89
push 0x105ed800
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret

Function at 0x105f4cf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x105f4d65
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x105f4d3c
mov word [0x105ebb50], cx
call fcn.105f71a0
add esp, 0x94
ret
cmp dword [esp + 4], 5
jne 0x105f4d29
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x105f4d29
mov word [0x105ebb50], ax
call fcn.105f4a40
call fcn.105f4bd0
call fcn.105f71a0
add esp, 0x94
ret
Function at 0x105f5a40
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.10601160
test eax, eax
jne 0x105f5a70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x105f5a85
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x105f5ac9
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x105f5aa9
cmp eax, 0x102
jne 0x105f5ab6
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x105f5ac0
jmp 0x105f5a8f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.105f5b40
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x105f5ae0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.10601160
test eax, eax
jne 0x105f5af8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x105f5b01
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x105f5b14
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x105f5b2b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x105f9380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x208
push ebx
mov bx, word [esp + 0x220]
neg bx
push ebp
mov ebp, dword [esp + 0x21c]
sbb ebx, ebx
push esi
mov al, byte [ebp]
and ebx, 0xfffffffe
add ebx, 4
push edi
test al, al
je 0x105f93ce
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x105ea504
mov byte [ebp], 0
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
test eax, eax
je 0x105f93f6
jbe 0x105f93f6
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x14], eax
jmp 0x105f93fe
mov dword [esp + 0x14], 0xa
mov ecx, dword [esp + 0x21c]
cmp word [ecx + 0x74], 4
jne 0x105f9411
mov ebx, 2
mov edx, dword [esp + 0x228]
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0xc4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x224]
lea ecx, [esp + 0xc8]
push eax
push ecx
push edx
push ebx
call fcn.105fdc20
test ax, ax
jne 0x105f9586
cmp word [esp + 0x14], ax
mov dword [esp + 0x10], 0x46
mov dword [esp + 0x1c], 0
jbe 0x105f959b
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea esi, [esp + 0xc4]
mov dword [esp + 0x18], esi
cmp word [esi + 0x20], 0
jbe 0x105f9560
mov ecx, 0x10
xor eax, eax
mov edi, ebp
push 0x105ea4e4
rep stosd dword es:[edi], eax
lea eax, [esp + 0x64]
push eax
call ebx
mov ecx, dword [esp + 0x224]
push esi
push ecx
call fcn.105f8850
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 0x105ea4e4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x74]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x78]
push 0x105ea4e4
push ecx
call ebx
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x40]
push 0x105e96d0
push edx
call esi
add esp, 0x28
test eax, eax
je 0x105f950c
lea eax, [esp + 0x20]
push 0x105e9704
push eax
call esi
add esp, 8
test eax, eax
jne 0x105f951b
push 0x105e96c0
push ebp
call esi
add esp, 8
test eax, eax
je 0x105f955c
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x228]
mov eax, dword [esp + 0x220]
push ecx
mov ecx, dword [esp + 0x220]
push edx
push ebp
push eax
push ecx
call fcn.105f8cd0
add esp, 0x14
mov dword [esp + 0x10], eax
test ax, ax
je 0x105f9582
lea edx, [esp + 0x60]
push 0x105ea4e4
push edx
call ebx
add esp, 8
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
and ecx, 0xffff
add esi, 0x22
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jl 0x105f9479
mov eax, dword [esp + 0x10]
cmp ax, 0x45
jne 0x105f959f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x208
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x105f95b0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x105f9641
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.10602560
add esp, 0xc
cmp eax, 0xffffffff
jne 0x105f9637
mov eax, dword [0x105ea4dc]
mov cx, word [0x105ea4e0]
mov dl, byte [0x105ea4e2]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x105f9688
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x105f966b
mov dx, word [0x105ea4e0]
mov ecx, dword [0x105ea4dc]
mov al, byte [0x105ea4e2]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.10600fd0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.10602560
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x105f9720
mov edx, dword [0x105ea558]
mov eax, dword [0x105ea55c]
mov ecx, dword [0x105ea560]
mov dword [esp + 0xd0], edx
mov dx, word [0x105ea564]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x105f974b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.10600ef0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x105ebba8], eax
add esp, 0x4c8
ret
Function at 0x105f9b80
Capabilities:
Create thread

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
cmp edi, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
je 0x105f9dbe
mov esi, dword [esp + 0x44]
cmp si, bp
jbe 0x105f9dbe
cmp si, 0xffff
jne 0x105f9bbf
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
add esp, 0x2c
ret 0xc
push edi
call fcn.105f8550
mov ebx, eax
add ebx, 0x18
cmp word [ebx], 0x7242
jne 0x105f9db0
test byte [ebx + 0x12], 4
jne 0x105f9bee
mov eax, 2
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push esi
push edi
call fcn.10603b30
cmp ax, bp
jne 0x105f9dc2
push edi
call fcn.105f9b30
add esp, 4
test ax, ax
je 0x105f9c25
push edi
call fcn.10603c90
cmp ax, bp
jne 0x105f9bb1
push edi
call fcn.105f9b30
add esp, 4
test ax, ax
jne 0x105f9c0c
push edi
call fcn.105f97a0
mov ecx, dword [0x105edaa8]
push ecx
push eax
call fcn.105f9a10
mov esi, eax
add esp, 0xc
cmp word [esi + 0x76], bp
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x105f9c67
push 0x1000
call ebp
test eax, eax
je 0x105f9c67
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
cmp word [esp + 0x48], 1
jne 0x105f9da3
cmp word [0x105ebbba], 0
jne 0x105f9cf5
lea edx, [esp + 0x18]
push edx
call fcn.10601180
add esp, 4
test eax, eax
je 0x105f9ca1
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x105ebbc0], eax
jne 0x105f9ccc
mov eax, 0x4a
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea ecx, [esp + 0x40]
push ecx
push 0
push 0
push 0x105f6880
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x105ebbc4], eax
mov word [0x105ebbba], 1
cmp word [esi + 0x76], 0
je 0x105f9d1a
push 0x1000
call ebp
test eax, eax
je 0x105f9d1a
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push edi
call fcn.105f9960
add esp, 0xc
test eax, eax
jne 0x105f9d44
mov eax, 0x46
pop edi
pop esi
mov word [ebx + 6], ax
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
mov si, word [esp + 0x10]
mov ecx, dword [0x105ebba8]
neg si
sbb esi, esi
and esi, ecx
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.10603710
mov dx, word [ebx + 0x38]
mov ax, word [ebx + 0x36]
push 0
push 0
push 0
push esi
push 1
push 1
push edx
push eax
push ebx
call fcn.105fa4f0
add esp, 0x24
test ax, ax
je 0x105f9da3
push 0x404
push edi
call fcn.10603890
push edi
call fcn.10603970
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x2c
ret 0xc
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0x2c
ret 0xc
mov ax, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x105fa4f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.105f5ed0
add esp, 0x24
test ax, ax
je 0x105fa538
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x105ebbb8], 0
jne 0x105fa5ca
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push 0x105f5e00
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [0x105ebbb4], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x105fa5ca
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x105fa5d2
cmp dword [esp + 0x20], 0xffffffff
jne 0x105fa59e
test esi, esi
jge 0x105fa59e
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x105fa5ab
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.105f5ed0
mov ecx, dword [0x105ebbb4]
add esp, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x105fa5ec
mov edx, dword [0x105ebbb4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x105fa606
test esi, esi
jle 0x105fa606
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x105fa613
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.105f5ed0
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x105ebbb4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x10600ef0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x105ec538]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x10600f16
call fcn.10600f60
test eax, eax
je 0x10600f0c
or eax, 0xffffffff
pop esi
ret
mov dword [0x105ea770], 0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x10600f50
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x105ec538]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x10600f2a
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x10600f60
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [0x105ec538], eax
test eax, eax
jne 0x10600f97
mov eax, dword [sym.imp.MSVCRT.dll__iob]
push 0x105ea7a4
add eax, 0x40
push 0x105ea774
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x10600fa1
mov eax, dword [0x105ec538]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x10600fb7
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x10600fb9
shr ecx, 1
dec esi
jne 0x10600fa8
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x10600f9c
xor eax, eax
pop esi
ret

Function at 0x106011e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x10601269
cmp al, 4
jbe 0x10601257
lea eax, [esp + 4]
push eax
call fcn.10601270
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.10601270
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10601270
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebp, ebp
xor ebx, ebx
push 0x105ea804
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10601345
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ebp
push edx
push ebp
push 0x105ea7f4
push eax
call esi
test eax, eax
jne 0x10601345
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x10601345
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebp
je 0x10601345
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push ebp
push 0x105ea7f4
push eax
call esi
test eax, eax
jne 0x10601338
cmp dword [esp + 0x18], 7
jne 0x10601338
mov al, byte [edi]
mov esi, edi
test al, al
je 0x10601338
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ebp
push esi
call ebx
test eax, eax
je 0x10601330
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x10601316
jmp 0x10601338
mov dword [esp + 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x10601354
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret

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

Disassembly:
sub esp, 0x14
push esi
push 0x4e8
push 5
push 6
mov dword [esp + 0x10], 0x10
call fcn.105fe600
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x10601b15
mov edx, dword [esp + 4]
push ebx
mov ecx, edx
push edi
mov ebx, ecx
xor eax, eax
lea edi, [esp + 0x10]
push edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov word [esp + 0x14], 6
push eax
push esi
call sub.WSOCK32.dll_bind
pop edi
cmp eax, 0xffffffff
pop ebx
je 0x10601b15
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push esi
call sub.WSOCK32.dll_getsockname
cmp eax, 0xffffffff
je 0x10601b15
lea eax, [esp + 8]
push eax
call fcn.106019f0
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push esi
call sub.WSOCK32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x1c]
push 0x105ea890
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
mov eax, 1
pop esi
add esp, 0x14
ret
Function at 0x10602c20
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
call fcn.106065d0
add esp, 4
cmp eax, ebp
mov dword [0x105eda44], eax
je 0x10602c9c
push 0x105ea8d8
push 0x105ea8c8
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x10602c8e
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebp
push esi
call edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_fgetpos]
push ebp
push ebp
push esi
call edi
mov edx, dword [esp + 0x30]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 0x24
cmp edi, ebp
jne 0x10602ca6
mov eax, dword [0x105eda44]
push eax
call fcn.10606990
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov dword [edi], ebp
mov ecx, dword [esp + 0x10]
push esi
push ecx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov ebx, eax
mov dword [esp + 0x30], ebp
call dword [sym.imp.MSVCRT.dll_fclose]
mov edx, dword [0x105eda44]
push 0x10603160
push 0x10602d90
push edx
call fcn.10606ae0
mov eax, dword [0x105eda44]
push ebx
push ebx
push edi
push eax
call fcn.10606b10
add esp, 0x30
test eax, eax
jne 0x10602d0f
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [0x105eda44]
push ecx
call fcn.10606990
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x24]
mov ecx, 0x10
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ebx, [edx + 0x40]
mov ecx, 0x10
mov edi, ebx
lea ebp, [edx + 0x80]
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov esi, 0x105ed9c0
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x105eda00
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
mov esi, 0x105eda60
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x105eda40]
mov dword [edx + 0xc0], eax
mov ecx, dword [0x105eda44]
push ecx
call fcn.10606990
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret