joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a59a6
Capabilities:
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x18]
and esi, 0xf
mov dword [edi + esi*4 + 0x20], SysStringLen
jmp 0x5a59d2
and esi, 0xf
jne 0x5a59cd
push edi
lea edx, [edi + 0x20]
mov ecx, edi
call fcn.005a5b23
and dword [edi + esi*4 + 0x20], 0
inc esi
cmp esi, 0xe
jne 0x5a59bd
mov ecx, dword [edi + 0x18]
lea edx, [edi + 0x20]
mov eax, dword [edi + 0x1c]
shld eax, ecx, 5
push ebx
shl ecx, 5
mov dword [edi + 0x5c], ecx
mov ecx, edi
mov dword [edi + 0x58], eax
call fcn.005a5b23
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.005a63bf
Function at 0x5a63bf
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
ret

Function at 0x5a65a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x44]
push esi
push edi
mov esi, ecx
push 5
mov dword [ebp - 0x88], esi
call fcn.005a5a00
lea eax, [esi + 0x60]
push 5
lea edx, [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov ecx, eax
call fcn.005a5a00
push 5
pop ecx
mov esi, ebx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x5a6642
lea esi, [ebp - 0x44]
sub esi, ebx
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
lea edx, [ebp - 0x44]
call fcn.005a5b23
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x84]
call fcn.005a5b23
push 5
mov ecx, ebx
pop edx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x5a6630
sub edi, 1
jne 0x5a6601
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055cf54
leave
ret 8

Function at 0x5a6653
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x10
xor eax, eax
mov dword [ebp - 0xbc], ebx
pop ecx
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc0], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
cmp edi, 0x40
jbe 0x5a66cb
lea ecx, [ebp - 0xb8]
call fcn.005a63bf
push edi
mov edx, esi
lea ecx, [ebp - 0xb8]
call fcn.005a63ea
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.005a5a96
xor esi, esi
mov ecx, esi
mov eax, dword [ebp + ecx - 0x18]
bswap eax
mov dword [ebp + ecx - 0x58], eax
add ecx, 4
cmp ecx, 0x14
jb 0x5a66b7
jmp 0x5a6702
xor esi, esi
mov ebx, esi
test edi, edi
je 0x5a66fc
mov esi, dword [ebp - 0xc0]
mov eax, ebx
mov edx, ebx
and eax, 3
shr edx, 2
push 3
pop ecx
sub ecx, eax
movzx eax, byte [esi + ebx]
shl ecx, 3
shl eax, cl
or dword [ebp + edx*4 - 0x58], eax
inc ebx
cmp ebx, edi
jb 0x5a66d9
xor esi, esi
mov ebx, dword [ebp - 0xbc]
mov eax, esi
movups xmm0, xmmword [ebp + eax*4 - 0x58]
pxor xmm0, xmmword [str.6666666666666666jjjjjjjjjjjjjjjj_]
movups xmmword [ebp + eax*4 - 0x58], xmm0
add eax, 4
cmp eax, 0x10
jb 0x5a6704
mov ecx, ebx
call fcn.005a63bf
push 0x10
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.005a5a4e
movups xmm0, xmmword [ebp + esi*4 - 0x58]
pxor xmm0, xmmword [0x62b5a0]
movups xmmword [ebp + esi*4 - 0x58], xmm0
add esi, 4
cmp esi, 0x10
jb 0x5a6731
lea ecx, [ebx + 0x60]
call fcn.005a63bf
push 0x10
lea edx, [ebp - 0x58]
lea ecx, [ebx + 0x60]
call fcn.005a5a4e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055cf54
leave
ret 8
Function at 0x5a6771
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov eax, ebx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x48], ecx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0x40
jae 0x5a682c
mov byte [ebp + eax - 0x44], bl
inc eax
cmp eax, 0x40
jb 0x5a679c
cmp edi, 0x40
jbe 0x5a67c9
mov ecx, esi
call fcn.005a63bf
mov edx, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.005a63ea
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.005a5a96
jmp 0x5a67db
test edi, edi
je 0x5a67db
push edi
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.005c7c40
add esp, 0xc
mov eax, ebx
xor byte [ebp + eax - 0x44], 0x36
inc eax
cmp eax, 0x40
jb 0x5a67dd
mov ecx, esi
call fcn.005a63bf
push 0x40
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.005a63ea
xor byte [ebp + ebx - 0x44], 0x6a
inc ebx
cmp ebx, 0x40
jb 0x5a67fb
lea ecx, [esi + 0x60]
call fcn.005a63bf
push 0x40
lea edx, [ebp - 0x44]
lea ecx, [esi + 0x60]
call fcn.005a63ea
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055cf54
leave
ret 8
call fcn.0055dabb
int3
Function at 0x5a79ea
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, dword [esi + 0x18]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x1c]
mov dword [edi + 0xc], eax
mov al, byte [esi + 2]
mov word [edi], cx
mov byte [ebp + 0xf], al
cmp byte [esi + 1], cl
je 0x5a7a87
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x24]
call fcn.00571910
lea eax, [esi + 0x2c]
lea ecx, [edi + 0x60]
cmp eax, ecx
je 0x5a7a34
push dword [eax + 4]
push dword [eax]
call fcn.0056d37f
movzx eax, byte [esi + 4]
mov ecx, edi
push eax
push 0x800
call fcn.005a7b41
mov eax, dword [esi + 0x10]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [edi + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [edi + 0x84], eax
mov al, byte [esi + 3]
mov byte [edi + 0x88], al
mov al, byte [ebp + 0xf]
xor edx, edx
mov dword [edi + 0x40], 0x3f
mov byte [edi + 5], dl
test al, al
jne 0x5a7aa0
mov byte [ebp - 4], 1
cmp byte [ebx + 0x6c], dl
jne 0x5a7aa3
mov byte [ebp - 4], dl
push dword [ebp - 4]
mov ecx, edi
push 1
call fcn.005a7b41
push dword [ebp + 8]
mov ecx, edi
push 8
call fcn.005a7b41
cmp byte [ebp + 0xf], 0
je 0x5a7ada
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x1c], eax
lea ecx, [edi + 0x30]
call fcn.0056d1ee
lea ecx, [edi + 0x50]
mov byte [edi + 0x3e], 0
call fcn.0056d1ee
xor ecx, ecx
mov byte [edi + 0x5e], cl
cmp byte [ebp + 0xf], cl
je 0x5a7b13
xor eax, eax
mov byte [edi + 4], 0x14
mov word [edi + 2], ax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x1c], ecx
jmp 0x5a7b3a
cmp byte [ebx + 0x6c], cl
je 0x5a7b3a
cmp byte [ebx + 0x58], cl
je 0x5a7b3a
cmp dword [ebx + 0x64], ecx
jne 0x5a7b27
push 8
pop eax
jmp 0x5a7b2c
mov eax, dword [ebx + 0x60]
mov al, byte [eax]
mov dl, byte [ebx + 0x59]
mov ecx, edi
movzx eax, al
push eax
call fcn.005a734f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x5a99c8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 4
mov eax, 0x5f9c9c
call fcn.0055d785
mov dword [ebp - 0x10], edx
mov edi, ecx
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x5a99f8
mov eax, dword [ecx]
push 3
push dword [esi + 8]
push 1
push ecx
call dword [eax + 0x10]
test eax, eax
jne 0x5a9b65
cmp byte [esi + 1], 0
je 0x5a9aae
mov ebx, dword [ebp + 0x10]
mov al, byte [ebx]
shr al, 3
test al, 1
je 0x5a9a18
mov eax, 0x80004001
jmp 0x5a9b65
lea eax, [esi + 0x2c]
lea ecx, [ebx + 0x60]
cmp eax, ecx
je 0x5a9a2c
push dword [eax + 4]
push dword [eax]
call fcn.0056d37f
lea eax, [esi + 0x20]
push eax
lea ecx, [ebx + 0x24]
call fcn.00571910
mov al, byte [esi + 4]
mov ecx, ebx
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
push 0x800
call fcn.005a7b41
mov eax, dword [esi + 0x14]
lea ecx, [ebx + 0x50]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x74], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x78], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x7c], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x80], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x84], eax
mov al, byte [esi + 3]
mov byte [ebx + 0x88], al
call fcn.005a795a
lea ecx, [ebx + 0x30]
call fcn.005a795a
push 0
push ebx
mov ecx, edi
call fcn.005b05de
mov ecx, ebx
call fcn.005a7506
mov ebx, eax
mov dword [ebp + 0x10], edx
jmp 0x5a9ad5
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x3c]
mov dword [eax + 0x48], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 0x4c], edx
call fcn.005a7506
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, edx
add ebx, dword [ecx + 0x70]
adc eax, 0
mov dword [ebp + 0x10], eax
and dword [ebp + 0x18], 0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x18]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 1]
push eax
push dword [ebp + 8]
call fcn.0056dcfc
mov esi, eax
mov eax, dword [ebp + 0x18]
test esi, esi
jne 0x5a9b52
test eax, eax
jne 0x5a9b05
mov esi, 0x80004001
jmp 0x5a9b52
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
add dword [eax], ebx
adc dword [eax + 4], esi
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 3
push eax
mov ecx, edi
call fcn.005aff42
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push ebx
call fcn.00571192
add dword [edi + 0x38], ebx
mov esi, eax
mov eax, dword [ebp + 0x10]
adc dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 4
test eax, eax
je 0x5a9b4f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], 5
test eax, eax
je 0x5a9b63
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.0055d74e
ret 0x18
Function at 0x5b0fe4
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.005b16d6
cmp eax, 0xffffffff
je 0x5b1008
test al, 0x10
jne 0x5b1008
test al, 1
je 0x5b1008
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x5b1017
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x5b1017
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x5b101b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6807dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.00571a1e
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.0055cf54
leave
ret

