joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e90
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43b860]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [ecx]
push ebx
push esi
push edi
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x13]
lea ebx, [ebp - 0x12]
lea eax, [ebp - 0x11]
movq qword [ebp - 0x14], xmm0
movq xmm0, qword [ecx + 8]
sub esi, ecx
sub edi, ecx
sub ebx, ecx
sub eax, ecx
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], eax
mov edx, 4
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 4]
movzx eax, byte [eax + 0x43c870]
mov byte [ecx - 4], al
movzx eax, byte [edi + ecx - 4]
movzx eax, byte [eax + 0x43c870]
mov byte [ecx - 3], al
movzx eax, byte [ebx + ecx - 4]
movzx eax, byte [eax + 0x43c870]
mov byte [ecx - 2], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx - 4]
movzx eax, byte [eax + 0x43c870]
mov byte [ecx - 1], al
dec edx
jne 0x401ed2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414dc0
mov esp, ebp
pop ebp
ret

Function at 0x402220
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x43b860]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [ecx]
push ebx
push esi
push edi
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x13]
lea ebx, [ebp - 0x12]
lea eax, [ebp - 0x11]
movq qword [ebp - 0x14], xmm0
movq xmm0, qword [ecx + 8]
sub esi, ecx
sub edi, ecx
sub ebx, ecx
sub eax, ecx
movq qword [ebp - 0xc], xmm0
mov dword [ebp - 0x18], eax
mov edx, 4
movzx eax, byte [esi + ecx]
lea ecx, [ecx + 4]
movzx eax, byte [eax + 0x43c970]
mov byte [ecx - 4], al
movzx eax, byte [edi + ecx - 4]
movzx eax, byte [eax + 0x43c970]
mov byte [ecx - 3], al
movzx eax, byte [ebx + ecx - 4]
movzx eax, byte [eax + 0x43c970]
mov byte [ecx - 2], al
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx - 4]
movzx eax, byte [eax + 0x43c970]
mov byte [ecx - 1], al
dec edx
jne 0x402262
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414dc0
mov esp, ebp
pop ebp
ret
Function at 0x403110
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [0x444300]
push esi
push edi
mov edi, dword [0x44431c]
test edi, edi
je 0x403169
mov ecx, dword [0x4442f4]
lea eax, [ebx + 1]
lea edx, [ecx + 3]
sub ecx, ebx
mov esi, edi
mov ebx, ecx
jmp 0x403140
movzx ecx, byte [edx - 3]
mov byte [eax - 1], cl
movzx ecx, byte [ebx + eax]
mov byte [eax], cl
movzx ecx, byte [edx - 1]
mov byte [eax + 1], cl
movzx ecx, byte [edx]
mov byte [eax + 2], cl
lea edx, [edx + 4]
lea eax, [eax + 4]
dec esi
jne 0x403140
mov ebx, dword [0x444300]
mov eax, dword [0x444318]
inc eax
imul eax, dword [0x444320]
mov esi, edi
mov dword [ebp - 0x18], eax
cmp edi, eax
jae 0x40325f
mov dword [ebp - 0xc], ebx
xor edx, edx
mov eax, esi
div edi
mov ebx, dword [ebx + esi*4 - 4]
mov dword [ebp - 0x10], ebx
mov ecx, eax
imul ecx, edi
mov dword [ebp - 0x14], eax
cmp ecx, esi
jne 0x4031ef
mov ecx, ebx
shr ecx, 8
movzx eax, cl
mov edx, ebx
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 4], al
shr edx, 0x10
movzx eax, dl
shr ebx, 0x18
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 3], al
movzx eax, byte [ebx + 0x43c870]
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 2], al
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebx*4 + 0x43c840]
movzx eax, al
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 1], al
xor ebx, dword [ebp - 4]
jmp 0x40323e
cmp edi, 6
jbe 0x40323e
mov eax, esi
sub eax, ecx
cmp eax, 4
jne 0x40323e
movzx eax, bl
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 8], al
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 7], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
movzx eax, byte [eax + 0x43c870]
mov byte [ebp - 6], al
movzx eax, byte [ebx + 0x43c870]
mov byte [ebp - 5], al
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
inc esi
mov eax, dword [ecx]
xor eax, ebx
mov ebx, dword [0x444300]
add ecx, 4
mov dword [ebx + esi*4 - 4], eax
mov dword [ebp - 0xc], ecx
cmp esi, dword [ebp - 0x18]
jb 0x403186
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403bc0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 8]
push eax
mov esi, edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x403c07
push 0x11e
push 0x435c40
push str.CryptAcquireContext_hProv__NULL__NULL__PROV_RSA_AES__CRYPT_VERIFYCONTEXT_
call fcn.0041561c
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
push 0x10
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 2
push dword [ebp - 4]
call esi
cmp dword [ebp - 0xc], 0x20
je 0x403c5d
push 0x125
push str..._sourceencryption.cpp
push str.HashSize__32
call fcn.0041561c
add esp, 0xc
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 4]
pop esi
test eax, eax
je 0x403c7c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 8]
test eax, eax
je 0x403c8c
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov esp, ebp
pop ebp
ret
Function at 0x403c90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43b860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x28], eax
mov ebx, ecx
push esi
mov esi, edx
mov eax, ebx
cdq
and edx, 0xf
push edi
lea edi, [edx + eax]
sar edi, 4
mov eax, edi
shl eax, 4
xorps xmm0, xmm0
sub ebx, eax
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x24], 0
movq qword [ebp - 0x23], xmm0
mov dword [ebp - 0x1b], 0
mov word [ebp - 0x17], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x2c], eax
test edi, edi
jle 0x403d4f
inc esi
xor eax, eax
jmp 0x403d10
movzx ecx, byte [esi + eax - 1]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x13], cl
movzx ecx, byte [esi + eax + 1]
xor byte [ebp + eax - 0x12], cl
movzx ecx, byte [esi + eax + 2]
xor byte [ebp + eax - 0x11], cl
add eax, 4
cmp eax, 0x10
jl 0x403d10
lea ecx, [ebp - 0x14]
call fcn.00403dd0
add esi, 0x10
dec edi
jne 0x403d02
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add eax, esi
push ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004172b0
add esp, 0xc
mov byte [ebp + ebx - 0x24], 0x80
pop edi
pop esi
xor ecx, ecx
pop ebx
lea esp, [esp]
movzx eax, byte [ebp + ecx - 0x24]
xor byte [ebp + ecx - 0x14], al
movzx eax, byte [ebp + ecx - 0x23]
xor byte [ebp + ecx - 0x13], al
movzx eax, byte [ebp + ecx - 0x22]
xor byte [ebp + ecx - 0x12], al
movzx eax, byte [ebp + ecx - 0x21]
xor byte [ebp + ecx - 0x11], al
add ecx, 4
cmp ecx, 0x10
jl 0x403d70
lea ecx, [ebp - 0x14]
call fcn.00403dd0
mov eax, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0xc]
xor ecx, ebp
movq qword [eax + 8], xmm0
call fcn.00414dc0
mov esp, ebp
pop ebp
ret

Function at 0x404160
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea eax, [ecx + 1]
mov edx, 4
jmp 0x404170
movzx ecx, byte [eax - 1]
lea eax, [eax + 4]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 5], cl
movzx ecx, byte [eax - 4]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 4], cl
movzx ecx, byte [eax - 3]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 3], cl
movzx ecx, byte [eax - 2]
movzx ecx, byte [ecx + str.cw]
mov byte [eax - 2], cl
dec edx
jne 0x404170
ret
Function at 0x40bde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x43b860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push 0x78
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x3c], eax
call fcn.004155cd
movq xmm0, qword [ebx + 4]
add esp, 4
add ebx, 4
lea esi, [eax + 4]
push ebx
movq qword [esi], xmm0
movq xmm0, qword [ebx + 8]
push ecx
push 4
mov dword [ebp - 0x38], eax
movq qword [esi + 8], xmm0
call fcn.00401250
push 0x100
call fcn.00412f18
push 0x100
mov edi, eax
push ebx
push edi
call fcn.004172b0
lea eax, [ebp - 0x48]
push eax
push ebx
mov ecx, edi
call fcn.004019d0
push edi
call fcn.0041554e
call fcn.004013c0
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x38]
movzx eax, word [ebx]
mov word [edi], ax
movzx eax, word [ebx + 2]
lea ecx, [ebx + 0x14]
mov word [edi + 2], ax
call fcn.0040bc40
push 0
movq xmm0, qword [eax]
movq qword [edi + 0x14], xmm0
movq xmm0, qword [eax + 8]
movq qword [edi + 0x1c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x24], xmm0
movq xmm0, qword [eax + 0x18]
movq qword [edi + 0x2c], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [edi + 0x34], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [edi + 0x3c], xmm0
xorps xmm0, xmm0
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov byte [ebp - 0x34], 0
movq qword [ebp - 0x33], xmm0
movq qword [ebp - 0x2b], xmm0
movq qword [ebp - 0x23], xmm0
mov dword [ebp - 0x1b], 0
mov word [ebp - 0x17], 0
mov byte [ebp - 0x15], 0
call fcn.004163f6
push eax
call fcn.0041639f
add esp, 0x30
xor edi, edi
lea esp, [esp]
call fcn.0041637c
and eax, 0x800000ff
jns 0x40bf23
dec eax
or eax, 0xffffff00
inc eax
xor al, 0x61
mov byte [ebp + edi - 0x14], al
inc edi
cmp edi, 0x10
jb 0x40bf10
lea eax, [ebp - 0x34]
push eax
lea edx, [ebp - 0x14]
call fcn.00403bc0
add esp, 4
lea edx, [ebx + 6]
sub ebx, dword [ebp - 0x38]
lea ecx, [ebp - 0x13]
mov edi, 4
lea esp, [esp]
movzx eax, byte [ebx + esi]
xor al, byte [ecx - 1]
lea esi, [esi + 4]
xor al, byte [esi - 4]
lea ecx, [ecx + 4]
mov byte [esi + 0x3c], al
movzx eax, byte [esi - 3]
xor al, byte [edx - 1]
lea edx, [edx + 4]
xor al, byte [ecx - 4]
mov byte [esi + 0x3d], al
movzx eax, byte [esi - 2]
xor al, byte [ecx - 3]
xor al, byte [edx - 4]
mov byte [esi + 0x3e], al
movzx eax, byte [esi - 1]
xor al, byte [ecx - 2]
xor al, byte [edx - 3]
mov byte [esi + 0x3f], al
dec edi
jne 0x40bf50
mov eax, dword [ebp - 0x38]
movq xmm0, qword [ebp - 0x34]
push dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
movq qword [eax + 0x54], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x5c], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x64], xmm0
movq xmm0, qword [ebp - 0x1c]
mov ecx, eax
movq qword [eax + 0x6c], xmm0
call fcn.00403a40
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00414dc0
mov esp, ebp
pop ebp
ret
Function at 0x40ca30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43009e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43b860]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0040cd50
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.0040cd50
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x40cb44
test dl, 0x10
jne 0x40cb44
mov eax, 1
jmp 0x40cb46
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.0040cbe0
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 0x1c
Function at 0x40fe90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov edx, 0x811c9dc5
mov ecx, 0
sub esi, edi
je 0x40fec1
lea esp, [esp]
movzx eax, byte [ecx + edi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, esi
jb 0x40feb0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8

Function at 0x4137b5
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x42ed25
call fcn.00417a3c
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x4138c1
cmp byte [esi + 0x46], bl
je 0x4138c1
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x4137f1
xor al, al
jmp 0x4138c3
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.0040a0f0
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x41381c
mov dword [ebp - 0x2c], edi
jmp 0x413822
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
cmp eax, 0x10
jae 0x41382a
lea edi, [ebp - 0x28]
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x30]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, ebx
je 0x413850
dec eax
je 0x413853
dec eax
dec eax
jne 0x4138b5
inc eax
jmp 0x4138b3
mov byte [esi + 0x46], bl
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov edx, edi
cmp eax, 0x10
jae 0x413863
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
sub ecx, edx
mov dword [ebp - 0x2c], ecx
je 0x413891
cmp eax, 0x10
jae 0x413875
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ecx
push 1
push edi
call fcn.00418de8
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
cmp ecx, eax
jne 0x4138b1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x4138af
test ecx, ecx
jne 0x413812
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040ff30
jmp 0x41380c
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [ebp - 0x28]
call fcn.004034c0
mov al, bl
jmp 0x4138c3
mov al, 1
call fcn.004179fa
ret
Function at 0x413d89
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x42ed77
call fcn.00417a3c
mov edi, ecx
mov ebx, dword [ebp + 8]
mov esi, 0xffff
cmp si, bx
jne 0x413dab
xor eax, eax
jmp 0x413f2f
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x413dd7
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x413dd7
dec dword [edx]
mov edx, dword [edi + 0x20]
mov ax, bx
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x413f2f
cmp dword [edi + 0x50], 0
je 0x413f2c
mov ecx, edi
call fcn.004139ae
xor ecx, ecx
cmp dword [edi + 0x40], ecx
jne 0x413e0a
push dword [edi + 0x50]
push ebx
call fcn.00413440
pop ecx
pop ecx
test al, al
je 0x413f2c
movzx esi, bx
jmp 0x413f2c
movzx eax, bx
push ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], 0xf
call fcn.0040a0f0
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jae 0x413e3d
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp ecx, 0x10
jae 0x413e4b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x38]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x32]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x48]
push eax
call dword [edx + 0x1c]
mov ebx, dword [ebp + 8]
test eax, eax
js 0x413f24
cmp eax, 1
jg 0x413f08
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
cmp ecx, 0x10
jb 0x413e98
mov dword [ebp - 0x2c], eax
jmp 0x413e9e
lea edx, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edx
je 0x413ed0
cmp ecx, 0x10
jae 0x413eb1
lea eax, [ebp - 0x28]
push dword [edi + 0x50]
push edx
push 1
push eax
call fcn.00418de8
mov edx, dword [ebp - 0x2c]
add esp, 0x10
cmp edx, eax
jne 0x413f00
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
lea ebx, [ebp - 0x34]
cmp dword [ebp - 0x3c], ebx
mov ebx, dword [ebp + 8]
mov byte [edi + 0x46], 1
jne 0x413efd
test edx, edx
jne 0x413e35
cmp dword [ebp - 0x18], 0x20
jae 0x413f03
push edx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040ff30
jmp 0x413e2c
movzx esi, bx
movzx esi, si
movzx esi, si
jmp 0x413f21
cmp eax, 3
jne 0x413f24
push dword [edi + 0x50]
push dword [ebp - 0x34]
call fcn.00413440
pop ecx
pop ecx
test al, al
je 0x413f21
movzx esi, bx
movzx esi, si
lea ecx, [ebp - 0x28]
call fcn.004034c0
mov ax, si
call fcn.004179fa
ret 4
Function at 0x41e196
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43b860]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00425c7f
mov dword [ebp - 0x14], eax
cmp dword [0x444094], edi
jne 0x41e287
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41e214
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41e367
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41e367
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41e367
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x444094], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x444098], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x44409c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4440a4], eax
test eax, eax
je 0x41e284
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4440a0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41e2ac
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41e29f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41e2c1
push 4
pop eax
jmp 0x41e369
cmp dword [ebp - 0x14], edi
je 0x41e2c1
push dword [0x444094]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41e2a6
mov eax, dword [0x4440a0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41e31f
cmp dword [0x4440a4], esi
je 0x41e31f
push eax
call ebx
push dword [0x4440a4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41e31f
test eax, eax
je 0x41e31f
call ecx
test eax, eax
je 0x41e314
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41e314
test byte [ebp - 8], 1
jne 0x41e31f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41e34f
mov eax, dword [0x444098]
cmp eax, esi
je 0x41e34c
push eax
call ebx
test eax, eax
je 0x41e34c
call eax
mov edi, eax
test edi, edi
je 0x41e34c
mov eax, dword [0x44409c]
cmp eax, esi
je 0x41e34c
push eax
call ebx
test eax, eax
je 0x41e34c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x444094]
call ebx
test eax, eax
je 0x41e367
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41e369
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00414dc0
leave
ret
Function at 0x42a720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20000]
push edi
or ebp, 0xffffffff
jmp 0x42a742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a738
mov eax, 1
add ebx, ebx
jne 0x42a75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a750
jne 0x42a76c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a750
xor ecx, ecx
sub eax, 3
jb 0x42a780
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a7f2
mov ebp, eax
add ebx, ebx
jne 0x42a78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a798
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a7bc
inc ecx
add ebx, ebx
jne 0x42a7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a79d
jne 0x42a7b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a79d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a7dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a7cd
jmp 0x42a73e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a7dc
add edi, ecx
jmp 0x42a73e
pop esi
mov edi, esi
mov ecx, 0x4d9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a7fa
cmp byte [edi], 6
jne 0x42a7fa
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 0x42a7ff
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a877
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a0b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a82c
mov ecx, edi
jns 0x42a85b
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 + 0x2a0b8]
or eax, eax
je 0x42a871
mov dword [ebx], eax
add ebx, 4
jmp 0x42a849
call dword [esi + 0x2a0c0]
mov ebp, dword [esi + 0x2a0bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x42a8ab
sub esp, 0xffffff80
jmp 0x40b346