joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004ce0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.100043e5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000439a
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.100043e5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000439a
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.100043d5
jne 0x10004df4
and edi, esp
invalid
push ds
rol byte [eax - 0x5335b], 0xff
add byte [eax - 0x5325b], al
inc dword [eax]
mov byte [ebp - 0x532], 0x68
and byte [ebp - 0x531], 0
mov byte [ebp - 0x530], 0xd4
mov byte [ebp - 0x52f], 0xfb
mov byte [ebp - 0x52e], 0xf8
mov byte [ebp - 0x52d], 0xe4
mov byte [ebp - 0x52c], 0xf2
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.100043e5
pop ecx
push eax
push dword [ebp + 0x18]
jne 0x10004ee0
push dword [ebp + 0x14]
call fcn.1000439a
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.100043d5
jmp 0x10004ec6
stosb byte es:[edi], al
add eax, 0xf99ca580
invalid
Function at 0x1000b132
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001201c]
jne 0x1000b13c
repz ret
jmp fcn.1000b73c

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x69927bf6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x126d4364
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x401440
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xbbeaf81f
xor ebx, 0xbfeaf81f
jmp 0x4014f0
mov edx, 0xa919783e
xor edx, 0xa919783a
mov ecx, 0x25135daf
xor ecx, 0x25136daf
mov eax, 0x500
ror eax, 0x1c
push edx
push ecx
push eax
mov edx, dword [ebp - 0xb4]
rol edx, 4
rol edx, 0xa
mov dword [ebp - 8], edx
push ebx
call fcn.00401644
push esi
pop ecx
mov ebx, eax
test ebx, ebx
je 0x4014f0
sub ebx, 0x86b78ac7
mov dword [ebp - 0x10], ebx
ret
Function at 0x402f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444da8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x45d074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], 0
cmp dword [edi + 0x14], 8
jb 0x402fd7
mov eax, dword [edi]
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 2
push eax
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x403016
push 6
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov ecx, esi
push str._fail_
mov word [esi], ax
call fcn.0040ed10
jmp 0x4030c8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
shr eax, 1
jne 0x403040
xor ecx, ecx
mov dword [ebp - 0x1c], eax
mov word [ebp + eax*2 - 0x2c], cx
jmp 0x40304b
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ee30
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [edi + 0x14], 8
jb 0x40305e
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov eax, dword [ebp - 0x30]
push 0
push 2
push edi
push 0
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x4030e7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
shr ecx, 1
dec ecx
cmp ecx, eax
ja 0x40309c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x4030a9
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040ee30
movups xmm0, xmmword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.00422e0c
mov esp, ebp
pop ebp
ret 8
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
lea ecx, [ebp - 0x40]
call fcn.00402d80
push 0x45b968
lea eax, [ebp - 0x40]
push eax
call fcn.004243f1
int3
Function at 0x40c110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x45d074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x40c145
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40c183
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x40c183
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40c24c
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x40c1ad
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40c1ba
push dword [esi + 0x4c]
push edi
jmp 0x40c1f5
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x40c24c
cmp eax, 1
jle 0x40c21f
cmp eax, 3
jne 0x40c24c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0042d826
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x40c251
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x40c23c
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.0042f2a7
add esp, 0x10
cmp ebx, eax
jne 0x40c24c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x40c16d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00422e0c
mov esp, ebp
pop ebp
ret 4
Function at 0x40f4c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x45d074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40f582
cmp byte [esi + 0x3e], 0
je 0x40f582
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x40f570
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40f538
sub eax, 1
je 0x40f53c
sub eax, 2
jne 0x40f570
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40f559
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0042f2a7
add esp, 0x10
cmp edi, eax
jne 0x40f570
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422e0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00422e0c
mov esp, ebp
pop ebp
ret

Function at 0x411410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444cb0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45d074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00422e22
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00421c37
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4124a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445f48
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x45d074]
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
push 4
call fcn.00422e22
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x419160
push 0
push 0
call fcn.0042da00
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x412521
mov eax, esi
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.00422e0c
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call fcn.0042079d
int3

Function at 0x4216f3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x421717
jl 0x42170e
test esi, esi
jne 0x421717
xor eax, eax
xor edx, edx
jmp 0x42180e
cmp dword [edi + 0x38], 0
je 0x42172c
push ebx
push esi
push dword [ebp + 8]
call fcn.00421815
jmp 0x42180e
mov eax, dword [edi + 0x1c]
mov edx, esi
mov dword [ebp - 8], edx
mov ecx, dword [eax]
test ecx, ecx
je 0x421741
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x421743
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
test eax, eax
je 0x421784
cmp eax, esi
jb 0x421756
mov eax, esi
mov dword [ebp - 4], eax
push eax
push ecx
push dword [ebp + 8]
call fcn.00424460
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, dword [ebp + 8]
sub edx, ecx
add eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], edx
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x42178a
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x421802
mov ecx, edi
call fcn.00420fe5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x4217de
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.004302a0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x4217da
cmp edx, eax
ja 0x4217a7
jmp 0x4217e1
sub esi, edx
jmp 0x421807
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x421805
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.004302a0
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x421805
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x437559
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043720a

Function at 0x437564
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00437394
Function at 0x43cd25
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043c9a2
Function at 0xb40058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xb401a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb4007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4006a
add dl, dl
jne 0xb40089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb400dc
xor eax, eax
add dl, dl
jne 0xb40096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb4017d
add dl, dl
jne 0xb400a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb400b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb400bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb400c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb400d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb40075
mov eax, 1
add dl, dl
jne 0xb400ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb400f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb400e1
sub eax, ebx
mov ebx, 1
jne 0xb40128
mov ecx, 1
add dl, dl
jne 0xb4010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb40119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb40105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb40075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb4013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb4014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb40136
cmp eax, 0x7d00
jae 0xb4016d
cmp eax, 0x500
jb 0xb40168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb40075
cmp eax, 0x7f
ja 0xb40170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb40075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb4019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb40075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x44b32f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec edx
add byte [ebx + 0x4c18301], cl
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b372
fadd qword [0x48cd18]
fmul qword [0x48cd20]
or ch, ah
pop ebp
ret

Function at 0x408df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e00
mov eax, 1
add ebx, ebx
jne 0x408e23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e18
jne 0x408e34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e18
xor ecx, ecx
sub eax, 3
jb 0x408e48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eba
mov ebp, eax
add ebx, ebx
jne 0x408e53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e84
inc ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e65
jne 0x408e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408ea4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408e95
jmp 0x408e06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408ea4
add edi, ecx
jmp 0x408e06
pop esi
mov edi, esi
mov ecx, 0x73
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ec2
cmp byte [edi], 1
jne 0x408ec2
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 0x408ec7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f36
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408ef4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f30
mov dword [ebx], eax
add ebx, 4
jmp 0x408f11
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x408f6a
sub esp, 0xffffff80
jmp 0x401240
Function at 0x401e60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a0ed
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5a9840]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.004ef1c0
add esp, 4
test eax, eax
je 0x401e9c
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x401e9e
xor eax, eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea edi, [esi + 4]
push edi
push 0
push eax
push 0x401cd0
push 0
push 0
call fcn.00519eeb
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x401eda
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [edi], 0
call fcn.004c8437
int3
Function at 0x4040a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
call fcn.00477c60
mov edi, eax
test edi, edi
jne 0x4040c8
push str._XIMAO__GetContentLength_handlenull_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
xor edx, edx
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push esi
mov esi, dword [ebx]
push dword [esi + 4]
push ebx
call fcn.00401a40
mov eax, dword [ebp + 8]
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x4040f4
mov eax, dword [eax]
push eax
push 0x2712
push edi
call fcn.0047b1e0
push 1
push 0x2a
push edi
call fcn.0047b1e0
push 0x405600
push 0x4e6f
push edi
call fcn.0047b1e0
push ebx
push 0x272d
push edi
call fcn.0047b1e0
push 1
push 0x2c
push edi
call fcn.0047b1e0
push 0
push 0x40
push edi
call fcn.0047b1e0
add esp, 0x48
push 0
push 0x51
push edi
call fcn.0047b1e0
push 1
push 0x34
push edi
call fcn.0047b1e0
push 0
push 0x29
push edi
call fcn.0047b1e0
push 0x1e
push 0x4e
push edi
call fcn.0047b1e0
push 0x3c
push 0xd
push edi
call fcn.0047b1e0
push 0xa
push 0x44
push edi
call fcn.0047b1e0
xorps xmm0, xmm0
add esp, 0x48
movlpd qword [ebp - 8], xmm0
xor esi, esi
push edi
call fcn.00477e20
add esp, 4
test eax, eax
je 0x4041b5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x32
push eax
mov dword [ebp - 0xc], 0
call fcn.00402350
inc esi
add esp, 4
cmp esi, 5
jl 0x404186
jmp 0x4041f6
lea eax, [ebp - 8]
push eax
push 0x60000f
push edi
call fcn.00477c40
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
push 0x200002
push edi
call fcn.00477c40
mov eax, dword [ebp + 0xc]
add esp, 0x18
cmp eax, 0xc8
jl 0x4041ee
cmp eax, 0x12c
jl 0x4041f6
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
push edi
call fcn.004779c0
mov eax, dword [ebp - 8]
add esp, 4
mov edx, dword [ebp - 4]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8