joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440b60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a3bd8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x440b99
inc eax
mov dword [esi + 0x10], eax
jmp 0x440cac
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x440bad
mov eax, 0xffffffc7
jmp 0x440cae
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x440bbe
cmp dword [esi + 8], eax
jne 0x440bad
cmp dword [esi + 8], eax
jne 0x440bd7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x440bd7
mov eax, 0xffffffc7
jmp 0x440cae
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x440beb
push eax
mov ecx, ebx
call fcn.00440390
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00410c40
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x440c1c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00410c60
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043fb00
test eax, eax
mov dword [esp + 0x38], eax
je 0x440c4f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4aa858
call fcn.00410e40
mov eax, dword [esp + 0x38]
jmp 0x440cae
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004409c0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x440c93
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004409e0
mov esi, eax
test esi, esi
jne 0x440cc3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004409c0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x440c65
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4aa858
call fcn.00410e40
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4aa858
call fcn.00410e40
mov eax, esi
jmp 0x440cae

Function at 0x443dc0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x443e20
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x443e20
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x443e20
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x443e20
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x443e60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x44fc20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0049ce9f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0044f5c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0049cdcd
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0049968e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0049968e
push 1
push 0
push 0
mov ecx, esi
call fcn.00499636
push 1
push 0
push 1
mov ecx, esi
call fcn.00499636
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049cf11
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44fda0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0049ce9f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0044f5c0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0049cdcd
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44fe64
cmp dword [esp + 0x40], 1
jne 0x44fe62
cmp ecx, eax
jge 0x44fe64
mov eax, ecx
cmp eax, 0xc8
jge 0x44fe70
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044fc20
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049cf11
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4505f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a4293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00497aaf
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0049d147
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049e663
test eax, eax
je 0x45070c
mov ecx, dword [esp + 0x3c]
call fcn.0049d174
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4506d0
push edi
mov ecx, esi
call fcn.0049a7d5
mov ecx, esi
call fcn.00450870
cmp dword [esp + 0x38], 1
jne 0x450705
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049a910
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x453140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x453173
push esi
call fcn.004614a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45316c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4531f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4531e2
mov eax, dword [esi + 8]
test eax, eax
je 0x453197
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4531de
cmp eax, 2
je 0x4531e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45318a
cmp eax, 3
je 0x4531bd
cmp eax, 1
jne 0x45318a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45318a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45318a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00453220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x453208
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00453220
add esp, 4
pop esi
ret

Function at 0x453aa0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x453ac1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x453ac1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x453ac1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x470d60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e3af0]
xor edx, edx
cmp eax, edx
jne 0x470d86
xor eax, eax
mov byte [eax + 0x4e39f0], al
inc eax
cmp eax, 0x100
jl 0x470d6e
mov dword [0x4e3af0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e39f0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x470e17
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x470dea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x470db8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x470e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x470ee3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x470eca
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4778a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a472e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004781c0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4b04f4
call fcn.00496217
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x477933
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00496217
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47792c
push 0
mov ecx, eax
call fcn.0046e9a0
mov dword [esi + 0xc], eax
jmp 0x477935
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x477935
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4988a4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4988dc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00496931
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00496909
jmp 0x4988e8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x499f92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x499fd4
call fcn.0049fa49
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x499fd4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x499fcb
xor eax, eax
jmp 0x499fdc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00499fe2
pop edi
pop esi
pop ebx
ret 4
Function at 0x49ff79
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49ffa7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49ffc5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049fedf
jmp 0x49ffc5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49ffc5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049fedf
test edi, edi
mov eax, edi
jne 0x49ffaf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4219a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x4219c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4219c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4219b8
mov eax, 1
add ebx, ebx
jne 0x4219db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4219d0
jne 0x4219ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4219d0
xor ecx, ecx
sub eax, 3
jb 0x421a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421a72
mov ebp, eax
add ebx, ebx
jne 0x421a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421a3c
inc ecx
add ebx, ebx
jne 0x421a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421a1d
jne 0x421a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421a4d
jmp 0x4219be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421a5c
add edi, ecx
jmp 0x4219be
pop esi
mov edi, esi
mov ecx, 0x525
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421a7a
cmp byte [edi], 4
jne 0x421a7a
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 0x421a7f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421af7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2293c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x229dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421aac
mov ecx, edi
jns 0x421adb
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 + 0x229e0]
or eax, eax
je 0x421af1
mov dword [ebx], eax
add ebx, 4
jmp 0x421ac9
call dword [esi + 0x229e4]
popal
jmp section.UPX0
Function at 0x40cda0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, esi
sub eax, ebx
push edi
mov edi, dword [esp + 0x1c]
sub eax, 0x40
push edi
sar eax, 2
push eax
push ebx
call fcn.0040c230
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x40ce57
lea ebp, [ebx + 0x40]
sub esi, 4
cmp esi, ebp
jbe case.0x40ce28.19
mov eax, dword [esi]
mov ecx, eax
shr ecx, 8
movzx edx, al
movzx ebx, cl
mov cx, word [edx*2 + 0x4d6fe8]
and cx, 7
cmp cx, 2
jne 0x40ce0f
cmp edi, ebx
jb 0x40cdd2
cmp edx, 0x2c
jne case.0x40ce28.19
shr eax, 0x10
cmp edi, eax
ja 0x40cdd2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cmp cx, 1
jne 0x40cdd2
cmp ebx, edi
jne 0x40cdd2
add edx, 0xffffffee
cmp edx, 0x27
ja case.0x40ce28.19
movzx ecx, byte [edx + 0x40cf34]
jmp dword [ecx*4 + 0x40cf20]
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, esi
shr edi, 0x10
sub eax, ecx
sub eax, 0x40
push edi
sar eax, 2
push eax
push ecx
call fcn.0040c230
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x40cdd2
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov eax, str.local
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
not eax
pop edi
mov ecx, dword [ecx + 0x10]
pop esi
pop ebp
pop ebx
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x10]
add ecx, 0x14
mov dword [eax], ecx
mov eax, str.global
ret
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x14]
not edx
mov ecx, dword [ecx + 0x10]
mov edx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x20]
add edx, 0x14
mov dword [ecx], edx
mov ecx, dword [esi - 4]
cmp cl, 0x12
jne 0x40ced2
shr ecx, 8
movzx edx, cl
lea ecx, [ebx + 1]
cmp edx, ecx
jne 0x40ced2
shr eax, 8
xor eax, dword [esi - 4]
test eax, 0xffff0000
jne 0x40ced2
pop edi
pop esi
pop ebp
mov eax, str.method
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, str.field
pop ebx
ret
mov ecx, dword [esp + 0x14]
shr eax, 0x10
mov edx, dword [ecx + 0x38]
test edx, edx
jne 0x40ceff
mov eax, dword [esp + 0x20]
mov edx, 0x4d65ba
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
test eax, eax
je 0x40cf0f
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x40cf03
sub eax, 1
jne 0x40cf03
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [eax], edx
mov eax, str.upvalue
pop ebx
ret
Function at 0x40f7f0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor esi, edi
rol esi, 4
bswap esi
cmp ecx, 0xc
jbe 0x40f870
mov eax, dword [esp + 0xc]
add ecx, 0xfffffff4
push ebx
push ebp
mov ebp, dword [esp + 0x20]
add ecx, ebp
mov dword [esp + 0x1c], ecx
mov ebx, ecx
nop
add esi, dword [ebx + 4]
add edi, dword [ebx + 8]
mov edx, esi
add eax, dword [ebx]
xor edi, esi
rol edx, 0xe
mov ebx, ebp
sub edi, edx
add ebp, 0xc
mov ecx, edi
xor eax, edi
rol ecx, 0xb
sub eax, ecx
mov edx, eax
xor esi, eax
ror edx, 7
sub esi, edx
cmp ebx, dword [esp + 0x1c]
jb 0x40f820
mov ecx, esi
mov edx, esi
rol ecx, 0x10
xor edx, edi
sub edx, ecx
mov ecx, edx
xor eax, edx
rol ecx, 4
sub eax, ecx
pop ebp
mov ecx, eax
xor eax, esi
pop ebx
rol ecx, 0xe
pop edi
sub eax, ecx
pop esi
ret
pop edi
mov eax, esi
pop esi
ret

