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

Disassembly:
push 0x18
mov eax, 0x102189ae
call fcn.101b70f2
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call fcn.101da00b
push ebx
push eax
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.1001958d
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x18]
inc ebx
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], bl
push eax
call fcn.1003c056
add esp, 0x18
test al, al
je 0x1001901f
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
push 0
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1001901b
test eax, eax
jne 0x10019021
mov byte [esi + 0x3c], 0
xor bl, bl
lea ecx, [ebp - 0x18]
call fcn.1001b022
lea ecx, [ebp - 0x24]
call fcn.1001b022
mov al, bl
call fcn.101b70bb
ret 4

Function at 0x1001903b
Capabilities:
Send data
Send data on socket

Disassembly:
push 0x18
mov eax, 0x102189ae
call fcn.101b70f2
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call fcn.101da00b
push ebx
push eax
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.100195ea
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x18]
inc ebx
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], bl
push eax
call fcn.1003c056
add esp, 0x18
test al, al
je 0x100190b0
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
push 0
push eax
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x100190ac
test eax, eax
jne 0x100190b2
mov byte [esi + 0x3c], 0
xor bl, bl
lea ecx, [ebp - 0x18]
call fcn.1001b022
lea ecx, [ebp - 0x24]
call fcn.1001b022
mov al, bl
call fcn.101b70bb
ret 4
Function at 0x1001d79b
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 4
mov eax, 0x10219019
call fcn.101b70f2
mov edi, ecx
mov esi, 0x208
lea eax, [ebp]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.101d1720
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [ebp + 0x208]
push ebx
push eax
call fcn.101d1720
add esp, 0xc
lea eax, [ebp + 0x208]
push eax
push ebx
push 0x10233768
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], ebx
push 0x1001d745
lea eax, [ebp + 0x208]
mov dword [ebp - 4], ebx
push eax
push dword [edi + 0x90]
lea ecx, [edi + 0xb0]
call fcn.1004f6f5
push dword [edi + 0x118]
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.100205c8
test bl, bl
jne 0x1001d857
xor ebx, ebx
push ebx
push 0x3e8
jmp 0x1001d905
lea eax, [ebp + 0x208]
push eax
lea esi, [edi + 0x8c]
call fcn.1000d790
pop ecx
push eax
lea eax, [ebp + 0x208]
mov ecx, esi
push eax
call fcn.1000d6e0
mov ebx, str..exe
push ebx
call fcn.1000d790
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.1000f790
push 1
push dword [esi]
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
mov byte [edi + 0xa1], bl
cmp byte [edi + 0xa2], bl
je 0x1001d8c7
push ebx
push ebx
push 0x467
push dword [edi + 0x64]
call esi
mov byte [edi + 0xa2], bl
xor eax, eax
cmp byte [edi + 0xa3], al
sete al
push eax
push 0x3e9
push 0x46f
push dword [edi + 0x64]
call esi
push dword [edi + 0x78]
mov esi, 0x3e9
push esi
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp byte [edi + 0xa3], bl
je 0x1001d913
push ebx
push esi
push 0x466
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.101b70aa
lea esp, [ebp + 0x414]
pop ebp
ret
Function at 0x10024af4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x44
mov eax, 0x10219765
call fcn.101b7126
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x50], ebx
call fcn.1002560e
cmp dword [eax], 6
jge 0x10024b2a
push dword [eax]
call fcn.100256a5
pop ecx
add eax, 4
mov ecx, esi
push eax
call fcn.10019860
jmp 0x10024c7d
push str.No_4.5_or_later_version_detected
lea ecx, [ebp - 0x28]
call fcn.10019883
cmp dword [0x102c9cc0], 0x10
lea ecx, [ebp - 0x4c]
push ecx
push 0x20019
mov eax, 0x102c9cac
mov dword [ebp - 4], ebx
cmovae eax, dword [0x102c9cac]
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10024c5b
push str.Release
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], ebx
call fcn.10019883
cmp dword [eax + 0x14], 0x10
jb 0x10024b8a
mov eax, dword [eax]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
lea ecx, [ebp - 0x40]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.10016f10
add bl, 1
je 0x10024c59
mov eax, dword [ebp - 0x44]
cmp eax, 0x60632
jb 0x10024bdc
mov edi, str.4.6.2_or_later
push edi
call fcn.1001b9de
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
mov eax, dword [ebp - 0x44]
cmp eax, 0x60039
jb 0x10024bfc
mov edi, str.4.6_RC_or_later
push edi
call fcn.1001b9de
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
mov eax, dword [ebp - 0x44]
cmp eax, 0x5cbf5
jb 0x10024c1c
mov edi, str.4.5.2_or_later
push edi
call fcn.1001b9de
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
mov eax, dword [ebp - 0x44]
cmp eax, 0x5c733
jb 0x10024c3c
mov edi, str.4.5.1_or_later
push edi
call fcn.1001b9de
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
mov eax, dword [ebp - 0x44]
cmp eax, 0x5c615
jb 0x10024c59
mov edi, str.4.5_or_later
push edi
call fcn.1001b9de
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.1001b20a
xor ebx, ebx
lea eax, [ebp - 0x28]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
push eax
mov byte [esi], bl
call fcn.1001a9ee
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10016f10
mov eax, esi
call fcn.101b70d0
ret
Function at 0x10024c85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
call fcn.100254b0
pop ecx
pop ecx
test al, al
je 0x10024ca4
xor al, al
jmp 0x10024d5b
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x102c9d84
cmp edi, dword [esi - 0x48]
jne 0x10024d45
cmp dword [esi - 0x18], 0x10
jb 0x10024cc2
mov eax, dword [esi - 0x2c]
jmp 0x10024cc5
lea eax, [esi - 0x2c]
lea ecx, [ebp - 4]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10024d32
cmp dword [esi], 0x10
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], ebx
jb 0x10024cf3
mov eax, dword [esi - 0x14]
jmp 0x10024cf6
lea eax, [esi - 0x14]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esi + 0x18], 0x10
jb 0x10024d1e
mov eax, dword [esi + 4]
jmp 0x10024d21
lea eax, [esi + 4]
push 0x10
push ebx
push eax
call fcn.101de78a
add esp, 0xc
cmp eax, dword [ebp - 8]
je 0x10024d60
cmp edi, 5
jne 0x10024d45
push ebx
push 6
call fcn.10024c85
pop ecx
pop ecx
test al, al
jne 0x10024d60
sub esi, 0xac
cmp esi, 0x102c98d0
jge 0x10024cae
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 1
jmp 0x10024d59

Function at 0x1002550e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push 0xf003f
push eax
call fcn.10025881
pop ecx
pop ecx
test eax, eax
jne 0x1002554c
cmp dword [ebp + 8], eax
push 2
setne al
add eax, 0x30
mov word [ebp - 4], ax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x10233cec
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x1002560e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 7
pop edi
mov esi, 0x102c9d58
xor ebx, ebx
cmp dword [esi + 0x14], 0x10
jb 0x1002562b
mov eax, dword [esi]
jmp 0x1002562d
mov eax, esi
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push ebx
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002567d
cmp dword [esi + 0x2c], 0x10
mov dword [ebp - 8], 4
mov dword [ebp - 4], ebx
jb 0x1002565c
mov eax, dword [esi + 0x18]
jmp 0x1002565f
lea eax, [esi + 0x18]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002567d
cmp dword [ebp - 4], 1
je 0x10025698
sub esi, 0xac
dec edi
cmp esi, 0x102c98a4
jge 0x10025621
mov eax, 0x102c9888
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
imul eax, edi, 0xac
add eax, 0x102c9888
jmp 0x10025691
Function at 0x100259cf
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push 0xf003f
push 1
push esi
push esi
push str.SOFTWARE128r95e71b23o59o10t00
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10025a1d
push 0xa
push str.temp
push 1
push esi
push 0x1023493c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10025a22
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
push 0x10234940
mov ebx, reloc.WS2_32.dll_bind
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10025aa6
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push edi
push edi
push edi
push 0x10234980
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10025a98
push dword [ebp - 4]
call fcn.1019ae50
pop ecx
push dword [ebp - 4]
test al, al
je 0x10025a83
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x10025aa8
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x10234984
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 4], edi
je 0x10025aa6
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002692a
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1021caa8
call fcn.101b7126
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10026a2a
cmp byte [ebx + 0x3d], 0
je 0x10026a2a
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10026964
xor al, al
jmp 0x10026a2c
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.10026bee
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x28]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x100269c2
sub eax, 1
je 0x100269c6
dec eax
sub eax, 1
je 0x10026a18
xor bl, bl
jmp 0x10026a1a
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x100269fe
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.101df4b1
add esp, 0x10
cmp esi, eax
jne 0x100269be
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp byte [ebx + 0x3d], 0
je 0x10026a18
test esi, esi
jne 0x10026988
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10021fdf
jmp 0x10026982
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10016f10
mov al, bl
jmp 0x10026a2c
mov al, 1
call fcn.101b70d0
ret
Function at 0x10026e77
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x1021c093
call fcn.101b7126
mov esi, ecx
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp + 8]
or ebx, 0xffffffff
cmp ecx, ebx
sete al
test al, al
je 0x10026ea3
xor eax, eax
cmp ecx, ebx
cmovne eax, ecx
jmp 0x10027004
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x10026ed1
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x10026ed1
mov eax, dword [ebp + 8]
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x10027004
cmp dword [esi + 0x4c], 0
je 0x10027002
mov ecx, esi
call fcn.10026b4e
xor ecx, ecx
cmp dword [esi + 0x38], ecx
jne 0x10026f01
push dword [esi + 0x4c]
mov esi, dword [ebp + 8]
push esi
call fcn.1002606f
test al, al
pop ecx
pop ecx
cmovne ebx, esi
jmp 0x10027002
mov eax, dword [ebp + 8]
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea ecx, [ebp - 0x28]
push 8
mov byte [ebp - 0x2c], al
mov dword [ebp - 0x14], 0xf
call fcn.10026bee
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x14]
mov esi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmp edi, 0x10
lea edx, [ebp - 0x28]
mov edi, dword [esi]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, ecx
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call dword [edi + 0x1c]
test eax, eax
js 0x10026ff6
cmp eax, 1
jg 0x10026fdb
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edi, 0x10
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x30]
cmovae eax, ecx
sub edx, eax
mov dword [ebp - 0x3c], edx
je 0x10026fac
push dword [esi + 0x4c]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push edx
cmovae eax, ecx
push 1
push eax
call fcn.101df4b1
mov edx, dword [ebp - 0x3c]
add esp, 0x10
cmp edx, eax
jne 0x10026ff6
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x40], eax
jne 0x10026fd6
test edx, edx
jne 0x10026f2c
cmp dword [ebp - 0x18], 0x20
jae 0x10026ff6
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.10021fdf
jmp 0x10026f29
mov ebx, dword [ebp + 8]
jmp 0x10026ff6
cmp eax, 3
jne 0x10026ff6
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.1002606f
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10016f10
mov eax, ebx
call fcn.101b70d0
ret 4
Function at 0x10027d91
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x18]
xor ebx, ebx
push edi
mov edi, ecx
test ebp, ebp
je 0x10027da3
mov dword [ebp], ebx
cmp dword [edi], ebx
jne 0x10027dc3
movzx eax, byte [esp + 0x28]
push eax
push dword [esp + 0x28]
call fcn.10027fd2
mov dword [edi], eax
test eax, eax
jne 0x10027dc3
xor al, al
jmp 0x10027f4c
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi + 0xc]
push eax
mov dword [esp + 0x20], eax
call fcn.10066581
mov ecx, eax
mov eax, dword [esp + 0x18]
push esi
push dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [ecx], eax
lea eax, [ecx + 8]
push eax
mov dword [ecx + 4], esi
call fcn.101d11a0
add esp, 0x10
mov dword [esp + 0x2c], ebx
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push ebx
push eax
push esi
push dword [esp + 0x2c]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10027e23
cmp esi, dword [esp + 0x2c]
je 0x10027e6a
cmp dword [edi], ebx
je 0x10027e2f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push dword [esp + 0x2c]
mov ecx, edi
call fcn.10027fd2
mov dword [edi], eax
test eax, eax
je 0x10027f3f
push ebx
lea ecx, [esp + 0x30]
push ecx
push esi
push dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10027f3f
cmp esi, dword [esp + 0x2c]
jne 0x10027f3f
cmp byte [esp + 0x24], bl
jne 0x10027e87
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x10027f3f
mov esi, 0x1000
cmp dword [edi + 8], ebx
jne 0x10027ea6
push esi
call fcn.10066581
mov dword [edi + 8], eax
pop ecx
test eax, eax
je 0x10027f3f
mov dword [edi + 4], esi
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
jmp 0x10027f08
cmp dword [esp + 0x24], esi
jb 0x10027f2a
cmp esi, dword [esp + 0x24]
jne 0x10027f04
mov esi, dword [edi + 4]
mov eax, dword [edi + 8]
add esi, 0x1000
push esi
mov dword [esp + 0x2c], eax
call fcn.10066581
mov dword [edi + 8], eax
pop ecx
test eax, eax
je 0x10027f1e
push dword [edi + 4]
push dword [esp + 0x2c]
push eax
call fcn.101d11a0
mov eax, dword [edi + 4]
add esp, 0xc
add eax, dword [edi + 8]
mov dword [edi + 4], esi
mov esi, 0x1000
mov dword [esp + 0x28], eax
jmp 0x10027f08
mov eax, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x28]
push ecx
push esi
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10027eb6
jmp 0x10027f3f
push dword [esp + 0x28]
call fcn.1006658a
pop ecx
jmp 0x10027f3f
mov ecx, dword [edi + 8]
cmp dword [ecx], 1
sete bl
cmp dword [ecx], 1
jne 0x10027f3f
test ebp, ebp
je 0x10027f3f
mov dword [ebp], ecx
push dword [esp + 0x20]
call fcn.1006658a
pop ecx
mov al, bl
pop esi
pop edi
pop ebp
pop ebx
ret 0x1c
Function at 0x10027fd2
Capabilities:
Create process on windows
Read file on windows

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, ecx
mov byte [esp + 0x13], 0
xor ebx, ebx
call fcn.1002834e
mov esi, eax
push 0x12c
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x10028045
xor eax, eax
push eax
push eax
push 3
push eax
push eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea ecx, [ebp + 0xc]
lea eax, [esp + 0x18]
push eax
push 4
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100280e1
cmp dword [esp + 0x14], 4
jne 0x100280e1
cmp esi, 0xffffffff
jne 0x100280dd
cmp dword [esp + 0x74], 0
je 0x100280eb
cmp byte [esp + 0x13], 0
jne 0x100280c7
push 0x40
lea eax, [esp + 0x30]
mov byte [esp + 0x17], 1
push 0
push eax
call fcn.101d1720
add esp, 0xc
mov dword [esp + 0x28], 0x44
lea eax, [esp + 0x18]
xorps xmm0, xmm0
mov ecx, ebp
movups xmmword [esp + 0x18], xmm0
push eax
lea eax, [esp + 0x2c]
push eax
xor eax, eax
push eax
push eax
push eax
push 1
push eax
push eax
push dword [esp + 0x90]
call fcn.100280f7
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100280eb
cmp dword [esp + 0x18], 0
je 0x10027fe8
push dword [esp + 0x18]
call edi
push dword [esp + 0x1c]
call edi
jmp 0x10027fe8
cmp ebx, 0x1e
jge 0x100280eb
push 0x12c
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10027fe8
mov eax, esi
jmp 0x100280ed
push esi
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
push esi
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
Function at 0x1002a46c
Capabilities:
Check mutex on windows

Disassembly:
push esi
push 0xa
call fcn.1002a528
pop ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x1002a496
push 0x102352f4
push 0xb
call fcn.1002a53c
pop ecx
pop ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov edx, 0x102352fc
mov ecx, 0x102352f8
cmovne ecx, edx
push ecx
push 0xb
call fcn.1002a53c
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x1002ca48
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x818
lea ebp, [esp - 4]
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp + 0x818], eax
push 0xc
mov eax, 0x1021a394
call fcn.101b70f2
mov eax, dword [ebp + 0x828]
mov edi, dword [ebp + 0x824]
mov ebx, dword [ebp + 0x82c]
mov esi, dword [ebp + 0x830]
and dword [ebp - 0x18], 0
push 0x800
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.101d1720
xor ecx, ecx
mov dword [ebp + 0x14], 7
xor eax, eax
mov dword [ebp + 0x10], ecx
add esp, 0xc
mov word [ebp], ax
cmp dword [ebx + 0x14], 8
mov dword [ebp - 4], ecx
jb 0x1002cabb
mov ebx, dword [ebx]
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ecx
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002cb22
cmp dword [esi + 0x14], 8
mov ebx, 0x400
mov dword [ebp - 0x10], ebx
jb 0x1002cae3
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x18]
push eax
push 0
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002cb22
cmp dword [ebp - 0x10], ebx
ja 0x1002cb22
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x18]
push eax
call fcn.10010cd0
pop ecx
push eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp]
call fcn.10011260
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.1001f78e
push 0
push 1
lea ecx, [ebp]
call fcn.10011560
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x818]
xor ecx, ebp
call fcn.101b70aa
lea esp, [ebp + 0x81c]
pop ebp
ret
Function at 0x1002dbd4
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.101d1720
mov esi, dword [ebp + 8]
add esp, 0xc
cmp word [esi], bx
je 0x1002dc4b
push edi
lea edi, [ebp - 0x20c]
sub edi, esi
movzx eax, word [esi]
push 0x5c
pop ecx
cmp cx, ax
je 0x1002dc24
push 0x2f
pop ecx
cmp cx, ax
jne 0x1002dc3b
push 0x3a
pop eax
cmp ax, word [esi - 2]
je 0x1002dc3b
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ax, word [esi]
mov word [edi + esi], ax
add esi, 2
cmp word [esi], bx
jne 0x1002dc11
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.101b70aa
mov esp, ebp
pop ebp
ret
Function at 0x100307e1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x102cb704], 0
jne 0x1003083a
push edi
xor eax, eax
lea edi, [ebp - 0x16]
mov word [ebp - 0x18], ax
stosd dword es:[edi], eax
push 6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
pop edi
test eax, eax
jle 0x1003083a
lea eax, [ebp - 0x18]
push eax
call fcn.10030d48
pop ecx
mov dword [0x102bb1a0], eax
mov byte [0x102cb704], 1
jmp 0x1003083f
mov eax, dword [0x102bb1a0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret

Function at 0x100311fc
Capabilities:
Hide graphical window

Disassembly:
cmp dword [0x102cb720], 0
je 0x10031238
mov eax, dword [0x102cb72c]
test eax, eax
je 0x10031238
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10031238
push dword [0x102cb72c]
mov ecx, dword [0x102cb720]
call fcn.10011d30
push 0
push dword [0x102cb72c]
call dword [sym.imp.USER32.dll_ShowWindow]
ret