joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb9bb40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x883015
lea edi, [esi - 0x482015]
mov dword [edi + 0x743390], 0x710e3e5f
push edi
or ebp, 0xffffffff
jmp 0xb9bb6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb9bb71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9bb60
mov eax, 1
add ebx, ebx
jne 0xb9bb83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb9bb94
jne 0xb9bbb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9bbb3
dec eax
add ebx, ebx
jne 0xb9bba0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb9bb78
add ebx, ebx
jne 0xb9bbaf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb9bc05
xor ecx, ecx
sub eax, 3
jb 0xb9bbcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb9bc3a
sar eax, 1
mov ebp, eax
jmp 0xb9bbd6
add ebx, ebx
jne 0xb9bbd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9bba4
inc ecx
add ebx, ebx
jne 0xb9bbe4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb9bba4
add ebx, ebx
jne 0xb9bbf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb9bbe6
jne 0xb9bc02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb9bbe6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb9bc24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb9bc16
jmp 0xb9bb66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb9bc24
add edi, ecx
jmp 0xb9bb66
pop esi
mov edi, esi
mov ecx, 0x54c0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb9bc42
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0xb9bc47
lea edi, [esi + 0x799000]
mov eax, dword [edi]
or eax, eax
je 0xb9bcaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x79b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x79b03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb9bc6d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x79b044]
or eax, eax
je 0xb9bca9
mov dword [ebx], eax
add ebx, 4
jmp 0xb9bc8a
call dword [esi + 0x79b040]
mov ebp, dword [esi + 0x79b048]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x79bd0a]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xb9bcfb
sub esp, 0xffffff80
jmp 0x4014e0
Function at 0x40b790
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x3c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [0x43d078]
test eax, eax
je 0x40b7c8
lea edx, [esp + 0x1c]
call fcn.00415070
add esp, 0x3c
ret
mov eax, dword [0x43d074]
mov dword [esp + 4], str.__import__
mov dword [esp], eax
call dword [sym.imp.python37.dll_PyDict_GetItemString]
test eax, eax
je 0x40b7f8
lea edx, [esp + 0x1c]
mov dword [0x43d078], eax
call fcn.00415070
add esp, 0x3c
ret
mov dword [esp], 0
call dword [sym.imp.python37.dll_PyErr_PrintEx]
mov dword [esp], 1
call dword [sym.imp.python37.dll_Py_Exit]
lea esi, [esi]
lea esi, [esi]
Function at 0x417ce0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push ebp
mov ebp, eax
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x1c
cmp byte [0x43dfec], 0
je 0x417d58
mov dword [esp + 4], 0x434df2
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x417e70
mov esi, dword [0x43dfe8]
jmp 0x417d1c
lea esi, [edx + eax + 4]
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
mov dword [esp], esi
mov ebx, eax
call sub.msvcrt.dll_strlen
lea edx, [esi + eax + 1]
mov eax, dword [edx]
test ebx, ebx
jne 0x417d18
movzx ecx, word [edx + 4]
add esp, 0x1c
mov eax, ebp
add edx, 6
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00413790
mov dword [esp + 8], 0xa
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
mov esi, dword [eax]
sub esp, 4
mov dword [0x43dfe8], ecx
test edx, edx
je 0x417e56
lea ebx, [eax + edx + 8]
mov edx, 0xffffffff
lea esi, [esi]
nop
movzx eax, byte [ecx]
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
and edx, 1
neg edx
shr eax, 1
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
mov eax, edx
shr eax, 1
and edx, 1
add ecx, 1
neg edx
and edx, 0xedb88320
xor eax, edx
mov edx, eax
and eax, 1
neg eax
shr edx, 1
and eax, 0xedb88320
xor edx, eax
cmp ebx, ecx
jne 0x417dc0
not edx
cmp esi, edx
jne 0x417eef
mov byte [0x43dfec], 1
jmp 0x417cf4
cmp byte [0x43dfe4], 0
jne 0x417d0c
mov ebx, dword [sym.imp.python37.dll_PyDict_New]
call ebx
mov dword [0x43e010], eax
call ebx
mov dword [0x43e00c], eax
call ebx
mov dword [0x43e008], eax
call ebx
mov dword [0x43e028], eax
call ebx
mov dword [0x43e024], eax
call ebx
mov dword [0x43e020], eax
call ebx
mov dword [0x43e018], eax
call ebx
mov esi, dword [sym.imp.python37.dll_PyLong_FromLong]
mov ebx, 0xfffffffb
mov dword [0x43e014], eax
lea esi, [esi]
lea esi, [esi]
mov dword [esp], ebx
add ebx, 1
call esi
add dword [eax], 1
cmp ebx, 0x102
jne 0x417ed0
mov byte [0x43dfe4], 1
jmp 0x417d0c
mov dword [esp], str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort

Function at 0x423cc0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0042a8f0
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.0042a8f0
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
lea esi, [esi]
Function at 0x423d20
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x43e0a8]
test esi, esi
jle 0x423e40
mov eax, dword [0x43e0ac]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x423d54
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x423dd7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x423d40
mov dword [esp], ebx
call fcn.00424710
mov edi, eax
test eax, eax
je 0x423e67
mov eax, dword [0x43e0ac]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.00424850
mov edx, dword [0x43e0ac]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x423e47
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x423dd0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x423de0
add dword [0x43e0a8], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x43e0ac]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x423dd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00423cc0
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x423d5e
mov eax, dword [0x43e0ac]
mov eax, dword [eax + ebx + 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.00423cc0
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00423cc0
lea esi, [esi]
nop

Function at 0x424380
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x43e0c4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x43e0bc]
sub esp, 4
test ebx, ebx
je 0x4243d5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4243ce
test esi, esi
je 0x4243ce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4243b0
mov dword [esp], 0x43e0c4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x424710
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x424735
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x424740
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x424735
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x424788
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x42477e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x42478a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x424770
xor eax, eax
pop ebx
pop esi
ret
Function at 0x40e370
Capabilities:
Terminate process

Disassembly:
call fcn.0040ed05
jmp 0x40e37a
push 0x58
push 0x410eb8
call fcn.0040edb8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x413df0
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40e3cc
cmp eax, esi
jne 0x40e3bf
xor esi, esi
inc esi
mov edi, esi
jmp 0x40e3cf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40e3a3
xor esi, esi
inc esi
cmp dword [0x413df4], esi
jne 0x40e3e1
push 0x1f
call fcn.005c0000
pop ecx
jmp 0x40e41b
cmp dword [0x413df4], ebx
jne 0x40e415
mov dword [0x413df4], esi
push 0x402db8
push 0x402dac
call fcn.0040e559
pop ecx
pop ecx
test eax, eax
je 0x40e41b
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e549
mov dword [0x413644], esi
cmp dword [0x413df4], esi
jne 0x40e43e
push 0x402da8
push 0x402d94
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x413df4], 2
test edi, edi
jne 0x40e44b
xor eax, eax
mov ecx, 0x413df0
xchg dword [ecx], eax
cmp dword [0x413e00], 0
je 0x40e477
push 0x413e00
call fcn.0040ec10
pop ecx
test eax, eax
je 0x40e477
push ebx
push 2
push ebx
mov esi, dword [0x413e00]
mov ecx, esi
call dword [0x4144bc]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x40e4d5
test cl, cl
je 0x40e4a4
test edi, edi
jne 0x40e4d5
test cl, cl
je 0x40e4a4
cmp cl, 0x20
ja 0x40e4a4
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x40e493
test byte [ebp - 0x3c], 1
je 0x40e4b0
movzx eax, word [ebp - 0x38]
jmp 0x40e4b3
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x413640], eax
cmp dword [0x413658], 0
jne 0x40e52e
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x40e4e6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x40e4f9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40e484
cmp dword [0x413644], 0
jne 0x40e542
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x413640]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40eaf4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x410f58
call fcn.0040edb8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40eb54
cmp eax, 0xffffffff
je 0x40eb54
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40eb4d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40eb4d
cmp edx, 0x10000000
jae 0x40eb4d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40eb4a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403550
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x40357a
add eax, dword [0x472e18]
push edi
push edi
push eax
push dword [0x40b014]
mov dword [0x42f1e4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.004033d2
cmp eax, edi
jl 0x403673
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
cmp dword [ebp - 4], esi
jne 0x40366f
push dword [ebp + 8]
add dword [0x42f1e4], esi
call fcn.004033d2
mov dword [ebp - 8], eax
cmp eax, edi
jl 0x403672
cmp dword [ebp + 0x10], edi
jne 0x40363e
cmp dword [ebp + 8], edi
jle 0x40366a
mov esi, 0x42f1e8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x4035ee
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
cmp edi, dword [ebp - 4]
jne 0x40366f
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40363a
cmp dword [ebp + 0x14], edi
jne 0x40363a
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x42f1e4], eax
cmp dword [ebp + 8], 0
jg 0x4035e1
jmp 0x40366a
push 0xfffffffffffffffe
jmp 0x403671
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403649
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40b014]
call ebx
test eax, eax
je 0x40366f
mov eax, dword [ebp - 4]
add dword [0x42f1e4], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403672
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10

Function at 0x406321
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebx - 0x6fb43], al
inc dword [edx]
jne 0x4063df
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
invalid
invalid
Function at 0x4068df
Capabilities:
Check if file exists
Get file attributes

Disassembly:
stosb byte es:[edi], al
xor byte [esi + 0x6c], dl
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4068e3
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4068e3
call fcn.004046f6
dec ecx
salc
outsb dx, byte [esi]
test eax, 0x3245a8b
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004046f6
jns 0x40695b
or edx, dword [edi - 0xf78a01]
jne 0x40692c
push dword [ebp]
jne 0x40692b
call fcn.00404ef6
sal byte [ebp + eax - 0xa], 0
adc byte [edx + ebp + 0x56], dh
call fcn.004068b2
push esi
call ebx
cmp eax, edi
jg 0x406929
invalid
push esi
call fcn.00406883
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
rcr dword [ebx + 0x5f], 0x5e
ret 4
Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x77f06771
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x29820511
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x693e7c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0068f450
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x693f17
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x6e4010]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x693f17
cmp eax, 1
je 0x693f38
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x693f17
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x693ee4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x693f13
xor eax, eax
inc eax
jmp 0x693f57
cmp edi, eax
jae 0x693f1b
xor eax, eax
jmp 0x693f57
cmp eax, esi
jae 0x693f22
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x6e4010]
jmp 0x693f3b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401d28
Capabilities:
Encode data using xor

Disassembly:
pushal
mov cl, 0x9e
inc ebp
sub ah, 0xbd
mov ebx, eax
or edi, ecx
mov dh, al
movzx ebp, bl
mov ch, al
movzx esi, dh
mov bl, 0xb
mov cl, 0x3e
add dl, 0x3f
lea ebp, [0x926f7]
cmp ebx, 0x7443
ja 0x401d5f
cmp cl, 0xad
mov edi, edi
test ebx, ecx
sub ebp, 0x91919
inc edi
inc ebx
dec eax
mov bl, 0xcb
inc ecx
sub ebp, 1
lea eax, [0xb41697ac]
mov ah, bh
lea ebx, [0x8d1ece04]
imul edi, eax
xor ah, bl
test edx, 0x1d688636
cmp ebp, 0x355
jae 0x401d65
sub eax, 0x417e71ba
push ebp
push 0x77cc6c
add edi, ebx
call 0x401dab
pop ebp
adc ecx, ebx
inc eax
movzx eax, di
mov cl, ch
sbb ch, 0x6b
mov cl, ch
mov al, bl
xchg ecx, ebx
imul ecx, ebp
sub esi, 0xefe5
sub eax, 0x917b5d41
test eax, 0x2492001a
inc ah
push 0x3a3b76
push ebp
test ecx, 0xfa4dceb1
or bl, al
mov esi, ebp
cmp eax, 0x765a4e20
xchg ah, cl
test edi, ebx
cmp bl, ah
imul eax, ebx
cmp ebx, eax
test bl, cl
sub dh, bh
mov eax, 0xc4e8
test ebx, 0xe978a574
sub eax, 0x10f
xchg dl, cl
mov bl, 0xfe
or ebx, 0x4e9db404
add ebp, eax
mov ch, dl
imul ecx, edi
add ebp, 0x7f19
test ch, 0xeb
and al, 0xc7
jmp 0x401e2a
dec eax
and cl, dl
test dh, 0xc6
adc dh, 0x28
imul ebx, ebx
push eax
push 0x6a0438
or al, 0x83
jmp ebp
Function at 0x43d540
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x55dedb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0054ee82
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43d5c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0054c17c
mov eax, dword [eax]
push 0x675d68
push eax
call fcn.0053c9e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0054f10d
test bl, bl
je 0x43d5c2
push 0x675d68
lea ecx, [esp + 0xc]
call fcn.0054f49d
push 0x675d74
lea ecx, [esp + 0xc]
call fcn.0054f49d
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43d5fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0054f10d
jmp 0x43d6c9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43d682
lea edx, [esp + 0x7c]
push 0x675d70
push edx
call fcn.0053c9e4
add esp, 8
test eax, eax
je 0x43d682
lea eax, [esp + 0x7c]
push 0x675d6c
push eax
call fcn.0053c9e4
add esp, 8
test eax, eax
je 0x43d682
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43d612
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0054f10d
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43def0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43df52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc