joyce8/EMBER2024-capa huggingface dataset:
Function at 0x594ce0
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ecx + 8]
push ebx
mov ebx, ecx
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x7075d4
mov ecx, esi
mov dword [esp], pe_nt_image_headers32
call fcn.00587720
mov eax, 0x101
mov dword [ebx + 0x28], 0x10
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x708ee8
mov dword [ebx + 4], 0x708f20
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047c9e0
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
cmp edx, 7
jbe 0x594e30
cmp dword [ebx + 0x30], 8
mov eax, 8
cmovbe eax, dword [ebx + 0x30]
sub edx, eax
jne 0x594ec0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x30], 8
test eax, eax
jne 0x594ea4
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
mov ecx, eax
mov dword [esp], 0x40
call dword [edx]
mov edi, eax
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], edi
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x594e88
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x594e88
test eax, eax
je 0x594e88
shl eax, 3
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 8
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 8
mov dword [ebx + 0x34], 8
test eax, eax
je 0x594d9c
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x594d9c
mov ecx, dword [ebx + 0x2c]
shl edx, 3
mov dword [esp + 4], 0
mov dword [esp + 8], edx
lea eax, [ecx + eax*8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x594d8a
Function at 0x595010
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ecx + 8]
push ebx
mov ebx, ecx
sub esp, 0x2c
mov dword [ecx], method.0RIPEMD_128E.virtual_0
mov dword [ecx + 4], 0x7075d4
mov ecx, esi
mov dword [esp], pe_nt_image_headers32
call fcn.00587720
mov eax, 0x101
mov dword [ebx + 0x28], 0x10
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov word [ebx + 0x24], ax
mov dword [ebx], 0x708f38
mov dword [ebx + 4], 0x708f70
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x30], 0
mov dword [esp], 1
call fcn.0047c9e0
mov edx, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
cmp edx, 7
jbe 0x595160
cmp dword [ebx + 0x30], 8
mov eax, 8
cmovbe eax, dword [ebx + 0x30]
sub edx, eax
jne 0x5951f0
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x30], 8
test eax, eax
jne 0x5951d4
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [eax]
mov ecx, eax
mov dword [esp], 0x40
call dword [edx]
mov edi, eax
mov eax, dword [ebx + 0x30]
sub esp, 4
mov dword [esp], edi
shl eax, 3
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 4], eax
call sub.msvcrt.dll_memmove
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x5951b8
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x5951b8
test eax, eax
je 0x5951b8
shl eax, 3
mov edx, dword [ecx]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [edx + 4]
sub esp, 8
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x30], 8
mov dword [ebx + 0x34], 8
test eax, eax
je 0x5950cc
mov edx, dword [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
jmp 0x5950cc
mov ecx, dword [ebx + 0x2c]
shl edx, 3
mov dword [esp + 4], 0
mov dword [esp + 8], edx
lea eax, [ecx + eax*8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x5950ba
Function at 0x595730
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
cmp edx, 7
jbe 0x59578d
lea esi, [edx - 8]
shr esi, 3
lea ebp, [esi*8 + 8]
xor esi, esi
nop
lea esi, [esi]
mov ebx, dword [esp + 0x28]
mov edi, dword [ecx + esi]
xor edi, dword [ebx + esi]
mov dword [eax + esi], edi
mov edi, dword [ecx + esi + 4]
xor edi, dword [ebx + esi + 4]
mov dword [eax + esi + 4], edi
add esi, 8
cmp esi, ebp
jne 0x595760
add dword [esp + 0x28], esi
add eax, esi
add ecx, esi
and dword [esp + 4], 7
mov edx, dword [esp + 4]
test edx, edx
je 0x595828
lea esi, [ecx + 4]
lea ebp, [eax + 4]
cmp eax, esi
setae bl
cmp ecx, ebp
mov edi, ebx
setae bl
mov esi, ebx
mov ebx, dword [esp + 0x28]
or esi, edi
lea edi, [ebx + 4]
cmp eax, edi
setae bl
cmp dword [esp + 0x28], ebp
mov edi, ebx
setae bl
mov ebp, ebx
or edi, ebp
mov ebp, dword [esp + 4]
and esi, edi
lea edi, [ebp - 1]
cmp edi, 3
seta bl
mov edi, ebx
mov ebx, esi
mov edx, edi
test bl, dl
je 0x595830
mov esi, dword [esp + 0x28]
or esi, ecx
or esi, eax
and esi, 3
jne 0x595830
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov esi, dword [ebx]
xor esi, dword [ecx]
mov dword [eax], esi
movzx ebx, byte [ecx + 4]
xor bl, byte [edx + 4]
mov byte [eax + 4], bl
cmp ebp, 5
je 0x595828
mov ebx, dword [esp + 0x28]
movzx edx, byte [ecx + 5]
xor dl, byte [ebx + 5]
mov byte [eax + 5], dl
cmp ebp, 6
je 0x595828
movzx ecx, byte [ecx + 6]
xor cl, byte [ebx + 6]
mov byte [eax + 6], cl
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esp + 0x28]
movzx edx, byte [ecx]
xor dl, byte [ebx]
mov ebx, dword [esp + 4]
mov byte [eax], dl
cmp ebx, 1
je 0x595828
mov edi, dword [esp + 0x28]
movzx edx, byte [ecx + 1]
xor dl, byte [edi + 1]
mov byte [eax + 1], dl
cmp ebx, 2
je 0x595828
movzx edx, byte [ecx + 2]
xor dl, byte [edi + 2]
mov byte [eax + 2], dl
cmp ebx, 3
je 0x595828
movzx edx, byte [ecx + 3]
xor dl, byte [edi + 3]
mov byte [eax + 3], dl
cmp ebx, 4
je 0x595828
movzx edx, byte [ecx + 4]
xor dl, byte [edi + 4]
mov byte [eax + 4], dl
cmp ebx, 5
je 0x595828
movzx edx, byte [ecx + 5]
xor dl, byte [edi + 5]
mov byte [eax + 5], dl
cmp ebx, 6
je 0x595828
movzx ecx, byte [ecx + 6]
xor cl, byte [edi + 6]
mov byte [eax + 6], cl
jmp 0x595828
Function at 0x5958a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp esi, 7
jbe 0x595971
lea edx, [esi - 8]
shr edx, 3
lea edi, [edx*8 + 8]
mov edx, ebx
lea ecx, [eax + edi]
nop
lea esi, [esi]
mov ebp, dword [edx]
xor dword [eax], ebp
add edx, 8
mov ebp, dword [edx - 4]
xor dword [eax + 4], ebp
add eax, 8
cmp eax, ecx
jne 0x5958d0
add ebx, edi
and esi, 7
test esi, esi
je 0x59593c
lea eax, [ecx + 4]
lea edx, [ebx + 4]
cmp ebx, eax
setae al
cmp ecx, edx
setae dl
or eax, edx
lea edx, [esi - 1]
cmp edx, 2
seta dl
test al, dl
je 0x595941
mov eax, ebx
or eax, ecx
test al, 3
jne 0x595941
mov eax, dword [ebx]
xor dword [ecx], eax
cmp esi, 4
je 0x59593c
movzx eax, byte [ebx + 4]
xor byte [ecx + 4], al
cmp esi, 5
je 0x59593c
movzx eax, byte [ebx + 5]
xor byte [ecx + 5], al
cmp esi, 6
je 0x59593c
movzx eax, byte [ebx + 6]
xor byte [ecx + 6], al
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [ebx]
xor byte [ecx], al
cmp esi, 1
je 0x59593c
movzx eax, byte [ebx + 1]
xor byte [ecx + 1], al
cmp esi, 2
je 0x59593c
movzx eax, byte [ebx + 2]
xor byte [ecx + 2], al
cmp esi, 3
je 0x59593c
movzx eax, byte [ebx + 3]
xor byte [ecx + 3], al
cmp esi, 4
jne 0x59591d
jmp 0x59593c
mov ecx, eax
jmp 0x5958e9
Function at 0x5a2a00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ecx, 0x1a
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x80]
mov esi, 0x6f6905
push ebx
sub esp, 0x9c
mov eax, dword [str.not_enough_space_for_format_expansion__Please_submit_full_bug_report_at_https:__gcc.gnu.org_bugs__:_n]
mov dword [ebp - 0x81], eax
mov eax, dword [0x6f6969]
mov dword [ebp - 0x1c], eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp + 8]
lea eax, [edx + 0x84]
and eax, 0xfffffff0
call fcn.00559008
mov ecx, 0x1a
sub esp, eax
lea esi, [ebp - 0x81]
mov dword [ebp - 0x8c], edx
lea ebx, [esp + 0x1b]
and ebx, 0xfffffff0
mov edi, ebx
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x8c]
mov byte [ebx + edx + 0x68], 0
mov dword [esp], ebx
call fcn.00635160
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x688bc4], 0
jne 0x5a2b26
mov byte [0x688bc4], 1
call fcn.00640bb0
test eax, eax
je 0x5a2af4
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call fcn.00558df0
mov dword [esp], 2
mov esi, dword [fcn.00564430]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x5a2ae4
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x6f5a6d
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x665fb4
jmp 0x665fac
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sub.msvcrt.dll_fputs
jmp 0x5a2aaa
mov dword [esp], 2
call dword [0x687158]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
jmp 0x665fa7
mov dword [esp], 2
call dword [0x687158]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
mov ebx, ecx
sub esp, 0x18
mov dword [ecx], 0x709740
call fcn.00633060
mov dword [esp], ebx
mov dword [esp + 4], 4
call fcn.006408a0
add esp, 0x18
pop ebx
ret
Function at 0x665cc0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00564430
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00564430
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
Function at 0x1011b673
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x1011b679
pop ebp
add ebp, 0x35a23
push 4
push 0x1000
push 0x1000
push 0
call dword [ebp]
sub ebp, 4
mov edi, eax
mov byte [edi], 0xc3
push edi
push esp
push 0x120
push 0x1000
push edi
call dword [ebp]
pop ebx
call 0x1011b6af
pop eax
add eax, 0x2a
push eax
push dword fs:[0]
mov dword fs:[0], esp
call edi
pop dword fs:[0]
add esp, 4
nop
test eax, eax
je 0x1011b6f1
jmp fcn.1011a951
nop
nop
nop
nop
nop
popal
ret
add ebp, 8
push 0x4000
push 0x1000
push edi
call dword [ebp]
jmp 0x1011b6ea

Function at 0x1011baef
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.1011bb6e
jae 0x1011bafb
xor ecx, ecx
call fcn.1011bb6e
jae 0x1011bb25
xor eax, eax
call fcn.1011bb6e
jae 0x1011bb36
mov al, 0x10
call fcn.1011bb6e
adc al, al
jae 0x1011bb17
jne 0x1011bb63
stosb byte es:[edi], al
jmp 0x1011bafc
call fcn.1011bb7a
dec ecx
loop 0x1011bb42
mov eax, ebp
call fcn.1011bb78
jmp 0x1011bb64
lodsb al, byte [esi]
shr eax, 1
je 0x1011bb8a
adc ecx, 2
mov ebp, eax
jmp 0x1011bb64
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.1011bb78
cmp eax, 0x7d00
jae 0x1011bb62
cmp eax, 0x500
jae 0x1011bb63
cmp eax, 0x7f
ja 0x1011bb64
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1011bafc
pop ebp
ret 8
Function at 0x402445
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402484
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402484
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402484
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402484
cmp dword [ecx + 0x74], 0xe
jbe 0x402484
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408063
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408100
push ebx
push esi
call fcn.0040802c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407fc0
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4080ad
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080ff
push edi
push eax
call fcn.00408c80
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4080cd
call fcn.00406b21
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080fe
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407fc0
add esp, 0x20
test eax, eax
jne 0x4080ec
push edi
call fcn.00406b21
jmp 0x4080f4
push ebx
call fcn.00406b21
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4093fd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4142b8
push 0x4142b0
push str.FlsAlloc
push 0x1f
call fcn.004092bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409431
push dword [ebp + 8]
mov ecx, esi
call dword [0x41212c]
call esi
jmp 0x409437
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40947b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4142c8
push 0x4142c0
push str.FlsGetValue
push 0x21
call fcn.004092bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4094b2
push dword [ebp + 8]
mov ecx, esi
call dword [0x41212c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4094ba
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4142d0
push 0x4142c8
push str.FlsSetValue
push 0x22
call fcn.004092bc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4094f4
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41212c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x8ddec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x64e00d
lea edi, [esi - 0x24d00d]
push edi
or ebp, 0xffffffff
jmp 0x8ddee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8ddee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8dded8
mov eax, 1
add ebx, ebx
jne 0x8ddefb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8ddef0
jne 0x8ddf0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8ddef0
xor ecx, ecx
sub eax, 3
jb 0x8ddf20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8ddf92
mov ebp, eax
add ebx, ebx
jne 0x8ddf2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8ddf38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8ddf5c
inc ecx
add ebx, ebx
jne 0x8ddf48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8ddf3d
jne 0x8ddf59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8ddf3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8ddf7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8ddf6d
jmp 0x8ddede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8ddf7c
add edi, ecx
jmp 0x8ddede
pop esi
mov edi, esi
mov ecx, 0x1740
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8ddf9a
cmp byte [edi], 0x11
jne 0x8ddf9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8ddf9f
lea edi, [esi + 0x4d9000]
mov eax, dword [edi]
or eax, eax
je 0x8de00e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4e60d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4e612c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8ddfcc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4e6134]
or eax, eax
je 0x8de008
mov dword [ebx], eax
add ebx, 4
jmp 0x8ddfe9
call dword [esi + 0x4e6130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8de03f
cmp al, 0xef
ja 0x8de032
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x8de014
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8de021
mov ebp, dword [esi + 0x4e6138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8de073
sub esp, 0xffffff80
jmp 0x406c9c
Function at 0x401000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x428044]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0x134], ax
mov dword [ebp - 0x130], 0
push 0x118
push 0
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00413990
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea edx, [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4010fa
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 8], ecx
mov dx, word [ebp - 0x1c]
mov word [ebp - 0x134], dx
cmp dword [ebp - 0xc], 5
jne 0x4010ac
cmp dword [ebp - 8], 0
jne 0x4010ac
movzx eax, word [ebp - 0x134]
cmp eax, 4
jl 0x4010ac
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 5
jne 0x4010bf
cmp dword [ebp - 8], 2
jne 0x4010bf
mov dword [ebp - 4], 2
cmp dword [ebp - 0xc], 5
jne 0x4010d8
cmp dword [ebp - 8], 2
jae 0x4010d1
cmp dword [ebp - 8], 1
jne 0x4010d8
mov dword [ebp - 4], 3
cmp dword [ebp - 0xc], 6
jne 0x4010fa
cmp dword [ebp - 8], 0
jne 0x4010ed
mov dword [ebp - 4], 4
jmp 0x4010fa
cmp dword [ebp - 8], 1
jne 0x4010fa
mov dword [ebp - 4], 5
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004100e5
mov esp, ebp
pop ebp
ret
Function at 0x4022d0
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x428044]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00413990
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40231f
cmp dword [ebp + 0xc], 0
jne 0x402329
jmp 0x4023fa
cmp dword [ebp + 0x10], 0
je 0x40237e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x402347
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x402382
jmp 0x4023fa
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004100f4
add esp, 0xc
push 0x425f5c
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0041064b
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4023ce
jmp 0x4023fa
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041093e
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.004109d2
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004100e5
mov esp, ebp
pop ebp
ret