joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a914
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor eax, eax
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call ebx
mov esi, dword [esp + 0x38]
mov ebp, eax
mov ecx, dword [esi]
lea eax, [esp + 0x10]
push eax
push esi
call dword [ecx + 0x48]
test eax, eax
js 0x40a94b
cmp dword [esp + 0x10], 0
jne 0x40a993
call ebx
sub eax, ebp
cmp eax, 0x7d0
ja 0x40a993
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40a935
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40a935
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [eax + 0x48]
mov esi, eax
test esi, esi
js 0x40aa01
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x40a9f9
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edx
push 0x4234fc
push ecx
call dword [eax]
mov esi, eax
test esi, esi
js 0x40a9eb
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
js 0x40a9e1
mov eax, dword [esp + 0x14]
push dword [esp + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test esi, esi
js 0x40aa01
test ecx, ecx
jne 0x40aa52
xor ebp, ebp
cmp dword [edi + 8], ebp
je 0x40aa52
cmp dword [edi + 0x18], ebp
jne 0x40aa52
cmp dword [edi + 0x14], ebp
je 0x40aa52
push dword [edi + 0x14]
mov ecx, edi
call fcn.0040af56
mov ebx, eax
test ebx, ebx
je 0x40aa52
push 0x204
push ebp
push ebp
push ebp
push ebp
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.00414950
pop ecx
pop edi
xor eax, eax
test esi, esi
pop esi
pop ebp
setns al
pop ebx
add esp, 0x24
ret 8
Function at 0x40b133
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x1e], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.0040aea0
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x40b19d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push str.RarHtmlClassName
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebx + 4], eax
pop edi
cmp dword [ebx + 0x10], esi
jne 0x40b21f
test ebp, ebp
je 0x40b235
cmp dword [ebx + 0x18], esi
jne 0x40b235
cmp dword [ebx + 0x14], esi
je 0x40b235
push dword [ebx + 0x14]
mov ecx, ebx
call fcn.0040af56
mov esi, eax
test esi, esi
je 0x40b235
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00414950
pop ecx
jmp 0x40b235
test eax, eax
je 0x40b235
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x40b4bb
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x42346c
push 1
push ebx
push 0x42353c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40b58c
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x42352c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x40b583
cmp byte [ebp + 8], bl
je 0x40b50e
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x40b52b
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
cmp dword [ebp + 0x1c], ebx
jne 0x40b53d
push 0x422310
jmp 0x40b540
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x40b555
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x40b566
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x40b57a
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x40b63a
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x40bafb
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0040f4a0
push 0x800
lea eax, [ebp - 0x1020]
push eax
call fcn.0040b63a
cmp byte [0x4538c2], 0
jne 0x40bb90
push 6
push dword [0x42b038]
lea eax, [ebp - 0x1020]
push eax
call fcn.0040367b
push eax
call fcn.00405655
test eax, eax
jne 0x40bb90
push 0x42226c
call fcn.0040b9d4
lea eax, [ebp - 0x1020]
push eax
call fcn.00414935
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x101e], cx
lea eax, [ebp - 0x20]
push eax
call fcn.00410470
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esp, ebp
pop ebp
ret
Function at 0x40bbec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x42b04c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x40bc37
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x4558f0], ax
xor eax, eax
mov word [0x4558f2], ax
mov dword [0x42b04c], 0x4558f0
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004044ba
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x42b03c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40be91
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0040f4a0
cmp byte [0x4481f8], 0
je 0x40bf3a
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0040d22c
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40bf3a
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40bf31
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x40bf15
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.0040459a
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
Function at 0x40bfe6
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0040f4a0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x40c001
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x40c00e
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x40c0d1
movzx eax, word [esi]
test ax, ax
je 0x40c0d1
push ebp
mov ebp, dword [esp + 0x2018]
push edi
mov edi, dword [esp + 0x2020]
mov dword [esp + 0x10], ebx
movzx eax, ax
add esi, 2
cmp eax, 0x3d
jne 0x40c05b
test edi, edi
je 0x40c065
test ebx, ebx
jne 0x40c065
test ecx, ecx
je 0x40c057
mov byte [ecx], 1
mov ebx, ebp
jmp 0x40c07c
cmp eax, 0xd
je 0x40c08f
cmp eax, 0xa
je 0x40c092
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x202c]
add eax, 0xfffffffe
cmp dword [esp + 0x10], eax
jge 0x40c08a
movzx eax, word [esi]
inc dword [esp + 0x10]
test ax, ax
jne 0x40c03d
jmp 0x40c092
mov byte [edx], 1
jmp 0x40c092
add esi, 2
xor eax, eax
mov word [ebp], ax
test edi, edi
je 0x40c0cb
mov word [edi], ax
test ebx, ebx
je 0x40c0cb
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [esp + 0x202c]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0040459a
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x40c0d3
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18

Function at 0x40c0de
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov ebx, eax
neg ebx
sbb bl, bl
add bl, 1
je 0x40c12d
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 4]
dec eax
neg eax
sbb al, al
lea ebx, [eax + 1]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
jmp 0x40c135
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e1ce
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0040f4a0
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x40e3f5
push esi
call fcn.00414935
pop ecx
cmp eax, 0x7f6
jae 0x40e3f5
push ebp
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00410470
movzx ecx, word [esi]
lea edx, [esi + 2]
add esp, 0xc
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x1c0
push 0x22
pop ebp
cmp cx, bp
je 0x40e22e
mov edx, esi
mov dword [esp + 0x24], edx
mov eax, ebx
test cx, cx
je 0x40e277
push 0x20
mov ecx, esi
pop edi
cmp word [ecx], bp
jne 0x40e258
jmp 0x40e24b
cmp word [esi + eax*2], bp
je 0x40e254
inc eax
cmp word [esi + eax*2], bx
jne 0x40e245
jmp 0x40e258
mov word [esi + eax*2], di
cmp word [esi + eax*2], di
je 0x40e3cc
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e3c6
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e23e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40e284
cmp word [eax], bx
jne 0x40e29e
cmp byte [esp + 0x105c], bl
jne 0x40e29e
cmp word [0x4491fa], bx
je 0x40e29e
mov dword [esp + 0x28], 0x4491fa
push edx
mov dword [esp + 0x34], 1
call fcn.0040327a
mov esi, eax
test esi, esi
je 0x40e2c9
push str..inf
push esi
call fcn.00405633
test eax, eax
jne 0x40e2c9
mov dword [esp + 0x20], 0x4233bc
push dword [esp + 0x24]
call fcn.0040255b
test al, al
je 0x40e2f1
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00403003
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e3f3
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0x4481f0], bl
jne 0x40e32a
cmp byte [esp + 0x105c], bl
jne 0x40e32a
cmp byte [0x4548e2], bl
je 0x40e389
test edi, edi
je 0x40e33f
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e33f
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.0040e64e
cmp byte [0x4548e2], 0
je 0x40e389
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e389
mov eax, dword [esp + 0x10]
add eax, 0x3e8
cmp eax, dword [0x4548e4]
jbe 0x40e389
mov dword [0x4548e4], eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40e3a6
push str..exe
push esi
call fcn.00405633
test eax, eax
je 0x40e3df
cmp byte [0x4481f0], 0
mov al, byte [esp + 0x105c]
je 0x40e3e6
test al, al
jne 0x40e3e6
mov dword [0x4548e8], 0x1b58
jmp 0x40e3e6
cmp word [esi + eax*2], di
jne 0x40e3d2
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0x40e27b
mov al, byte [esp + 0x105c]
test bl, bl
je 0x40e3f3
test al, al
je 0x40e3f3
push 1
push edi
call ebp
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1040
ret 0xc
Function at 0x40e400
Capabilities:
Hide graphical window

Disassembly:
and dword [0x4411b8], 0
push 1
push dword [esp + 8]
mov byte [0x4481c2], 1
mov byte [0x4481c3], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.0040136d
cmp dword [0x4481c4], 0
jne 0x40e440
cmp byte [0x4481e8], 0
je 0x40e449
cmp dword [0x4481e0], 0
jne 0x40e45c
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x40e52f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040f4a0
cmp byte [0x4481f8], 0
je 0x40e5b9
cmp word [0x4548f0], 0
je 0x40e5b9
push esi
lea eax, [ebp - 0x1008]
push eax
push 0x4548f0
call fcn.0040d22c
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e5b8
push dword [ebp + 8]
call fcn.00414935
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
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 4

Function at 0x40e5bf
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0040f4a0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.00404371
mov esi, eax
test esi, esi
je 0x40e617
movzx ecx, word [esi]
push ecx
jmp 0x40e602
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00404468
test al, al
jne 0x40e5fb
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40da3b
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x415438
call fcn.0040dfd1
push 1
call fcn.0040dabe
pop ecx
test al, al
jne 0x40d8e4
push 7
call fcn.0040e623
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040da89
mov byte [ebp - 0x24], al
mov eax, dword [0x4175dc]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40d8dd
test eax, eax
jne 0x40d94e
mov dword [0x4175dc], ecx
push 0x4112c4
push 0x4112ac
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40d931
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40da35
push 0x4112a8
push 0x411274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x4175dc], 2
jmp 0x40d953
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040dc1b
pop ecx
call fcn.0040e617
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40d983
push esi
call fcn.0040db8e
pop ecx
test al, al
je 0x40d983
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0040e852
call esi
call fcn.0040e61d
mov esi, eax
cmp dword [esi], edi
je 0x40d9a1
push esi
call fcn.0040db8e
pop ecx
test al, al
je 0x40d9a1
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
push edi
call sub.VCRUNTIME140.dll___telemetry_main_invoke_trigger
pop ecx
call fcn.0040e738
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
push edi
call sub.VCRUNTIME140.dll___telemetry_main_return_trigger
pop ecx
call fcn.0040e76b
test al, al
jne 0x40d9da
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40d9e3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0040dc38
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40da35
call fcn.0040e017
ret
call fcn.0040d74a
jmp 0x40d8c5

Function at 0x43b654
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
inc ecx
add esi, ecx
inc ecx
call fcn.0043b693
sub ecx, 0x40c92dc
sub ecx, 0x661421ee
sub esi, esi
xor dword [eax], edx
add ecx, 1
inc eax
and esi, ecx
cmp eax, ebx
jne fcn.0043b654
inc ecx
add ecx, 0x4dd43338
sub ecx, 0x897d4086
ret
Function at 0x1000be70
Capabilities:
Encode data using xor

Disassembly:
jb 0x1000be5e
xor al, 0xe7
mov ecx, 0x67381504
test dword es:[eax], edx
test dword [eax], edx
iretd
xor dh, byte [ebx - 0x19c6c1ce]
cmc
salc
jae 0x1000be54
or eax, 0xabbda3c7
cld
xor byte [ebx + eax*4 - 0x7ac3eac], ch
and al, 0x40
rcl dword [ebx - 8], 0x24
inc eax
popfd
xor al, 0xe1
fnstcw word [esi]
lcall 0x8ddc, 0x44671d00
dec edx
clc
loope 0x1000be84
invalid

Function at 0x10efc058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10efc1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10efc07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10efc06a
add dl, dl
jne 0x10efc089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10efc0dc
xor eax, eax
add dl, dl
jne 0x10efc096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10efc17d
add dl, dl
jne 0x10efc0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10efc0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10efc0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10efc0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10efc0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10efc075
mov eax, 1
add dl, dl
jne 0x10efc0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10efc0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10efc0e1
sub eax, ebx
mov ebx, 1
jne 0x10efc128
mov ecx, 1
add dl, dl
jne 0x10efc10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10efc119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10efc105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10efc075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10efc13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10efc14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10efc136
cmp eax, 0x7d00
jae 0x10efc16d
cmp eax, 0x500
jb 0x10efc168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10efc075
cmp eax, 0x7f
ja 0x10efc170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10efc075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10efc19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10efc075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10001b50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10001b8f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10001cab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10001c1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x10001c17
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001bf0
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10001930
add esp, 0xc
jmp 0x10001b7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10001b30
add esp, 8
test eax, eax
jne 0x10001c3d
xor eax, eax
jmp 0x10001cb0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001c74
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001980
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x10001b7d
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100027b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x16a00
mov ecx, dword [ebp - 4]
push ecx
push 0x10004070
call fcn.10001000
add esp, 8
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]