joyce8/EMBER2024-capa huggingface dataset:
Function at 0x117951e
Capabilities:
Encode data using xor

Disassembly:
push 0x65bbb9df
mov byte [esp], bl
cmp byte [edi], 0x23
call fcn.01181435
stosb byte es:[edi], al
jmp 0x1179551
and ebp, eax
pop es
jg 0x117952d
add byte [edx - 0x680adf15], ch
mov bh, ah
imul edi, dword [esi], 0x2ab28c0
inc ebp
fcomp dword [esi + ebx*4]
and byte [eax + 0x3c4b4a8c], cl
aas
dec edx
dec ebx
cmp al, 0x3f
push cs
xchg edx, eax
fcomp dword [ebx + 0x34703bb6]
cmp esi, dword [eax + 0x34]
inc eax
mov al, byte [0xc04d8abc]
mov edi, dword [edx - 0x30]
mov esp, 0x8bc04d8a
jp 0x1179528
xlatb
sbb dword [ebp - 0x4e45f201], edi
enter 0x2f81, 0xffffffffffffffa1
jbe 0x117959d
call 0x56fa4e19
mov bl, 0x29
jnp 0x117954b
in al, 0x8c
sbb bl, byte [edx + 0xa6f66c7]
call 0xc4d94f30
xchg edi, eax
fsubr dword [ebx + ecx*2 + 0x41]
jp 0x1179542
pop edx
dec ecx
call 0xef9aa0a0
cmpsd dword [esi], dword es:[edi]
aam 0x1d
fcomp qword [edx + 0x2edf15b4]
insb byte es:[edi], dx
ror dword [ebx + eax*4], cl
in al, dx
xor byte [ebp - 0x62], bh
shl byte [esp - 0x7abe5141], 1
dec edx
xchg ebx, eax
and al, 0xbf
scasb al, byte es:[edi]
inc ecx
test dword [edx - 0x6d], ecx
inc esp
xor eax, esi
or cl, ch
xchg edx, eax
xor dh, byte [esp]
stosd dword es:[edi], eax
outsd dx, dword [esi]
push ebp
xchg ecx, eax
adc byte [ebx], 0x57
pop ecx
jecxz 0x11795aa
lahf
invalid

Function at 0x11978f3
Capabilities:
Encode data using xor

Disassembly:
add ecx, 1
push 0xb63a5eef
lea esp, [esp + 0x28]
jne 0x119d460
push ebx
push 0xf6743f7e
mov dword [ebp - 8], ecx
pushfd
push 0x355bae10
mov word [esp + 4], cx
lea esp, [esp + 0x10]
jmp 0x145c847
inc esp
aaa
pop edx
invalid
lea esp, [esp + 0x3c]
ja 0x20024fa
call fcn.0117b2bf
add byte [eax + 0x448201c0], dl
aam 0x8d
jl 0x1197896
out 0x1d, eax
push cs
xchg ecx, eax
call 0x69c41fc2
jmp 0x1197959
inc edi
test eax, 0x1e848112
popfd
mov al, 0x97
inc ebp
dec eax
push esp
pop ebx
and al, 0x67
dec ebx
cmpsw word [esi], word es:[edi]
push ss
pop eax
dec edi
xor edx, dword [ecx]
aaa
sub ebx, dword [esi + ebx]
jge 0x1197969
hlt
jmp 0x145e21f
sbb ecx, ecx
neg esi
sbb esi, 0x7bf21994
mov ecx, dword [ebp - 8]
shl si, 1
adc si, 0xf2c2
stc
add ecx, dword [ebp - 4]
adc di, ax
shr ecx, 1
push edi
xchg di, si
mov edi, dword [ebx + ecx*4]
pop esi
mov si, cx
bts si, sp
add edi, eax
movsx si, cl
call fcn.0117e02a
sti
invalid
pushfd
pushal
mov dword [ebp - 8], ecx
push 0x764be3dd
lea esp, [esp + 0x28]
jmp 0x145c847
jmp 0x1179d5f
push eax
cmp ecx, dword [ebp - 4]
pushal
lea esp, [esp + 0x24]
jae 0x117da27
pushfd
pushal
jmp 0x145f310
Function at 0x1000cd40
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x1000cdf4
cmp edi, ebx
je 0x1000cdf4
mov edx, dword [esi + 0xf0]
lea ecx, [ebp - 4]
push ecx
push 2
push 0x40000000
push eax
push edx
call fcn.10013d50
mov edx, eax
call fcn.100822ee
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x1000cdf4
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp + 8]
push ebx
lea edx, [ebp - 0xc]
push edx
mov edx, dword [esi + 0x108]
push ecx
push edi
push eax
push edx
call fcn.10013d50
mov edx, eax
call fcn.1012ff9a
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
je 0x1000cdf4
mov esi, dword [esi + 0xb4]
lea ecx, [ebp - 8]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], eax
call fcn.10013d50
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x4c]
mov eax, dword [eax + 0x48]
xor ecx, esi
mov edx, dword [edx + ecx*4]
xor edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
je 0x1000cdf4
pushal
push dword [ebp - 0x14]
call dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10014d80
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1003a168
push 0x1003244d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1003d090]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
je 0x10014e5f
mov edi, dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x10014e5f
push 0x1024
call fcn.10031c8d
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
je 0x10014e6c
mov dword [ebp - 4], 0
cmp edi, 0x400
jbe 0x10014e03
mov edi, 0x400
mov dword [ebx], 0
push edi
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1c]
push ecx
push edi
push esi
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10014e4c
push eax
push esi
mov eax, dword [ebx]
add eax, dword [ebp + 0xc]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add dword [ebx], eax
test eax, eax
je 0x10014e4c
mov ecx, dword [ebp + 0x10]
cmp dword [ebx], ecx
jb 0x10014e09
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.10014e86
test esi, esi
je 0x10014e6c
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100194d0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x29a0
call fcn.100327c0
mov eax, dword [0x1003d090]
xor eax, esp
mov dword [esp + 0x299c], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x28a1]
push 0
push eax
mov edi, ecx
mov byte [esp + 0x28a8], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x28a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 0x289c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0xc
lea eax, [esp + 0x28a0]
push str.iphlpapi.dll
push eax
call dword [sym.imp.MSVCR90.dll__mbsnbcat]
add esp, 0xc
lea ecx, [esp + 0x289c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
jne 0x10019575
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x299c]
xor ecx, esp
call fcn.10031c98
add esp, 0x29a0
ret
push str.GetAdaptersInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10019642
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x20], 0x2880
call eax
test eax, eax
jne 0x10019642
push ebx
mov ebx, edi
lea edx, [esp + 0xe]
push ebp
lea esi, [esp + 0x24]
mov dword [esp + 0x18], 3
sub ebx, edx
jmp 0x100195c0
lea ecx, [esi + 8]
call fcn.100196a0
xor ecx, ecx
mov ebp, eax
mov dword [esp + 0x12], ecx
mov word [esp + 0x16], cx
lea edx, [esp + ecx + 0x12]
mov al, byte [ebx + edx]
cmp al, byte [edx]
jne 0x100195e8
inc ecx
cmp ecx, 6
jb 0x100195d5
jmp 0x100195f7
cmp dword [esi + 0x1a0], 6
jne 0x10019636
cmp dword [esp + 0x18], ebp
jle 0x10019636
movzx ecx, byte [esi + 0x194]
mov byte [edi], cl
movzx edx, byte [esi + 0x195]
mov byte [edi + 1], dl
movzx eax, byte [esi + 0x196]
mov byte [edi + 2], al
movzx ecx, byte [esi + 0x197]
mov byte [edi + 3], cl
movzx edx, byte [esi + 0x198]
mov byte [edi + 4], dl
movzx eax, byte [esi + 0x199]
mov byte [edi + 5], al
mov dword [esp + 0x18], ebp
mov esi, dword [esi]
test esi, esi
jne 0x100195c0
mov esi, dword [esp + 0x1c]
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea ecx, [esp + 0xa]
mov dword [esp + 0xa], eax
mov word [esp + 0xe], ax
sub edi, ecx
lea ebx, [ebx]
lea ecx, [esp + eax + 0xa]
mov dl, byte [edi + ecx]
cmp dl, byte [ecx]
jne 0x10019693
inc eax
cmp eax, 6
jb 0x10019660
mov al, 1
xor ecx, ecx
test al, al
sete cl
mov al, cl
mov ecx, dword [esp + 0x29a4]
pop edi
pop esi
xor ecx, esp
call fcn.10031c98
add esp, 0x29a0
ret
xor al, al
jmp 0x10019673
Function at 0x100196a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1003d090]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov esi, ecx
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x10019833
push esi
push str._sConnection
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push 0x103
push ecx
call dword [sym.imp.MSVCR90.dll__snprintf_s]
mov ecx, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1001982c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x10019825
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x10019825
mov ebp, 1
cmp dword [esp + 0xc], ebp
jne 0x10019815
mov esi, dword [sym.imp.MSVCR90.dll_strncmp]
push 3
lea edx, [esp + 0x24]
push 0x10037618
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x100197f3
xor ebp, ebp
jmp 0x10019825
cmp dword [esp + 0xc], ebp
jne 0x10019815
push 3
lea eax, [esp + 0x24]
push 0x10037618
push eax
call esi
add esp, 0xc
test eax, eax
je 0x10019815
mov ebp, 2
jmp 0x10019825
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.10031c98
add esp, 0x11c
ret
Function at 0x1001a520
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100342f9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1003d090]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x1003d090]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x17], 0
call fcn.1001a850
mov dword [esp + 0x68], 0
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x1001a585
lea eax, [esp + 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001a651
mov bl, 1
lea ecx, [esp + 0x20]
call fcn.1001a850
lea ecx, [esp + 0x3c]
push ecx
call fcn.1001af10
add esp, 4
test al, al
jne 0x1001a61b
lea edx, [esp + 0x20]
push edx
call fcn.1001af10
add esp, 4
test al, al
je 0x1001a61b
mov ecx, dword [esp + 0x40]
mov esi, 0x10
cmp dword [esp + 0x54], esi
jae 0x1001a5e8
lea ecx, [esp + 0x40]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x1001a5f6
lea eax, [esp + 0x24]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x1001a620
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x1001a612
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1001a620
mov esi, 0x10
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x38], esi
jae 0x1001a62e
lea eax, [esp + 0x24]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call edi
lea ecx, [esp + 0x20]
mov esi, eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp esi, 0xffffffff
je 0x1001a68b
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x10
jb 0x1001a684
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001a684
cmp dword [esp + 0x18], ebx
jne 0x1001a684
mov byte [esp + 0x17], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10031c98
mov esp, ebp
pop ebp
ret 4
Function at 0x1001a850
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1003427f
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x1003d090]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
mov eax, dword [0x1003d090]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov dword [esp + 0x140], 0
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0x104
lea eax, [esp + 0x30]
push 0
mov dword [esp + 0x148], 0
push eax
mov dword [esp + 0x14], 1
call sub.MSVCR90.dll_memset
add esp, 0xc
movzx ecx, bl
neg ecx
sbb ecx, ecx
push 1
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
lea edx, [esp + 0x34]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x1001a959
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x144], 1
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, esi
test bl, bl
je 0x1001a931
push str.TencentDeskUpdate
jmp 0x1001a936
push str.TencentDesktop
call dword [0x100351e4]
call fcn.1001a980
test al, al
jne 0x1001a94c
mov ecx, esi
call fcn.1001aae0
push str.Global.db
mov ecx, esi
call dword [0x100351e4]
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.10031c98
add esp, 0x13c
ret
Function at 0x1001b1c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0x20], eax
je 0x1001b208
push 0x104
push 0x10037458
push 0x100449f8
call dword [sym.imp.MSVCR90.dll_wcsncpy]
add esp, 0xc
push 0
push 0
push esi
push 0x1001b2c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, 1
pop esi
ret 4

