joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
fldz
push ebx
push esi
fst qword [esp + 0x10]
push edi
fstp qword [esp + 0xc]
xor eax, eax
push 3
mov word [esp + 0x10], ax
push 0x425da8
call fcn.004014e0
mov cx, word [0x4251fc]
movsx edx, cx
mov dword [esp + 0x14], edx
mov esi, eax
fild dword [esp + 0x14]
fadd dword [str.vH_]
mov eax, dword [0x423124]
mov dword [esp + 0x14], eax
fisub dword [esp + 0x14]
call fcn.0040af20
mov ebx, dword [esp + 0x28]
mov word [esp + 0x14], ax
fld dword [str.vH_]
fsub qword [0x41f358]
push esi
push ebx
fstp dword [str.vH_]
call fcn.0040b94f
fld qword [0x425db0]
mov edi, eax
fadd qword [0x41f358]
add esp, 0x10
fstp qword [0x425db0]
fld qword [0x425db0]
fadd qword [0x41f550]
fcomp qword [0x41f548]
fnstsw ax
test ah, 0x44
jp 0x403663
fld dword [0x425df8]
fsub qword [0x41f540]
fstp dword [0x425df8]
test edi, edi
jne 0x403682
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040b94f
mov edi, eax
add esp, 8
test edi, edi
je 0x4036b8
push edi
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.0040b809
push edi
call fcn.0040b62b
fld qword [0x425200]
fld qword [esp + 0x28]
add esp, 0x14
fsubr qword [0x41f538]
fadd qword [0x424b00]
fsubp st(1)
fstp qword [0x425200]
fldz
xor eax, eax
mov word [esi], ax
mov dword [esp + 0xc], 0
fstp dword [esp + 0xc]
push esi
mov byte [esi + 2], al
call fcn.0040b455
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x404130
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
fldz
push ebp
xor eax, eax
mov word [esp + 8], ax
xor ecx, ecx
push 0x2e
mov word [esp + 8], cx
fstp dword [esp + 0x10]
push 0x4251c0
call fcn.004014e0
fld dword [0x424300]
mov dx, word [esp + 0xc]
mov ebp, eax
movsx eax, dx
mov dword [esp + 0xc], eax
add esp, 8
fild dword [esp + 4]
fld dword [esp + 0xc]
faddp st(2)
fsubrp st(1)
call fcn.0040af20
mov word [esp + 4], ax
fld dword [esp + 0xc]
fsub qword [0x41f358]
lea ecx, [esp + 0x10]
push ecx
push ebp
push connect
fstp dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x404248
push esi
push edi
push 0x34
push 0x42520c
call fcn.004014e0
mov edx, dword [esp + 0x2c]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4041c4
sub eax, edi
push eax
push edx
mov edx, dword [esp + 0x20]
push 1
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
fldz
push 0x34
push 0
mov dword [esp + 0x24], 0
fstp dword [esp + 0x24]
push esi
call fcn.0040b4f0
push esi
call fcn.0040b455
dec dword [esp + 0x20]
mov ax, word [esp + 0x20]
mov edx, dword [0x425268]
dec dword [0x425268]
movsx ecx, ax
add esp, 0x10
sub ecx, 0x5725a60
sub edx, 0x6ff6e732
cmp ecx, edx
pop edi
pop esi
jge 0x404248
mov ax, word [esp + 8]
movsx ecx, ax
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fsub dword [esp + 0xc]
call fcn.0040af20
mov word [esp + 8], ax
fldz
push 0x2e
push 0
mov dword [esp + 0x1c], 0
fstp dword [esp + 0x1c]
push ebp
call fcn.0040b4f0
push ebp
call fcn.0040b455
inc word [0x42511c]
mov dx, word [esp + 0x14]
movzx ecx, word [esp + 0x18]
movsx eax, dx
movsx edx, cx
movzx ecx, word [0x42511c]
sub eax, edx
movsx edx, cx
add eax, edx
mov dword [esp + 0x24], eax
add esp, 0x10
fild dword [esp + 0x14]
fadd qword [0x425e48]
fstp qword [0x425e48]
dec dword [esp + 8]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
add esp, 0x14
ret
Function at 0x40b56a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x425f90]
jne 0x40b574
repz ret
jmp fcn.0040f797

Function at 0x4165c4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00410cf5
and dword [ebp - 4], 0
cmp dword [0x428214], 0
mov ebx, eax
jne 0x416675
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416726
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a30
push edi
call esi
test eax, eax
je 0x416726
push eax
call fcn.00410c83
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x428214], eax
call esi
push eax
call fcn.00410c83
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x428218], eax
call esi
push eax
call fcn.00410c83
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42821c], eax
call esi
push eax
call fcn.00410c83
pop ecx
mov dword [0x428224], eax
test eax, eax
je 0x416675
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00410c83
pop ecx
mov dword [0x428220], eax
mov eax, dword [0x428220]
cmp eax, ebx
je 0x4166cd
cmp dword [0x428224], ebx
je 0x4166cd
push eax
call fcn.00410cfe
push dword [0x428224]
mov esi, eax
call fcn.00410cfe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4166cd
test edi, edi
je 0x4166cd
call esi
test eax, eax
je 0x4166c4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4166c4
test byte [ebp - 0xc], 1
jne 0x4166cd
or dword [ebp + 0x10], 0x200000
jmp 0x416706
mov eax, dword [0x428218]
cmp eax, ebx
je 0x416706
push eax
call fcn.00410cfe
pop ecx
test eax, eax
je 0x416706
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416706
mov eax, dword [0x42821c]
cmp eax, ebx
je 0x416706
push eax
call fcn.00410cfe
pop ecx
test eax, eax
je 0x416706
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x428214]
call fcn.00410cfe
pop ecx
test eax, eax
je 0x416726
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416728
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x42ca28
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x43ab90]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00409516
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402b72
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
push 2
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.004028a0
cmp dword [esi + 0xc4], 0
mov byte [esp + 0x24], 1
je 0x402c0b
add esi, 0xa8
mov ebp, 5
push esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004027e0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00401aa0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 4
sub ebp, 1
jne 0x402bb1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x404210
Capabilities:
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x42cca8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ab90]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.executing_CSetupExDlg::StopCKService__..._n
call fcn.00401be0
mov ecx, esi
call fcn.00403550
call fcn.00409516
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x40426d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xf003f
push ebp
push ebp
mov dword [esp + 0x48], ebp
mov dword [esi + 0x80], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebp
je 0x40434a
push 0x20
push str.Crypkey_License
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
cmp ebx, ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x404335
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x40431f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
lea ecx, [esp + 0x14]
je 0x40430d
push str.Stop_Service:_Unable_to_stop_Crypkey_License_service
mov dword [esi + 0x80], 1
call fcn.00401ba0
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00403ed0
push ebx
mov dword [esi + 0x94], 0xfffffff0
call ebp
push edi
call ebp
jmp 0x40437a
push str.Stop_Service:_OK1
call fcn.00401ba0
push ebx
call ebp
push edi
call ebp
jmp 0x40437a
push str.Stop_Service:_OK2
lea ecx, [esp + 0x18]
call fcn.00401ba0
push ebx
call ebp
push edi
call ebp
jmp 0x40437a
push 0x11
push str.Stop_Service:_OK3
lea ecx, [esp + 0x1c]
call fcn.00401890
push edi
call ebp
jmp 0x40437a
push 0x34
push str.Stop_Service:_Unable_to_open_Crypkey_License_service
lea ecx, [esp + 0x1c]
mov dword [esi + 0x80], 1
call fcn.00401890
mov eax, dword [esp + 0x14]
push ebp
push ebp
push eax
call fcn.0040c08a
mov dword [esi + 0x94], 0xfffffff0
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
Function at 0x406e00
Capabilities:
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x42d0a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ab90]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.executing_CSetupExDlg::StopKernelService__..._n
call fcn.00401be0
mov ecx, esi
call fcn.00403550
call fcn.00409516
xor ecx, ecx
xor ebp, ebp
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x406e5d
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xf003f
push ebp
push ebp
mov dword [esp + 0x4c], ebp
mov dword [esi + 0x80], ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
cmp edi, ebp
je 0x406f3a
push 0x20
push str.NetworkX
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
cmp ebx, ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x406f1d
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x406efd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
je 0x406f15
push str.Stop_Service:_Unable_to_stop_Kernel_service
lea ecx, [esp + 0x18]
mov dword [esi + 0x80], 1
call fcn.00401ba0
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00403ed0
push ebx
mov dword [esi + 0x94], 0xfffffff0
call ebp
push edi
call ebp
jmp 0x406f6d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Kernel_Service_Stopped._n
call fcn.00401be0
mov ecx, esi
call fcn.00403550
push ebx
call ebp
push edi
call ebp
jmp 0x406f6d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Kernel_Service_not_detected._n
call fcn.00401be0
mov ecx, esi
call fcn.00403550
push edi
call ebp
jmp 0x406f6d
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Stop_Service:_Unable_to_open_Kernel_service_n
mov dword [esi + 0x80], 1
call fcn.00401be0
mov ecx, esi
call fcn.00403550
push ebp
mov dword [esi + 0x94], 0xfffffff0
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406fa0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x40a3d4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x43ab90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x40a414
push 0x4311f0
push 4
push eax
call fcn.0041973e
push eax
call fcn.00401000
add esp, 0x10
jmp 0x40a426
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40a494
push edi
call fcn.004193de
mov edi, dword [eax]
call fcn.004193de
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004177ad
add esp, 0x18
mov ebx, eax
call fcn.004193de
cmp dword [eax], 0
je 0x40a474
call fcn.004193de
push dword [eax]
call fcn.00409441
pop ecx
jmp 0x40a47b
call fcn.004193de
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40a494
cmp ebx, esi
jae 0x40a494
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x40a496
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041667b
leave
ret

Function at 0x4125d2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x41260f
cmp edi, dword [esi + 0xc]
jge 0x41260f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41260f
cmp edi, dword [eax + 8]
jge 0x41260f
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x412618
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
ret 4

Function at 0x412856
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x412885
jmp fcn.0040920e
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x412ad7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x412b05
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x412b23
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00412a41
jmp 0x412b23
mov eax, dword [esi + 0x14]
test eax, eax
je 0x412b23
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00412a41
test edi, edi
mov eax, edi
jne 0x412b0d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43dbb4]
test ecx, ecx
je 0x412be6
jmp 0x412ad6
ret 8
Function at 0x41667b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43ab90]
jne 0x416685
repz ret
jmp fcn.0041d5ff
Function at 0x418913
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x418940
call fcn.004193f1
mov dword [eax], esi
call fcn.004193de
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041c9de
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41895e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419404
pop ecx
jmp 0x41893b
test byte [esp + 0xc], 0x80
je 0x41896a
and eax, 0xfffffffe
jmp 0x41896d
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x41894f
xor eax, eax
pop esi
ret

Function at 0x419277
Capabilities:
Encode data using add xor sub operations

Disassembly:
fild word [ecx + 0x400f1]
add byte [edi], cl
scasd eax, dword es:[edi]
int1
and bh, bl
mov ebx, edi
xadd ebp, ecx
add edx, esi
sub ebp, 0xaa5b
in eax, dx
pop ebx
stosb byte es:[edi], al
add byte [eax], al
imul eax, eax, 0x9adc26c7
lea eax, [0xb5f767fb]
div dword [ebp - 0x108f3d39]
inc eax
push ss
dec eax
imul ebx, ebx
inc eax
mov al, dh
or edx, eax
movsx eax, ch
test edi, eax
imul ecx, edi
cmp edi, eax

Function at 0x419286
Capabilities:
Encode data using add xor sub operations

Disassembly:
fild word [ecx + 0x400f1]
add byte [edi], cl
scasd eax, dword es:[edi]
int1
and bh, bl
mov ebx, edi
xadd ebp, ecx
add edx, esi
sub ebp, 0xaa5b
in eax, dx
pop ebx
stosb byte es:[edi], al
add byte [eax], al
imul eax, eax, 0x9adc26c7
lea eax, [0xb5f767fb]
div dword [ebp - 0x108f3d39]
inc eax
push ss
dec eax
imul ebx, ebx
inc eax
mov al, dh
or edx, eax
movsx eax, ch
test edi, eax
imul ecx, edi
cmp edi, eax

Function at 0x4192a1
Capabilities:
Encode data using add xor sub operations

Disassembly:
movzx edi, ah
imul ecx, ecx
xchg ebx, edx
test bl, 0xe9
movsx esi, bp
mov cl, 0xa8
mov ecx, 0xc380cfe8
xor al, 0x86
push ebx
dec esi
push ebp
push 0
pop ecx

Function at 0x4192c0
Capabilities:
Encode data using xor

Disassembly:
imul ebx, ebx, 0x903327f8
cmp ebx, esi
mov esi, 0x10229ca6
imul eax, ebx, 0x68a9a517
mov edi, 0xac9fa159
cmp al, 0x87
test ecx, esi
add ecx, 0x701
dec ebx
xor al, 0x93
sub ecx, 0x700
test eax, 0xe95e3abb
test ebx, ecx
xchg dh, al
xchg dh, dl
adc ebx, edi
cmp ecx, 0xa8f
jl fcn.004192c0
mov dh, 0xb6
ret
Function at 0x41c6d3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x43ae78]
je 0x41c6ee
inc edi
cmp edi, 0x17
jb 0x41c6df
cmp edi, 0x17
jae 0x41c86e
push ebp
push 3
call fcn.00425e37
cmp eax, 1
pop ecx
je 0x41c83a
push 3
call fcn.00425e37
test eax, eax
pop ecx
jne 0x41c722
cmp dword [0x43abb0], 1
je 0x41c83a
cmp ebx, 0xfc
je 0x41c86d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43e030
push ebp
call fcn.0041973e
add esp, 0xc
test eax, eax
je 0x41c758
push esi
push esi
push esi
push esi
push esi
call fcn.0041c8e2
add esp, 0x14
push 0x104
mov esi, 0x43e049
push esi
push 0
mov byte [0x43e14d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c79c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041973e
add esp, 0xc
test eax, eax
je 0x41c79c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041c8e2
add esp, 0x14
push esi
call fcn.004192c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41c7e1
push esi
call fcn.004192c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43e344
push 0x432ba4
sub ecx, eax
push ecx
push eax
call fcn.0041afc5
add esp, 0x14
test eax, eax
je 0x41c7e1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041c8e2
add esp, 0x14
jmp 0x41c7e3
xor esi, esi
push 0x432ba0
push ebx
push ebp
call fcn.0041982a
add esp, 0xc
test eax, eax
je 0x41c803
push esi
push esi
push esi
push esi
push esi
call fcn.0041c8e2
add esp, 0x14
push dword [edi*8 + 0x43ae7c]
push ebx
push ebp
call fcn.0041982a
add esp, 0xc
test eax, eax
je 0x41c825
push esi
push esi
push esi
push esi
push esi
call fcn.0041c8e2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00425c7a
add esp, 0xc
jmp 0x41c86d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41c86d
cmp ebp, 0xffffffff
je 0x41c86d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x43ae7c]
push dword [esi]
call fcn.004192c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x425c7a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041e1a0
xor ebx, ebx
cmp dword [0x43e908], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x425d50
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x425e30
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x433620
push edi
call esi
cmp eax, ebx
je 0x425e30
push eax
call fcn.0041e132
mov dword [esp], 0x433610
push edi
mov dword [0x43e908], eax
call esi
push eax
call fcn.0041e132
mov dword [esp], 0x4335fc
push edi
mov dword [0x43e90c], eax
call esi
push eax
call fcn.0041e132
mov dword [0x43e910], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004194cb
test eax, eax
pop ecx
pop ecx
je 0x425d1e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c8e2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x425d50
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041e132
cmp eax, ebx
pop ecx
mov dword [0x43e918], eax
je 0x425d50
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e132
pop ecx
mov dword [0x43e914], eax
mov eax, dword [0x43e914]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x425dd5
cmp dword [0x43e918], ecx
je 0x425dd5
push eax
call fcn.0041e1a9
push dword [0x43e918]
mov esi, eax
call fcn.0041e1a9
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x425dd5
cmp edi, ebx
je 0x425dd5
call esi
cmp eax, ebx
je 0x425da2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x425da2
test byte [ebp - 0x18], 1
jne 0x425dd5
lea eax, [ebp - 0x10]
push eax
call fcn.00419502
test eax, eax
pop ecx
je 0x425dbd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041c8e2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x425dcc
or dword [ebp + 0x10], 0x200000
jmp 0x425e10
or dword [ebp + 0x10], 0x40000
jmp 0x425e10
mov eax, dword [0x43e90c]
cmp eax, dword [ebp - 8]
je 0x425e10
push eax
call fcn.0041e1a9
cmp eax, ebx
pop ecx
je 0x425e10
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425e10
mov eax, dword [0x43e910]
cmp eax, dword [ebp - 8]
je 0x425e10
push eax
call fcn.0041e1a9
cmp eax, ebx
pop ecx
je 0x425e10
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43e908]
call fcn.0041e1a9
cmp eax, ebx
pop ecx
je 0x425e30
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425e32
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c496
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43ab90]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042c42b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00418980
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42c4e5
cmp dword [ebp - 0x1c], 5
jb 0x42c4fd
jmp 0x42c4f9
cmp dword [ebp - 0x10], 1
jne 0x42c4fd
cmp dword [ebp - 0x1c], 4
ja 0x42c4f9
jne 0x42c4fd
cmp dword [ebp - 0x18], 0
jbe 0x42c4fd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x433fe4
call fcn.0042c2ff
test eax, eax
jge 0x42c51e
mov byte [0x43bfa0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041667b
add ebp, 0x78
leave
ret