joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, ebx
sub esp, 0x10
lea edx, [eax + 1]
jmp 0x421030
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421030
push esi
push edi
sub eax, edx
lea esi, [eax + ebx]
push 0x5c
push ebx
mov dword [ebp - 4], esi
call fcn.00470c30
xor ecx, ecx
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
test eax, eax
jne 0x421060
mov dword [ebp - 0xc], ebx
jmp 0x421060
cmp byte [esi], 0x5c
jne 0x421076
inc esi
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], esi
mov byte [esi], 0x5f
mov eax, dword [0x498ea0]
mov dword [ecx + esi], eax
mov edx, dword [0x498ea4]
mov dword [ecx + esi + 4], edx
mov al, byte [0x498ea8]
mov byte [ecx + esi + 8], al
test ebx, ebx
je 0x4210df
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov esi, eax
test esi, esi
jle 0x4210dc
lea ecx, [esi + esi + 2]
push ecx
call fcn.0046f16d
add esp, 4
push esi
mov edi, eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
xor edx, edx
mov word [edi + esi*2 - 2], dx
mov esi, dword [ebp - 4]
jmp 0x4210e1
mov esi, dword [ebp - 4]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push edi
mov dword [ebp - 0x10], eax
call fcn.0046f133
add esp, 4
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42111b
mov eax, dword [ebp - 0xc]
push 0x2e
push eax
call fcn.00470310
add esp, 8
test eax, eax
je 0x421123
cmp eax, esi
ja 0x421123
mov ecx, dword [ebp - 8]
mov byte [eax], 0x5c
jmp 0x421060
pop edi
mov eax, ebx
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov eax, 0x4971a8
push esi
sub eax, 0xbc
push edi
mov dword [esp + 0x14], 0xbc
mov dword [esp + 0x1c], eax
jmp 0x444ea8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + ecx]
mov eax, esi
mov dword [esp + 0x10], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x444eb8
sub eax, edx
mov edi, eax
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0x18], edi
mov ecx, edi
cmp edi, eax
jb 0x444ef6
movzx edx, byte [esi + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
mov esi, dword [esp + 0x10]
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x444ed3
mov dword [esp + 0x18], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x444f76
jmp 0x444f10
cmp dword [edx + 0xc], edi
jne 0x444f70
test edi, edi
je 0x444f1f
test byte [edx + 7], 0x10
jne 0x444f70
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x444f44
lea esp, [esp]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x444f68
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x444f30
test eax, eax
je 0x444fb6
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x444f68
cmp eax, 1
jbe 0x444fb6
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x444f68
cmp eax, 2
jbe 0x444fb6
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x444fb6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [edx]
test edx, edx
jne 0x444f10
mov edx, dword [ebp + 8]
push ebx
push edi
push esi
push edx
call fcn.004465a0
add esp, 0x10
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov esi, dword [edx + 0x10]
mov dword [ecx + esi], eax
mov eax, dword [edx + 0x10]
mov eax, dword [ecx + eax]
or byte [eax + 5], 0x20
add ecx, 4
mov dword [esp + 0x14], ecx
cmp ecx, 0x10c
jl 0x444ea4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x444fd4
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x444f85
Function at 0x446670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
shr eax, 5
inc eax
mov edx, edi
mov dword [esp + 0xc], edi
mov ecx, edi
cmp edi, eax
jb 0x4466b1
mov esi, dword [ebp + 0xc]
movzx esi, byte [esi + ecx - 1]
mov ebx, edx
shl ebx, 5
add esi, ebx
mov ebx, edx
shr ebx, 2
add esi, ebx
sub ecx, eax
xor edx, esi
cmp ecx, eax
jae 0x44668f
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x446724
cmp dword [eax + 0xc], edi
jne 0x44671e
test edi, edi
je 0x4466d5
test byte [eax + 7], 0x10
jne 0x44671e
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x4466f6
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x44671a
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x4466e2
test ecx, ecx
je 0x44673d
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x44671a
cmp ecx, 1
jbe 0x44673d
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x44671a
cmp ecx, 2
jbe 0x44673d
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x44673d
mov edx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x4466c6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
push edi
push eax
push ecx
call fcn.004465a0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x446736
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
add edx, edx
mov eax, edx
shr eax, 5
push ebx
push esi
inc eax
push edi
mov esi, edx
mov dword [ebp - 4], edx
mov ecx, edx
cmp edx, eax
jb 0x4467b1
lea ebx, [ebx]
mov edi, dword [ebp + 0xc]
movzx edi, byte [edi + ecx - 1]
mov ebx, esi
shl ebx, 5
add edi, ebx
mov ebx, esi
shr ebx, 2
add edi, ebx
sub ecx, eax
xor esi, edi
cmp ecx, eax
jae 0x446790
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x446823
cmp dword [eax + 0xc], edx
jne 0x44681d
test edx, edx
je 0x4467d5
test byte [eax + 7], 0x10
je 0x44681d
mov edi, dword [ebp + 0xc]
mov ecx, edx
lea esi, [eax + 0x10]
cmp edx, 4
jb 0x4467f6
mov ebx, dword [edi]
cmp ebx, dword [esi]
jne 0x44681a
sub ecx, 4
add esi, 4
add edi, 4
cmp ecx, 4
jae 0x4467e2
test ecx, ecx
je 0x446840
mov bl, byte [esi]
cmp bl, byte [edi]
jne 0x44681a
cmp ecx, 1
jbe 0x446840
mov bl, byte [esi + 1]
cmp bl, byte [edi + 1]
jne 0x44681a
cmp ecx, 2
jbe 0x446840
mov cl, byte [esi + 2]
cmp cl, byte [edi + 2]
je 0x446840
mov esi, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
jne 0x4467c6
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push edx
push eax
push ecx
call fcn.004465a0
add esp, 0x10
mov byte [eax + 7], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov cl, byte [eax + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx edx, cl
and edx, 3
not ebx
test bl, dl
je 0x446839
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov esi, dword [eax*4 + 0x496f30]
mov edi, esi
mov dword [esp + 0xc], esi
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x446fc8
sub edi, ecx
mov eax, edi
shr eax, 5
inc eax
mov ebx, edi
mov dword [esp + 0x14], edi
mov ecx, edi
cmp edi, eax
jb 0x447006
movzx edx, byte [esi + ecx - 1]
mov esi, ebx
shl esi, 5
add edx, esi
mov esi, ebx
shr esi, 2
add edx, esi
mov esi, dword [esp + 0xc]
sub ecx, eax
xor ebx, edx
cmp ecx, eax
jae 0x446fe3
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
dec ecx
and ecx, ebx
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x447092
jmp 0x447020
cmp dword [edx + 0xc], edi
jne 0x44708c
test edi, edi
je 0x44702f
test byte [edx + 7], 0x10
jne 0x44708c
mov eax, edi
lea ecx, [edx + 0x10]
cmp edi, 4
jb 0x447054
lea esp, [esp]
mov ebx, dword [esi]
cmp ebx, dword [ecx]
jne 0x447084
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x447040
test eax, eax
je 0x447103
mov bl, byte [ecx]
cmp bl, byte [esi]
jne 0x447084
cmp eax, 1
jbe 0x447103
mov bl, byte [ecx + 1]
cmp bl, byte [esi + 1]
jne 0x447084
cmp eax, 2
jbe 0x447103
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x447103
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0xc]
mov edx, dword [edx]
test edx, edx
jne 0x447020
mov edx, dword [ebp + 8]
push ebx
push edi
push esi
push edx
call fcn.004465a0
add esp, 0x10
mov ecx, dword [esp + 0x10]
or byte [eax + 5], 0x20
lea edx, [ecx + 1]
inc ecx
mov byte [eax + 6], dl
mov dword [esp + 0x10], ecx
cmp ecx, 0x20
jl 0x446fb4
mov ecx, dword [0x497030]
test ecx, ecx
je 0x4470fc
mov esi, 0x497030
mov bl, 0x2e
mov edi, edi
mov eax, ecx
add esi, 4
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4470d8
sub eax, edi
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call fcn.00446670
or byte [eax + 5], 0x20
mov byte [eax + 6], bl
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
jne 0x4470d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov al, byte [edx + 5]
mov esi, dword [esi + 0x10]
movzx ebx, byte [esi + 0x14]
movzx ecx, al
and ecx, 3
not ebx
test bl, cl
je 0x447121
xor al, 3
mov byte [edx + 5], al
mov eax, edx
jmp 0x4470a1
Function at 0x45c2c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x40c]
push edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], 0
mov edi, 0x400
jmp 0x45c316
mov eax, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
sub ecx, edx
mov dword [ebp - 0x424], ecx
je 0x45c380
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45c338
call fcn.00436aa0
mov eax, dword [ebp - 0x424]
mov ebx, dword [esi + 8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
push esi
call fcn.00446670
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
inc dword [ebp - 0x414]
lea eax, [ebp - 0x418]
add esp, 0xc
lea edx, [ebp - 0x40c]
push eax
mov dword [ebp - 0x418], edx
call fcn.00423cc0
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x45c389
mov edi, ebx
mov ecx, dword [ebp - 0x41c]
push ecx
push edi
lea edx, [ebp - 0x40c]
push 1
push edx
call fcn.00472a3b
mov ecx, dword [ebp - 0x418]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x418], ecx
mov dword [ebp + 0xc], ebx
je 0x45c3bf
cmp eax, edi
je 0x45c310
lea eax, [ebp - 0x40c]
sub ecx, eax
mov edi, ecx
je 0x45c419
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x48]
mov esi, eax
cmp edx, dword [ecx + 0x44]
jb 0x45c3e3
call fcn.00436aa0
mov ebx, dword [esi + 8]
push edi
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.00446670
mov dword [ebx], eax
mov dword [ebx + 8], 4
add dword [esi + 8], 0x10
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x40c]
add esp, 0xc
inc dword [ebp - 0x414]
mov dword [ebp - 0x418], ecx
mov eax, dword [ebp - 0x414]
mov esi, dword [ebp - 0x410]
call fcn.00420900
mov dword [ebp - 0x414], 1
test ebx, ebx
je 0x45c496
mov edi, dword [ebp - 0x420]
mov esi, dword [edi + 8]
mov eax, dword [esi - 8]
sub esi, 0x10
add eax, 0xfffffffd
cmp eax, 4
ja case.0x45c44f.6
jmp dword [eax*4 + 0x45c4ac]
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
jmp 0x45c47f
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
jmp 0x45c47f
mov eax, dword [esi]
call fcn.00434f80
jmp 0x45c47f
call fcn.00436cd0
test eax, eax
je 0x45c47d
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x45c47f
xor eax, eax
test eax, eax
jne 0x45c496
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d3f1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0046d3f1
mov esp, ebp
pop ebp
ret
Function at 0x4600f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x40]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x460133
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x46012c
mov esi, dword [eax + 0x20]
jmp 0x460133
test bl, bl
jns 0x460133
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x460200
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x40]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x460188
mov ecx, dword [ebx]
test cl, 0x40
je 0x460181
mov edi, dword [eax + 0x20]
jmp 0x460188
test cl, cl
jns 0x460188
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x4601b7
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x4601b7
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.00460040
test eax, eax
je 0x46021e
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x4601df
mov eax, dword [ebx]
test eax, 0x2000000
je 0x4601ce
test dword [ebp - 0x10], 0x2000000
je 0x4601ce
or dword [ebp - 0x10], eax
jmp 0x4601d9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x460160
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.00460040
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d3f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ae9fc]
jne 0x46d3fb
repz ret
jmp fcn.00476d1c

Function at 0x470986
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4709ad
call fcn.0047124b
mov dword [eax], esi
call fcn.00471238
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470c20
mov eax, esi
jmp 0x470a02
test dword [ebp + 0xc], 0xfffffff9
jne 0x470993
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4709da
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.0047125e
pop ecx
call fcn.00471238
mov eax, dword [eax]
jmp 0x470a02
test al, 0x10
jne 0x470a00
test al, 1
je 0x470a00
test byte [ebp + 0xc], 2
je 0x470a00
call fcn.0047124b
mov dword [eax], 5
call fcn.00471238
mov dword [eax], 0xd
jmp 0x4709d1
xor eax, eax
pop esi
pop ebp
ret

Function at 0x480948
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x48096f
call fcn.0047124b
mov dword [eax], esi
call fcn.00471238
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470c20
mov eax, esi
jmp 0x4809c4
test dword [ebp + 0xc], 0xfffffff9
jne 0x480955
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48099c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.0047125e
pop ecx
call fcn.00471238
mov eax, dword [eax]
jmp 0x4809c4
test al, 0x10
jne 0x4809c2
test al, 1
je 0x4809c2
test byte [ebp + 0xc], 2
je 0x4809c2
call fcn.0047124b
mov dword [eax], 5
call fcn.00471238
mov dword [eax], 0xd
jmp 0x480993
xor eax, eax
pop esi
pop ebp
ret
Function at 0x486a07
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004795d6
and dword [ebp - 0x14], 0
cmp dword [0x4b130c], 0
mov dword [ebp - 0x18], eax
jne 0x486aba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x486b62
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x495bb8
push ebx
call edi
test eax, eax
je 0x486b62
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push 0x495ba8
push ebx
mov dword [0x4b130c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b1310], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b1314], eax
call edi
push eax
call esi
mov dword [0x4b131c], eax
test eax, eax
je 0x486aba
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b1318], eax
mov eax, dword [0x4b1318]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x486b13
cmp dword [0x4b131c], ecx
je 0x486b13
push eax
call esi
push dword [0x4b131c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x486b13
test ebx, ebx
je 0x486b13
call edi
test eax, eax
je 0x486b0a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x486b0a
test byte [ebp - 8], 1
jne 0x486b13
or dword [ebp + 0x10], 0x200000
jmp 0x486b46
mov eax, dword [0x4b1310]
cmp eax, dword [ebp - 0x18]
je 0x486b46
push eax
call esi
test eax, eax
je 0x486b46
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x486b46
mov eax, dword [0x4b1314]
cmp eax, dword [ebp - 0x18]
je 0x486b46
push eax
call esi
test eax, eax
je 0x486b46
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b130c]
call esi
test eax, eax
je 0x486b62
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x486b64
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d3f1
leave
ret
Function at 0x405c59
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c624], 0
push esi
jne 0x405c90
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405c6a
mov dword [ecx*4 + 0x42c620], eax
inc ecx
cmp ecx, 0x100
jl 0x405c65
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405cc1
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c620]
xor eax, esi
inc ecx
dec edx
jne 0x405ca3
pop edi
not eax
pop esi
ret 0xc
Function at 0x414de0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..rdata
lea edi, [esi - 0xe000]
push edi
jmp 0x414dfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414df0
mov eax, 1
add ebx, ebx
jne 0x414e13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414e24
jne 0x414e43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e43
dec eax
add ebx, ebx
jne 0x414e30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x414e08
add ebx, ebx
jne 0x414e3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x414e95
xor ecx, ecx
sub eax, 3
jb 0x414e5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414eca
sar eax, 1
mov ebp, eax
jmp 0x414e66
add ebx, ebx
jne 0x414e66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
inc ecx
add ebx, ebx
jne 0x414e74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414e34
add ebx, ebx
jne 0x414e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e76
jne 0x414e92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414eb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414ea6
jmp 0x414df6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414eb4
add edi, ecx
jmp 0x414df6
pop esi
mov edi, esi
mov ecx, 0xb800
jmp 0x414f05
mov al, byte [edi]
inc edi
cmp al, 0x80
jb 0x414ee5
cmp al, 0x8f
ja 0x414ee5
cmp byte [edi - 2], 0xf
je 0x414eeb
sub al, 0xe8
cmp al, 1
ja 0x414f0f
cmp ecx, 4
jb 0x414f14
mov eax, dword [edi]
sub al, 5
jne 0x414f0f
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
sub ecx, 4
stosd dword es:[edi], eax
sub ecx, 1
jb 0x414f14
mov al, byte [edi]
inc edi
jmp 0x414ee5
sub ecx, 1
jae 0x414ed4
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f5c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1506c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414f1a
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15074]
or eax, eax
je 0x414f56
mov dword [ebx], eax
add ebx, 4
jmp 0x414f37
call dword [esi + 0x15070]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414f8d
cmp al, 0xef
ja 0x414f80
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x414f62
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414f6f
mov ebp, dword [esi + 0x15078]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x414fc1
sub esp, 0xffffff80
jmp 0x405dd2