joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3195
Capabilities:
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4f06b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, 0xffffffff
jne 0x4a31da
xor al, al
jmp 0x4a32b1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
cmp eax, ebx
jne 0x4a31f2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4a31d3
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push ebx
push ebx
push ebx
push 4
push eax
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [edi + 4]
mov dword [ebp - 0x44], eax
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x4c]
call fcn.004a33a0
add esp, 0x10
push dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0x38]
push eax
push 0x1e
lea eax, [ebp - 0x24]
push eax
push dword [edi]
call esi
push ebx
lea eax, [ebp - 0x3c]
push eax
movzx eax, word [ebp - 0xa]
push eax
push dword [ebp - 0x2c]
push dword [edi]
call esi
push ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x12]
push dword [ebp - 0x28]
push dword [edi]
call esi
push dword [ebp - 0x28]
call fcn.004a5f5b
pop ecx
lea esi, [edi + 8]
lea eax, [ebp - 0x4c]
call fcn.00413553
movzx ecx, word [ebp - 0xa]
mov edx, dword [ebp - 0x12]
lea eax, [ecx + edx + 0x1e]
add dword [edi + 4], eax
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x34]
lea ecx, [ecx + edx + 0x1e]
add eax, dword [ebp - 0x38]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a545d
leave
ret
Function at 0x4a32bf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f06b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
xor edi, edi
sar eax, 3
mov dword [ebp - 0x20], edi
test eax, eax
je 0x4a332a
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*8]
push 0
lea ecx, [ebp - 0x24]
push ecx
push dword [eax + 4]
push dword [eax]
push dword [esi]
call ebx
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x20]
push dword [eax + ecx*8]
call fcn.004a5f5b
mov eax, dword [esi + 8]
pop ecx
mov ecx, dword [ebp - 0x20]
add edi, dword [eax + ecx*8 + 4]
mov ecx, dword [esi + 0xc]
inc dword [ebp - 0x20]
sub ecx, eax
sar ecx, 3
cmp dword [ebp - 0x20], ecx
jb 0x4a32e9
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
xor ecx, ecx
sar eax, 3
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
xor eax, eax
push eax
mov word [ebp - 8], ax
lea eax, [ebp - 0x24]
push eax
push 0x16
lea eax, [ebp - 0x1c]
push eax
push dword [esi]
mov dword [ebp - 0x1c], 0x6054b50
mov word [ebp - 0x18], cx
mov word [ebp - 0x16], cx
mov dword [ebp - 0x10], edi
call ebx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, edi
je 0x4a3382
push eax
call fcn.004a5452
pop ecx
push esi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.004a5452
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004a545d
leave
ret

Function at 0x4a361d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4f3d40], 0
push esi
push edi
jne 0x4a3593
call fcn.004a34ff
test eax, eax
je 0x4a35d8
mov eax, dword [0x4f3d40]
cmp eax, 1
jne 0x4a35b4
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4a35d8
jmp 0x4a361a
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4a361a
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4a35dc
xor eax, eax
jmp 0x4a361a
mov eax, dword [esi]
push dword [0x4f3d40]
call edi
mov edi, eax
test edi, edi
je 0x4a35fe
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4a361a
lea edi, [esi + 0xff0]
push esi
push dword [0x4f3d40]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4a3604
mov eax, esi
pop edi
pop esi
ret
jmp 0x4a357f

Function at 0x4a545d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f06b4]
jne 0x4a5467
repz ret
jmp fcn.004ad974
Function at 0x4b6e6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f06b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004af7aa
and dword [ebp - 0x14], 0
cmp dword [0x4f4ef4], 0
mov dword [ebp - 0x18], eax
jne 0x4b6f1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4b6fc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4cb58c
push ebx
call edi
test eax, eax
je 0x4b6fc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4cb57c
push ebx
mov dword [0x4f4ef4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4f4ef8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4f4efc], eax
call edi
push eax
call esi
mov dword [0x4f4f04], eax
test eax, eax
je 0x4b6f1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4f4f00], eax
mov eax, dword [0x4f4f00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4b6f78
cmp dword [0x4f4f04], ecx
je 0x4b6f78
push eax
call esi
push dword [0x4f4f04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4b6f78
test ebx, ebx
je 0x4b6f78
call edi
test eax, eax
je 0x4b6f6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4b6f6f
test byte [ebp - 8], 1
jne 0x4b6f78
or dword [ebp + 0x10], 0x200000
jmp 0x4b6fab
mov eax, dword [0x4f4ef8]
cmp eax, dword [ebp - 0x18]
je 0x4b6fab
push eax
call esi
test eax, eax
je 0x4b6fab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b6fab
mov eax, dword [0x4f4efc]
cmp eax, dword [ebp - 0x18]
je 0x4b6fab
push eax
call esi
test eax, eax
je 0x4b6fab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4f4ef4]
call esi
test eax, eax
je 0x4b6fc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4b6fc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a545d
leave
ret
Function at 0x4b9380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esi]
xor eax, eax
and ebp, 7
cmp edx, 5
mov dword [esp + 0xc], ecx
jae 0x4b93a1
pop esi
pop ebp
add esp, 0xc
ret 0xc
mov esi, dword [esp + 0x18]
add esi, 5
lea edx, [ecx + edx - 4]
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
push edi
mov edi, edi
mov ecx, dword [esp + 0x14]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x4b93df
jmp 0x4b93d0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x4b93df
add edi, 1
cmp edi, edx
jb 0x4b93d0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x10]
cmp edi, edx
jae 0x4b94f5
cmp ecx, 3
jbe 0x4b9415
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x10], eax
je 0x4b9453
cmp cl, 0xff
je 0x4b9453
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x4b93c0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x4b93f8
movzx ecx, byte [ebp + 0x4cb5c8]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x4cb5c0], 0
mov cl, byte [ebx + 4]
je 0x4b943f
test cl, cl
je 0x4b943f
cmp cl, 0xff
jne 0x4b93f8
and ebp, 3
add ebp, ebp
mov dword [esp + 0x10], eax
or ebp, 1
add eax, 1
jmp 0x4b93c0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x4b947e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x4b9484
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x4b94c6
movzx esi, byte [ebp + 0x4cb5c8]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x4b94a9
cmp dl, 0xff
jne 0x4b94c2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x4b9470
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x18]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x4b93c0
cmp ecx, 3
pop edi
pop ebx
jbe 0x4b950c
mov ecx, dword [esp + 0x1c]
xor ebp, ebp
pop esi
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x1c]
pop esi
and ebp, 7
mov dword [ecx], ebp
pop ebp
add esp, 0xc
ret 0xc
Function at 0x406770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal bl, 0xff
inc dword [ecx]
add byte [eax], al
add byte [ebx - 0xc3f43], al
inc dword [eax]
jne 0x4065ff
mov ecx, dword [ebp - 0x18cc]
mov dword [ebp - 0x4e0], ecx
jmp 0x406610
jmp 0x4063e9
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x738], eax
push edi
or edi, 0x136f6
pop edi
push eax
or eax, 0x31c7
jmp 0x406633
pop eax
push esi
or esi, 0xc95a
jmp 0x406641
jmp 0x406647
or esi, 0x11891
pop esi
mov ecx, dword [ebp - 0x3cc]
add ecx, 0xe
mov dword [ebp - 0x1918], ecx
push eax
xor eax, 0x7b0b
call 0x406674
add byte [ecx], bh
dec esi
xor al, byte ss:[eax + 0x50]
cmp al, 0x38
inc edi
inc edx
add esp, 4
xor eax, 0x44
pop eax
push ebx
push edx
add esp, 4
jmp 0x406688
add ebx, 0x2e77
pop ebx
cmp dword [ebp - 0x3cc], 0
je 0x4066a1
cmp dword [ebp - 0xa5c], 0
jne 0x4066e7
push ebx
xor ebx, 0xd387
jmp 0x4066ae
or ebx, 0x7f61
add ebx, 0x1423f
pop ebx
push esi
push ecx
add esp, 4
or esi, 0xf2d3
pop esi
push ebx
push esi
add esp, 4
add ebx, 0x6018
pop ebx
mov edx, dword [ebp - 0x738]
mov dword [ebp - 0x18d0], edx
push 0
call dword [ebp - 0x18d0]
mov dword [ebp - 0x1fb0], 0xa
push ebx
and ebx, 0x1565b
jmp 0x4066ff
pop ebx
push edi
jmp 0x406706
pop edi
push edi
jmp 0x40670d
call 0x406719
add byte [eax], bh
cmp eax, dword ss:[ebx + 0x36]
dec esi
add esp, 4
add edi, 0x9786
pop edi
mov eax, dword [ebp - 0x3cc]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x381], cl
mov edx, dword [ebp - 0xa5c]
sub edx, dword [ebp - 0x3cc]
mov dword [ebp - 0x158c], edx
mov dword [ebp - 0xc70], 0
push edi
or edi, 0x1646b
pop edi
push edx
push esi
add esp, 4
or edx, 0x155b1
call 0x406770
add byte [ecx + edi + 0x49], cl
dec esp
inc edx
aaa
inc esi
cmp ecx, dword [esi - 0x7d]
les eax, [ecx + eax*4]
retf 0x4dd8
Function at 0x42bc30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b4e7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x4594f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call dword [0x43ea6c]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call dword [0x43e894]
push 0x320
call fcn.00431a24
add esp, 4
mov esi, eax
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x22], ax
xorps xmm0, xmm0
mov eax, 5
movlpd qword [ebp - 0x60], xmm0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
movlpd qword [ebp - 0x58], xmm0
push eax
push dword [ebp + 0xc]
movlpd qword [ebp - 0x50], xmm0
push 0
push 0x10
push 0
push 0
push 0
push esi
push 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov dword [ebp - 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
call fcn.00431a2a
add esp, 4
lea ecx, [ebp - 0x10]
call dword [0x43ea64]
lea ecx, [ebp + 8]
call dword [0x43ea64]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x42ef30
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
pop esi
sete cl
mov eax, ecx
pop ebp
ret 4

Function at 0x42f170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 0xc]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f1a5
cmp dword [ebp + 0xc], 4
je 0x42f1b1
mov eax, 0xd
mov dword [esi + 0xc], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0xc], 0
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x42f1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x4594f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x800
push 0
push eax
mov edi, ecx
call fcn.00434d7b
add esp, 0xc
mov dword [ebp - 0x808], 0x800
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42f25b
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x42f242
cmp eax, 2
jne 0x42f256
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x42f273
cmp byte [ebp + eax - 0x805], 0
je 0x42f27a
mov eax, 0xd
mov dword [edi + 0xc], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432a68
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 0x804], 0
push eax
lea eax, [ebp - 0x804]
mov dword [edi + 0xc], 0
push eax
push dword [ebp + 0x10]
push ebx
call dword [0x43e314]
add esp, 0x10
test eax, eax
jne 0x42f25b
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432a68
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42f440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x14]
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
pop esi
sete cl
mov eax, ecx
pop ebp
ret 0x10

Function at 0x42f600
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x42f61b
mov dword [esi + 0xc], 0xd
xor eax, eax
pop esi
pop ebp
ret 8
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42f621
sub eax, edi
inc eax
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esi + 0xc], ecx
pop edi
sete al
pop esi
pop ebp
ret 8

Function at 0x42f650
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push 4
mov dword [ebp + 0xc], eax
mov esi, ecx
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
pop esi
sete cl
mov eax, ecx
pop ebp
ret 8

Function at 0x42f690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
push 4
mov dword [ebp + 0xc], eax
mov esi, ecx
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
pop esi
sete cl
mov eax, ecx
pop ebp
ret 8
Function at 0x430880
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c1c0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4594f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call dword [0x43ea6c]
movzx eax, word [ebp + 0x10]
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push 0x43ff90
push eax
call dword [0x43e7e4]
push 0x104
call fcn.00431a24
add esp, 0x10
mov ebx, eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
call fcn.00431a24
push 0
push ebx
mov esi, eax
call dword [0x43e2dc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
cmp eax, 0xffffffff
je 0x43098f
push ebx
push 0x104
push esi
push 0x43f42f
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x430937
mov ecx, dword [ebp + 0x14]
push esi
call dword [0x43eb4c]
mov edi, 1
jmp 0x430991
push ebx
push 0x104
push esi
push 0x43f42f
push 0x440894
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x430962
mov ecx, dword [ebp + 0x14]
push esi
call dword [0x43eb4c]
mov edi, 1
jmp 0x430991
push ebx
push 0x104
push esi
push 0x43f42f
push 0x440894
push str.default
call edi
test eax, eax
je 0x43098f
mov ecx, dword [ebp + 0x14]
push esi
call dword [0x43eb4c]
mov edi, 1
jmp 0x430991
xor edi, edi
push ebx
push 0x104
push esi
push 0x440894
push str.debug
push str.default
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4309c0
push esi
call dword [0x43e2d0]
mov ecx, dword [ebp + 0x18]
add esp, 4
mov dword [ecx], eax
push ebx
call fcn.00431a2a
push esi
call fcn.00431a2a
add esp, 8
lea ecx, [ebp - 0x10]
call dword [0x43ea64]
lea ecx, [ebp + 8]
call dword [0x43ea64]
lea ecx, [ebp + 0xc]
call dword [0x43ea64]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x430a00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c1ee
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4594f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push 0xa
push eax
push 0x59
mov dword [ebp - 0x2c], edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x400
call esi
test eax, eax
je 0x430c31
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x5a
push 0x400
call esi
test eax, eax
je 0x430c31
mov esi, dword [0x43e3bc]
lea eax, [ebp - 0x1c]
push 0x44ab84
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab88
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab8c
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab90
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab94
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab98
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44ab9c
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44aba0
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44aba4
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44aba8
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abac
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abb0
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abb4
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abb8
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abbc
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abc0
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abc4
push eax
call esi
add esp, 8
test eax, eax
je 0x430bd6
lea eax, [ebp - 0x1c]
push 0x44abc8
push eax
call esi
add esp, 8
test eax, eax
jne 0x430bf0
push 0xa
push 0x44abcc
lea eax, [ebp - 0x1c]
push 0xa
push eax
call dword [0x43e3c8]
add esp, 0x10
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x2c]
call dword [0x43ea6c]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push str._s__s
push eax
call dword [0x43e7e4]
add esp, 0x10
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call dword [0x43e898]
lea ecx, [ebp - 0x2c]
call dword [0x43ea64]
jmp 0x430c3e
push str.en_US
mov ecx, edi
call dword [0x43ea68]
mov eax, edi
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.00432a68
mov esp, ebp
pop ebp
ret 4
Function at 0x430c60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
movlpd qword [ebp - 0x50], xmm0
push 0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x430cc5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x430cd3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call dword [0x43ea64]
mov esp, ebp
pop ebp
ret 8