joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026ecc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026eee
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026eee
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026eee
ret
cmp word [ebx + 4], 0x14c
jne 0x10026eee
test word [ebx + 0x16], 2
je 0x10026eee
test word [ebx + 0x16], 0x100
je 0x10026eee
cmp word [ebx + 0x18], 0x10b
jne 0x10026eee
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026eee
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026f7a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026f0e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000de59
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026eee
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x10026f7a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x10026eee
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10026eee
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10026eee
ret
cmp word [ebx + 4], 0x14c
jne 0x10026eee
test word [ebx + 0x16], 2
je 0x10026eee
test word [ebx + 0x16], 0x100
je 0x10026eee
cmp word [ebx + 0x18], 0x10b
jne 0x10026eee
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10026eee
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10026f7a
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10026f0e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000de59
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10026eee
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x10027031
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002708a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10027031
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10027040
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042cce3
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10027091
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000df07
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10027130
add edi, 4
add eax, 2
dec ecx
jne 0x10027076
call 0x100270dd
loope 0x100270d3
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002712d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002713e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100270f1
cmp eax, ecx
ja 0x100270f1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002717b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10027171
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000e3e6
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10027040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002708a
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10027031
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10027040
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1042cce3
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x10027091
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1000df07
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10027130
add edi, 4
add eax, 2
dec ecx
jne 0x10027076
call 0x100270dd
loope 0x100270d3
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1002712d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1002713e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100270f1
cmp eax, ecx
ja 0x100270f1
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1002717b
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10027171
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1000e3e6
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
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 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
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 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
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 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
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 + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401b60
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x4d8fc0]
sub esp, 0x1c
test ecx, ecx
jne 0x401cbe
mov eax, dword fs:[0x30]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], 0x694a8c81
mov eax, dword [eax + 0xc]
push edi
mov dword [ebp - 0xc], ebx
mov eax, dword [eax + 0xc]
mov edx, eax
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
add eax, 0xfffffff8
test ebx, ebx
je 0x401be1
and dword [ebp - 0x10], 0
mov edi, 0x811c9dc5
and dword [ebp - 8], 0
movzx esi, ax
shr esi, 1
lea eax, [ecx + esi*2]
cmp ecx, eax
cmova esi, dword [ebp - 0x10]
test esi, esi
je 0x401bd9
mov ebx, dword [ebp - 8]
movsx eax, byte [ecx]
lea ecx, [ecx + 2]
xor eax, edi
imul edi, eax, 0x1000193
inc ebx
cmp ebx, esi
jne 0x401bc3
mov ebx, dword [ebp - 0xc]
cmp edi, ebx
jne 0x401c9c
mov esi, dword [edx + 0x18]
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + esi + 0x78]
mov eax, dword [eax + esi + 0x7c]
add edi, esi
mov dword [ebp - 0x1c], eax
cmp edi, esi
je 0x401c9c
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x401c9c
mov eax, dword [edi + 0x20]
lea eax, [eax + ecx*4]
add eax, esi
sub eax, 4
mov dword [ebp - 8], 0x811c9dc5
mov dword [ebp - 0x10], eax
dec ecx
mov ebx, dword [eax]
add ebx, esi
mov al, byte [ebx]
inc ebx
mov byte [ebp - 1], al
test al, al
mov eax, dword [ebp - 0x10]
je 0x401c4f
mov al, byte [ebp - 1]
mov esi, dword [ebp - 8]
movsx eax, al
xor eax, esi
imul esi, eax, 0x1000193
mov al, byte [ebx]
inc ebx
test al, al
jne 0x401c34
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], esi
mov esi, dword [edx + 0x18]
mov ebx, dword [ebp - 0x14]
cmp dword [ebp - 8], ebx
je 0x401c60
test ecx, ecx
jne 0x401c0f
mov ebx, dword [ebp - 0xc]
jmp 0x401c9c
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + esi]
add ecx, esi
cmp ecx, edi
jbe 0x401cb1
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp ecx, eax
jae 0x401cb1
jmp 0x401c85
inc ecx
cmp byte [ecx], 0x2e
jne 0x401c84
mov edx, dword [ebp - 0x18]
mov ebx, 0x811c9dc5
mov dword [ebp - 0x14], 0x811c9dc5
mov dword [ebp - 0xc], ebx
mov eax, dword [edx]
mov edx, eax
cmp eax, dword [ebp - 0x18]
je 0x401caf
cmp dword [edx + 0x18], 0
jne 0x401b94
xor ecx, ecx
mov dword [0x4d8fc0], ecx
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x401cc4
call ecx
test eax, eax
jne 0x401cc6
leave
ret
push 0
call fcn.00437039
int3
Function at 0x401cce
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d706c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
mov eax, dword [0x4d8fc8]
push ebx
push esi
push edi
test eax, eax
jne 0x401d88
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
mov dword [ebp - 0x14], ecx
lea ecx, [edx + esi]
mov dword [ebp - 0x14], ecx
cmp ecx, esi
je 0x401d67
mov edx, dword [ecx + 0x18]
test edx, edx
je 0x401d67
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edx*4]
add ebx, esi
lea ebx, [ebx - 4]
mov ecx, 0x811c9dc5
mov edi, dword [ebx]
dec edx
add edi, esi
mov dword [ebp - 0x10], ecx
mov cl, byte [edi]
inc edi
test cl, cl
je 0x401d63
mov esi, dword [ebp - 0x10]
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x401d42
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0x6dd8a845
mov esi, dword [eax + 0x18]
je 0x401d6b
test edx, edx
jne 0x401d28
mov eax, dword [eax]
jmp 0x401cfe
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0x24]
lea eax, [eax + edx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + esi]
add eax, esi
mov dword [0x4d8fc8], eax
mov edi, dword [0x4d8fe0]
test edi, edi
jne 0x401e3a
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x18]
mov ecx, dword [esi + 0x3c]
mov ebx, dword [ecx + esi + 0x78]
mov ecx, dword [ecx + esi + 0x7c]
add ebx, esi
mov dword [ebp - 0x14], ecx
cmp ebx, esi
je 0x401e16
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x401e16
mov ecx, dword [ebx + 0x20]
lea ecx, [ecx + edx*4]
add ecx, esi
sub ecx, 4
dec edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ecx]
mov ecx, 0x811c9dc5
add edi, esi
mov dword [ebp - 0x10], ecx
mov cl, byte [edi]
inc edi
mov byte [ebp - 9], cl
test cl, cl
mov ecx, dword [ebp - 0x14]
je 0x401e12
mov cl, byte [ebp - 9]
mov esi, dword [ebp - 0x10]
movsx ecx, cl
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edi]
inc edi
test cl, cl
jne 0x401dee
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0x4cfe97c1
mov esi, dword [eax + 0x18]
je 0x401e1a
mov ecx, dword [ebp - 0x14]
test edx, edx
jne 0x401dc8
mov eax, dword [eax]
jmp 0x401da2
mov eax, dword [ebx + 0x24]
lea eax, [eax + edx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
mov eax, dword [0x4d8fc8]
add edi, esi
mov dword [0x4d8fe0], edi
lea ecx, [ebp - 8]
push ecx
call eax
push eax
call edi
cmp dword [ebp - 8], 0
pop edi
pop esi
pop ebx
jne 0x401e58
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431cb0
leave
ret
push 0
call fcn.00437039
int3
Function at 0x40411a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
push 4
mov esi, ecx
not edx
pop edi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x466780]
inc esi
sub edi, 1
jne 0x40412a
not edx
pop edi
mov eax, edx
pop esi
leave
ret