Function at 0x411b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
movzx eax, byte [ebp + 0x24]
lea edx, [eax*4 + 0x14]
call fcn.0040d8d0
mov esi, eax
lea ecx, [ebp + 0x40]
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], ecx
mov word [esi + 5], 8
mov byte [esi + 7], 0
movzx ecx, byte [ebp + 0x25]
add ecx, 0x20
mov eax, ecx
shr eax, 3
and al, 0x20
sub cl, al
mov al, byte [ebp + 0x24]
mov byte [ebp + 0x25], cl
mov byte [esp + 0x18], al
movzx ecx, al
test al, al
je 0x411c21
push ebx
lea ebx, [esi + 0x14]
mov esi, ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x18
call fcn.0040d8d0
lea ebx, [ebx + 4]
lea ecx, [eax + 8]
mov word [eax + 5], 0x105
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp + 0x14]
movzx edx, word [ecx + edi*2]
inc edi
mov ecx, edx
shl edx, 0x18
shr ecx, 0xe
xor edx, ebp
and cl, 1
mov dword [eax + 0x14], edx
mov byte [eax + 7], cl
mov dword [ebx - 4], eax
cmp edi, esi
jb 0x411bd2
mov esi, dword [esp + 0x10]
mov al, byte [esp + 0x1c]
pop ebx
mov byte [esi + 7], al
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x416600
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov eax, dword [0x4efd78]
push esi
mov esi, ecx
test eax, eax
jne 0x41663a
push eax
push eax
push 0x4d6cd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
je 0x4166cf
push str.SystemFunction036
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4efd78], eax
test eax, eax
je 0x4166cf
push 0x20
push esi
call eax
test al, al
je 0x4166cf
mov ecx, dword [esi + 4]
mov eax, dword [esi]
test ecx, ecx
ja 0x416662
jb 0x416657
cmp eax, 2
jae 0x416662
add eax, 2
mov dword [esi], eax
adc ecx, 0
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
test ecx, ecx
ja 0x41667f
jb 0x416673
cmp eax, 0x40
jae 0x41667f
add eax, 0x40
mov dword [esi + 8], eax
adc ecx, 0
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test ecx, ecx
ja 0x4166a0
jb 0x416692
cmp eax, 0x200
jae 0x4166a0
add eax, 0x200
mov dword [esi + 0x10], eax
adc ecx, 0
mov dword [esi + 0x14], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
test ecx, ecx
ja 0x4166c1
jb 0x4166b3
cmp eax, 0x20000
jae 0x4166c1
add eax, 0x20000
mov dword [esi + 0x18], eax
adc ecx, 0
mov dword [esi + 0x1c], ecx
mov ecx, esi
call fcn.004166e0
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret