joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [ebp - 0x21], al
mov dword [ebp - 4], 3
jmp 0x4014e0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x21]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 4], eax
jb 0x4014cc
mov dword [ebp - 0x20], 0x56a000
mov dword [ebp - 0x28], 0x5505c9
inc ebp
fmul st(1)
add eax, 0xf0890055
dec eax
mov dword [ebp - 8], eax
jmp 0x401510
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x11940
jb 0x4014fe
mov dword [ebp - 0x2c], 0x588000
mov dword [ebp - 0x30], 0x561fc9
mov eax, esi
add eax, edi
sub eax, 4
mov dword [ebp - 0xc], eax
jmp 0x401545
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x59f4
jb 0x401533
mov dword [ebp - 0x34], 0x10000000
mov ebx, 0x567dc9
mov dword [ebp - 0x38], 0x1000
mov dword [ebp - 0x3c], 0x1f000
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, edi
sub eax, 3
mov dword [ebp - 0x10], eax
jmp 0x401625
lea eax, [edi + ebx + 5]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
mov ax, word [eax]
mov word [ebp - 0x40], ax
mov eax, esi
dec eax
movzx edx, word [ebp - 0x40]
cmp eax, edx
je 0x401631
movzx edx, word [ebp - 0x40]
lea ecx, [esi + esi + 0xa]
sar edx, cl
mov word [ebp - 0x46], dx
movzx edx, word [ebp - 0x40]
mov ecx, edi
inc ecx
shl edx, cl
mov word [ebp - 0x3e], dx
movzx edx, word [ebp - 0x3e]
mov ecx, esi
add ecx, edi
sar edx, cl
mov word [ebp - 0x3e], dx
mov eax, edi
sub eax, 3
cmp dword [ebp - 0x10], eax
je 0x4015dc
movzx eax, word [ebp - 0x3e]
mov edx, esi
dec edx
cmp eax, edx
je 0x401631
mov eax, dword [ebx]
add eax, dword [ebp - 0x18]
call 0xc295ccf4
add eax, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx]
movzx edx, word [ebp - 0x3e]
add eax, edx
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, eax
mov dword [ebp - 0x54], ecx
mov eax, esi
add eax, edi
dec eax
movzx edx, word [ebp - 0x46]
cmp eax, edx
jne 0x40161f
movzx eax, word [ebp - 0x3e]
add eax, dword [ebx]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov edx, ecx
add edx, dword [eax]
mov dword [eax], edx
mov eax, edi
dec eax
add dword [ebp - 0x10], eax
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x10], eax
jb 0x40157e
add ebx, dword [ebx + 4]
cmp ebx, 0x569851
jb 0x40155a
pop edi
pop esi
pop ebx
leave
jmp 0x573fd8
Function at 0x404820
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edi, edx
mov ebx, ecx
push str.ANDROID_PRODUCT_OUT
call sub.msvcrt.dll_getenv
add esp, 4
test eax, eax
je 0x40497a
cmp byte [eax], 0
mov esi, eax
je 0x40497a
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
push esi
call sub.msvcrt.dll_strlen
add esp, 4
cmp eax, 0xfffffff0
jae 0x404984
mov ecx, eax
cmp eax, 0xb
mov dword [esp + 0x14], edi
jae 0x404895
mov eax, ecx
lea edi, [esp + 1]
add al, cl
test ecx, ecx
mov byte [esp], al
jne 0x4048c2
jmp 0x4048d1
mov dword [esp + 0x10], ebx
mov ebx, ecx
add ebx, 0x10
and ebx, 0xfffffff0
push ebx
mov edi, ecx
call fcn.0040bb60
mov ecx, edi
add esp, 4
or ebx, 1
mov dword [esp + 8], eax
mov edi, eax
mov dword [esp], ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 4], ecx
push ecx
push esi
push edi
mov esi, ecx
call sub.msvcrt.dll_memcpy
mov ecx, esi
add esp, 0xc
mov byte [edi + ecx], 0
mov ecx, esp
push 0x5121ec
call fcn.004e7c60
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x18], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
movzx eax, byte [edx]
test al, 1
je 0x40491b
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
mov edx, ecx
jmp 0x40491e
inc edx
shr eax, 1
lea ecx, [esp + 0x18]
push eax
push edx
call fcn.004e7c80
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
movsd xmm0, qword [eax]
movsd qword [ebx], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
test byte [esp + 0x18], 1
je 0x40495e
push dword [esp + 0x20]
call fcn.0040bd10
add esp, 4
test byte [esp], 1
je 0x404970
push dword [esp + 8]
call fcn.0040bd10
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push str.ANDROID_PRODUCT_OUT_not_set
call fcn.00412d70
mov ecx, esp
call fcn.004d1480
nop dword [eax + eax]
push edi
push esi
sub esp, 0xc
mov edx, dword [esp + 0x18]
mov ecx, esp
call fcn.00404820
test byte [esp], 1
jne 0x4049bc
lea eax, [esp + 1]
push 0x8000
push eax
call sub.msvcrt.dll__open
add esp, 8
mov esi, eax
jmp 0x4049d9
mov edi, dword [esp + 8]
push 0x8000
push edi
call sub.msvcrt.dll__open
add esp, 8
mov esi, eax
push edi
call fcn.0040bd10
add esp, 4
mov eax, esi
add esp, 0xc
pop esi
pop edi
ret 4
Function at 0x409b80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov ecx, dword [0x53c4d4]
mov byte [esp + 4], 0x14
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov word [esp + 0xd], 0x746e
mov dword [esp + 9], 0x756f632d
mov dword [esp + 5], 0x746f6c73
mov byte [esp + 0xf], 0
lea eax, [esp + 0x10]
lea edx, [esp + 4]
push 0
push eax
push edx
call fcn.00429d20
test eax, eax
je 0x409c05
test byte [esp + 4], 1
je 0x409bfa
push dword [esp + 0xc]
call fcn.0040bd10
add esp, 4
xor esi, esi
test byte [esp + 0x10], 1
jne 0x409c54
jmp 0x409c60
test byte [esp + 0x10], 1
je 0x409c12
mov eax, dword [esp + 0x18]
jmp 0x409c16
lea eax, [esp + 0x11]
lea ecx, [esp + 0x1c]
push 0x7fffffff
push 0x80000000
push ecx
push eax
call fcn.004cbf30
add esp, 0x10
test byte [esp + 4], 1
mov ebx, eax
je 0x409c43
push dword [esp + 0xc]
call fcn.0040bd10
add esp, 4
xor esi, esi
test bl, bl
je 0x409c4d
mov esi, dword [esp + 0x1c]
test byte [esp + 0x10], 1
je 0x409c60
push dword [esp + 0x18]
call fcn.0040bd10
add esp, 4
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
Function at 0x4117a0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.004294f0
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.004294f0
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x411800
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x3c
mov eax, dword [0x53cee0]
test eax, eax
jle 0x411910
mov edx, dword [0x53cee4]
xor ebx, ebx
mov ecx, dword [edx + 0xc]
cmp ecx, esi
ja 0x411831
mov edi, dword [edx + 0x10]
add ecx, dword [edi + 8]
cmp esi, ecx
jb 0x4118aa
add ebx, 1
add edx, 0x14
cmp ebx, eax
jne 0x411820
mov dword [esp], esi
call fcn.00441bc0
test eax, eax
mov edi, eax
je 0x411937
lea esi, [ebx + ebx*4]
mov ebx, dword [0x53cee4]
shl esi, 2
add ebx, esi
mov dword [ebx + 0x10], eax
mov dword [ebx], 0
call fcn.00441cb0
add eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x34]
mov dword [esp + 4], eax
mov eax, dword [0x53cee4]
mov dword [esp + 8], 0x1c
mov eax, dword [eax + esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x411917
mov eax, dword [ebp - 0x20]
cmp eax, 0x40
jne 0x4118b2
add dword [0x53cee0], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 4
je 0x4118a3
cmp eax, 0x80
je 0x4118a3
cmp eax, 8
je 0x4118a3
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
add esi, dword [0x53cee4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x4118a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.004117a0
nop
lea esi, [esi]
xor ebx, ebx
jmp 0x41183b
mov eax, dword [0x53cee4]
mov eax, dword [eax + esi + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.004117a0
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.004117a0
mov esi, esi
lea edi, [edi]
Function at 0x412390
Capabilities:
Create directory

Disassembly:
push esi
sub esp, 0x20
mov esi, ecx
mov byte [ecx + 0x400], 1
lea ecx, [esp + 0x14]
call fcn.00411f10
test byte [esp + 0x14], 1
je 0x4123b3
mov eax, dword [esp + 0x1c]
jmp 0x4123b7
lea eax, [esp + 0x15]
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 0x10], 0x5c
mov dword [esp + 8], str._s_cTemporaryDir_XXXXXX
call fcn.00412360
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__mktemp]
test eax, eax
je 0x4123e9
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__mkdir]
test byte [esp + 0x14], 1
je 0x4123fc
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.0040bd10
add esp, 0x20
pop esi
ret

