joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c6a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
test byte [0x4eaf64], 8
push ebx
push esi
push edi
jne 0x49c74f
or dword [0x4eaf64], 8
push 0x4eaf68
lea eax, [ebp - 0x10]
and dword [0x4eaf64], 0xffffffef
push 0x16
push 0x15
push 0x5f0
push 9
push eax
call fcn.0046d920
add esp, 0x18
cmp byte [ebp - 0x10], 0x30
je 0x49c6ea
mov byte [ebp - 0x10], 0x31
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x10]
push eax
push 0x16
push 0x15
push 0x5f0
call fcn.0046d9a0
add esp, 0x10
cmp byte [ebp - 0x10], 0x30
je 0x49c74f
lea eax, [ebp - 0x34]
push eax
call dword [0x4f6a7c]
cmp dword [ebp - 0x1c], 0x1e6
jbe 0x49c74f
mov dword [ebp - 4], 0
pushaw
mov edx, 0
mov eax, 0
cpuid
cmp eax, 1
jl 0x49c740
mov eax, 1
cpuid
mov dword [ebp - 4], edx
popaw
test byte [ebp - 2], 0x80
je 0x49c74f
or dword [0x4eaf64], 0x10
mov eax, dword [0x4eaf64]
pop edi
and eax, 0x10
pop esi
shr eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0830
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
push esi
test cx, cx
push edi
jne 0x4a0840
xor eax, eax
pop edi
pop esi
ret
mov eax, ecx
shr eax, 0x10
test ax, ax
jne 0x4a084f
xor eax, eax
pop edi
pop esi
ret
movsx eax, ax
lea eax, [eax + eax*8]
shl eax, 4
lea edi, [eax + 0x4f1018]
test byte [edi + 0x50], 1
je 0x4a08da
movsx ecx, cx
lea eax, [ecx*2]
lea esi, [eax + eax*2]
lea edx, [esi + esi*4]
cmp dword [edi + 0x26], edx
jle 0x4a0912
mov eax, dword [edi + 0x64]
mov edi, dword [esp + 0x10]
mov esi, dword [eax]
mov dword [edi], ecx
lea edx, [esi + edx - 0x1e]
xor ecx, ecx
mov word [edi + 0x1c], cx
mov eax, dword [edx + 0x18]
mov dword [edi + 0x18], eax
mov si, word [edx + 4]
mov word [edi + 4], si
mov ax, word [edx + 0x10]
mov word [edi + 0x10], ax
mov esi, dword [edx + 8]
mov dword [edi + 8], esi
mov eax, dword [edx + 0xc]
mov dword [edi + 0xc], eax
mov al, byte [edx + 0x12]
mov byte [edi + 0x12], al
mov eax, dword [esp + 0x14]
mov dx, word [edx + 6]
cmp eax, ecx
mov word [edi + 6], dx
mov byte [edi + 0x13], cl
mov dword [edi + 0x14], ecx
je 0x4a08d2
mov dword [eax], esi
mov eax, 1
pop edi
pop esi
ret
mov eax, dword [edi + 0x64]
push eax
push ecx
push edi
call fcn.004a0ef0
add esp, 0xc
test ax, ax
jl 0x4a0912
movsx esi, ax
add esi, esi
mov ecx, dword [edi + 0x64]
mov edi, dword [esp + 0x10]
lea eax, [esi + esi*2]
lea esi, [eax + eax*4]
add esi, dword [ecx]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 1
pop edi
pop esi
ret
xor eax, eax
pop edi
pop esi
ret

Function at 0x4a0920
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push esi
push edi
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0x10
movsx ecx, ax
lea eax, [ecx + ecx*8]
shl eax, 4
lea edi, [eax + 0x4f1018]
test byte [edi + 0x50], 1
je 0x4a094e
mov eax, 0x1396
pop edi
pop esi
add esp, 4
ret
mov eax, dword [edi + 0x64]
push eax
push esi
push edi
call fcn.004a0ef0
mov dword [esp + 0x14], eax
add esp, 0xc
test eax, eax
jge 0x4a097b
lea eax, [esp + 8]
mov ecx, dword [esp + 8]
push eax
push ecx
push edi
call fcn.004a0db0
add esp, 0xc
test eax, eax
jne 0x4a09d1
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 8]
add ecx, ecx
mov edx, dword [eax]
lea eax, [ecx + ecx*2]
lea ecx, [eax + eax*4]
add ecx, edx
mov edx, dword [esp + 0x14]
movsx eax, si
mov dword [ecx], eax
mov si, word [edx + 0x1c]
mov word [ecx + 0x1c], si
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov si, word [edx + 4]
mov word [ecx + 4], si
mov ax, word [edx + 6]
mov word [ecx + 6], ax
mov al, byte [edx + 0x12]
mov byte [ecx + 0x12], al
xor eax, eax
mov si, word [edx + 0x10]
mov word [ecx + 0x10], si
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
pop edi
pop esi
add esp, 4
ret

Function at 0x4a16a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
push esi
and eax, 0xffff
mov esi, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
and eax, 0xffff
push eax
push esi
call dword [0x4f6a90]
test eax, eax
je 0x4a16ce
push eax
push esi
call dword [0x4f6a94]
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x4ae730
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
push 1
call dword [0x4f6bc8]
test ah, 0x80
je 0x4ae78a
lea eax, [esp + 4]
push 2
push 0x203
mov esi, dword [0x4f6ce0]
push 0x201
push 0
push eax
call esi
test eax, eax
jne 0x4ae783
lea eax, [esp + 4]
push 2
push 0xa3
push 0xa1
push 0
push eax
call esi
test eax, eax
jne 0x4ae783
mov eax, 1
pop esi
add esp, 0x1c
ret
xor eax, eax
pop esi
add esp, 0x1c
ret
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x4aead0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x2c
lea eax, [esp + 0xc]
push ebx
push esi
push edi
mov esi, dword [esp + 0x3c]
push ebp
push eax
push esi
call fcn.004af540
lea ecx, [esp + 0x34]
add esp, 8
push ecx
push esi
call fcn.004af4f0
add esp, 8
mov edi, dword [0x4f6a68]
call edi
cmp eax, dword [esi + 0x2e]
jle 0x4aec65
cmp dword [esi + 0x2e], 0
jne 0x4aeb18
call edi
add eax, 0xc8
mov dword [esi + 0x2e], eax
mov bx, 1
lea eax, [esp + 0x14]
push eax
push esi
call fcn.004af680
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 8
mov dword [esi + 0x3c], 1
push ecx
push eax
push edx
call dword [0x4f6ce4]
test eax, eax
jne 0x4aeb6e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push eax
mov ebx, 0
push edx
call dword [0x4f6ce4]
cmp eax, 1
adc ebx, 0xffffffff
and bx, 2
cmp dword [esi + 0x34], 0
je 0x4aec11
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004af720
add esp, 8
mov ebp, eax
mov ax, word [esi + 0x32]
sub ax, 2
cmp ax, 1
lea eax, [ebx - 2]
sbb ecx, ecx
neg ecx
cmp ax, 1
sbb eax, eax
neg eax
cmp ecx, eax
je 0x4aebc6
lea eax, [ebx - 2]
lea ecx, [esp + 0x2c]
cmp ax, 1
mov eax, 5
adc eax, 0xffffffff
push eax
push ecx
push ebp
push esi
call fcn.004ae4c0
add esp, 0x10
mov ax, word [esi + 0x32]
dec ax
cmp ax, 1
lea eax, [ebx - 1]
sbb ecx, ecx
neg ecx
cmp ax, 1
sbb eax, eax
neg eax
cmp ecx, eax
je 0x4aec02
lea eax, [ebx - 1]
lea ecx, [esp + 0x1c]
cmp ax, 1
mov eax, 3
adc eax, 0xffffffff
push eax
push ecx
push ebp
push esi
call fcn.004ae4c0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call fcn.004af770
add esp, 0xc
mov word [esi + 0x32], bx
cmp bx, 1
jne 0x4aec2e
lea ebp, [esi + 0x24]
push esi
call fcn.004af5f0
add esp, 4
mov ebx, dword [ebp]
add ebx, eax
jmp 0x4aec45
cmp bx, 2
lea ebp, [esi + 0x24]
mov ebx, dword [ebp]
jne 0x4aec45
push esi
call fcn.004af5f0
add esp, 4
sub ebx, eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
jl 0x4aec4e
mov eax, ebx
test eax, eax
jg 0x4aec54
xor eax, eax
cmp dword [ebp], eax
je 0x4aec65
push 1
push eax
push esi
call fcn.004ae7b0
add esp, 0xc
call fcn.004af660
call fcn.004ae730
test eax, eax
jne 0x4aeafd
cmp dword [esi + 0x34], 0
je 0x4aeccc
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004af720
add esp, 8
mov edi, eax
cmp word [esi + 0x32], 1
jne 0x4aeca5
lea eax, [esp + 0x1c]
push 2
push eax
push edi
push esi
call fcn.004ae4c0
add esp, 0x10
cmp word [esi + 0x32], 2
jne 0x4aecbd
lea eax, [esp + 0x2c]
push 4
push eax
push edi
push esi
call fcn.004ae4c0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.004af770
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x4aece0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push ebx
push esi
push edi
mov esi, dword [esp + 0x2c]
push ebp
push eax
push esi
call fcn.004af490
add esp, 8
mov edi, dword [0x4f6a68]
call edi
cmp eax, dword [esi + 0x2e]
jle 0x4aee8a
cmp dword [esi + 0x2e], 0
jne 0x4aed1a
call edi
add eax, 0xc8
mov dword [esi + 0x2e], eax
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004af680
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x28]
add esp, 8
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esi + 0x3c], ecx
jns 0x4aed47
mov bx, 2
jmp 0x4aed52
mov bx, 1
test ecx, ecx
jg 0x4aed52
xor bx, bx
cmp dword [esi + 0x54], 1
mov ecx, 9
je 0x4aed67
call fcn.004bf310
mov ecx, 0xf
mov eax, dword [esi + 0x3c]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jg 0x4aed78
mov dword [esi + 0x3c], eax
jmp 0x4aed93
cmp dword [esi + 0x54], 1
jne 0x4aed87
mov dword [esi + 0x3c], 9
jmp 0x4aed93
call fcn.004bf310
mov dword [esi + 0x3c], 0xf
cmp dword [esi + 0x34], 0
je 0x4aee36
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004af720
add esp, 8
mov ebp, eax
mov ax, word [esi + 0x32]
sub ax, 2
cmp ax, 1
lea eax, [ebx - 2]
sbb ecx, ecx
neg ecx
cmp ax, 1
sbb eax, eax
neg eax
cmp ecx, eax
je 0x4aedeb
lea eax, [ebx - 2]
lea ecx, [esp + 0x14]
cmp ax, 1
mov eax, 5
adc eax, 0xffffffff
push eax
push ecx
push ebp
push esi
call fcn.004ae4c0
add esp, 0x10
mov ax, word [esi + 0x32]
dec ax
cmp ax, 1
lea eax, [ebx - 1]
sbb ecx, ecx
neg ecx
cmp ax, 1
sbb eax, eax
neg eax
cmp ecx, eax
je 0x4aee27
lea eax, [ebx - 1]
lea ecx, [esp + 0x14]
cmp ax, 1
mov eax, 3
adc eax, 0xffffffff
push eax
push ecx
push ebp
push esi
call fcn.004ae4c0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push ebp
push esi
call fcn.004af770
add esp, 0xc
mov word [esi + 0x32], bx
cmp bx, 1
jne 0x4aee53
lea ebp, [esi + 0x24]
push esi
call fcn.004af5f0
add esp, 4
mov ebx, dword [ebp]
add ebx, eax
jmp 0x4aee6a
cmp bx, 2
lea ebp, [esi + 0x24]
mov ebx, dword [ebp]
jne 0x4aee6a
push esi
call fcn.004af5f0
add esp, 4
sub ebx, eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
jl 0x4aee73
mov eax, ebx
test eax, eax
jg 0x4aee79
xor eax, eax
cmp dword [ebp], eax
je 0x4aee8a
push 1
push eax
push esi
call fcn.004ae7b0
add esp, 0xc
call fcn.004af660
call fcn.004ae730
test eax, eax
jne 0x4aecff
cmp dword [esi + 0x34], 0
je 0x4aeef1
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004af720
add esp, 8
mov edi, eax
cmp word [esi + 0x32], 1
jne 0x4aeeca
lea eax, [esp + 0x14]
push 2
push eax
push edi
push esi
call fcn.004ae4c0
add esp, 0x10
cmp word [esi + 0x32], 2
jne 0x4aeee2
lea eax, [esp + 0x14]
push 4
push eax
push edi
push esi
call fcn.004ae4c0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
push edi
push esi
call fcn.004af770
add esp, 0xc
push esi
call fcn.004aef10
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4b2160
Capabilities:
Log keystrokes via polling

Disassembly:
lea eax, [esp + 8]
mov ecx, dword [esp + 4]
sub esp, 0x100
lea edx, [esp]
push esi
push eax
push ecx
push 0x100
push edx
call fcn.00401890
lea ecx, [esp + 0x14]
add esp, 0x10
push ecx
push str.Internal_Error
call fcn.004b21f0
lea ecx, [esp + 0xc]
add esp, 8
push 0x2010
push str.Internal_Error
push ecx
push 0
call dword [0x4f6b9c]
push 0x11
mov esi, dword [0x4f6bc8]
call esi
test ax, ax
jge 0x4b21ca
push 0x12
call esi
test ax, ax
jge 0x4b21ca
call dword [0x4f699c]
push 1
push 0x4f1ff0
call fcn.004dc5a8
add esp, 8
pop esi
add esp, 0x100
ret
Function at 0x4b6f80
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10
push esi
mov si, word [esp + 0x18]
movsx eax, si
sub eax, 0x2a
cmp eax, 0x94
ja case.0x4b6f9e.54
xor ecx, ecx
mov cl, byte [eax + 0x4b714c]
jmp dword [ecx*4 + 0x4b7118]
mov eax, dword [esp + 0x1c]
push eax
push esi
call fcn.004b47d0
add esp, 8
pop esi
add esp, 0x10
ret
cmp dword [0x4edf30], 0
je 0x4b6ffc
mov eax, dword [0x4edf30]
push eax
call fcn.004c65e0
mov dword [esp + 8], eax
add esp, 4
lea eax, [esp + 4]
mov dword [esp + 8], edx
push eax
call fcn.004a2690
add esp, 4
cmp si, 0x2a
jne 0x4b6ff3
mov eax, dword [esp + 4]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 8]
pop esi
add esp, 0x10
ret
xor eax, eax
pop esi
add esp, 0x10
ret
lea eax, [esp + 4]
push eax
call dword [0x4f6bcc]
cmp dword [0x4edf30], 0
je 0x4b7031
lea eax, [esp + 4]
push eax
call fcn.004a2690
add esp, 4
push eax
mov eax, dword [0x4edf30]
push eax
call dword [0x4f6d2c]
cmp si, 0x2e
jne 0x4b7040
mov eax, dword [esp + 4]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 8]
pop esi
add esp, 0x10
ret
push 0x10
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 0x11
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 0x12
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 0x14
call dword [0x4f6bc8]
xor ecx, ecx
pop esi
mov cx, ax
add esp, 0x10
and ecx, 1
mov eax, ecx
ret
push 1
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 2
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 4
call dword [0x4f6bc8]
test ax, ax
mov eax, 1
jl 0x4b7111
pop esi
xor eax, eax
add esp, 0x10
ret
push 0
call fcn.004780b0
pop esi
add esp, 0x10
ret
push 1
call fcn.004780b0
pop esi
add esp, 0x10
ret
Function at 0x4badb0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
cmp dword [0x4f2078], 0
push esi
push edi
je 0x4badc6
xor eax, eax
pop edi
pop esi
add esp, 0x20
ret
mov dword [0x4f2070], 0
call dword [0x4f6c10]
mov dword [0x4f2080], eax
test eax, eax
jne 0x4bade4
mov eax, dword [0x4f0ba4]
push 0
mov dword [0x4f2080], eax
push 0x4bafc0
mov ecx, dword [0x4f0ba8]
push eax
mov eax, dword [esp + 0x48]
and eax, 0xffff
push eax
push ecx
call dword [0x4f6c14]
mov dword [0x4f2078], eax
test eax, eax
jne 0x4bae19
xor eax, eax
pop edi
pop esi
add esp, 0x20
ret
xor esi, esi
mov eax, dword [0x4f2080]
push esi
push eax
call dword [0x4f6c08]
mov ecx, dword [esp + 0x2c]
mov eax, dword [0x4f2078]
push ecx
push 0x65
push eax
call dword [0x4f6c6c]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
push ecx
push edi
call fcn.004bb0a0
add esp, 8
push esi
push edi
call fcn.004bb0e0
mov ecx, dword [esp + 0x40]
add esp, 8
push ecx
call fcn.004bb190
add esp, 4
test byte [0x4eaf64], 0x20
je 0x4bae92
mov dword [esp + 8], esi
push esi
mov dword [esp + 0x10], esi
mov esi, dword [0x4f6cf8]
call esi
mov dword [esp + 0x10], eax
push 1
call esi
mov esi, dword [0x4f6c2c]
mov dword [esp + 0x14], eax
jmp 0x4baea6
lea eax, [esp + 8]
mov ecx, dword [0x4f2080]
push eax
mov esi, dword [0x4f6c2c]
push ecx
call esi
lea eax, [esp + 0x18]
mov ecx, dword [0x4f2078]
push eax
push ecx
call esi
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 8]
sub eax, dword [esp + 0x20]
sub eax, dword [esp + 8]
add eax, dword [esp + 0x10]
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
push 5
sub eax, dword [esp + 0x10]
push 0
add eax, dword [esp + 0x1c]
push 0
cdq
sub eax, edx
mov edx, dword [0x4f2078]
sar eax, 1
add eax, dword [esp + 0x18]
push eax
push esi
push 0
push edx
call dword [0x4f6c94]
push 5
mov ecx, dword [0x4f2078]
push ecx
call dword [0x4f6c20]
mov ecx, dword [0x4f2078]
push ecx
call dword [0x4f6cd8]
call dword [0x4f6a68]
pop edi
mov dword [0x4f207c], eax
mov eax, 1
pop esi
add esp, 0x20
ret

Function at 0x4bb190
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x20
mov eax, dword [0x4f2078]
test eax, eax
push ebx
push esi
push edi
je 0x4bb229
push 2
push eax
call dword [0x4f6c18]
mov esi, eax
test esi, esi
je 0x4bb229
mov edi, dword [esp + 0x30]
mov eax, 0
cmp edi, 1
adc eax, 0xffffffff
and eax, 5
push eax
push esi
call dword [0x4f6c20]
test edi, edi
jne 0x4bb229
lea eax, [esp + 0xc]
mov ecx, dword [0x4f2078]
push eax
mov edi, dword [0x4f6c2c]
push ecx
call edi
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
mov edi, dword [esp + 0x14]
push 6
sub edi, dword [esp + 0x10]
mov esi, dword [0x4f6cf8]
call esi
mov ebx, eax
push 8
call esi
add ebx, eax
push 6
sub ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov edx, dword [0x4f2078]
lea ecx, [ebx + eax + 4]
push ecx
push edi
push 0
push 0
push 0
push edx
call dword [0x4f6c94]
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x4bd4c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [esp + 0x14]
push ebp
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [0x4f6a94]
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4bd527
push eax
call dword [0x4f6958]
cmp eax, esi
mov ebp, eax
je 0x4bd51c
cmp byte [ebp], 0
je 0x4bd51c
mov ebx, dword [esp + 0x1c]
push ebx
push ebp
push edi
call dword [esp + 0x2c]
add esp, 0xc
mov esi, eax
cmp esi, 1
je 0x4bd51c
push ebp
call dword [0x4f6960]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x4bd4fa
mov eax, dword [esp + 0x10]
push eax
call dword [0x4f695c]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret

Function at 0x4bd6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x2c
lea eax, [esp]
push ebx
mov bx, word [esp + 0x38]
push esi
push edi
xor esi, esi
mov edi, dword [esp + 0x3c]
push ebp
push 0x29
push eax
push ebx
push edi
call fcn.004bd640
add esp, 0x10
test eax, eax
je 0x4bd76b
push esi
push ebx
push edi
call fcn.004be540
add esp, 0xc
mov edi, eax
cmp edi, esi
je 0x4bd76b
lea eax, [esp + 0x10]
push str.DLL_HEADER
push eax
push edi
call dword [0x4f6a90]
push eax
mov ebp, dword [0x4f6a94]
push edi
call ebp
cmp eax, esi
mov edi, eax
je 0x4bd76b
push edi
call dword [0x4f6958]
cmp eax, esi
mov ebx, eax
je 0x4bd764
push ebx
call dword [0x4f6960]
lea ebp, [ebx + eax + 1]
push ebp
call dword [0x4f6960]
lea ebx, [ebp + eax + 1]
push ebx
call dword [0x4f6960]
test eax, eax
je 0x4bd764
add eax, 2
push eax
push 0x4e9128
call fcn.00479a50
add esp, 8
mov esi, eax
test esi, esi
je 0x4bd764
push esi
call dword [0x4f6aac]
mov cl, byte [ebp]
push ebx
mov byte [eax], cl
inc eax
push eax
call dword [0x4f6950]
push esi
mov ebp, dword [0x4f6aa4]
call ebp
push edi
call dword [0x4f695c]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x4be180
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x38
push esi
push edi
push 0x4f20d0
call fcn.004c42d0
add esp, 4
test eax, eax
je 0x4be288
lea eax, [esp + 0x14]
push 0x29
mov ecx, dword [esp + 0x50]
push eax
mov edx, dword [esp + 0x50]
push ecx
push edx
call fcn.004bd300
mov esi, dword [esp + 0x54]
add esp, 0x10
test eax, eax
je 0x4be28c
mov edi, dword [esi]
push str.DLL_HEADER
lea eax, [esp + 0x18]
push eax
push edi
call dword [0x4f6a90]
push eax
push edi
call dword [0x4f6a94]
mov edi, eax
test edi, edi
je 0x4be28c
push edi
call dword [0x4f6958]
test eax, eax
je 0x4be27f
cmp byte [eax], 0
je 0x4be27f
lea ecx, [esp + 8]
push ecx
push eax
call fcn.00465550
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
add esp, 8
push 0
push eax
push ecx
push 0x4f20d0
call fcn.004c4670
add esp, 0x10
test eax, eax
je 0x4be22f
mov eax, dword [esp + 0x10]
mov dword [esi], eax
jmp 0x4be26b
mov eax, dword [esp + 8]
push eax
call fcn.004be460
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x4be26b
mov eax, dword [esp + 8]
push eax
call fcn.004655e0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
add esp, 4
mov eax, dword [esi]
mov dword [esp + 0x10], eax
push ecx
push 0x4f20d0
call fcn.004c43d0
add esp, 8
cmp dword [esp + 8], 0
je 0x4be27f
mov eax, dword [esp + 8]
push eax
call fcn.00465690
add esp, 4
push edi
call dword [0x4f695c]
jmp 0x4be28c
mov esi, dword [esp + 0x44]
pop edi
cmp dword [esi], 1
sbb eax, eax
pop esi
inc eax
add esp, 0x38
ret

Function at 0x4bed50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
push edi
push 3
mov esi, dword [0x4f6af4]
call esi
test ax, ax
jge 0x4bed72
push 0x11
mov edi, 1
call esi
test ax, ax
jl 0x4bed74
xor edi, edi
test edi, edi
je 0x4bedc9
mov esi, dword [0x4f6ce0]
lea eax, [esp + 8]
push 3
push 0x108
push 0x100
push 0
push eax
call esi
test eax, eax
jne 0x4bed7e
lea eax, [esp + 8]
push 3
push 0x209
push 0x200
push 0
push eax
call esi
test eax, eax
jne 0x4bed97
lea eax, [esp + 8]
push 3
push 0xa9
push 0xa0
push 0
push eax
call esi
test eax, eax
jne 0x4bedb0
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret

Function at 0x4bf220
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push esi
push 1
call dword [0x4f6bc8]
test ah, 0x80
je 0x4bf27a
lea eax, [esp + 4]
push 2
push 0x203
mov esi, dword [0x4f6ce0]
push 0x201
push 0
push eax
call esi
test eax, eax
jne 0x4bf273
lea eax, [esp + 4]
push 2
push 0xa3
push 0xa1
push 0
push eax
call esi
test eax, eax
jne 0x4bf273
mov eax, 1
pop esi
add esp, 0x1c
ret
xor eax, eax
pop esi
add esp, 0x1c
ret
xor eax, eax
pop esi
add esp, 0x1c
ret
Function at 0x4c03c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
xor esi, esi
cmp dword [0x4eb6b0], esi
je 0x4c03d4
mov eax, dword [0x4eb6b0]
pop edi
pop esi
ret
push 0x104
mov eax, dword [0x4f0ba8]
push 1
push eax
call dword [0x4f6a90]
push eax
mov ecx, dword [0x4f0ba8]
push ecx
call dword [0x4f6a94]
mov edi, eax
test edi, edi
je 0x4c0408
push edi
call dword [0x4f6958]
mov esi, eax
test esi, esi
jne 0x4c0420
push 0x246
mov eax, dword [str._s___d]
push str.version
push eax
call fcn.004b2160
add esp, 0xc
mov eax, dword [esi]
push edi
mov dword [0x4eb6b0], eax
call dword [0x4f695c]
mov eax, dword [0x4eb6b0]
pop edi
pop esi
ret

Function at 0x4c5450
Capabilities:
Hide graphical window

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push esi
call dword [0x4f6c8c]
test eax, eax
jne 0x4c5472
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
mov edi, dword [esp + 0x1c]
cmp edi, 0x86
jne 0x4c548d
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
lea eax, [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
push eax
push ebp
push ebx
push edi
push esi
call fcn.004c5160
add esp, 0x14
test eax, eax
je 0x4c54b8
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
lea ecx, [edi - 0x18]
cmp ecx, 0xfa
ja case.0x4c54cf.29
xor eax, eax
mov al, byte [ecx + 0x4c55e8]
jmp dword [eax*4 + 0x4c55d0]
test ebx, ebx
je case.0x4c54cf.29
push str.Hidden
push esi
call dword [0x4f6ba8]
jmp case.0x4c54cf.29
push 4
push esi
call dword [0x4f6bfc]
mov edi, eax
test ebx, ebx
je 0x4c5532
test edi, edi
je 0x4c550d
push edi
call dword [0x4f6b04]
test eax, eax
jne 0x4c555a
push str.Hidden
push esi
call dword [0x4f6bac]
test eax, eax
jne 0x4c555a
push 4
push esi
call dword [0x4f6c20]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
push esi
call dword [0x4f6b0c]
test eax, eax
je 0x4c555a
push 0
push esi
call dword [0x4f6c20]
test edi, edi
je 0x4c555a
push 0
push 0
push 0x86
push edi
call dword [0x4f6cb8]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10
push esi
call fcn.004c50f0
add esp, 4
push 1
push str.Active
push esi
call dword [0x4f6ba4]
jmp case.0x4c54cf.29
push esi
call fcn.004c5110
add esp, 4
push str.Hidden
push esi
call dword [0x4f6ba8]
push str.Height
push esi
call dword [0x4f6ba8]
jmp case.0x4c54cf.29
mov eax, ebx
and eax, 0xfff0
cmp eax, 0xf060
jne case.0x4c54cf.29
push 0
push esi
call dword [0x4f6c20]
push ebp
push ebx
push edi
push esi
call dword [0x4f6cdc]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x10