joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016c1a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10016c6c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.10018ff0
mov ecx, eax
call fcn.10018aec
jmp 0x10016c89
push 0
push 0
push 0
push 0
push 0x1646
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esp, ebp
pop ebp
ret
Function at 0x1001fee9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1001ff19
push 0
push 0
push 0
push 0
push 0x1646
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1002008b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
je 0x1001ff66
mov dword [ebp - 0x20], 1
jmp 0x1001ff6a
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001ffe4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x1001ff87
mov dword [ebp - 0x10], 1
jmp 0x1001ff8b
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0x39d98273
jg 0x1001ff9d
mov dword [ebp - 0x14], 1
jmp 0x1001ffa1
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xfff7
jb 0x1001ffb3
mov dword [ebp - 0x18], 1
jmp 0x1001ffb7
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jg 0x1001ffca
mov dword [ebp - 0x1c], 1
jmp 0x1001ffce
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x1c]
test eax, eax
je 0x1001ffe4
mov dword [ebp - 0x48], 1
jmp 0x1001ffe8
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xe1abe8f2
ja 0x1002000c
mov dword [ebp - 0x24], 1
jmp 0x10020010
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jge 0x10020021
mov dword [ebp - 0x28], 1
jmp 0x10020025
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
add eax, 0xb994b748
mov dword [ebp - 0x2c], eax
push 2
mov ecx, dword [ebp - 0x4c]
call fcn.10018d32
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
cmp dword [ebp - 0x2c], 0x2c92
jge 0x10020051
mov dword [ebp - 0xc], 1
jmp 0x10020055
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 0x50]
call fcn.10018d32
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
jle 0x1002007f
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002007f
mov dword [ebp - 0x30], 1
jmp 0x10020083
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002e08c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002e0b7
push 0
push 0
push 0
push 0
push 0x1646
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1002e0e3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002e0e3
push 0
push 0x254
push 0xbfa
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov esp, ebp
pop ebp
ret

Function at 0x10031c11
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10031c58
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x10031c78
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x10031c78
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret
Function at 0x10033c0f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10033c33
xor eax, eax
jmp 0x10033d60
push 0x2231
push 0x5304
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10033a85
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033c65
xor eax, eax
jmp 0x10033d60
push 0x298f
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
push 0x15d6
call fcn.10033499
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x10033c8d
xor eax, eax
jmp 0x10033d60
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x1fab
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10033b1a
add esp, 0x1c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 1
call fcn.10033bb1
add esp, 0x10
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10033ce9
push dword [ebp - 4]
push 0x5f5e
push dword [ebp - 0x14]
push 1
call fcn.10030a02
add esp, 0x10
push dword [ebp - 4]
call fcn.10033399
pop ecx
test eax, eax
jne 0x10033cfa
xor eax, eax
jmp 0x10033d60
push 1
push dword [ebp - 4]
call fcn.1002c667
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033d48
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x10033d25
xor eax, eax
jmp 0x10033d60
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033d3e
xor eax, eax
jmp 0x10033d60
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033d59
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033d5d
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004ddad
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004ddef
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004dded
push 0
push 0
push 0
push 0
push 0x1646
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1004ddfa
push 0x1948
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esp, ebp
pop ebp
ret

Function at 0x1004dfcf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004dfea
push 0x1a0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004e018
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1004e035
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018d32
mov dword [eax], 1
jmp 0x1004e00d
mov esp, ebp
pop ebp
ret
Function at 0x10076dd5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10081330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10067b05
mov dword [ebp - 0x14], eax
cmp dword [0x1066dae4], esi
jne 0x10076ec8
push 0x800
push esi
push 0x1000774c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10076e55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10076fa8
push esi
push esi
push 0x1000774c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10076fa8
push 0x10007764
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10076fa8
push eax
call ebx
push 0x10007770
push edi
mov dword [0x1066dae4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007780
push edi
mov dword [0x1066dae8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007794
push edi
mov dword [0x1066daec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066daf4], eax
test eax, eax
je 0x10076ec5
push 0x100077b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066daf0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10076eed
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10076ee0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10076f02
push 4
pop eax
jmp 0x10076faa
cmp dword [ebp - 0x14], esi
je 0x10076f02
push dword [0x1066dae4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10076ee7
mov eax, dword [0x1066daf0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10076f60
cmp dword [0x1066daf4], edi
je 0x10076f60
push eax
call ebx
push dword [0x1066daf4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10076f60
test eax, eax
je 0x10076f60
call ecx
test eax, eax
je 0x10076f55
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10076f55
test byte [ebp - 8], 1
jne 0x10076f60
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10076f90
mov eax, dword [0x1066dae8]
cmp eax, edi
je 0x10076f8d
push eax
call ebx
test eax, eax
je 0x10076f8d
call eax
mov esi, eax
test esi, esi
je 0x10076f8d
mov eax, dword [0x1066daec]
cmp eax, edi
je 0x10076f8d
push eax
call ebx
test eax, eax
je 0x10076f8d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1066dae4]
call ebx
test eax, eax
je 0x10076fa8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10076faa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x42fd10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563e89
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2034], ecx
mov ecx, dword [ebp - 0x2034]
call fcn.004df66c
mov eax, dword [ebp - 0x2034]
add eax, 0x88
push eax
mov ecx, dword [ebp - 0x2034]
push ecx
call fcn.0049a4d0
add esp, 8
mov edx, dword [ebp - 0x2034]
xor eax, eax
cmp dword [edx + 0x104], 0
sete al
push eax
push 0x47c
mov ecx, dword [ebp - 0x2034]
call fcn.004e7012
mov ecx, eax
call fcn.004e7337
mov ecx, dword [ebp - 0x2034]
xor edx, edx
cmp dword [ecx + 0x104], 0
sete dl
push edx
push 0x47d
mov ecx, dword [ebp - 0x2034]
call fcn.004e7012
mov ecx, eax
call fcn.004e7337
xor eax, eax
mov word [ebp - 0x201c], ax
push 0x2000
push 0
lea ecx, [ebp - 0x201a]
push ecx
call fcn.005281f0
add esp, 0xc
lea ecx, [ebp - 0x2024]
call fcn.004302a0
mov dword [ebp - 4], 0
push 0x20019
push 0x5761f8
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x2024]
call fcn.00430340
test eax, eax
jne 0x42fe5e
mov dword [ebp - 0x2028], 0
lea edx, [ebp - 0x2028]
push edx
push 0x576294
lea ecx, [ebp - 0x2024]
call fcn.004303b0
mov eax, dword [ebp - 0x2028]
shr eax, 0xa
push eax
push 0x5762ac
mov ecx, dword [ebp - 0x2034]
add ecx, 0xfc
push ecx
call fcn.004171c0
add esp, 0xc
lea ecx, [ebp - 0x2024]
call fcn.004302f0
push 0x20019
push 0x5762b8
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x2024]
call fcn.00430340
test eax, eax
jne 0x42fec7
mov dword [ebp - 0x202c], 0x1001
lea edx, [ebp - 0x202c]
push edx
lea eax, [ebp - 0x201c]
push eax
push 0x57633c
lea ecx, [ebp - 0x2024]
call fcn.00430410
lea ecx, [ebp - 0x201c]
push ecx
mov ecx, dword [ebp - 0x2034]
add ecx, 0xf8
call fcn.00415e60
lea ecx, [ebp - 0x2024]
call fcn.004302f0
push 0
mov ecx, dword [ebp - 0x2034]
call fcn.004e27ff
push 0
push 0x3e8
push 0xc8
mov ecx, dword [ebp - 0x2034]
call fcn.004304f0
mov dword [ebp - 0x2030], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2024]
call fcn.004302d0
mov eax, dword [ebp - 0x2030]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret
Function at 0x430410
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x430419
xor ecx, ecx
jne 0x430419
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x430460
mov eax, dword [ebp - 0xc]
jmp 0x4304bd
cmp dword [ebp - 4], 1
je 0x430473
cmp dword [ebp - 4], 2
je 0x430473
mov eax, 0xd
jmp 0x4304bd
cmp dword [ebp + 0xc], 0
je 0x4304b1
cmp dword [ebp - 8], 0
je 0x4304a9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4304a0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4304a7
mov eax, 0xd
jmp 0x4304bd
jmp 0x4304b1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x434bb0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564661
mov eax, dword fs:[0]
push eax
mov eax, 0x2a54
call fcn.00528110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2a44], ecx
xor eax, eax
mov word [ebp - 0x201c], ax
push 0x2000
push 0
lea ecx, [ebp - 0x201a]
push ecx
call fcn.005281f0
add esp, 0xc
push 0x577778
lea edx, [ebp - 0x201c]
push edx
call fcn.005282c4
add esp, 8
push 0x577780
lea eax, [ebp - 0x2a30]
push eax
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x2a48], eax
mov ecx, dword [ebp - 0x2a48]
mov dword [ebp - 0x2a4c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2a4c]
push edx
lea eax, [ebp - 0x2a34]
push eax
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x2a50], eax
mov ecx, dword [ebp - 0x2a50]
call fcn.00415f60
push eax
lea ecx, [ebp - 0x201c]
push ecx
push 0x57779c
push 0x5777a4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x2a34]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a30]
call fcn.00415e20
xor edx, edx
mov word [ebp - 0x222c], dx
push 0x206
push 0
lea eax, [ebp - 0x222a]
push eax
call fcn.005281f0
add esp, 0xc
lea ecx, [ebp - 0x2a38]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x2a54], eax
mov ecx, dword [ebp - 0x2a54]
call fcn.00415f60
push eax
lea edx, [ebp - 0x222c]
push edx
call fcn.005282c4
add esp, 8
lea ecx, [ebp - 0x2a38]
call fcn.00415e20
xor eax, eax
mov word [ebp - 0x2a2c], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x2a2a]
push ecx
call fcn.005281f0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x2024], dx
xor eax, eax
mov dword [ebp - 0x2022], eax
mov word [ebp - 0x201e], ax
push 4
lea ecx, [ebp - 0x2024]
push ecx
push 3
push 0x1400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0x5777b4
lea edx, [ebp - 0x2a2c]
push edx
call fcn.00527b98
add esp, 8
push 0x5777c4
lea eax, [ebp - 0x2024]
push eax
call fcn.00527f0e
add esp, 8
test eax, eax
jne 0x434d88
push 0x5777cc
lea ecx, [ebp - 0x2a2c]
push ecx
call fcn.00527b98
add esp, 8
push 0x5777e0
lea edx, [ebp - 0x2024]
push edx
call fcn.00527f0e
add esp, 8
test eax, eax
jne 0x434db4
push str.ChineseBig5
lea eax, [ebp - 0x2a2c]
push eax
call fcn.00527b98
add esp, 8
push 0x577800
lea ecx, [ebp - 0x2a3c]
push ecx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x2a58], eax
mov edx, dword [ebp - 0x2a58]
mov dword [ebp - 0x2a5c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2a5c]
push eax
lea ecx, [ebp - 0x2a40]
push ecx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x2a60], eax
mov ecx, dword [ebp - 0x2a60]
call fcn.00415f60
push eax
lea edx, [ebp - 0x2a2c]
push edx
push 0x57781c
push 0x577830
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x2a40]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2a3c]
call fcn.00415e20
push 0
push 0
push 0x806d
push 0
mov ecx, 0x5fa8c0
call fcn.004dbc80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret
Function at 0x43a620
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x288
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43a659
mov eax, dword [ebp - 4]
jmp 0x43a780
mov dword [ebp - 0x14], 0x288
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43a6d7
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0x6f
jne 0x43a6cf
mov eax, dword [ebp - 0x14]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43a6aa
mov eax, dword [ebp - 4]
jmp 0x43a780
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x43a6cd
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
jmp 0x43a780
jmp 0x43a6d7
mov eax, dword [ebp - 4]
jmp 0x43a780
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 8
push edx
call fcn.0043a790
add esp, 4
test eax, eax
je 0x43a73a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x190], 0x10
jbe 0x43a705
mov dword [ebp - 0x18], 0x10
jmp 0x43a711
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x190]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x194
push ecx
mov edx, dword [ebp - 4]
shl edx, 4
add edx, dword [ebp + 8]
push edx
call fcn.005289e0
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x43a6dd
cmp dword [ebp - 0xc], 0
je 0x43a758
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 4], 0
jne 0x43a77d
push 0x10
push 0
mov ecx, dword [ebp - 4]
shl ecx, 4
add ecx, dword [ebp + 8]
push ecx
call fcn.005281f0
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43b130
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x110], 2
jne 0x43b1e1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x128]
push ecx
push 0x20
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x140], 1
lea eax, [ebp - 0x130]
push eax
push 0x578d88
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], 2
push 0
push 0
push 0
lea eax, [ebp - 0x140]
push eax
push 0
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 0xc
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret

Function at 0x43c9f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565165
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], 0
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.005281f0
add esp, 0xc
push 0x5796b0
lea edx, [ebp - 0x818]
push edx
call fcn.0042d9b0
add esp, 4
mov dword [ebp - 0x824], eax
mov eax, dword [ebp - 0x824]
mov dword [ebp - 0x828], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x828]
push ecx
lea edx, [ebp - 0x81c]
push edx
call fcn.00411930
add esp, 0xc
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x82c]
call fcn.00415f60
push eax
push 0x400
lea eax, [ebp - 0x814]
push eax
push 0x5796cc
push 0x5796d0
push 0x5796e4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x81c]
call fcn.00415e20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.00415e20
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00415da0
mov edx, dword [ebp - 0x820]
or edx, 1
mov dword [ebp - 0x820], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret