joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c510
Capabilities:
Query environment variable

Disassembly:
push ebp
mov eax, 0x1007c
push edi
push esi
push ebx
call fcn.0048a53c
xor edx, edx
xor ecx, ecx
sub esp, eax
mov eax, dword [esp + 0x10090]
mov word [esp + 0x70], dx
lea edi, [esp + 0x20]
mov word [esp + 0x20], cx
movzx eax, byte [eax]
test al, al
je 0x42c5c7
xor ebp, ebp
lea edi, [esp + 0x20]
lea esi, [esi]
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1a]
mov esi, 0x28
lea ebx, [edi + ebp*2]
mov dword [esp + 4], eax
lea eax, [esp + 0x1c]
sub esi, ebp
mov dword [esp + 8], 2
mov dword [esp], eax
mov byte [esp + 0x1b], 0
call sub.msvcrt.dll_mbstowcs
cmp eax, 1
jne 0x499a99
cmp word [edi + ebp*2], 0
movzx eax, word [esp + 0x1c]
je 0x42c5a4
lea esi, [esi]
add ebx, 2
sub esi, 1
cmp word [ebx], 0
jne 0x42c598
test esi, esi
je 0x499a99
mov word [ebx], ax
xor eax, eax
add ebp, 1
mov word [ebx + 2], ax
mov eax, dword [esp + 0x10090]
movzx eax, byte [eax + ebp]
test al, al
jne 0x42c550
lea ebx, [esp + 0x70]
mov dword [esp + 8], 0x10000
mov dword [esp + 4], ebx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [eax - 1]
sub esp, 0xc
xor eax, eax
cmp edx, 0xffff
ja 0x42c5f8
mov dword [esp], ebx
call sub.msvcrt.dll__wcsdup
add esp, 0x1007c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x42c610
Capabilities:
Set environment variable

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x90]
mov word [esp + 0x20], dx
lea edi, [esp + 0x20]
movzx eax, byte [eax]
test al, al
je 0x42c6b7
xor ebp, ebp
lea edi, [esp + 0x20]
lea esi, [esi]
mov byte [esp + 0x1a], al
lea eax, [esp + 0x1a]
mov esi, 0x28
lea ebx, [edi + ebp*2]
mov dword [esp + 4], eax
lea eax, [esp + 0x1c]
sub esi, ebp
mov dword [esp + 8], 2
mov dword [esp], eax
mov byte [esp + 0x1b], 0
call sub.msvcrt.dll_mbstowcs
cmp eax, 1
jne 0x499a9e
cmp word [edi + ebp*2], 0
movzx eax, word [esp + 0x1c]
je 0x42c694
lea esi, [esi]
add ebx, 2
sub esi, 1
cmp word [ebx], 0
jne 0x42c688
test esi, esi
je 0x499a9e
mov word [ebx], ax
xor eax, eax
add ebp, 1
mov word [ebx + 2], ax
mov eax, dword [esp + 0x90]
movzx eax, byte [eax + ebp]
test al, al
jne 0x42c640
mov eax, dword [esp + 0x94]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
sub esp, 8
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x442bc0
Capabilities:
Set environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [0x4c5f0c]
test ebx, ebx
je 0x442c20
mov eax, dword [0x4c5084]
mov esi, dword [sym.imp.python38.dll_PyNumber_InPlaceAdd]
cmp ebx, eax
je 0x442bff
mov eax, dword [0x4c6124]
test eax, eax
je 0x442ce8
mov dword [esp + 4], eax
mov esi, dword [sym.imp.python38.dll_PyNumber_InPlaceAdd]
mov dword [esp], ebx
call esi
mov edx, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], edx
call esi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.NUITKA_ONEFILE_BINARY
call fcn.0042c510
test eax, eax
je 0x442d40
mov dword [esp], eax
mov ebp, 0x28
lea edi, [esp + 0x30]
lea esi, [esp + 0x2a]
mov dword [esp + 4], 0xffffffff
lea ebx, [esp + 0x2c]
call dword [sym.imp.python38.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov word [esp + 0x30], cx
mov dword [esp + 0x1c], eax
mov eax, 0x4e
lea esi, [esi]
lea esi, [esi]
mov dword [esp + 8], 2
mov dword [esp + 4], esi
mov dword [esp], ebx
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp eax, 1
jne 0x499b2a
cmp word [edi], 0
movzx ecx, word [esp + 0x2c]
mov edx, ebp
mov eax, edi
je 0x442cb4
lea esi, [esi]
add eax, 2
sub edx, 1
cmp word [eax], 0
jne 0x442ca8
test edx, edx
je 0x499b2a
xor edx, edx
mov word [eax], cx
add edi, 2
mov word [eax + 2], dx
mov eax, 1
lea edx, [ebp - 1]
sub eax, ebp
movzx eax, byte [eax + 0x4a3c9b]
test al, al
je 0x442d00
mov ebp, edx
jmp 0x442c70
mov dword [esp], 0x4a60fc
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov dword [0x4c6124], eax
jmp 0x442bf0
lea eax, [esp + 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [sym.imp.python38.dll__PyRuntime]
sub esp, 8
mov eax, dword [eax + 0x2cc]
mov esi, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00442890
mov ebx, eax
mov dword [0x4c5f0c], ebx
jmp 0x442bd4
mov ebx, dword [0x4c5f18]
test ebx, ebx
jne 0x442d35
cmp byte [0x4c6122], 0
je 0x442d78
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4c5f20
call dword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov dword [0x4c5f18], eax
mov ebx, eax
test eax, eax
je 0x442d84
add dword [eax], 1
jmp 0x442d35
mov eax, 1
call fcn.0042d1d0
jmp 0x442d53
call dword [sym.imp.python38.dll_PyErr_Print]
call sub.msvcrt.dll_abort
nop
Function at 0x444e40
Capabilities:
Set environment variable

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov dword [esp], str.NUITKA_ONEFILE_BINARY
mov ebx, dword [esp + 0xa0]
call fcn.0042c510
test eax, eax
je 0x444f98
mov dword [esp], eax
mov ebp, 0x28
lea edi, [esp + 0x30]
lea esi, [esp + 0x2a]
mov dword [esp + 4], 0xffffffff
lea ebx, [esp + 0x2c]
call dword [sym.imp.python38.dll_PyUnicode_FromWideChar]
xor ecx, ecx
mov word [esp + 0x30], cx
mov dword [esp + 0x1c], eax
mov eax, 0x4e
lea esi, [esi]
nop
mov dword [esp + 8], 2
mov dword [esp + 4], esi
mov dword [esp], ebx
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], 0
call sub.msvcrt.dll_mbstowcs
cmp eax, 1
jne 0x499b43
cmp word [edi], 0
movzx ecx, word [esp + 0x2c]
mov edx, ebp
mov eax, edi
je 0x444ee4
lea esi, [esi]
add eax, 2
sub edx, 1
cmp word [eax], 0
jne 0x444ed8
test edx, edx
je 0x499b43
xor edx, edx
mov word [eax], cx
add edi, 2
mov word [eax + 2], dx
mov eax, 1
lea edx, [ebp - 1]
sub eax, ebp
movzx eax, byte [eax + 0x4a3c9b]
test al, al
je 0x444f18
mov ebp, edx
jmp 0x444ea0
lea eax, [esp + 0x30]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov eax, dword [sym.imp.python38.dll__PyRuntime]
mov ebx, dword [0x4c5140]
sub esp, 8
mov esi, dword [eax + 0x2cc]
mov eax, dword [0x4c67f0]
test eax, eax
je 0x444fe8
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00430380
mov dword [esp], esi
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0043fc90
sub dword [ebx], 1
jne 0x444f8a
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov dword [esp], ebx
call dword [edx + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
test bl, bl
je 0x444fdc
mov eax, dword [0x4c5f18]
mov esi, 0x4c5f18
test eax, eax
jne 0x444f8a
cmp byte [0x4c6122], 0
je 0x445011
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x4c5f20
call dword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov dword [esi], eax
test eax, eax
je 0x44501b
add dword [eax], 1
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x4c5f14]
mov esi, 0x4c5f14
jmp 0x444fa6
mov eax, dword [0x4c67ac]
mov edi, dword [0x4c5138]
test eax, eax
je 0x445026
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00430380
mov dword [0x4c67f0], eax
jmp 0x444f4e
movzx eax, bl
call fcn.0042d1d0
jmp 0x444fb3
call dword [sym.imp.python38.dll_PyErr_Print]
call sub.msvcrt.dll_abort
mov dword [esp], 0x4a1f66
call dword [sym.imp.python38.dll_PyImport_ImportModule]
mov dword [0x4c67ac], eax
test eax, eax
je 0x499b43
jmp 0x444ff7
Function at 0x482160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
cmp byte [0x4c5f09], 0
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
je 0x4821f0
mov dword [esp + 4], 0x4a59ce
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x482270
mov ebp, dword [0x4c5e5c]
jmp 0x4821a4
lea ebp, [eax + edx + 4]
mov dword [esp + 4], ebp
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
mov dword [esp], ebp
mov esi, eax
call sub.msvcrt.dll_strlen
lea eax, [ebp + eax + 1]
mov edx, dword [eax]
test esi, esi
jne 0x4821a0
movzx edi, word [eax + 4]
lea ecx, [eax + 6]
test edi, edi
je 0x4821e7
nop
mov eax, dword [esp + 0x30]
mov edx, ebx
add esi, 1
add ebx, 4
call fcn.00471940
mov ecx, eax
cmp edi, esi
jne 0x4821d0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax + 4]
sub esp, 4
mov dword [0x4c5e5c], eax
add eax, 8
mov esi, dword [eax - 8]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], 0
mov dword [0x4c5e5c], eax
call fcn.004816b0
cmp eax, esi
jne 0x4822f3
mov byte [0x4c5f09], 1
jmp 0x482178
cmp byte [0x4c5f08], 0
jne 0x482190
mov esi, dword [sym.imp.python38.dll_PyDict_New]
mov ebp, 0xfffffffb
call esi
mov dword [0x4c68f4], eax
call esi
mov dword [0x4c68f0], eax
call esi
mov dword [0x4c68ec], eax
call esi
mov dword [0x4c68e8], eax
call esi
mov dword [0x4c68e4], eax
call esi
mov dword [0x4c68e0], eax
call esi
mov dword [0x4c68dc], eax
call esi
mov esi, dword [sym.imp.python38.dll_PyLong_FromLong]
mov dword [0x4c68d8], eax
lea esi, [esi]
lea esi, [esi]
mov dword [esp], ebp
call esi
mov dword [ebp*4 + 0x4c5a54], eax
add ebp, 1
cmp ebp, 0x101
jne 0x4822d0
mov byte [0x4c5f08], 1
jmp 0x482190
mov dword [esp], str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
lea esi, [esi]
lea esi, [esi]
nop

Function at 0x48958c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.00498ecc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.00498ecc
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
Function at 0x48a160
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x48a17f
mov eax, 0
jmp 0x48a1c3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x48a1a2
mov eax, 0
jmp 0x48a1c3
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x48a1be
mov eax, 0
jmp 0x48a1c3
mov eax, 1
leave
ret

Function at 0x48a1c5
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x48a224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x48a21c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x48a21c
mov eax, dword [ebp - 4]
jmp 0x48a238
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x48a1f9
mov eax, 0
leave
ret
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x31da608
Capabilities:
Encode data using xor

Disassembly:
jmp 0x31da612
pushal
call 0x31da618
pop ebp
sub ebp, 0x10
sub ebp, 0x2dda608
jmp 0x31da62e
mov eax, 0x2dda608
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d0
mov edx, 0x71480a4c
xor byte [eax], dl
inc eax
dec ecx
jne 0x31da645
jmp 0x31da658
mov dword [ecx + 0x4c70c5c7], 0x8dcd4c4c
mov ah, 0x4c
dec esp
dec esp
dec edi
xor esp, 0x4c4c4c4b
mul byte [esp + ecx*2 + 0x4c]
dec esp
mov ebx, 0xc7844fae
int 0x40
dec esp
dec esp
dec esp
dec edi
mov ecx, eax
sub byte [eax - 0x50], ch
lds ecx, [eax + 0x68]
sbb al, 0x24
push esp
jno 0x31da6f7
dec esp
and al, 0xbc
and al, 0xf0
dec esi
dec ebp
pushal
push 0x84347024
push edi
movsb byte es:[edi], byte [esi]
dec ecx
dec esp
dec esp
dec esp
movsd dword es:[edi], dword [esi]
jl 0x31da6ec
dec esp
dec esp
shr dword [eax], 0x68
mov al, 0xc5
pushal
push 0x4c6820c1
invalid
movsd dword es:[edi], dword [esi]
or dword [esi + 0x4c], ecx
dec esp
shr dword [eax], 0x68
mov al, 0xc5
pushal
push 0x39b3a0c7
inc eax
mov bl, 0x39
inc esp
movsb byte es:[edi], byte [esi]
dec esp
dec esp
dec esp
invalid
Function at 0x410098
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov dword [ecx], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [esi], eax
mov ecx, dword [ecx]
cmp ecx, dword [ebp + 0x10]
je 0x4101f6
mov eax, ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x1c]
xor ebx, ebx
inc ebx
mov edi, 0x3ff
mov ecx, eax
cmp dword [esi], edx
je 0x4101f6
mov edx, dword [ebp + 8]
movzx ecx, word [eax]
mov eax, ecx
mov byte [ebp + 0x23], 0
movzx edx, word [edx]
cmp bx, dx
jae 0x410116
lea eax, [ecx + 0x2400]
cmp ax, di
ja 0x410205
mov eax, edx
lea ebx, [ecx - 0xdc00]
shl eax, 0xa
or ebx, eax
mov cl, byte [ebp + 0x23]
cmp ebx, 0x80
jae 0x410133
mov dl, bl
xor edi, edi
jmp 0x410163
mov ebx, eax
lea eax, [ecx + 0x2800]
cmp ax, di
ja 0x410105
add ebx, 0xffff2840
mov cl, 1
shl ebx, 0xa
mov byte [ebp + 0x23], cl
jmp 0x410108
mov edx, ebx
cmp ebx, 0x800
jae 0x410148
shr edx, 6
xor edi, edi
or dl, 0xc0
inc edi
jmp 0x410163
cmp ebx, 0x10000
jae 0x41015a
shr edx, 0xc
or dl, 0xe0
push 2
jmp 0x410162
shr edx, 0x12
or dl, 0xf0
push 3
pop edi
movzx eax, cl
mov ecx, dword [ebp - 4]
xor eax, 1
add eax, eax
cmp edi, 3
cmovb eax, edi
mov dword [ebp - 8], eax
inc eax
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x1c]
sub eax, dword [esi]
cmp eax, dword [ebp + 0x18]
jl 0x4101f6
mov eax, ecx
mov ecx, dword [ebp + 0x14]
add eax, 2
cmp byte [ebp + 0x23], 0
mov dword [ecx], eax
jne 0x41019a
cmp edi, 3
jae 0x4101a5
mov eax, dword [esi]
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp - 8]
jmp 0x4101a8
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4101cd
imul ecx, edi, 6
sub ecx, 6
mov edx, ebx
dec eax
shr edx, cl
mov dword [ebp + 0x18], eax
and dl, 0x3f
mov eax, dword [esi]
or dl, 0x80
mov byte [eax], dl
inc dword [esi]
mov eax, dword [ebp + 0x18]
test eax, eax
jg 0x4101af
xor ecx, ecx
shr ebx, 0xa
inc ecx
movzx eax, bx
cmp byte [ebp + 0x23], 0
cmovne ecx, eax
mov eax, dword [ebp + 8]
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp + 0x10]
jne 0x4100c0
xor eax, eax
cmp dword [ebp + 0xc], ecx
sete al
pop edi
pop esi
pop ebx
leave
ret 0x1c
push 2
pop eax
jmp 0x4101fe

Function at 0x417422
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8698
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x56c158]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi], vtable.acu::error::Exception.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
lea eax, [esi + 0x34]
mov dword [esi + 0x2c], ecx
push 2
push eax
mov dword [esi + 0x30], 0xf
call fcn.00463f13
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 0x10
Function at 0x425679
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edx, dword [ebp - 0x500]
add edx, 1
mov dword [ebp - 0x500], edx
cmp dword [ebp - 0xc88], 0
jle 0x425642
push eax
xor eax, 0x8fab
pop eax
push edx
push esi
add esp, 4
xor edx, 0xa089
add byte [eax], al
call fcn.0042554c
add byte [edx + 0x4e], cl
dec esp
aaa
xor eax, 0x354f434f
add esp, 4
sub edx, 0x15a4e
or edx, 0x2d6
pop edx
mov edx, dword [ebp - 0xac8]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xac4]
movzx edx, byte [ecx]
cmp eax, edx
je 0x4255de
push edx
add edx, 0x10318
jmp 0x42557e
call 0x42558e
add byte [eax + 0x43], al
cmp eax, 0x4f4a3443
dec edi
xor eax, 0x4c48347
call method.std::ctype_wchar_t_.virtual_28
add byte [ebx], bh
inc eax
cmp eax, 0x34343247
inc edi
xor dh, byte [esp + esi]
dec ecx
add esp, 4
pop edx
mov eax, dword [ebp - 0xac8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xac4]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x4255c6
mov dword [ebp - 0x15d4], 1
jmp 0x4255d0
mov dword [ebp - 0x15d4], 0xffffffff
mov ecx, dword [ebp - 0x15d4]
mov dword [ebp - 0xc8c], ecx
jmp 0x425642
push eax
push eax
add esp, 4
jmp 0x4255e9
invalid
pop eax
push ecx
call 0x4255fa
add byte [0x343b4140], dh
dec esp
inc eax
dec edx
add esp, 4
sub ecx, 0xf6f8
sub ecx, 0x14539
or ecx, 0x18137
pop ecx
mov edx, dword [ebp - 0xc88]
invalid
invalid
inc dword [ebx - 0x6a76fe16]
js 0x425610
invalid
dec dword [ebx - 0xac77b]
inc dword [ebx - 0x7a76fe40]
mov dword [ebp - 0xac8], eax
mov ecx, dword [ebp - 0xac4]
add ecx, 1
mov dword [ebp - 0xac4], ecx
jmp 0x42551d
mov edx, dword [ebp - 0xc8c]
mov dword [ebp - 0x15d8], edx
cmp dword [ebp - 0x15d8], 0
jne 0x425697
push edx
jmp 0x425660
xor edx, 0x4f28
pop edx
push edx
add edx, 0x6cea
or edx, 0x11cc0
rcr byte [ecx + eax], 0
or edx, 0xacdd
add byte [edx + 0x52], bl
and edx, 0x4b7f
xor edx, 0xdc5f
pop edx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0xac0], eax
jmp 0x4256d8
jmp 0x4253e5
push ebx
push esi
add esp, 4
jmp 0x4256e5
or ebx, 0x17be
pop ebx
push edi
pop edx
push ebx
call 0x42577a
add byte [0x4a49454e], bh
xor bh, byte [edx]
inc edx
cmp eax, dword [ebx - 0x147efb3c]
pop eax
cmp al, byte [ecx]
Function at 0x426ea0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
cmp dword [ebp - 0xcc4], 0
jne 0x426ebc
mov dword [ebp - 0x2fc], 0
jmp 0x427107
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
push ecx
push ecx
add esp, 4
sub ecx, 0x7c00
add ecx, 0x7abc
xor ecx, 0x1d82
pop ecx
push edi
xor edi, 0x68ad
pop edi
push edx
push ecx
add esp, 4
xor edx, 0x7514
add edx, 0x2b5d
pop edx
invalid
xchg ebp, eax

