joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

Function at 0x40123a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e8
push edi
and dword [ebp - 0xc], 0
mov byte [ebp - 0x110], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x390]
push eax
call sub.iphlpapi.DLL_GetAdaptersInfo
mov dword [ebp - 8], eax
push 0
call sub.KERNEL32.dll_DeleteFileA
cmp dword [ebp - 4], 0
jne 0x4013f1
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 8]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x438cae
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ebx
and ecx, ecx
inc ecx
call fcn.00438ce3
add edx, 0x7b48c8d8
add edx, ecx
sub edx, ecx
xor dword [esi], ebx
add edx, edx
add edx, 1
add esi, 1
or ecx, ecx
cmp esi, eax
jne fcn.00438cae
inc edx
ret
Function at 0x4b8e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x76000]
push edi
jmp 0x4b8e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b8e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8e80
mov eax, 1
add ebx, ebx
jne 0x4b8ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b8eb4
jne 0x4b8ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ed3
dec eax
add ebx, ebx
jne 0x4b8ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b8e98
add ebx, ebx
jne 0x4b8ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b8f25
xor ecx, ecx
sub eax, 3
jb 0x4b8eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b8f5a
sar eax, 1
mov ebp, eax
jmp 0x4b8ef6
add ebx, ebx
jne 0x4b8ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
inc ecx
add ebx, ebx
jne 0x4b8f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b8ec4
add ebx, ebx
jne 0x4b8f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b8f06
jne 0x4b8f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b8f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b8f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b8f36
jmp 0x4b8e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b8f44
add edi, ecx
jmp 0x4b8e86
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b8f62
cmp byte [edi], 0x13
jne 0x4b8f62
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 0x4b8f67
lea edi, [esi + 0xb4000]
mov eax, dword [edi]
or eax, eax
je 0x4b8fdf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc0038]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc018c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b8f94
mov ecx, edi
jns 0x4b8fc3
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 + 0xc0190]
or eax, eax
je 0x4b8fd9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b8fb1
call dword [esi + 0xc01a0]
mov ebp, dword [esi + 0xc0194]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4b9013
sub esp, 0xffffff80
jmp 0x4165c1

Function at 0x43b63c
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
push esi
pop ebx
call fcn.0043b676
inc esi
push ebx
pop ebx
xor dword [ecx], edx
mov esi, esi
add ecx, 1
dec ebx
cmp ecx, edi
jne fcn.0043b63c
add esi, 0xd6c5d385
sub esp, 4
mov dword [esp], 0xc889d6b2
pop ebx
mov ebx, ebx
ret
Function at 0x445670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8725c8]
xor edx, edx
cmp eax, edx
jne 0x445696
xor eax, eax
mov byte [eax + 0x8724c8], al
inc eax
cmp eax, 0x100
jl 0x44567e
mov dword [0x8725c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8724c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x445727
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 0x4456fa
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 0x4456c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4457a0
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 0x4457f3
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 0x4457da
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 0x45b580
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e0b38
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 0x45b5b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x45b6cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x45b5cd
mov eax, 0xffffffc7
jmp 0x45b6ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x45b5de
cmp dword [esi + 8], eax
jne 0x45b5cd
cmp dword [esi + 8], eax
jne 0x45b5f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x45b5f7
mov eax, 0xffffffc7
jmp 0x45b6ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45b60b
push eax
mov ecx, ebx
call fcn.0045adb0
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.00424060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45b63c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00424080
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0045a520
test eax, eax
mov dword [esp + 0x38], eax
je 0x45b66f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8245d0
call fcn.00424260
mov eax, dword [esp + 0x38]
jmp 0x45b6ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0045b3e0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x45b6b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0045b400
mov esi, eax
test esi, esi
jne 0x45b6e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0045b3e0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x45b685
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x8245d0
call fcn.00424260
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], 0x8245d0
call fcn.00424260
mov eax, esi
jmp 0x45b6ce
Function at 0x48aaa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1a40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0048a650
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0048a6d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0048a6d0
lea ecx, [esi + 0xc]
call fcn.004d038b
lea ecx, [esi + 0x10]
call fcn.004d038b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0048bc70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0048bc70
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0048bc70
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004d0400
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004d0400
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x501e70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9a000]
push edi
or ebp, 0xffffffff
jmp 0x501e92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x501e99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501e88
mov eax, 1
add ebx, ebx
jne 0x501eab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x501ebc
jne 0x501edb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501edb
dec eax
add ebx, ebx
jne 0x501ec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x501ea0
add ebx, ebx
jne 0x501ed7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x501f2d
xor ecx, ecx
sub eax, 3
jb 0x501ef3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x501f62
sar eax, 1
mov ebp, eax
jmp 0x501efe
add ebx, ebx
jne 0x501efe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501ecc
inc ecx
add ebx, ebx
jne 0x501f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x501ecc
add ebx, ebx
jne 0x501f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x501f0e
jne 0x501f2a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x501f0e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x501f4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x501f3e
jmp 0x501e8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x501f4c
add edi, ecx
jmp 0x501e8e
pop esi
mov edi, esi
mov ecx, 0x3c3f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x501f6a
cmp byte [edi], 0x1f
jne 0x501f6a
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 0x501f6f
lea edi, [esi + 0xfe000]
mov eax, dword [edi]
or eax, eax
je 0x501fde
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1089e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x108b00]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x501f9c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x108b04]
or eax, eax
je 0x501fd8
mov dword [ebx], eax
add ebx, 4
jmp 0x501fb9
call dword [esi + 0x108b14]
mov ebp, dword [esi + 0x108b08]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x502012
sub esp, 0xffffff80
jmp 0x489870
Function at 0x406010
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x417350], eax
mov ecx, 1
sub ecx, 1
lea esi, [esi]
add ecx, 1
mov edx, dword [ecx*4 + 0x41734c]
mov eax, edx
shr eax, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
lea eax, [eax + ecx]
mov dword [ecx*4 + 0x417350], eax
cmp ecx, 0x26f
jl 0x406020
mov dword [0x40d410], 0x270
ret

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

