joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43af80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a14d6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x24]
mov ecx, esi
call fcn.00468a16
mov eax, dword [edi + 0x3c]
cmp eax, 0xffffffff
jne 0x43afc3
or edi, eax
or ebx, eax
jmp 0x43aff7
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x43afe9
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.00499d20
mov edi, eax
mov ebx, edx
jmp 0x43aff7
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00468b62
mov eax, edi
mov edx, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fd90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x43fda0
pop esi
ret

Function at 0x43fde0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x43fdf0
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x43fe32
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x440810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b616
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d411c]
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_char__struct_std::char_traits_char__.0
call fcn.0047df10
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.00466a51
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 0x441c80
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1ec7
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x18
mov dword [ebp - 0x10], 0
call fcn.0047df10
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esi + 0x10], 0
sub eax, edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x441cf4
mov ecx, dword [esi]
jmp 0x441cf6
mov ecx, esi
shr eax, 1
xor ebx, ebx
push eax
mov word [ecx], bx
mov ecx, esi
push edx
call fcn.0040d620
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x441d1f
mov eax, dword [esi]
jmp 0x441d21
mov eax, esi
push 0
push ecx
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectMemory]
test eax, eax
jne 0x441d4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0043c5d0
push 0x4d2a70
lea eax, [ebp - 0x28]
push eax
call fcn.0047ff7c
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x441d74
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x441d6a
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x441d80
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x441d80
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00405230
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x441e20
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4d411c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 0
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x441e8f
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp + eax*2 - 0x28], cx
jmp 0x441e9a
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00405230
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
push 0
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x13
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0048ad84
mov ecx, dword [ebp - 0x14]
add esp, 4
movzx esi, ax
cmp ecx, 8
jb 0x441ee3
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.0040d4d0
mov ax, si
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047e3fa
mov esp, ebp
pop ebp
ret
Function at 0x441f80
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f09
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4d411c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x441fdb
mov eax, dword [esi]
jmp 0x441fdd
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ecx
push eax
push ecx
push ecx
push 0x14
push edi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], ecx
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, ecx
ja 0x442026
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x44201c
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x442032
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x442032
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00405230
cmp dword [esi + 0x14], 8
jb 0x44203c
mov eax, dword [esi]
jmp 0x44203e
mov eax, esi
push 0
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0x14
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, esi
call fcn.00441f00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4437b0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a22fe
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4d411c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 8]
cmp dword [esi + 0x1e0], 0
jne 0x44387e
push 0
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x4439b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WinHttpQueryDataAvaliable
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0040b960
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 0
push eax
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00442170
add esp, 4
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00433f20
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x44384e
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.0040c310
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp eax, 0x10
jb 0x4439b0
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.0040c310
jmp 0x4439b0
mov esi, dword [esi + 0x1e0]
mov eax, 0x10000
test esi, esi
cmove esi, eax
cmp edx, esi
jae 0x4438a8
cmp byte [ebp + 8], 0
jne 0x4438a8
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.00433e50
jmp 0x4439b0
lea eax, [ebp - 0x80]
push eax
call fcn.004342f0
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 2
call fcn.00432390
test eax, eax
jne 0x4438e6
mov eax, dword [edi + 0x84]
lea ecx, [edi + 0x80]
sub eax, dword [ecx]
cmp esi, eax
jbe 0x4438dd
push esi
call fcn.0042c660
mov dword [edi + 0x7c], 0
jmp 0x4438e9
mov dword [edi + 0x7c], eax
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x4438f6
mov eax, dword [edi + 0x80]
push 0
push esi
push eax
push dword [edi + 0x40]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x44397a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4ba00c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.0040b960
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
mov edx, esi
lea ecx, [ebp - 0x44]
call fcn.00442170
add esp, 4
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00433f20
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x443953
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.0040c310
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x44397a
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.0040c310
mov dword [ebp - 0x80], vtable.Concurrency::streams::streambuf_unsigned_char_.0
mov dword [ebp - 4], 5
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x4439b0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4439b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4439b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047e3fa
mov esp, ebp
pop ebp
ret
Function at 0x447ca0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2af9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4d411c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x50], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.0043d770
mov edx, esi
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0043d770
push 8
push 0
push str.SHA1
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x447dca
push 0
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp - 0x4c]
push eax
push str.HashDigestLength
push dword [ebp - 0x48]
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
test eax, eax
js 0x447dca
push dword [ebp - 0x4c]
mov ecx, edi
call fcn.0042c660
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
js 0x447dca
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x44]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
js 0x447dca
push 0
push dword [ebp - 0x4c]
push dword [edi]
push dword [ebp - 0x44]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x447dd8
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x447de8
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x447dfd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040c310
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp ecx, 0x10
jb 0x447e24
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.0040c310
mov eax, edi
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.0047e3fa
mov esp, ebp
pop ebp
ret
Function at 0x4654b3
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x463d53
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x46556a
Capabilities:
Create directory
Create process on windows

Disassembly:
push 0
push str.C:Temp
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.attrib_h_s_C:Temp
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.004654b3
jmp 0x465593
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x4e24d8], 0
je 0x46558b
ret 0x10

Function at 0x46a0d4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x41bd10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x41bd32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41bd39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41bd28
mov eax, 1
add ebx, ebx
jne 0x41bd4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41bd40
jne 0x41bd5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bd40
xor ecx, ecx
sub eax, 3
jb 0x41bd70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41bde2
mov ebp, eax
add ebx, ebx
jne 0x41bd7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41bd88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41bdac
inc ecx
add ebx, ebx
jne 0x41bd98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41bd8d
jne 0x41bda9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bd8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41bdcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41bdbd
jmp 0x41bd2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41bdcc
add edi, ecx
jmp 0x41bd2e
pop esi
mov edi, esi
mov ecx, 0x11d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41bdea
cmp byte [edi], 4
jne 0x41bdea
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 eax, ebx
loop 0x41bdef
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41be67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b7ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b828]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41be1c
mov ecx, edi
jns 0x41be4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b82c]
or eax, eax
je 0x41be61
mov dword [ebx], eax
add ebx, 4
jmp 0x41be39
call dword [esi + 0x1b830]
popal
jmp 0x401fb4
Function at 0x436a70
Capabilities:
Encode data using xor

Disassembly:
dec ebx
jl 0x428350
test byte [0x2c153a26], al
sub dword [esp + ebx*2], ebx
test byte ss:[edx + eax*4], 0x3c
sub byte [ebx], 0x5c
call 0x2603d01d
and al, 0xa1
leave
dec esp
shl dword [0xe370a124], 0x10
loope 0x428393
jo 0x42833b
adc cl, ah
cmp byte [esi], dl
push ss
invalid
jge 0x4283d8
add al, 0xba
test al, 0x32
add byte [ebx], bh
ret
or ch, byte [ebx + 0x62]
and byte [edi], ah
test byte [ebp + 0x63], ah
sub eax, 0x24d5341e
ficomp dword [eax - 0x6bacf8b5]
push ebx
xchg esp, eax
test al, 0x10
je 0x428356
or al, 0xa0
jbe 0x4283af
stc
dec ebp
aas
or byte [ebx - 0x2f], dl
xchg ecx, eax
sub dword [ecx], edi
nop
je 0x428393
je 0x4283ef
fsub dword [eax]
or eax, dword [ebx - 0x6bf86764]
enter 0xffffffffffff8320, 0xc
nop
mov word [eax + 0x320c8320], cs
test byte [eax + 0x320c837c], al
enter 0x7478, 0x70
je 0x42844a
mov al, 0x19
nop
xchg ebx, eax
ret
ja 0x428381
ret
leave
xchg ebx, eax
daa
dec edi
clc
ret 0xc2f4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x24000]
mov dword [edi + 0x280c0], 0x2e3c6fbb
push edi
or ebp, 0xffffffff
jmp 0x436a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x436aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x436a90
mov eax, 1
add ebx, ebx
jne 0x436ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x436aa8
jne 0x436ac4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436aa8
xor ecx, ecx
sub eax, 3
jb 0x436ad8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x436b4a
mov ebp, eax
add ebx, ebx
jne 0x436ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x436af0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x436b14
inc ecx
add ebx, ebx
jne 0x436b00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x436af5
jne 0x436b11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x436af5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x436b34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x436b25
jmp 0x436a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x436b34
add edi, ecx
jmp 0x436a96
pop esi
mov edi, esi
mov ecx, 0x139d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x436b52
cmp byte [edi], 0x12
jne 0x436b52
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 eax, ebx
loop 0x436b57
lea edi, [esi + 0x34000]
mov eax, dword [edi]
or eax, eax
je 0x436bc6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36248]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36324]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x436b84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36328]
or eax, eax
je 0x436bc0
mov dword [ebx], eax
add ebx, 4
jmp 0x436ba1
call dword [esi + 0x3632c]
popal
jmp 0x4283a4
Function at 0x100010d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 8]
mov dl, byte [eax + 1]
sub esp, 8
push ebx
mov ebx, ecx
mov cl, byte [eax]
push ebp
mov ebp, dword [esp + 0x14]
test ebx, ebx
jle 0x10001166
sub ebp, dword [0x1000fffc]
push esi
push edi
movzx esi, cl
mov ecx, dword [0x10010b00]
movzx edi, dl
mov dword [esp + 0x14], ebx
lea eax, [esi + 1]
cdq
mov esi, 0x19e
idiv esi
mov ebx, 0x19e
inc ebp
movzx esi, dl
movzx eax, byte [esi + ecx]
add eax, edi
mov byte [esp + 0x12], dl
cdq
mov edi, 0x19e
idiv edi
mov al, byte [esi + ecx]
movzx edi, dl
mov byte [esp + 0x13], dl
movzx edx, byte [edi + ecx]
mov byte [esi + ecx], dl
mov byte [edi + ecx], al
movzx edx, byte [edi + ecx]
movzx eax, byte [esi + ecx]
add eax, edx
cdq
idiv ebx
movzx eax, dl
movzx edx, byte [eax + ecx]
xor byte [ebp - 1], dl
sub dword [esp + 0x14], 1
jne 0x10001100
mov cl, byte [esp + 0x12]
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
pop edi
pop esi
pop ebp
mov byte [eax + 1], dl
mov byte [eax], cl
pop ebx
add esp, 8
ret
Function at 0x10002140
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
push ebp
mov ebp, dword [ebx + 4]
push esi
xor edx, edx
push edi
mov dword [esp + 0x14], ebp
lea esi, [ecx + eax + 0x18]
mov dword [esp + 0x10], 0
cmp dx, word [eax + 6]
jae 0x10002230
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x100021be
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x10002216
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10002247
mov eax, dword [esi - 4]
add eax, ebp
mov dword [esi - 8], eax
test edi, edi
je 0x10002216
push edi
push 0
push eax
call fcn.10005730
add esp, 0xc
jmp 0x10002216
mov edx, dword [esi + 4]
add edx, eax
cmp dword [esp + 0x20], edx
jb 0x1000223f
push 4
push 0x1000
push eax
mov eax, dword [esi - 4]
add eax, ebp
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x10002247
mov eax, dword [esi - 4]
mov edx, dword [esi + 4]
mov ebx, dword [esi]
add edx, dword [esp + 0x1c]
add eax, ebp
test ebx, ebx
jbe 0x1000220f
mov edi, edx
mov ecx, eax
sub edi, eax
mov ebp, ebx
jmp 0x10002200
mov dl, byte [edi + ecx]
mov byte [ecx], dl
inc ecx
sub ebp, 1
jne 0x10002200
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov dword [esi - 8], eax
mov ecx, dword [ebx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x10002173
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0x10
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10