Function at 0x412490
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x238
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 8]
test byte [esi], 1
jne 0x4124b1
mov word [esi], 0
jmp 0x4124be
mov ecx, dword [esi + 8]
mov byte [ecx], 0
mov dword [esi + 4], 0
mov edi, dword [eax]
mov eax, esp
push eax
push edi
call dword [sym.imp.msvcrt.dll__fstati64]
add esp, 8
cmp eax, 0xffffffff
je 0x4124ea
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, 1
sbb ecx, 0
jl 0x4124ea
mov ecx, esi
push eax
call fcn.004e8c60
lea ebx, [esp + 0x34]
jmp 0x4124f9
mov ecx, esi
push eax
push ebx
call fcn.004e7c80
push 0x200
push ebx
push edi
call sub.msvcrt.dll__read
add esp, 0xc
cmp eax, 0xffffffff
je 0x412520
test eax, eax
jg 0x4124f0
jmp 0x41252f
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
je 0x4124f9
xor eax, eax
jmp 0x412532
sete al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x412780
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, dword [sym.imp.msvcrt.dll__errno]
lea ebx, [esp + 0x14]
test esi, esi
je 0x4127dc
nop word [eax + eax]
push esi
push edi
push dword [ebx]
call sub.msvcrt.dll__read
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4127c0
call ebp
cmp dword [eax], 4
je 0x4127a0
jmp 0x4127d5
mov ecx, eax
add edi, eax
xor eax, eax
test ecx, ecx
mov edx, ecx
cmovle edx, eax
sub esi, edx
test ecx, ecx
jg 0x412796
jmp 0x4127d7
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x4127d7
Function at 0x4127e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov esi, dword [sym.imp.msvcrt.dll__errno]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], ecx
test ebx, ebx
je 0x4128c7
nop dword [eax]
mov eax, dword [esp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
movaps xmmword [esp + 0x20], xmm0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push dword [esp + 0x18]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x20]
push ecx
push ebx
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412880
mov eax, dword [esp + 0x1c]
mov edi, esi
cmp eax, 0xffffffff
je 0x41288a
jmp 0x4128a0
mov edi, esi
call esi
mov dword [eax], 5
call edi
cmp dword [eax], 4
je 0x412820
jmp 0x4128bd
mov ecx, eax
add dword [esp + 0xc], eax
sub ebx, eax
mov esi, edi
sar ecx, 0x1f
add dword [esp + 0x10], eax
adc dword [esp + 0x14], ecx
test eax, eax
jg 0x412811
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x4128bf
Function at 0x429640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x10], 0
mov dword [esp], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov byte [esp + 0x10], 8
mov dword [esp + 0x11], 0x746f6f62
mov byte [esp + 0x15], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp], 0xe
mov dword [esp + 4], 0x676e6974
mov dword [esp + 1], 0x746f6f42
mov byte [esp + 8], 0
mov esi, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x429715
mov eax, dword [ecx]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edx, esp
push edx
call dword [eax + 0x18]
lea eax, [esp + 0x10]
mov ecx, esi
push 0
push edi
push ebx
push eax
call fcn.00429d80
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x429715
mov edi, eax
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
call dword [eax + 0x18]
test byte [esp], 1
je 0x4296f6
push dword [esp + 8]
call fcn.0040bd10
add esp, 4
test byte [esp + 0x10], 1
je 0x429709
push dword [esp + 0x18]
call fcn.0040bd10
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call sub.msvcrt.dll_abort
nop word [eax + eax]

Function at 0x429fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov dword [esp + 0x14], 0
mov byte [esp + 0xc], 0xc
mov dword [esp], 0
mov word [esp + 0x11], 0x746f
mov dword [esp + 0xd], 0x6f626572
mov byte [esp + 0x13], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov byte [esp], 0x12
mov dword [esp + 5], 0x6e69746f
mov dword [esp + 1], 0x6f626552
mov word [esp + 9], 0x67
mov esi, ecx
mov ecx, dword [ecx + 0x20]
test ecx, ecx
je 0x42a08e
mov eax, dword [ecx]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edx, esp
push edx
call dword [eax + 0x18]
lea eax, [esp + 0xc]
mov ecx, esi
push 0
push edi
push ebx
push eax
call fcn.00429d80
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42a08e
mov edi, eax
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
call dword [eax + 0x18]
test byte [esp], 1
je 0x42a06f
push dword [esp + 8]
call fcn.0040bd10
add esp, 4
test byte [esp + 0xc], 1
je 0x42a082
push dword [esp + 0x14]
call fcn.0040bd10
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call sub.msvcrt.dll_abort
nop word cs:[eax + eax]
nop dword [eax]
Function at 0x42e900
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x28]
lea ecx, [eax - 1]
cmp ecx, 0xffff
jb 0x42e935
push eax
push str.Zip:_Invalid_filename_of_length__zu
push str.ziparchive
push 5
call fcn.0044e140
add esp, 0x10
mov eax, 0xfffffff6
jmp 0x42ea37
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
mov ebx, dword [eax + 4]
mov ecx, dword [edx + 0x28]
mov ebp, dword [edx + 0x3c]
cmp ebx, 4
mov dword [esp + 8], ecx
mov ecx, dword [edx + 0x38]
mov edx, ebx
mov dword [esp + 4], ecx
mov ecx, dword [eax]
mov eax, ebx
mov dword [esp], ecx
jb 0x42e9a7
mov edx, dword [esp]
mov ecx, ebx
mov eax, ebx
nop word cs:[eax + eax]
imul esi, dword [edx], 0x5bd1e995
imul eax, eax, 0x5bd1e995
add ecx, 0xfffffffc
add edx, 4
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
xor eax, esi
cmp ecx, 3
ja 0x42e970
mov ecx, dword [esp]
lea edx, [ebx - 4]
mov esi, edx
and esi, 0xfffffffc
sub edx, esi
lea ecx, [ecx + esi + 4]
cmp edx, 1
je 0x42e9c8
cmp edx, 2
je 0x42e9bf
cmp edx, 3
jne 0x42e9d3
movzx edx, byte [ecx + 2]
shl edx, 0x10
xor eax, edx
movzx edx, byte [ecx + 1]
shl edx, 8
xor eax, edx
movzx ecx, byte [ecx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ecx, eax
mov edx, dword [esp + 4]
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edi, eax
dec edx
shr edi, 0xf
xor edi, eax
mov eax, 0xfffffff9
and edi, edx
mov esi, dword [ebp + edi*8]
test esi, esi
je 0x42ea37
nop dword [eax + eax]
movzx ecx, word [ebp + edi*8 + 4]
cmp ecx, ebx
jne 0x42ea27
test ebx, ebx
je 0x42ea3f
add esi, dword [esp + 8]
push ebx
push dword [esp + 4]
push esi
mov esi, edx
call sub.msvcrt.dll_memcmp
mov edx, esi
add esp, 0xc
test eax, eax
je 0x42ea3f
inc edi
and edi, edx
mov esi, dword [ebp + edi*8]
test esi, esi
jne 0x42ea00
mov eax, 0xfffffff9
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x20]
mov edx, edi
push dword [esp + 0x2c]
call fcn.0042ea60
add esp, 0x10
jmp 0x42ea3a

Function at 0x430750
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 1
mov dword [esp + 8], ebx
pop ebx
jmp fcn.00430120
Function at 0x441ae0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x441b18
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x441b0e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x441b1a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x441b00
xor eax, eax
pop ebx
pop esi
ret

Function at 0x447ae0
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov al, byte [0x53d8e8]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0x3c]
test al, al
je 0x447bdc
push dword [0x53d8e4]
push dword [0x53d8e0]
push edi
push ebp
call fcn.004a0670
add esp, 0x10
mov edi, eax
push dword [ebx]
call dword [sym.imp.msvcrt.dll__get_osfhandle]
add esp, 4
mov ecx, esi
and ecx, 2
add ecx, 2
push 0
push 0
push 0
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x447b8d
mov ebx, eax
mov eax, dword [esp + 0x48]
mov ecx, esi
sub ebp, edi
mov edx, 4
test cl, 2
mov ecx, 0xf001f
cmovne edx, ecx
lea eax, [edi + eax]
push eax
push ebp
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x447bc3
mov ebp, eax
push 0x10
call fcn.0040bb60
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
jmp 0x447bb9
cmp dword [esp + 0x48], 0
jne 0x447bca
push 0x10
call fcn.0040bb60
add esp, 4
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, ecx
jmp 0x447bd4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x38]
mov dword [eax], 0
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x53d8e8
call fcn.004461f0
add esp, 4
test eax, eax
je 0x447b04
mov eax, esp
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
mov dword [0x53d8e4], 0
mov dword [0x53d8e0], eax
push 0x53d8e8
call fcn.00446280
add esp, 4
jmp 0x447b04
Function at 0x44a5a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
not eax
test ecx, ecx
je 0x44a5d6
mov edx, dword [esp + 0x10]
nop word cs:[eax + eax]
nop
movzx esi, byte [edx]
movzx edi, al
shr eax, 8
inc edx
xor edi, esi
xor eax, dword [edi*4 + 0x51ad4c]
dec ecx
jne 0x44a5c0
not eax
pop esi
pop edi
ret

Function at 0x44a5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x44a61d
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
xor ebp, ebp
nop word cs:[eax + eax]
mov eax, esi
sub eax, ebp
push eax
push edi
push ebx
call sub.msvcrt.dll__read
add esp, 0xc
test eax, eax
js 0x44a621
je 0x44a62f
add ebp, eax
add edi, eax
cmp ebp, esi
jb 0x44a600
xor eax, eax
jmp 0x44a634
call dword [sym.imp.msvcrt.dll__errno]
mov ecx, eax
xor eax, eax
sub eax, dword [ecx]
jmp 0x44a634
mov eax, 0xffffffea
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44aa30
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x1c]
push ebx
call sub.msvcrt.dll_malloc
add esp, 4
test eax, eax
je 0x44aa98
mov edi, dword [esp + 0x20]
mov esi, eax
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edi
call fcn.0042d8a0
add esp, 0x10
test edx, edx
js 0x44aa8f
test ebx, ebx
mov dword [esp], esi
je 0x44aab4
mov esi, dword [esp]
xor ebp, ebp
nop
mov eax, ebx
sub eax, ebp
push eax
push esi
push edi
call sub.msvcrt.dll__read
add esp, 0xc
test eax, eax
js 0x44aaa4
je 0x44aacb
add ebp, eax
add esi, eax
cmp ebp, ebx
jb 0x44aa70
jmp 0x44aab4
push esi
call fcn.0043fbe0
add esp, 4
call dword [sym.imp.msvcrt.dll__errno]
xor edi, edi
sub edi, dword [eax]
jmp 0x44aadb
call dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [eax]
test edi, edi
jle 0x44aab4
neg edi
jmp 0x44aad0
mov eax, dword [esp + 0x18]
mov esi, dword [esp]
mov ecx, dword [eax + 0x14]
push esi
push ebx
push eax
call dword [ecx]
add esp, 0xc
mov edi, eax
push esi
jmp 0x44aad3
mov edi, 0xffffffea
push dword [esp]
call fcn.0043fbe0
add esp, 4
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x44e280
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push edi
push esi
sub esp, 0x404
mov eax, dword [esp + 0x41c]
test eax, eax
je 0x44e2b4
lea ecx, [esp + 0x420]
lea edx, [esp + 4]
mov dword [esp], ecx
push ecx
push eax
push 0x400
push edx
call fcn.00441670
add esp, 0x10
jmp 0x44e314
mov eax, dword [esp + 0x414]
test eax, eax
je 0x44e2d7
sub esp, 0x10
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], eax
mov dword [esp], ecx
call fcn.0044e390
add esp, 0x10
jmp 0x44e314
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0x64656c69
mov dword [esp + 0x18], 0x6166206e
mov dword [esp + 0x14], 0x6f697472
mov dword [esp + 0x10], 0x65737361
mov dword [esp + 0xc], 0x20646569
mov dword [esp + 8], 0x66696365
mov dword [esp + 4], 0x70736e55
mov esi, dword [esp + 0x418]
mov ebx, dword [sym.imp.msvcrt.dll__errno]
lea edi, [esp + 4]
nop word cs:[eax + eax]
nop
push edi
call sub.msvcrt.dll_strlen
add esp, 4
push eax
push edi
push 2
call sub.msvcrt.dll__write_1
add esp, 0xc
cmp eax, 0xffffffff
jne 0x44e360
call ebx
cmp dword [eax], 4
je 0x44e330
nop word cs:[eax + eax]
nop dword [eax + eax]
push 1
push 0x51b87b
push 2
call sub.msvcrt.dll__write_1
add esp, 0xc
cmp eax, 0xffffffff
jne 0x44e37d
call ebx
cmp dword [eax], 4
je 0x44e360
push edi
push esi
push 7
call fcn.0044dfe0
add esp, 0xc
call sub.msvcrt.dll_abort
nop