Function at 0x1001c620
Capabilities:
Create thread

Disassembly:
push esi
mov esi, edx
cmp dword [esi + 0x934], 0
mov dword [esi], eax
mov dword [esi + 4], ecx
jne 0x1001c667
cmp dword [esp + 8], 0
je 0x1001c649
mov eax, dword [esi + 0x924]
test eax, eax
je 0x1001c649
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push esi
push 0x1001c5e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x934], eax
pop esi
ret 4
mov esi, dword [esi + 0x924]
test esi, esi
je 0x1001c678
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret 4

Function at 0x1001cdf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
test esi, esi
je 0x1001ce46
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x1001ce46
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1001ce45
cmp dword [esp + 0x18], 4
jb 0x1001ce45
or eax, 0xffffffff
test edx, edx
je 0x1001ce3c
push ebx
push ebp
lea esp, [esp]
movzx ebp, byte [esi]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [ecx + ebx*4 + 4]
dec edx
inc esi
test edx, edx
jne 0x1001ce20
pop ebp
pop ebx
not eax
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
ret 0x10
Function at 0x10031c98
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003d090]
jne 0x10031ca2
repz ret
jmp fcn.100322da

Function at 0x10032a70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035878
push 0x10033ee4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x10032b0b
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x10032b0b
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x10032b0b
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x10032b0b
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x732558f0
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x646654dc
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401a20
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4c98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4fad60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x34], ebx
jb 0x401a5a
mov eax, dword [ebx]
jmp 0x401a5c
mov eax, ebx
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
mov ecx, eax
mov dword [ebp - 0x30], esp
lea edi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x401a80
sub ecx, edi
sar ecx, 1
push ecx
call fcn.00403e70
lea esi, [ebp - 0x2c]
call fcn.0044c6f0
add esp, 0x1c
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x401ab6
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401acc
shr eax, 4
not eax
and eax, 1
jne 0x401ae4
cmp dword [ebp - 0x18], edi
jb 0x401add
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490a16
add esp, 4
xor eax, eax
jmp 0x401b7a
cmp dword [ebx + 0x14], edi
jb 0x401aed
mov eax, dword [ebx]
jmp 0x401aef
mov eax, ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401b24
cmp dword [ebp - 0x18], edi
jb 0x401add
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490a16
add esp, 4
xor eax, eax
jmp 0x401b7a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.0048d7af
add esp, 4
push 0
lea ecx, [ebp - 0x38]
push ecx
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x34]
push edx
mov ecx, edi
call fcn.00401ba0
push edi
mov esi, eax
call fcn.00490a16
add esp, 4
cmp dword [ebp - 0x18], 8
jb 0x401b78
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00490a16
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490a21
mov esp, ebp
pop ebp
ret
Function at 0x405100
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x4fad60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x438], edi
mov word [ebp - 0x218], ax
call fcn.00497ad0
add esp, 0xc
lea edx, [ebp - 0x218]
cmp esi, edi
jne 0x40516e
push 0x208
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp 0x405181
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x405172
xor eax, eax
mov dword [ebp - 0x420], 7
mov dword [ebp - 0x424], edi
mov word [ebp - 0x434], ax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x218]
mov dword [ebp - 4], edi
push edx
mov dword [ebp - 0x43c], edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x4052dc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x438], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x405210
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
push eax
mov eax, 0x4ddda0
mov esi, ebx
call fcn.00403e70
cmp dword [ebp - 0x420], 8
jb 0x405314
mov ecx, dword [ebp - 0x434]
push ecx
jmp 0x40530c
mov edx, dword [ebp - 0x43c]
push esi
push edi
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4052c8
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0x440]
push edx
xor eax, eax
push 0x4ddaa0
push esi
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x444], eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4052c8
mov eax, dword [ebp - 0x440]
mov si, word [eax + 0x12]
mov di, word [eax + 0x10]
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x416]
push ecx
mov word [ebp - 0x418], ax
call fcn.00497ad0
movzx edx, di
push edx
movzx eax, si
push eax
push 0x4ddaa4
lea edx, [ebp - 0x418]
call fcn.00407f60
lea eax, [ebp - 0x418]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4052a7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x418]
lea esi, [ebp - 0x434]
call fcn.00403e70
mov esi, dword [ebp - 0x438]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ecx, ecx
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
lea edi, [ebp - 0x434]
mov esi, ebx
mov word [ebx], cx
call fcn.00409010
cmp dword [ebp - 0x420], 8
jb 0x405314
mov edx, dword [ebp - 0x434]
push edx
call fcn.00490a16
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490a21
mov esp, ebp
pop ebp
ret