joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b1a9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x2000000
push 0
push 0x1003834
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101b209
push edi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x101b209
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x101b209
xor eax, eax
inc eax
jmp 0x101b20b
xor eax, eax
leave
ret 0x10

Function at 0x101b32d
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x2000000
xor edi, edi
push edi
push 0x1003834
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x101b3a3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1003850
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101b39a
cmp dword [ebp - 0xc], 4
jne 0x101b39a
cmp dword [ebp - 0x10], edi
je 0x101b39a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1030270], edi
xor eax, eax
jmp 0x101b3e2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1030270], edi
jge 0x101b3dd
lea eax, [ebp - 0x34]
push eax
mov dword [0x1030270], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x101b3dd
cmp word [ebp - 0x14], 5
jb 0x101b3dd
call fcn.0101b214
test eax, eax
je 0x101b3dd
emms
mov dword [0x1030270], 1
mov eax, dword [0x1030270]
pop edi
leave
ret

Function at 0x101b3ea
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x101b433
inc eax
jmp 0x101b470
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x101b464
cmp dword [ebp - 0x94], 4
ja 0x101b460
jne 0x101b470
cmp dword [ebp - 0x90], 0xa
jb 0x101b470
mov ecx, 0x55d
cmp word [ebp - 0x8c], cx
jb 0x101b470
xor eax, eax
jmp 0x101b470
xor eax, eax
cmp dword [ebp - 0x88], 2
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01015299
leave
ret
Function at 0x101b481
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x101b4de
cmp dword [ebp - 0x88], 2
jne 0x101b4de
cmp dword [ebp - 0x94], 5
jb 0x101b4de
xor eax, eax
inc eax
jmp 0x101b4e0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01015299
leave
ret

