joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420ae2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
dec eax
push esi
mov esi, ecx
je 0x420bac
dec eax
je 0x420b9c
sub eax, 0x578
je 0x420b59
dec eax
je 0x420b4d
sub eax, 3
je 0x420b35
sub eax, 0x252
jne 0x420ca8
push 0x7d0
push dword [esi + 4]
call dword [fcn.0040143c]
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x1c], al
jmp 0x420ca8
push dword [esi + 0x18]
call fcn.00424980
push 2
push dword [esi + 4]
call dword [fcn.004015c0]
jmp 0x420ca8
cmp dword [ebp + 0xc], 1
jne 0x420ca8
jmp 0x420b5f
cmp dword [ebp + 0xc], 5
jne 0x420b6b
mov ecx, esi
call fcn.00420961
jmp 0x420ca8
cmp dword [ebp + 0xc], 1
jne 0x420ca8
push 0
push 0
push 0x147
push dword [esi + 8]
call dword [fcn.004015c4]
test eax, eax
jl 0x420ca8
push eax
mov ecx, esi
call fcn.004205d5
jmp 0x420ca8
push 2
push dword [esi + 4]
call dword [fcn.004015c0]
jmp 0x420ca6
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x420c1b
push eax
push dword [esi + 0x10]
call dword [fcn.004012a8]
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x100]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x100], eax
mov eax, dword [esi + 0x14]
cmp dword [eax + 0x100], ebx
jle 0x420c9a
mov eax, dword [esi + 0x14]
mov eax, dword [eax + ebx*8 + 0x104]
mov ecx, dword [esi + 0x10]
mov dword [ecx + ebx*8 + 0x104], eax
mov eax, dword [esi + 0x14]
lea edi, [ebx*8 + 0x108]
push dword [eax + edi]
call fcn.0041e986
mov ecx, dword [esi + 0x10]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x14]
inc ebx
cmp ebx, dword [eax + 0x100]
jl 0x420be1
jmp 0x420c9a
mov edi, dword [fcn.004015c4]
push ebx
push ebx
push 0x147
push dword [esi + 0xc]
call edi
cmp eax, 0xffffffff
jne 0x420c36
xor ebx, ebx
jmp 0x420c45
push 0
push eax
push 0x150
push dword [esi + 0xc]
call edi
mov ebx, eax
push dword [esi + 0x10]
push 0x100
push 0xd
push 0x57a
push dword [esi + 4]
call dword [fcn.004015c8]
push eax
call edi
test ebx, ebx
jne 0x420c73
push dword [esi + 0x10]
call fcn.0040ee6f
test al, al
je 0x420c73
push 9
pop ebx
mov eax, dword [esi + 0x10]
mov dword [eax + 0x100], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 0x104], ebx
push dword [esi + 0x10]
call fcn.0041e986
mov ecx, dword [esi + 0x10]
mov dword [ecx + 0x108], eax
push 1
push dword [esi + 4]
call dword [fcn.004015c0]
pop edi
mov bl, 1
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x4214df
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [ebp + 8]
call dword [fcn.004015a0]
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 8], esi
mov byte [ebp - 1], 0
je 0x421599
call fcn.0041ec66
push eax
push esi
call dword [0x40115c]
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], eax
je 0x421534
push 0x410
push dword [ebp + 0xc]
push 0xffffffffffffffff
push dword [ebp + 0x10]
push esi
call dword [0x401448]
mov byte [ebp - 1], 1
jmp 0x421581
mov esi, dword [fcn.004015c4]
push edi
push edi
push 0xe
push dword [ebp + 8]
call esi
cmp eax, edi
jle 0x421581
push ebx
lea ebx, [eax + 1]
push ebx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
test edi, edi
pop ecx
je 0x421580
push edi
push ebx
push 0xd
push dword [ebp + 8]
call esi
push 0x410
push dword [ebp + 0xc]
push 0xffffffffffffffff
push edi
push dword [ebp - 8]
call dword [0x401448]
push edi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov byte [ebp - 1], 1
pop ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [0x40115c]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [fcn.004015ac]
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 0xc

Function at 0x421792
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4566b4]
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
mov dword [ebp - 4], eax
jne 0x421891
push edi
mov edi, 0x100
push edi
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x38]
mov byte [ebp - 0x104], 0
call dword [fcn.004013b0]
mov dword [ebp - 0x208], eax
push edi
lea eax, [ebp - 0x104]
push eax
call dword [0x401434]
cmp dword [ebp - 0x208], 0
je 0x421890
push ebx
lea ebx, [esi + 0x198]
mov cl, byte [ebx]
test cl, cl
mov dword [ebp - 0x20c], ebx
lea eax, [ebp - 0x104]
je 0x421820
mov edx, eax
sub ebx, edx
cmp cl, byte [eax]
jne 0x42181a
inc eax
mov cl, byte [ebx + eax]
test cl, cl
jne 0x42180e
mov ebx, dword [ebp - 0x20c]
cmp byte [eax], 0
jne 0x421835
lea eax, [ebp - 0x104]
push eax
push ebx
call dword [fcn.004012a8]
jmp 0x42188f
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x38]
call fcn.0041ff31
cmp eax, 0xffffffff
je 0x42188f
mov eax, dword [ebp - 0x208]
lea eax, [ebp + eax - 0x204]
push eax
push dword [esi + 0x38]
mov dword [esi + 0x44], 1
call fcn.00420279
mov eax, dword [ebp - 0x208]
inc eax
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
call dword [fcn.00401290]
push edi
push ebx
call dword [0x401434]
and dword [esi + 0x44], 0
pop ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.0044d575
leave
ret
Function at 0x4234fc
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4566b4]
push esi
mov dword [ebp - 4], eax
push 0x80
lea eax, [ebp - 0x84]
mov esi, ecx
push eax
push dword [esi + 0x3c]
call dword [fcn.004013b0]
test eax, eax
je 0x423673
push ebx
push edi
lea eax, [ebp - 0x84]
push eax
call fcn.0041f8bd
mov ebx, eax
lea eax, [ebp - 0x84]
push eax
call fcn.0041f881
push ebx
push dword [esi + 0x3c]
mov dword [ebp - 0x8c], eax
call dword [fcn.004013ac]
mov edi, dword [fcn.004015c4]
push ebx
push 0xffffffffffffffff
push 0x158
push dword [esi + 0x38]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 0x88], eax
jne 0x4235ff
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x423671
cmp dword [eax + 0xc], 0
je 0x423671
push 0
push 1
push 0x80000001
push 0x401d40
lea ecx, [ebp - 0xa8]
call fcn.0044dbd9
push 0
push 0x403c84
lea ecx, [ebp - 0xa8]
call fcn.0044dd85
test eax, eax
jne 0x4235eb
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x4235eb
push dword [ebp - 0x8c]
call fcn.0042a190
test eax, eax
je 0x4235eb
push dword [esi + 0x70]
mov ecx, esi
push ebx
push dword [esi + 0x7c]
call fcn.004218e6
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0xa8]
call fcn.0044df2e
cmp dword [ebp - 0x88], 0xffffffff
je 0x423671
mov ecx, dword [esi + 0x90]
test ecx, ecx
je 0x42360e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x88]
cmp eax, dword [esi + 0x70]
jl 0x423664
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x423664
push dword [ebp - 0x8c]
mov dword [esi + 0x90], eax
call fcn.0041fa9f
test al, al
jne 0x423664
push dword [ebp - 0x8c]
mov ecx, dword [esi + 0x7c]
call fcn.004287b3
push 0
push dword [ebp - 0x88]
mov ebx, 0x14e
push ebx
push dword [esi + 0x38]
call edi
push 0
push dword [ebp - 0x88]
push ebx
push dword [esi + 0x38]
call edi
push dword [ebp - 0x88]
mov ecx, esi
call fcn.004229d8
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0044d575
leave
ret

Function at 0x426afc
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4566b4]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x50
lea eax, [ebp - 0x54]
push eax
call fcn.0044db3e
xor ebx, ebx
cmp eax, ebx
mov byte [ebp - 5], 0
jl 0x426b8c
lea eax, [ebp - 0x54]
push eax
call fcn.0044db32
mov edx, eax
cmp edx, ebx
mov dword [ebp - 0x58], edx
jne 0x426b3d
or eax, 0xffffffff
jmp 0x426b8c
xor ecx, ecx
cmp dword [ebp + 0xc], ebx
jle 0x426b56
mov eax, dword [edx + 0xc]
cmp dword [eax], 0
je 0x426b56
inc ebx
inc ecx
add eax, 4
cmp ecx, dword [ebp + 0xc]
jl 0x426b47
push esi
lea esi, [ebx - 1]
test esi, esi
jl 0x426b89
mov eax, ebx
sub eax, esi
lea edi, [edi + eax*4 - 4]
jmp 0x426b6b
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + esi*4]
push dword [eax]
call fcn.0044db4a
push eax
push dword [edi]
call dword [fcn.004012a8]
dec esi
add edi, 4
test esi, esi
jge 0x426b68
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0044d575
leave
ret 8
Function at 0x428c16
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x4566b4]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
xor esi, esi
inc esi
push esi
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x10]
push 0x80000002
mov dword [ebp - 0x170], ecx
push eax
lea ecx, [ebp - 0x1b8]
call fcn.0044dbd9
cmp dword [ebp - 0x1b4], ebx
jne 0x428db9
lea eax, [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x16c], esi
call fcn.0044de2b
lea ecx, [ebp - 0x19c]
call fcn.0044ded6
test eax, eax
jne 0x428dae
push edi
push 0x228
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
cmp esi, ebx
pop ecx
mov dword [ebp - 0x174], esi
je 0x428d9a
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
lea eax, [esi + 0x124]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, 0x7d01
mov dword [esi + 0x1c], eax
cmp dword [ebp - 0x188], 1
jne 0x428d1a
cmp dword [ebp - 0x184], ebx
je 0x428d1a
push 0x104
push dword [ebp - 0x18c]
lea edi, [esi + 0x20]
push edi
call dword [fcn.00401290]
push 0x101
push 0x160
lea eax, [ebp - 0x164]
push eax
push ebx
push edi
call dword [0x401390]
test eax, eax
je 0x428d1d
mov eax, dword [ebp - 0x164]
mov dword [esi], eax
jmp 0x428d1d
mov byte [esi + 0x20], bl
cmp dword [esi], ebx
jne 0x428d2f
push 0x7f00
push ebx
call dword [fcn.0040157c]
mov dword [esi], eax
push 0x104
push dword [ebp - 0x190]
lea eax, [esi + 0x124]
push eax
call dword [fcn.00401290]
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x174]
push eax
call fcn.0041ddf6
cmp dword [ebp - 0x16c], ebx
je 0x428d7e
push ebx
push 0x7d00
push 0x800
push dword [ebp - 0x168]
call dword [0x401480]
mov dword [ebp - 0x16c], ebx
push esi
push dword [esi + 0x1c]
push 0x100
push dword [ebp - 0x168]
call dword [0x401480]
test eax, eax
je 0x428d9a
inc dword [ebp + 0xc]
lea ecx, [ebp - 0x19c]
call fcn.0044ded6
test eax, eax
je 0x428c90
pop edi
lea ecx, [ebp - 0x19c]
call fcn.0044deb8
lea ecx, [ebp - 0x1b8]
call fcn.0044df2e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
call fcn.0044d575
leave
ret 0x10

Function at 0x433953
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4566b4]
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
je 0x433972
mov byte [esi], 0
or dword [ebp - 0x18], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ecx + 0x10]
call dword [0x457154]
add esp, 0xc
test eax, eax
jne 0x4339c6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x10
call fcn.0044db7a
test eax, eax
jne 0x4339c6
test esi, esi
je 0x4339bd
push dword [ebp - 0x10]
push 0x404e44
push esi
call dword [fcn.00401540]
add esp, 0xc
test edi, edi
je 0x4339c6
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.0044d575
leave
ret 0xc
Function at 0x433b2c
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0xc]
call fcn.0044db56
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x433b57
push dword [esi + 0xc]
call fcn.0044db32
test eax, eax
je 0x433b57
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 8], 0xffffffff
pop esi
setne al
ret

Function at 0x433b2e
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0xc]
call fcn.0044db56
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x433b57
push dword [esi + 0xc]
call fcn.0044db32
test eax, eax
je 0x433b57
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esi + 8], eax
xor eax, eax
cmp dword [esi + 8], 0xffffffff
pop esi
setne al
ret

Function at 0x433c52
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4566b4]
or dword [ebp - 0x18], 0xffffffff
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 1
push eax
call dword [0x457154]
add esp, 0xc
test eax, eax
jne 0x433c9d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x10
call fcn.0044db7a
test eax, eax
jne 0x433c9d
mov eax, dword [ebp - 0x10]
jmp 0x433ca0
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
call fcn.0044d575
leave
ret 4
Function at 0x433e89
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
mov byte [ebx], 0
cmp byte [0x4570a4], 0
mov dword [ebp - 4], 0x8007000e
jne 0x433eb9
call fcn.00438bfb
test eax, eax
mov dword [ebp - 4], eax
jl 0x433fe7
push 0x10
mov byte [0x4570a4], 1
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
test esi, esi
pop ecx
je 0x433fe7
push edi
push dword [ebp + 8]
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [fcn.00401294]
mov dword [esi + 4], ebx
mov dword [esi], eax
call edi
mov ebx, 0x404e60
push ebx
mov dword [ebp + 0x14], eax
call edi
mov ecx, dword [ebp + 0x14]
lea eax, [ecx + eax + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
mov dword [esi + 8], eax
je 0x433fe6
push dword [ebp + 8]
push ebx
push eax
call dword [fcn.00401540]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call dword [0x457130]
add esp, 0x14
test eax, eax
mov dword [esi + 0xc], eax
je 0x433f98
mov edi, 0x80
push edi
mov ebx, 0x40204f
push ebx
push ebx
push eax
call dword [0x457104]
add esp, 0x10
test eax, eax
je 0x433f98
cmp dword [ebp + 0x18], 0x3ea
jne 0x433f98
push dword [esi + 0xc]
call dword [fcn.00457144]
mov dword [esp], 0x185
push dword [ebp + 0xc]
call dword [0x457130]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0xc], eax
je 0x433f98
push edi
push ebx
push ebx
push eax
call dword [0x457104]
add esp, 0x10
test eax, eax
je 0x433f98
push dword [esi + 0xc]
call dword [fcn.00457144]
and dword [esi + 0xc], 0
pop ecx
xor eax, eax
cmp dword [esi + 0xc], eax
je 0x433fe6
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x433d76
push eax
push eax
mov dword [ebp + 8], eax
call dword [fcn.0040129c]
mov edi, eax
test edi, edi
je 0x433fe6
push edi
call fcn.0042003f
push dword [ebp + 0x10]
call fcn.0044db56
test eax, eax
je 0x433fd8
cmp eax, 0xffffffff
je 0x433fd8
and dword [ebp - 4], 0
jmp 0x433fdf
mov dword [ebp - 4], 0x80004005
push edi
call dword [0x4012b8]
pop edi
push esi
call fcn.00433d40
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0x14
Function at 0x438c47
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
xor esi, esi
mov edi, ecx
mov dword [ebp - 8], esi
call dword [fcn.0040155c]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x438d5d
cmp dword [ebp + 0xc], 0xffffffff
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], esi
jne 0x438cc3
cmp ebx, 0xffffffff
jne 0x438cc3
push esi
push 0x40543c
push esi
push esi
mov esi, dword [0x401498]
mov dword [edi], 1
call esi
test eax, eax
je 0x438cc3
push 0
push 0x40544c
push 0
push eax
call esi
test eax, eax
je 0x438cc3
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [fcn.00401510]
test eax, eax
je 0x438cc3
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call dword [fcn.00401510]
test eax, eax
je 0x438d5c
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebp + 0xc]
jge 0x438ce3
mov dword [ebp + 0xc], esi
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 0xc]
jle 0x438cee
mov dword [ebp + 0xc], eax
cmp dword [ebp - 0x10], ebx
jge 0x438cf6
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0x18], ebx
jle 0x438cfe
mov ebx, dword [ebp - 0x18]
mov eax, dword [edi + 0x60]
mov ecx, dword [ebp + 0xc]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub ecx, eax
mov dword [edx], ecx
mov eax, ebx
sub eax, dword [edi + 0x64]
lea ecx, [edx + 4]
sub eax, dword [0x457158]
mov dword [ecx], eax
jns 0x438d37
mov eax, dword [ebp - 4]
test eax, eax
mov dword [ecx], ebx
je 0x438d37
mov dword [ecx], eax
mov ebx, dword [0x457158]
add ebx, eax
mov dword [ecx], ebx
cmp dword [edx], 0
jge 0x438d41
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
mov edi, dword [edi + 0x60]
sub esi, edi
cmp dword [edx], esi
jle 0x438d55
mov eax, dword [ebp + 0xc]
sub eax, edi
jns 0x438d53
xor eax, eax
mov dword [edx], eax
mov dword [ebp - 8], 1
pop ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0xc
Function at 0x43aa0f
Capabilities:
Modify service
Query service status
Start service
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
call fcn.00411d9f
test al, al
jne 0x43ab26
push esi
xor esi, esi
cmp dword [0x456910], 2
jne 0x43aa3c
cmp dword [0x4569c0], esi
je 0x43ab25
push esi
push 1
push 0x80000002
push 0x4027d4
lea ecx, [ebp - 0x3c]
call fcn.0044dbd9
xor eax, eax
cmp dword [ebp + 8], esi
lea ecx, [ebp - 0x3c]
setne al
push eax
push 0x4027d0
call fcn.0044dce1
push esi
push 0x4027cc
lea ecx, [ebp - 0x3c]
call fcn.0044dce1
cmp dword [0x456910], 2
jne 0x43ab1d
push edi
push 0xf003f
push 0x4027bc
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push 0x4027b4
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp dword [ebp - 4], esi
mov edi, eax
je 0x43ab1c
cmp edi, esi
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x43ab16
mov eax, dword [ebp + 8]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
neg eax
push 0xffffffffffffffff
sbb eax, eax
add eax, 3
push eax
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp + 8], esi
je 0x43aafc
cmp eax, esi
je 0x43ab13
cmp dword [ebp - 0x1c], 1
jne 0x43ab13
push esi
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
jmp 0x43ab13
cmp eax, esi
je 0x43ab13
cmp dword [ebp - 0x1c], 7
jne 0x43ab13
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push edi
call ebx
push dword [ebp - 4]
call ebx
pop ebx
pop edi
lea ecx, [ebp - 0x3c]
call fcn.0044df2e
pop esi
leave
ret 4
Function at 0x43b62e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp dword [ebp + 8], 0x25a
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
jne 0x43b747
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
cmp eax, 0xffffff6a
je 0x43b73e
cmp eax, 0xffffff94
je 0x43b710
cmp eax, 0xffffff99
je 0x43b701
cmp eax, 0xfffffffb
je 0x43b689
jbe 0x43b746
cmp eax, 0xfffffffd
jbe 0x43b6dc
cmp eax, 0xfffffffe
jne 0x43b746
lea eax, [ebp - 0x18]
push eax
call dword [fcn.0040151c]
push 1
lea eax, [ebp - 0x18]
push eax
push dword [edi + 4]
push ebx
call dword [fcn.0040150c]
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x1039
push dword [edi + 4]
call dword [fcn.004015c4]
mov eax, dword [ebp - 0x10]
or eax, 2
je 0x43b746
xor eax, eax
cmp dword [esi + 8], 0xfffffffe
mov ecx, edi
sete al
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0043b30a
mov dword [ebp - 4], eax
jmp 0x43b746
push 0x12
call dword [0x4013d0]
test ah, ah
jns 0x43b746
push ebx
push 0x9c63
push 0x111
call fcn.0041dab2
push eax
call dword [fcn.004015b8]
jmp 0x43b746
mov esi, dword [esi + 0x28]
cmp esi, ebx
je 0x43b746
push esi
call fcn.00437e23
jmp 0x43b746
cmp dword [esi + 0x10], ebx
jne 0x43b722
xor eax, eax
cmp dword [edi + 0x24], ebx
sete al
mov dword [edi + 0x24], eax
jmp 0x43b729
mov dword [edi + 0x24], 1
push 0x43b050
push edi
push 0x1030
push dword [esi]
call dword [fcn.004015c4]
jmp 0x43b746
push esi
mov ecx, edi
call fcn.0043b00b
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 8
Function at 0x43f4dd
Capabilities:
Shutdown system

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x4566b4]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x418], ebx
call fcn.0043f464
test eax, eax
je 0x43f70e
push 0x24
push 0x4e67
push esi
call fcn.0041ca81
cmp eax, 6
jne 0x43f71b
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x41c]
push eax
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
call fcn.0043f41a
test eax, eax
je 0x43f629
lea eax, [ebp - 0x108]
push eax
call fcn.004512ea
test eax, eax
je 0x43f629
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0041e9da
test eax, eax
jl 0x43f629
cmp dword [ebp - 0x418], ebx
je 0x43f629
push dword [ebp - 0x418]
call dword [fcn.0040127c]
mov ecx, dword [ebp - 0x418]
lea eax, [ecx + eax*2]
mov edx, eax
sub edx, ecx
and edx, 0xfffffffe
cmp edx, 6
jle 0x43f5ad
mov word [eax - 2], bx
mov esi, dword [0x4014b4]
push edi
push 0x80
lea eax, [ebp - 0x208]
push eax
push 0x4e6a
push dword [0x4567b8]
call esi
test eax, eax
lea edi, [ebp - 0x208]
jg 0x43f5dc
mov edi, 0x405a80
push 0x104
lea eax, [ebp - 0x410]
push eax
push 0x4e6b
push dword [0x4567b8]
call esi
test eax, eax
lea eax, [ebp - 0x410]
jg 0x43f604
mov eax, 0x405acc
push eax
push edi
push dword [ebp - 0x418]
push dword [ebp - 0x414]
call dword [ebp - 0x424]
test eax, eax
pop edi
jne 0x43f629
inc eax
mov dword [ebp - 0x420], eax
mov dword [0x4569c0], eax
push dword [ebp - 0x418]
call dword [fcn.00401360]
cmp dword [ebp - 0x420], ebx
jne 0x43f654
push 0x10
push 0x4e68
push dword [ebp - 0x414]
call fcn.0041ca81
jmp 0x43f6f8
push 0x24
push 0x4e69
push dword [ebp - 0x414]
call fcn.0041ca81
cmp eax, 6
jne 0x43f6f8
lea eax, [ebp - 0x414]
push eax
push 0x28
call dword [fcn.004011b4]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, ebx
je 0x43f69e
lea eax, [ebp - 0x430]
push eax
push 0x405b18
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
jmp 0x43f6a4
mov dword [ebp - 0x414], ebx
cmp eax, ebx
push 2
pop esi
je 0x43f6dc
push ebx
push ebx
push ebx
lea eax, [ebp - 0x434]
push eax
push ebx
push dword [ebp - 0x414]
mov dword [ebp - 0x434], 1
mov dword [ebp - 0x428], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x43f6dc
call dword [fcn.004012c0]
cmp dword [ebp - 0x414], ebx
je 0x43f6f0
push dword [ebp - 0x414]
call dword [0x4012b8]
push ebx
push esi
call dword [0x4014b0]
cmp dword [ebp - 0x41c], ebx
je 0x43f71b
push dword [ebp - 0x41c]
call dword [fcn.004012d0]
jmp 0x43f71b
push 0x40
push 0x4e66
push esi
call fcn.0041ca81
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0044d575
leave
ret 4