Function at 0x4273b7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ecx
add esp, 4
xor esi, 0x16f80
or esi, 0x172da
add esi, 0x5698
xor esi, 0xa399
pop esi
push ebx
or ebx, 0x11891
sub ebx, 0xf7cf
sub ebx, 0x7953
pop ebx
lea eax, [ebp - 0x1774]
mov dword [ebp - 0xccc], eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc8], edx
xor eax, eax
mov word [ebp - 0x220], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ebx
push edi
add esp, 4
call 0x4273b7
add byte [eax], bh
dec ebx
dec ecx
xor cl, byte [ebp + 0x4e]
xor eax, 0x834d3a37
les eax, [eax + ebp*8]
or eax, dword [eax]
add byte [eax], al
add byte [esp + edi], bh
inc ebx
inc eax
dec esp
dec edi
inc esi
inc eax
inc edi
cmp eax, 0x8104c483
jecxz 0x427435
loop 0x4273d2
add byte [ebx - 0x75], bl
xchg ebp, eax
cmp bl, dh
invalid
add byte [ecx + 0x12e0dc1], al
add byte [ecx + 0x56], bl
push edx
add esp, 4
jmp 0x42744a
add esi, 0x15d51
sub esi, 0xfb37
xor esi, 0x168c6
pop esi
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x42747a
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x166c], edx
jmp 0x4274d4
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x4273a2
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x4273a2
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x4274be
mov dword [ebp - 0x1668], 0xffffffff
jmp 0x4274c8
mov dword [ebp - 0x1668], 1
mov ecx, dword [ebp - 0x1668]
mov dword [ebp - 0x166c], ecx
cmp dword [ebp - 0x166c], 0
jne 0x42751d
push ecx
push eax
add esp, 4
add ecx, 0x8353
and ecx, 0x16b37
or ecx, 0x4b14
jmp 0x4274fc
pop ecx
push ebx
push ebx
add esp, 4
or ebx, 0x97ee
add ebx, 0x10333
pop ebx
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x774], edx
jmp 0x427585
push eax
sub eax, 0x949b
and eax, 0x13d23
add eax, 0x391c
pop eax
push ebx
push esi
add esp, 4
or ebx, 0x13afc
and ebx, 0x16c18
add ebx, 0xfcd0
add ebx, 0x263d
pop ebx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x42757b
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x427346
mov dword [ebp - 0x774], 0
push edx
push esi
add esp, 4
add edx, 0xf00c
pop edx
push ebx
add ebx, 0x10725
xor ebx, 0xf9d0
add ebx, 0x8b9d
xor ebx, 0x6f98
add byte [eax], al
pop ebx
push edx
push eax
add esp, 4