Disassembly:
push ebx
mov eax, dword [0x416010]
cmp eax, dword [0x40d3c0]
je 0x406078
mov dword [0x40d410], 0x271
cmp dword [0x40d410], 0x270
jl 0x406197
cmp dword [0x40d410], 0x271
jne 0x4060af
mov eax, dword [0x416010]
call fcn.00406010
mov eax, dword [0x416010]
not eax
mov dword [0x416010], eax
mov dword [0x40d3c0], eax
mov ebx, 0
sub ebx, 1
nop
add ebx, 1
mov eax, dword [ebx*4 + 0x417354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x417350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x417984]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40d420]
xor edx, eax
mov dword [ebx*4 + 0x417350], edx
cmp ebx, 0xe2
jl 0x4060b8
mov ebx, 0xe3
sub ebx, 1
mov esi, esi
add ebx, 1
mov eax, dword [ebx*4 + 0x417354]
and eax, 0x7fffffff
mov edx, dword [ebx*4 + 0x417350]
and edx, 0x80000000
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [ebx*4 + 0x416fc4]
xor eax, edx
mov edx, ecx
and edx, 1
mov edx, dword [edx*4 + 0x40d420]
xor edx, eax
mov dword [ebx*4 + 0x417350], edx
cmp ebx, 0x26e
jl 0x40610c
mov eax, dword [0x417d0c]
and eax, 0x80000000
mov edx, dword [0x417350]
and edx, 0x7fffffff
or edx, eax
mov ecx, edx
mov eax, ecx
shr eax, 1
mov edx, dword [0x417980]
xor edx, eax
and ecx, 1
mov eax, dword [ecx*4 + 0x40d420]
xor eax, edx
mov dword [0x417d0c], eax
mov dword [0x40d410], 0
mov eax, dword [0x40d410]
mov eax, dword [eax*4 + 0x417350]
add dword [0x40d410], 1
mov edx, eax
shr edx, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
pop ebx
ret
Function at 0x407a00
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x40d170]
cmp ax, 0xcb
je 0x407afc
cmp ax, 0xcc
je 0x407afc
mov edx, dword [0x417f60]
test edx, edx
je 0x407a32
mov eax, dword [0x417e00]
call edx
mov ebx, eax
jmp 0x407a37
mov ebx, 0x417e04
cmp word [0x417df0], 0
jle 0x407a5a
mov eax, 0x417dd0
call fcn.00407c70
mov eax, ebx
call fcn.004075e0
mov eax, ebx
call fcn.00407650
mov edi, dword [ebx]
jmp 0x407a7a
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x407a75
mov edx, edi
mov eax, ebx
call fcn.00406ab0
jmp 0x407a78
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x407a60
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x417df0], 0
jle 0x407afc
mov edx, 0x417d10
mov eax, ebx
call fcn.00406be0
mov edi, eax
test edi, edi
je 0x407acf
mov eax, dword [0x417da4]
mov dword [edi + 0xc], eax
cmp dword [0x417da4], 0
je 0x407ac4
mov eax, dword [0x417da4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x417da4], eax
sub word [0x417df0], 1
cmp word [0x417df0], 0
sete bl
mov eax, 0x417dd0
call fcn.00407c80
test bl, bl
je 0x407afc
mov eax, 0x417dd0
call fcn.00407c60
pop edi
pop esi
pop ebx
ret

Function at 0x40aba0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 8], eax
mov esi, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040ab60
test al, al
jne 0x40abd7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x40abb8
mov eax, dword [ebp - 4]
leave
ret
Function at 0x409c25
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push dword [esp + 0xc]
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409c47
mov dword [esp], 1
jmp 0x409c57
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x10]
cmp ebx, 1
je 0x409c8f
push 0x10
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409c7f
mov dword [esp], 1
jmp 0x409c8f
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x409cc7
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409cb7
mov dword [esp], 1
jmp 0x409cc7
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x18]
cmp ebx, 1
je 0x409cff
push 0x12
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409cef
mov dword [esp], 1
jmp 0x409cff
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jne 0x409d2b
push 0x10
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409d2b
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x14]
cmp ebx, 1
jne 0x409d57
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409d57
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jne 0x409d83
push 0x12
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, 0x8000
and ebx, ebx
je 0x409d83
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x409d90
xor edx, edx
mov eax, 1
jmp 0x409d90
add esp, 4
pop ebx
ret 0x10
Function at 0x40cc3c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x40cd20
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test byte [ebp + 0x10], 1
mov ebx, eax
je 0x40ccd6
push edi
push edi
push edi
push dword [ebp + 0xc]
call fcn.0040d7d0
mov ebx, eax
cmp ebx, edi
je 0x40cd15
push dword [ebp + 8]
push dword [0x4a158c]
call fcn.00414687
mov esi, eax
mov eax, 0x10000
push eax
push ebx
mov dword [esi + 0x18], eax
call fcn.0040d773
push eax
push ebx
call fcn.0040d759
push eax
call fcn.0040d365
mov dword [esi], eax
cmp eax, edi
je 0x40ccce
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], esi
jmp 0x40cd15
push ebx
call fcn.0040d780
jmp 0x40cd15
push ebx
push edi
push dword [0x4a0dc8]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x40cd15
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push esi
push dword [ebp + 8]
call fcn.0040d34f
push esi
push edi
push dword [0x4a0dc8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc