joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4772a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4e4bb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d5cd6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004db446
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004dcb47
test eax, eax
je 0x4773bc
mov ecx, dword [esp + 0x3c]
call fcn.004db473
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x477380
push edi
mov ecx, esi
call fcn.004d8a31
mov ecx, esi
call fcn.00477560
cmp dword [esp + 0x38], 1
jne 0x4773b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d8b9b
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4794e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x479513
push esi
call fcn.00487860
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x47950c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x479599
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x479582
mov eax, dword [esi + 8]
test eax, eax
je 0x479537
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x47957e
cmp eax, 2
je 0x479582
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47952a
cmp eax, 3
je 0x47955d
cmp eax, 1
jne 0x47952a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x47952a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x47952a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004795c0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4795a8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004795c0
add esp, 4
pop esi
ret

Function at 0x479e20
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x479e41
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x479e41
mov eax, dword [eax + 0x44]
test eax, eax
je 0x479e41
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x495440
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4954e3
test eax, eax
jbe 0x4954e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4954e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x49548e
xor esi, esi
jmp 0x495494
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4954bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004a24d0
add esi, eax
push esi
mov ebx, esi
call fcn.004a24d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4954a0
pop ebp
test edi, edi
pop edi
jne 0x4954e3
test ebx, ebx
je 0x4954e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004c4160
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x495605
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x49571d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49571d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004d6128
mov esi, eax
test esi, esi
je 0x49571d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x49571d
mov ecx, esi
call fcn.00495590
cmp edi, eax
jge 0x49571d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4956a3
mov dword [esp + 0x34], 1
jmp 0x4956fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x49571d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00494b30
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4a4590
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004aa9a0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x4a4689
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.0043a850
test eax, eax
jne 0x4a4689
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.0043a850
test eax, eax
jne 0x4a4689
lea edx, [esp + 0x10]
push 0x59f950
push edx
call fcn.004c4a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a465a
lea eax, [esp + 0x10]
push 0x59f94c
push eax
call fcn.004c4a60
mov esi, eax
add esp, 8
test esi, esi
jne 0x4a465a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x4a465d
mov byte [esi], 0
push 0x59f114
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x4aa8e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e6088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x4aa990
mov eax, dword [0x5a71e0]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.004d4a02
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004d4a51
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004d49ae
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4aa977
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4aa977
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d45d2
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4ada40
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e6430
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4adbe7
mov ecx, dword [0x5a71e0]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x4adb3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.004ac760
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.004d470b
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004d45d2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x59f114
call fcn.004d4640
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.004acb20
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.004d470b
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004d45d2
lea ecx, [esp + 0xc]
call fcn.004d4ae6
mov ecx, dword [esp + 0xc]
push 0x59fb54
push ecx
call fcn.004c3784
add esp, 8
test eax, eax
je 0x4adb64
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x4ada9d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.004d45d2
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.004d45d2
jmp 0x4adbeb
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.004ad7e0
test eax, eax
push 0
je 0x4adbcf
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.004abe80
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4adbb5
cmp eax, 0x64
jg 0x4adba3
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4adb40
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4adb40
cmp eax, 0x64
jge 0x4adb3c
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x4adb40
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.004abe80
mov esi, eax
jmp 0x4adb40
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x4adbf5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4b68a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x4b69f5
cmp di, 0x801
ja 0x4b69f5
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x4b69f5
cmp bx, 0xc
ja 0x4b69f5
mov al, byte [esp + 0x30]
test al, al
je 0x4b68f4
push edi
call fcn.004b6e30
add esp, 4
cmp ax, bx
je 0x4b68f4
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.004b6a00
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004b6820
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x4b69f5
test ebx, ebx
jne 0x4b6989
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x4b69eb
test al, al
je 0x4b697c
push 0xffffffffffffffe1
jmp 0x4b697e
push 0x1f
push ebp
push edi
push esi
call fcn.004b67d0
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.004b67d0
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.004b6a00
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004b6820
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4b6956
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x4b8080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e67c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x5dfe08
lea ecx, [esp + 4]
call fcn.004d4640
push 0x5a6e18
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.004d4640
push 0x5a6e14
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.004d4640
push 0x5a6e10
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.004d4640
push 0x5a6e0c
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.004d4640
push 0x5a6e08
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.004d4640
push 0x5a6e04
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.004d4640
push 0x5a6e00
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.004d4640
push 0x5a6dfc
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.004d4640
push 0x5a6df8
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.004d4640
push 0x5a6df4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.004d4640
push 0x5a6df0
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.004d4640
push 0x5a6dec
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.004d4640
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x4b81b0
cmp eax, 0xc
jle 0x4b81b0
mov ecx, dword [esp + 0x48]
push 0x5dfe08
call fcn.004d475b
jmp 0x4b81be
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004d470b
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004d45d2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004d45d2
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004d45d2
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004d45d2
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004d45d2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004d45d2
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004d45d2
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004d45d2
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004d45d2
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004d45d2
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004d45d2
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004d45d2
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004d45d2
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x4d6acc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d6b04
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d4a79
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d4a51
jmp 0x4d6b10
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4d81ba
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d81fc
call fcn.004de1b7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d81fc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d81f3
xor eax, eax
jmp 0x4d8204
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d820a
pop edi
pop esi
pop ebx
ret 4

Function at 0x4de6e7
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 0x4de715
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4de733
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004de64d
jmp 0x4de733
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4de733
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004de64d
test edi, edi
mov eax, edi
jne 0x4de71d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x406fc6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x406fc6
lcall 0x5de5, 0x8b10c483
jmp loc.007bca8c
Function at 0x42b538
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x43c510
call fcn.0042be5e
push 1
call fcn.0042b6a2
pop ecx
test al, al
jne 0x42b3e1
push 7
call fcn.0042c0e7
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0042b66d
mov byte [ebp - 0x24], al
mov eax, dword [0x447fe8]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42b3da
test eax, eax
jne 0x42b44b
mov dword [0x447fe8], ecx
push 0x42f2f4
push 0x42f2dc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x42b42e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x42b532
push 0x42f2d8
push 0x42f2b0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x447fe8], 2
jmp 0x42b450
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0042b7ff
pop ecx
call fcn.0042c0db
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x42b480
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b480
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0042c316
call esi
call fcn.0042c0e1
mov esi, eax
cmp dword [esi], edi
je 0x42b49e
push esi
call fcn.0042b772
pop ecx
test al, al
je 0x42b49e
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.0042c1fc
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_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.0042c22f
test al, al
jne 0x42b4d7
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x42b4e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.0042b81c
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x42b532
call fcn.0042bea4
ret
call fcn.0042b247
jmp 0x42b3c2

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x401dc4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push str.ImageHLP.DLL
call fcn.00403fc4
mov dword [ebp - 0x14], eax
push str.CheckSumMappedFile
push eax
call fcn.00403f7c
mov dword [ebp - 4], eax
or eax, eax
jne 0x401dfe
push dword [ebp - 0x14]
call fcn.00403f28
mov eax, 5
jmp 0x401f1d
push 0
push 0
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.0040400c
mov edi, eax
cmp edi, 0xffffffff
jne 0x401e24
xor eax, eax
inc eax
jmp 0x401f1d
push 0
push edi
call fcn.00403f4c
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 4
push 0
push edi
call fcn.00404024
mov ebx, eax
or ebx, ebx
jne 0x401e55
push edi
call fcn.00403f70
mov eax, 2
jmp 0x401f1d
push 0
push 0
push 0
push 0xf001f
push ebx
call fcn.00403fd0
mov esi, eax
or esi, esi
jne 0x401e82
push ebx
call fcn.00403f70
push edi
call fcn.00403f70
mov eax, 3
jmp 0x401f1d
mov dword [ebp - 0x10], esi
mov eax, esi
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [ebp - 0xc], edx
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x401eb2
push 0xe0
push edx
call fcn.00403fb8
or eax, eax
jne 0x401eb2
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0x4550
je 0x401ecb
push esi
call fcn.004040b4
push ebx
call fcn.00403f70
push edi
call fcn.00403f70
mov eax, 6
jmp 0x401f1d
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push esi
call dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + 0x58], edx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push esi
call dword [ebp - 4]
push esi
call fcn.004040b4
push ebx
call fcn.00403f70
push edi
call fcn.00403f70
push dword [ebp - 0x14]
call fcn.00403f28
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x18], eax
je 0x401f1b
mov eax, 5
jmp 0x401f1d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401f22
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.00403f94
mov esi, eax
movzx esi, si
and esi, 0xffff
push esi
call fcn.004042ac
pop ecx
xor edi, edi
jmp 0x401f50
call fcn.00404294
add dword [0x405b80], eax
inc edi
call fcn.00403f94
mov esi, eax
movzx esi, si
and esi, 0xffff
movzx esi, si
sar esi, 8
mov ebx, esi
and ebx, 0xff
mov esi, ebx
and esi, 0xff
cmp edi, esi
jb 0x401f44
xor edi, edi
jmp 0x401fab
call fcn.00404294
mov dword [ebp - 4], eax
call fcn.00403f94
mov esi, dword [ebp - 4]
movzx esi, si
mov ebx, eax
movzx ebx, bx
and ebx, 0xffff
movzx ebx, bx
shl ebx, 0x10
or esi, ebx
xor dword [0x405b80], esi
inc edi
call fcn.00403f94
mov esi, eax
movzx esi, si
mov ebx, esi
and ebx, 0xffff
mov esi, ebx
and esi, 0xff
and esi, 0xff
cmp edi, esi
jb 0x401f7e
pop edi
pop esi
pop ebx
leave
ret