Function at 0x40414a
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov edx, ebx
test edi, edi
je 0x4041ae
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x404176
cmp edi, 2
jb 0x404176
cmp byte [esi], al
jne 0x404176
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x466780]
test edi, edi
jne 0x40415f
jmp 0x4041b5
cmp al, 0x23
jne 0x40419c
cmp byte [esi], al
jne 0x40419c
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x466780]
mov al, byte [esi]
inc esi
test al, al
jne 0x40418e
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x404241
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
test eax, eax
je 0x404252
and dword [eax], 0
mov edx, 0x4665f4
call fcn.004041be
mov ebx, eax
test ebx, ebx
je 0x4042f1
push ebx
call fcn.004378e8
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x4042a3
push 2
push 0
push ebx
call fcn.00438232
add esp, 0xc
test eax, eax
jne 0x4042a3
push ebx
call fcn.004378e8
mov edi, eax
pop ecx
cmp edi, 0xffffffff
je 0x4042a3
push 0
push esi
push ebx
call fcn.00438232
add esp, 0xc
test eax, eax
je 0x4042a6
or edi, 0xffffffff
cmp edi, 0xffffffff
je 0x4042ea
mov ecx, edi
call fcn.00405b96
mov dword [ebp - 4], eax
test eax, eax
je 0x4042ea
push ebx
push edi
push 1
push eax
call fcn.0043a04b
push ebx
mov esi, eax
call fcn.00437ed7
add esp, 0x14
cmp esi, edi
je 0x4042dc
mov ecx, dword [ebp - 4]
call fcn.00405bad
jmp 0x4042f1
mov eax, dword [ebp + 8]
test eax, eax
je 0x4042e5
mov dword [eax], edi
mov eax, dword [ebp - 4]
jmp 0x4042f3
push ebx
call fcn.00437ed7
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ffe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4d8ff8]
push edi
cmp byte [esi + 0x2da8], 0
je 0x410055
cmp dword [esi + 0x2db0], 0
lea edi, [esi + 0x2db4]
mov ecx, edi
je 0x410049
push 0
call fcn.00410f96
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004047d4
mov edx, dword [edi]
mov ecx, 0x4d8ff4
push dword [esi + 0x2db0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2dbc]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.00438a23
add esp, 0x10
jmp 0x410055
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004047d4
pop edi
pop esi
pop ebp
ret

Function at 0x4104d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d8ff8]
push esi
mov esi, ecx
push edi
and dword [eax + 0x2d80], 0
test esi, esi
je 0x410520
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.00410524
mov edx, 0x4665f8
mov ecx, esi
mov edi, eax
call fcn.004041be
mov esi, eax
test esi, esi
je 0x410520
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.00438a23
push esi
call fcn.00437ed7
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x41c5ad
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d706c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4d8ff8]
lea eax, [ebp - 0x1c]
push esi
push edi
push eax
push dword [0x4d9110]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
movd xmm1, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0xc]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0xc]
mov ecx, edi
sub ecx, dword [0x4d9118]
mov esi, dword [ebp - 8]
mov edx, esi
sbb edx, dword [0x4d911c]
call fcn.004556b0
mov edx, dword [0x4d9124]
mov ecx, dword [0x4d9120]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x20], xmm0
call fcn.004556b0
movss xmm1, dword [ebp - 0x20]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4d911c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4d9118], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
call fcn.0041c262
cmp byte [ebx + 0xb0], 0
pop edi
pop esi
pop ebx
je 0x41c6a7
or eax, 0xffffffff
jmp 0x41c6b2
mov eax, dword [0x4d8ff8]
mov eax, dword [eax + 0x1d84]
cmp dword [0x4d7b44], eax
je 0x41c6c4
mov dword [0x4d7b44], eax
call fcn.0041c1be
call fcn.0041c33b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00431cb0
leave
ret

Function at 0x423227
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x457fc4
call fcn.00432854
mov eax, dword [ebp - 0x54]
xor ebx, ebx
mov dword [ebp - 0x64], ebx
mov edi, 0x4d90bc
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x60], edi
mov dword [0x4d90cc], ebx
mov dword [0x4d90d0], 0xf
mov byte [0x4d90bc], bl
xor eax, eax
mov dword [ebp - 4], ebx
inc eax
mov dword [ebp - 0x58], 0x40
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x5c]
push eax
push 0x20119
push ebx
push str.SOFTWAREMicrosoftCryptography
push reloc.XINPUT1_3.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push str.MachineGuid
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
jne 0x4232b9
test eax, eax
jne 0x4232b9
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
call fcn.00402bce
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.004327fe
ret
Function at 0x423356
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push 0x854
mov eax, 0x45804b
call fcn.00432854
mov edi, ecx
mov dword [ebp - 0x7e4], edi
mov dword [ebp - 0x7e4], edi
xor ebx, ebx
push ebx
push ebx
push ebx
push 1
push str.Mozilla_5.0
mov dword [ebp - 4], ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [ebp - 0x7ec], ebx
mov dword [ebp - 0x7e8], 0xf
mov byte [ebp - 0x7fc], bl
mov byte [ebp - 4], 1
test esi, esi
je 0x4234dc
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
test ebx, ebx
je 0x4234da
lea eax, [ebp - 0x7e4]
push eax
push 0x7d0
lea eax, [ebp - 0x7e0]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7e0]
push eax
lea ecx, [ebp - 0x7fc]
call fcn.00427446
push 0x7d0
lea eax, [ebp - 0x7e0]
push 0
push eax
call fcn.00434480
add esp, 0xc
cmp dword [ebp - 0x7e4], 0
jne 0x4233cd
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
push 0xf
pop esi
xor ebx, ebx
mov dword [ebp - 0x84c], esi
push 0x4665e8
lea ecx, [ebp - 0x860]
mov dword [ebp - 0x850], ebx
mov byte [ebp - 0x860], bl
call fcn.00402bce
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x848]
push 0x4cd5e8
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], esi
mov byte [ebp - 0x848], bl
call fcn.00402bce
lea eax, [ebp - 0x860]
mov byte [ebp - 4], 3
push eax
sub esp, 0x18
lea eax, [ebp - 0x7fc]
mov ecx, esp
lea esi, [ebp - 0x848]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004287a5
mov edx, esi
lea ecx, [ebp - 0x814]
call fcn.004232ca
add esp, 0x1c
mov ecx, esi
call fcn.00402ba8
lea ecx, [ebp - 0x860]
call fcn.00402ba8
lea eax, [ebp - 0x814]
mov ecx, edi
push eax
call fcn.004274f1
lea ecx, [ebp - 0x814]
jmp 0x42358c
xor ebx, ebx
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xf
pop esi
push 0x4665e8
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x838], ebx
mov dword [ebp - 0x834], esi
mov byte [ebp - 0x848], bl
call fcn.00402bce
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x860]
push 0x4cd5e8
mov dword [ebp - 0x850], ebx
mov dword [ebp - 0x84c], esi
mov byte [ebp - 0x860], bl
call fcn.00402bce
lea eax, [ebp - 0x848]
mov byte [ebp - 4], 5
push eax
sub esp, 0x18
lea eax, [ebp - 0x7fc]
mov ecx, esp
lea esi, [ebp - 0x860]
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.004287a5
mov edx, esi
lea ecx, [ebp - 0x82c]
call fcn.004232ca
add esp, 0x1c
mov ecx, esi
call fcn.00402ba8
lea ecx, [ebp - 0x848]
call fcn.00402ba8
lea eax, [ebp - 0x82c]
mov ecx, edi
push eax
call fcn.004274f1
lea ecx, [ebp - 0x82c]
call fcn.00402ba8
lea ecx, [ebp - 0x7fc]
call fcn.00402ba8
lea ecx, [ebp + 8]
call fcn.00402ba8
mov eax, edi
call fcn.004327fe
ret