Function at 0x5b16d6
Capabilities:
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
ret

Function at 0x5b3349
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5e3eba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005e3d37

Function at 0x5ec2f1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ebf93
Function at 0x5f2f80
Capabilities:
Resolve dns

Disassembly:
mov eax, 0x18
call fcn.0055dba0
mov eax, dword [0x6807dc]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esp + 0x24]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov dword [esp + 0x10], 1
mov edi, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ecx
xor esi, esi
nop
movsx edx, byte [edi]
lea edi, [edi + 1]
lea eax, [edx - 0x30]
cmp eax, 9
ja 0x5f3047
mov eax, dword [esp + ecx*4 + 0x14]
mov esi, 1
lea eax, [eax + eax*4]
lea eax, [eax - 0x18]
lea eax, [edx + eax*2]
mov dword [esp + ecx*4 + 0x14], eax
cmp eax, 0xff
jbe 0x5f2fc0
xor esi, esi
call fcn.005f3450
cmp eax, 1
jne 0x5f313c
test esi, esi
jne 0x5f3151
push 0xa1
push str..crypto_bio_b_sock.c
push 0x16
push 9
call fcn.004a83c0
add esp, 0x10
push ebp
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x5f30b8
push 0xa7
push str..crypto_bio_b_sock.c
push 0x66
push 0x6a
push 0x20
call fcn.0049edd0
add esp, 0x14
jmp 0x5f310f
cmp edx, 0x2e
jne 0x5f3078
test esi, esi
je 0x5f305b
cmp ecx, 3
je 0x5f2feb
inc ecx
jmp 0x5f2fbd
push 0x88
push str..crypto_bio_b_sock.c
push 0x6c
push 0x6a
push 0x20
call fcn.0049edd0
add esp, 0x14
jmp 0x5f312c
test edx, edx
jne 0x5f2feb
cmp ecx, 3
jne 0x5f2feb
test esi, esi
je 0x5f2feb
movzx eax, byte [esp + 0x14]
lea esi, [edx + 1]
mov byte [ebx], al
movzx eax, byte [esp + 0x18]
mov byte [ebx + 1], al
movzx eax, byte [esp + 0x1c]
mov byte [ebx + 2], al
movzx eax, byte [esp + 0x20]
mov byte [ebx + 3], al
jmp 0x5f2fed
cmp word [ecx + 8], 2
je 0x5f30d9
push 0xae
push str..crypto_bio_b_sock.c
push 0x6b
push 0x6a
push 0x20
call fcn.0049edd0
add esp, 0x14
jmp 0x5f310f
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
movzx eax, byte [eax]
mov byte [ebx], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 1]
mov byte [ebx + 1], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 2]
mov byte [ebx + 2], al
mov eax, dword [ecx + 0xc]
mov eax, dword [eax]
movzx eax, byte [eax + 3]
mov byte [ebx + 3], al
push 0xb7
push str..crypto_bio_b_sock.c
push 0x16
push 0xa
call fcn.004a83c0
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x5f3151
push ebp
push str.host
push 2
call fcn.0049e2d0
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0055cf54
add esp, 0x18
ret
mov ecx, dword [esp + 0x24]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055cf54
add esp, 0x18
ret

Function at 0x5f34d0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [esp + 8]
push esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
test esi, esi
jns 0x5f3510
push 0x248
push str..crypto_bio_b_sock.c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push 5
push 2
call fcn.0049edd0
add esp, 0x14
xor eax, eax
test esi, esi
pop esi
sete al
ret
Function at 0x10013fb4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10069acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
push dword [ebp + 0x1c]
call fcn.100163fc
mov esi, eax
lea eax, [esp + 0x38]
pop ecx
push eax
mov ecx, esi
call fcn.100150f8
and dword [esp + 0x74], 0
cmp dword [esp + 0x44], 0
jne 0x10013fff
mov byte [esp + 0xe], 0
jmp 0x1001400a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov byte [esp + 0xe], al
push dword [ebp + 0x1c]
call fcn.10015e76
pop ecx
lea ecx, [esp + 0x4c]
push ecx
mov edx, dword [eax]
mov ecx, eax
push 0x1000b31a
push 0x1000b300
call dword [edx + 0x1c]
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov edi, dword [ebp + 0xc]
mov ebx, edi
call fcn.10016a4e
test al, al
jne 0x1001407c
cmp byte [esi + 4], al
jne 0x1001404b
mov ecx, esi
call fcn.10015bf6
mov al, byte [esi + 5]
cmp al, byte [esp + 0x63]
jne 0x10014059
mov byte [edi], 0x2b
jmp 0x10014072
cmp byte [esi + 4], 0
jne 0x10014066
mov ecx, esi
call fcn.10015bf6
mov al, byte [esi + 5]
cmp al, byte [esp + 0x62]
jne 0x1001407c
mov byte [edi], 0x2d
mov ecx, esi
lea ebx, [edi + 1]
call fcn.10015bd4
mov eax, dword [ebp + 0x18]
and eax, 0xe00
push 0xa
mov edi, eax
neg edi
pop ecx
sbb edi, edi
mov dword [esp + 0x18], ecx
and edi, ecx
cmp eax, 0x800
push 0x10
pop ecx
cmove edi, ecx
cmp eax, 0x400
push 8
pop ecx
push dword [ebp + 0x14]
cmove edi, ecx
xor al, al
mov ecx, esi
mov dword [esp + 0x18], edi
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x13], al
call fcn.10016a4e
test al, al
jne 0x10014161
cmp byte [esi + 4], al
jne 0x100140d9
mov ecx, esi
call fcn.10015bf6
mov al, byte [esi + 5]
cmp al, byte [esp + 0x4c]
jne 0x10014161
mov al, 1
mov ecx, esi
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
call fcn.10015bd4
push dword [ebp + 0x14]
mov ecx, esi
call fcn.10016a4e
test al, al
jne 0x10014152
cmp byte [esi + 4], al
jne 0x1001410d
mov ecx, esi
call fcn.10015bf6
mov al, byte [esi + 5]
cmp al, byte [esp + 0x65]
je 0x1001412c
cmp byte [esi + 4], 0
jne 0x10014123
mov ecx, esi
call fcn.10015bf6
mov al, byte [esi + 5]
cmp al, byte [esp + 0x64]
jne 0x10014152
test edi, edi
je 0x10014135
cmp edi, 0x10
jne 0x10014152
push 0x10
xor al, al
mov ecx, esi
pop edi
mov dword [esp + 0x14], edi
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
call fcn.10015bd4
push 8
pop ecx
jmp 0x1001416d
push 8
pop ecx
test edi, edi
jne 0x10014168
mov edi, ecx
mov dword [esp + 0x14], edi
jmp 0x10014164
push 8
pop ecx
test edi, edi
je 0x10014179
invalid
cmp edi, 0xa
je 0x10014179
Function at 0x1002f080
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002f131
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002f107
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002f0e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffffc
jge 0x1002f105
mov dword [ebp - 0x1c], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x1002f103
jmp 0x1002f0d7
jmp 0x1002f0d7
jmp 0x1002f12f
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1002f12f
push 0x29d
push 0
push 0x8da
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1002f149
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0x6942
push 0
call fcn.10034d39
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10031fe8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a330
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003208f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003203f
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1003203d
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x1003208a
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003206d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1003208a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.10011cc6
mov dword [eax], 0x46df37d4
jmp 0x10032062
jmp 0x100321b8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0x24c2
cmp dword [ebp - 0x48], 0x132c
jge 0x100321a6
lea ecx, [ebp - 0x58]
call fcn.10022937
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x1065b310
call fcn.10011831
mov ecx, eax
call fcn.10011831
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x28]
add ecx, dword [eax + 4]
call fcn.1001783a
movzx eax, al
test eax, eax
je 0x1003219a
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x58]
call fcn.10048649
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x58]
call fcn.100485f0
and dword [ebp - 0x1c], 0
jmp 0x10032110
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jge 0x10032130
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
call fcn.10011cc6
push eax
mov ecx, 0x1065b310
call fcn.10011831
jmp 0x10032109
and dword [ebp - 0x18], 0
jmp 0x1003213d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x58]
call fcn.10017209
cmp dword [ebp - 0x18], eax
jae 0x1003217c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.10011cc6
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jl 0x10032178
push dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
call fcn.10011cc6
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1003217a
jmp 0x1003217c
jmp 0x10032136
push fcn.10016103
push dword [ebp - 0x24]
mov ecx, 0x1065b258
call fcn.10011a2c
mov ecx, eax
call fcn.10011a20
jmp 0x100320b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10011cc1
push dword [ebp - 0x4c]
push 0
push 0x74f2
call fcn.1002906b
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100321e5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003224b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1003222b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10032229
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x10032249
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10032249
push 0xc3b
push 0x767
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x1003226c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
push 0
push 0x272b
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.1003567c
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10035ccf
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x10035d18
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10035d0c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x10035d16
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x10035d39
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0x14]
push 0x686a
push dword [ebp - 0x18]
call fcn.10034c48
add esp, 0x10
mov esp, ebp
pop ebp
ret