Function at 0x101bc15
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
xor eax, eax
cmp dword [0x103a348], eax
jne 0x101bcaf
push ebx
push esi
push edi
mov esi, 0x1003a40
xor edi, edi
push esi
inc edi
push eax
mov dword [0x103a348], edi
mov dword [ebp - 4], eax
call fcn.0101bd08
push esi
push 0
mov ebx, eax
call fcn.0101bd08
add esp, 0x10
mov esi, eax
test ebx, ebx
je 0x101bc5f
test esi, esi
je 0x101bc5f
cmp ebx, esi
jne 0x101bc62
mov dword [ebp - 4], edi
test ebx, ebx
je 0x101bc6d
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
test esi, esi
je 0x101bc7c
cmp esi, ebx
je 0x101bc7c
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
push 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
cmp dword [ebp - 4], 0
pop ecx
je 0x101bcac
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x10039e8
call esi
push 0x1003988
call esi
push 0x1003930
call esi
push 0x1003900
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101bdc4
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
mov dword [ebp - 0x14], eax
cmp edx, eax
jae 0x101bee7
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, dword [ebp + 0x14]
jae 0x101becb
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x101be1d
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
mov dword [ebp + 0xc], edx
cmp edx, dword [ebp - 0x14]
jb 0x101bdfb
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x101e878
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0xec]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebx + 8]
push eax
xor esi, esi
push esi
push esi
push 0x1011c58
push ecx
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xf4], esi
cmp dword [ebx + 0x171c], esi
jbe 0x101ea40
lea eax, [ebx + 0x55c]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x101ea1e
mov edi, dword [ebx + eax*4 + 0x2318]
mov eax, dword [ebp - 0xf4]
inc eax
push eax
push 0x1011c44
lea eax, [ebp - 0xcc]
push 0x64
push eax
mov dword [ebp - 0x104], edi
call fcn.0101cf0b
add esp, 0x10
push esi
lea eax, [ebp - 0xf8]
push eax
push esi
push 0x20019
push esi
push esi
push esi
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x101ea1e
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xdc]
push eax
push esi
push esi
push 0x1011c2c
push dword [ebp - 0xf8]
mov dword [ebp - 0x108], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xf0]
push eax
lea eax, [edi + 0x2b74]
push eax
push esi
push esi
push 0x1011c14
push dword [ebp - 0xf8]
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
add edi, 0x43c
pop ecx
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101e9de
push 4
pop ecx
lea edi, [ebp - 0xec]
lea esi, [ebp - 0xdc]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x101ea10
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x104]
add eax, 0x2b78
push eax
push 0
push 0
push 0x1011bf0
push dword [ebp - 0xf8]
mov dword [ebp - 0xf0], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xf8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
inc dword [ebp - 0xf4]
mov eax, dword [ebp - 0xf4]
add dword [ebp - 0xfc], 0x234
cmp eax, dword [ebx + 0x171c]
jb 0x101e8f6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01015299
leave
ret 4
Function at 0x101ea56
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov esi, ecx
lea ecx, [esi + 8]
push ecx
push 4
xor ebx, ebx
push ebx
push 0x1011c58
push eax
mov dword [ebp - 0xdc], eax
call edi
mov dword [ebp - 0xd0], ebx
cmp dword [esi + 0x171c], ebx
jbe 0x101eb89
lea eax, [esi + 0x55c]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x101eb67
mov ebx, dword [esi + eax*4 + 0x2318]
mov eax, dword [ebp - 0xd0]
inc eax
push eax
push 0x1011c44
lea eax, [ebp - 0xcc]
push 0x64
push eax
call fcn.0101cf0b
add esp, 0x10
xor eax, eax
push eax
lea ecx, [ebp - 0xd4]
push ecx
push eax
push 2
push eax
push eax
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x101eb67
push 4
lea eax, [ebx + 0x2b74]
push eax
push 4
push 0
push 0x1011c14
push dword [ebp - 0xd4]
call edi
push 4
lea eax, [ebx + 0x2b78]
push eax
push 4
push 0
push 0x1011bf0
push dword [ebp - 0xd4]
call edi
push 0x10
add ebx, 0x43c
push ebx
push 3
push 0
push 0x1011c2c
push dword [ebp - 0xd4]
call edi
push dword [ebp - 0xd4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0xd0]
mov eax, dword [ebp - 0xd0]
add dword [ebp - 0xd8], 0x234
cmp eax, dword [esi + 0x171c]
jb 0x101eab0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01015299
leave
ret 4
Function at 0x101f0af
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push 2
xor ebx, ebx
push ebx
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x101f1df
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, esi
call fcn.0101c7bb
mov dword [esi + 4], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov ecx, esi
call fcn.0101d0ba
mov eax, dword [esi + 4]
cmp eax, 1
je 0x101f10c
cmp eax, 3
je 0x101f10c
cmp eax, 2
jne 0x101f11e
mov ecx, esi
call fcn.0101d246
cmp eax, ebx
jge 0x101f11e
mov byte [esi + 0x21], 1
mov dword [esi + 0x24], eax
cmp dword [esi + 4], 1
jne 0x101f16f
push ebx
push ebx
push 0x400
push dword [esi + 0xc]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x101f161
push ebx
push ebx
push dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x101f168
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x18], bl
jne 0x101f13a
jmp 0x101f16f
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 0x20
call sub.d3d9.dll_Direct3DCreate9
mov dword [esi + 0x2340], eax
cmp eax, ebx
jne 0x101f189
mov dword [esi + 0x24], 0x82000001
jmp 0x101f1d9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
cmp eax, ebx
jge 0x101f199
mov dword [esi + 0x24], eax
jmp 0x101f1d9
mov ecx, esi
call fcn.0101d643
cmp eax, ebx
jl 0x101f194
xor edx, edx
cmp dword [esi + 0x233c], ebx
jbe 0x101f1d2
lea ecx, [esi + 0x2318]
mov eax, dword [ecx]
cmp byte [eax + 0x2b71], bl
jne 0x101f1dd
cmp byte [eax + 0x2b73], bl
jne 0x101f1dd
inc edx
add ecx, 4
cmp edx, dword [esi + 0x233c]
jb 0x101f1b4
mov dword [esi + 0x24], 0x82000003
mov byte [esi + 0x21], 1
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0x1020492
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push dword [ebp + 0x10]
xor esi, esi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x10204b9
mov eax, 0x80004005
jmp 0x10205f1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0x10], eax
cmp eax, esi
je 0x10204af
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x10204af
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, esi
jne 0x10204ec
mov eax, 0x80004005
jmp 0x10205f0
push dword [ebp + 0x10]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x102050f
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
jne 0x102052c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x10205f0
and eax, 0xffff
or eax, 0x80070000
jmp 0x10205f0
push dword [ebp + 0x10]
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
push eax
push 1
push ebx
mov dword [ebp + 0xc], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edi, eax
cmp edi, esi
jl 0x10205e7
cmp dword [ebp + 0xc], esi
je 0x10205e7
lea eax, [ebp + 0x10]
push eax
push 0x1012444
push 1
push esi
push 0x1003a84
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x10205ba
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push esi
push esi
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x10205ba
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp - 4]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0101ff1a
mov edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x10205ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0x10], esi
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x10205d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x10205e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0xc], esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x15]
test dword [eax + 0x75], edi
and cl, byte [ebx - 0x29f7db7a]
add byte [ebp + 0x71874c0], al
mov ah, 2
inc ecx
add byte [ebp + 0x6cd00fc0], al
add dword [eax], eax
add byte [eax - 0x5d], cl
mov ah, 0xc6
inc ecx
add cl, ch
popal
add dword [eax], eax
add byte [ebx + 0x4102b43d], al
bound eax, qword [ecx]
jne 0x403ad7
mov eax, dword [esi + 0x53]
mov dword [0x24028c], eax
jmp 0x403afb
rol dl, cl
adc byte [ecx + 0x5a028c], ah
cmp ecx, eax
ja 0x403b3b
mov ecx, dword [0x4102b8]
arpl word [eax], dx
add al, byte [ecx]
inc ecx
inc eax
mov dword [0x4102b8], ecx
mov dword [0x4185c0], eax
mov eax, dword [0x4102b0]
mov ecx, dword [0x40d010]
cmp eax, ecx
stc
lea edx, [edi]
add dword [eax], eax
add byte [ecx + 0x15], bl
enter 0x20e, 0
mov edi, eax
shl edi, 0x5b
add edi, edx
inc eax
mov dword [0x4102ac], eax
xchg ecx, eax
fisubr dword [esi]
add byte [eax], al
mov dword [0x410bc5], eax
mov dword [0x410b4b], edx
mov dword [edx], esp
push eax
or byte [eax], al
add byte [edx], dl
adc eax, 0x410ba4
mov eax, dword [esi + 0x830]
mov dword [esi - 0x7cff9eac], edx
jae 0x403b52
inc ecx
add byte [ebx + 0x83086], cl
add byte [ecx + 0x615496], cl
xor dword [ebx + 7], 0xffffff8b
invalid
mov ecx, dword [esi + 0x568f0134]
cmp eax, 0xb58b044f
cmp byte [eax], cl
add byte [eax], al
mov eax, dword [esi + 0x830]
mov edx, dword [esi + 0x834]
sub ecx, eax
mov eax, dword [esi + 0x9a30]
sbb eax, edx
dec edi
add al, 0x8b
mov ch, 0x38
or byte [eax], al
add byte [ebx + 0x83086], cl
add byte [ebx + 0x83496], cl
add byte [ebx], ch
enter 0xffffffffffff868b, 0x30
lcall 0xc085, 0xc21b0000
test eax, eax
jg 0x403b7e
jl 0x403b70
test ecx, ecx
jae 0x403b7e
xor ecx, ecx
xor eax, eax
or al, 0x4f
adc byte [ecx + 0x768b1447], cl
push eax
or byte [eax], al
add byte [ebx + 0x84a1a], cl
add byte [ebx + 0x87796], cl
add byte [ebx], ch
enter 0xffffffffffff868b, 0x54
or byte [eax], al
add byte [ebp - 0x413f7a3e], dl
or bh, byte [esp + eax - 0x7b]
leave
jae 0x403bae
imul ecx, ecx, 0x33
ror byte [ecx + 0x47891e4f], 0x1c
mov dword [edi + 0x1e], ecx
mov dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x848]
mov eax, dword [esi + 0x840]
inc ecx
xchg esi, eax
inc esp
or byte [eax], al
add byte [ebx], ch
enter 0xffffffffffff86c4, 0x4c
or byte [ebx - 0x7a3dbd7f], ch
sar byte [edi + 0xa], 0x7c
loope 0x403bd3
or bh, byte [ecx - 4]
push ecx
jae 0x403bde
xor ecx, ecx
xor eax, eax
mov dword [edi + 8], ecx
mov dword [edi + 0xc], eax
mov ecx, dword [0x400214]
test ecx, ecx
je 0x403c25
mov edi, dword [0x4102ac]
mov edx, dword [esi - 0x7aff3467]
sal byte [ebp + 0x58], cl
mov edx, dword [0x40c0e1]
push edi
xor dword [ebp - 0x17bf97c0], 0x40
pop esp
push edx
call dword [0x404980]
mov eax, dword [0x4079c8]
add dword [eax], 0x40
pop esi
call dword [0x7440c154]
stc
les edx, [eax]
invalid
Function at 0x4056c0
Capabilities:
Packed with generic packer

Disassembly:
nop
nop
nop
push ebp
jmp 0xc8de1c2
jno 0x4055cd
mov ebp, 0x53c7558b
rcl dword [edi - 0x7b], 0xd2
fstp dword [edi - 0x75]
inc edx
adc byte [ebx + 0x7d8b1075], cl
or al, 0x8d
dec edx
or al, 0xd5
sal byte [eax + 0x39], 0xc6
dec edx
lcall 0xa1f, 0x8703905
mov eax, edi
mov eax, dword [eax]
test eax, ebp
test esi, ebp
or al, 0x8b
sbb byte [ecx - 0x2db574e7], al
mov ecx, edx
mov dword [ebx + 0x38428b14], esp
lea ecx, [edx - 0x56]
test eax, eax
je 0x4056ac
cmc
js 0x40568e
jne 0x405691
cmp dword [eax + 8], esi
je 0x4056a0
or byte [edi + ecx - 0x75], dh
enter 0x8b, 0xffffffffffffff85
sal byte [ebp - 0x12], 0x5f
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x405687
pop edi
push es
pop ebx
pop ebp
ret 0xc
xor byte [ecx - 0x2ab569cf], cl
mov dword [eax], ecx
mov dword [edx + 0x3c], eax
pop edi
push esi
pop ebx
pop ebp
arpl word [eax + eax], cx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esp, 0xec8bde90
fimul word [ebx + 0x8458bec]
push esi
cmpsb byte [esi], byte es:[edi]
jne 0x4056da
push edi
mov ebp, dword [edx + 0x5057560c]
loopne 0x40573d
inc dword [eax - 5]
push edi
invalid
les ebp, [edi + ebx*2 + 0x5e]
pop ebp
ret 0x66
nop
nop
nop
nop
nop
nop
sub eax, eax
ret
jae 0x40571a
je 0x40583e
push esi
mov dword [0x6a06f0f3], eax
add dword [edx], ebp
push 0
push eax
call fcn.0040a505
cmp eax, 0x11176
pushfd
pop es
mov dword [esi + 4], 0
mov esi, dword [esi + 8]
test esi, esi
stosb byte es:[edi], al
fisttp qword [ebx + 0x4468bf3]
test dword [0xe1c1274], edx
mov edi, 0xd0001
push 9
push ecx
mov dword [esi + 4], edi
call 0xb70ed8d0
enter 0x1776, 0xffffffffffffff85
div byte [ebp - 0x25]
loopne 0x40589b
mov esp, dword [ecx + 0x29]
ret
wait

Function at 0x40578d
Capabilities:
Packed with generic packer

Disassembly:
push dword ds:[edi + 0x35]
sbb esi, dword [edi + 0x53563300]
mov dword [ebp - 0x15], esi
call 0x415560
jno 0x405817
or byte [eax], bh
inc dword [ebx + 0x1402047e]
lds ecx, [ebx + 0x60016a16]
cmp dword [esi + 4], 2
adc al, 0xc5
mov edx, dword [esi]
push 1
pushal
add byte [edx], ch
popal
call 0x9740a4b0
cmp eax, 0x11176
jne 0x4057c7
mov edi, 1
jmp 0x4057ce
mov dword [esi + 4], 0xeb0000
mov esi, dword [esi + 8]
test esi, esi
jne 0x4057a5
test edi, edi
je 0x405803
mov ebx, ebp
cld
insd dword es:[edi], dx
ljmp 0xfb81
mov dword [0xf38b085d], eax
cmp dword [esi + 4], 2
jne 0x405818
push cs
push es
push 0x29
push eax
call fcn.0040a3d0
add byte [ebx + 0x68850876], cl
jne 0x405808
mov esi, dword [esi + 8]
test dword [eax + 0x75], ebp
jmp 0x46564baf
invalid

Function at 0x405d20
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and eax, 0xf5e85756
add dword [eax], eax
add byte [ebp - 0x27af040], al
add byte [esi], ah
push es
or dword [ebp + 0xf4b4dc], 0xffffff9b
jl 0x405e2e
mov eax, dword [0x410384]
test eax, eax
xchg esp, eax
test ecx, esp
add byte [ebx], dh
add bh, al
lodsb al, byte [esi]
push ds
add eax, dword [ecx + 0x3f]
add dword [eax], eax
add byte [eax], al
call dword [0x626657]
das
invalid
xor esi, edi
pop edi
mov cx, bp
pop ebp
ret 0x8d0c
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
dec eax
add al, 0x33
sar byte [0x8c25d], 0x5f
pop esi
mov eax, 9
pop ebx
pop ebp
ret 8
push ebp
mov ebp, esp
sub esp, 8
out 0x45, eax
push ss
push ebx
push esi
push edi
sub byte [eax + 0x27], bh
add dword [edi], ecx
test dword [edi + 1], esi
mov esi, 0xca588b00
mov eax, dword [ebp + 8]
xor ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [ebx + 4]
test edx, edx
mov dword [esi], ebx
clc
jbe 0x406240
mov esi, dword [eax + 0x301c]
imul eax, esi, 0x741e150c
stc
inc ecx
adc eax, 0x41f9741e
add esi, 0x14
mov edx, ecx
jb 0x406234
pop edi
pop esi
mov eax, 0x111aa
pop ebx
mov esp, ebp
pop ebp
mov ah, 8
add byte [ebx + 0x498d6cd9], cl
call dword [edi]
jne 0x4061e0
jo 0x40625d
jae 0x4062aa
lea ebx, [ebx + ebx*4]
wait
lea edi, [esp + ebx*8]
rcr esp, 2
mov byte [0xd12b02e7], al
mov dword [ebp + 8], edi
mov dword [ebp - 4], edx
mov ecx, dword [eax + 0x30e2]
mov edx, dword [ebx + 0xc]
cli
push edx
stosb byte es:[edi], al
xchg ebx, eax
xor al, 0xf
cmp edx, dword [esi + 0xc]
jne 0x40626c
dec dword [eax + 4]
xchg esp, eax
adc byte [esp + edi + 0xb], bl
adc edi, dword [ebx - 0xcdfffb5]
iretd
mov edx, dword [eax + 0xc]
xor ecx, ecx
test edx, edx
jbe 0x4062e1
lea esi, [eax + 9]
mov dword [esi], edi
je 0x4062c4
xchg esp, eax
add esi, 0xffffffc9
cmp ecx, edx
jb 0x4062b6
jmp 0x4062e1
sar byte [ebx], 0xca
jae 0x4062de
lea edx, [eax + ecx*4 + 0x10]
mov esi, dword [edx + 4]
inc ecx
mov dword [edx], esi
mov ebp, eax
mov word [ebx + 0x3b4e0403], es
into
jb 0x4062cd
dec dword [eax + 0xc]
mov edx, dword [eax + 0x1010]
ret