joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c7370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x100c74df
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.10032490
push 0x5c
push edi
call fcn.100ca7c6
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100c743d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100c73f0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100c74d5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100c7451
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100c7454
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100c74d5
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.10032490
push 0x5c
push edi
call fcn.100ca7c6
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100c74e6
cmp esi, eax
jne 0x100c74a5
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100c7460
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000113d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, eax
xor ebx, ebx
push ebx
push dword [edi + 0x12]
push dword [edi + 0xe]
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10001188
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp + 8]
or dword [edi + 0xa], 0xffffffff
push 2
mov dword [edi + 0x12], ebx
call fcn.10001040
pop ecx
xor ecx, ecx
test eax, eax
setns cl
lea eax, [ecx - 1]
jmp 0x100011dd
sub dword [edi + 0x12], eax
mov ecx, dword [edi + 0x12]
push esi
mov esi, dword [edi + 0xe]
lea edx, [esi + eax]
mov eax, esi
call fcn.10010b24
mov al, byte [edi + 0x20]
test al, 0x20
je 0x100011c5
mov ecx, dword [edi + 0x16]
shr ecx, 2
cmp dword [edi + 0x12], ecx
ja 0x100011c5
mov esi, dword [ebp + 8]
push ebx
push ebx
push dword [edi + 6]
and al, 0xdf
push 7
mov byte [edi + 0x20], al
call fcn.10001286
add esp, 0x10
test byte [edi + 0x20], 4
pop esi
je 0x100011db
cmp dword [edi + 0x12], ebx
jne 0x100011db
mov eax, dword [ebp + 8]
push ebx
call fcn.10001040
pop ecx
xor eax, eax
pop edi
pop ebx
pop ebp
ret

Function at 0x100011e1
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, eax
mov eax, dword [0x1002bbac]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [edi + 6], ebx
jne 0x100011fd
or eax, 0xffffffff
jmp 0x10001262
push esi
cmp dword [ebp + 8], ebx
je 0x1000124a
push ebx
push 0x1000
lea esi, [edi + 0x2b]
push esi
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
je 0x1000126a
cmp eax, 0xffffffff
jne 0x10001266
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x10001233
cmp eax, 0x2733
jne 0x1000126a
xor eax, eax
add dword [edi + 0x21], eax
push eax
push esi
push dword [edi + 6]
mov esi, dword [ebp - 4]
push 4
call fcn.10001286
add esp, 0x10
cmp dword [ebp + 0xc], ebx
je 0x1000125f
cmp dword [edi + 0x12], ebx
jbe 0x1000125f
push dword [ebp - 4]
mov eax, edi
call fcn.1000113d
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret
cmp eax, ebx
jge 0x10001235
push dword [edi + 0xa]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 4]
or dword [edi + 0xa], 0xffffffff
push 2
mov dword [edi + 0x12], ebx
call fcn.10001040
jmp 0x1000125e
Function at 0x10001345
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0x1002bbac]
push ebx
push esi
lea esi, [ecx + 0x2464]
mov edx, dword [esi]
push edi
xor eax, eax
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, 0x20000
cmp edx, 0x1fff6
ja 0x100013bd
mov edi, ebx
sub edi, edx
mov eax, 0x100a
cmp edi, eax
ja 0x1000137d
mov eax, edi
push 0
push eax
mov eax, dword [ecx + 0x2460]
add eax, edx
push eax
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jne 0x1000139e
or eax, 0xffffffff
jmp 0x1000141e
cmp eax, 0xffffffff
jne 0x100013bb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x100013b7
cmp eax, 0x2733
jne 0x10001396
xor eax, eax
jmp 0x1000141e
mov edi, eax
mov ecx, dword [esi]
lea edx, [ecx + edi]
cmp edx, ebx
jbe 0x100013ce
mov dword [esi], 4
jmp 0x100013d2
add ecx, eax
mov dword [esi], ecx
mov ecx, dword [esi]
mov ebx, dword [ebp - 4]
mov edi, dword [ebx + 0x2460]
cmp ecx, 0xa
jb 0x1000141b
mov eax, dword [edi + 6]
test eax, eax
je 0x10001423
cmp eax, 0x100a
ja 0x10001427
cmp ecx, eax
jb 0x1000141b
push ebx
call fcn.1000194b
pop ecx
test eax, eax
js 0x1000142c
mov eax, dword [edi + 6]
sub dword [esi], eax
mov eax, dword [ebx + 0x2460]
mov edx, dword [edi + 6]
mov ecx, dword [esi]
add edx, eax
call fcn.10010b24
cmp dword [esi], 0
ja 0x100013d2
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
push 0xfffffffffffffff9
jmp 0x10001429
push 0xfffffffffffffff8
pop eax
jmp 0x1000141e
push 0xfffffffffffffffd
jmp 0x10001429

Function at 0x100023c9
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x1002ccb4], 0
je 0x10002419
mov eax, dword [0x1002bba8]
test eax, eax
je 0x10002419
push eax
mov dword [0x1002ccb0], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x1002ccb4]
push 0x4e20
push dword [eax]
call dword [0x1002cef0]
test eax, eax
je 0x10002419
mov eax, dword [0x1002ccb4]
push 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x1002ccb4]
and dword [eax], 0
ret
Function at 0x100027af
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0xa]
mov dword [ebp - 4], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
lea eax, [ebp - 0x7c]
push 4
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x80], 0x1000005
call fcn.10010b02
lea eax, [ebp - 0x78]
push 2
push eax
lea eax, [ebp - 0x12]
call fcn.10010b02
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [edi + 6]
push 4
call fcn.10001286
add esp, 0x20
mov byte [edi + 0x20], 2
xor eax, eax
leave
ret

Function at 0x10002cae
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea esi, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffe1
call fcn.10010d22
lea esi, [ebp - 0x10]
call fcn.10010d22
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, esi
push 1
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 8]
call fcn.10006d27
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10002d02
push 0xffffffffffffffe0
pop eax
jmp 0x10002d7a
push 0x3e8
push dword [edi]
call dword [0x1002cef0]
test eax, eax
je 0x10002d3d
cmp eax, 0xffffffff
je 0x10002d56
lea esi, [ebp - 0x18]
call fcn.10010d22
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add ecx, 0xf0
adc eax, 0
cmp dword [ebp - 0x14], eax
jg 0x10002d5d
jl 0x10002d02
cmp dword [ebp - 0x18], ecx
jae 0x10002d5d
jmp 0x10002d02
lea eax, [ebp - 4]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x10002d5d
mov dword [ebp - 4], 0xffffffdf
jmp 0x10002d5d
mov dword [ebp - 4], 0xffffffde
cmp dword [ebp - 4], 0xffffffe1
jne 0x10002d6d
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 1
mov eax, edi
call fcn.10006c82
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
leave
ret
Function at 0x10002f68
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
xor ebx, ebx
jmp 0x10002fc6
lea esi, [esp + 0x10]
call fcn.10010d22
mov ecx, dword [0x1002bbe0]
mov eax, dword [0x1002bbe4]
add ecx, 0x3840
adc eax, ebx
cmp eax, dword [esp + 0x14]
jg 0x100030af
jl 0x10002faa
cmp ecx, dword [esp + 0x10]
jae 0x100030af
push ebx
push dword [0x1002bbd4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x10002fd8
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x1002bbbc]
call fcn.10012d69
pop ecx
pop ecx
test eax, eax
js 0x10002f78
mov esi, 0x1002bbe0
call fcn.10010d22
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push 0x1002bbd4
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor eax, eax
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002bbe8]
push 0x31
mov dword [esp + 0x1c], eax
call fcn.1001169a
pop ecx
test eax, eax
jne 0x1000302c
call fcn.10013804
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push 0x10002a44
push eax
call fcn.10002d7e
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
jl 0x10003077
push dword [0x1002bc70]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x27
call fcn.10011683
push 0x1002cfa4
push ebx
call fcn.10011897
add esp, 0x10
cmp dword [0x1002ccec], ebx
je 0x10003077
mov dword [0x1002cce0], 1
cmp dword [esp + 0x1c], ebx
je 0x10003088
lea eax, [esp + 0x1c]
push eax
call fcn.100138d6
pop ecx
push dword [0x1002bbd4]
call dword [0x1002cdb8]
push dword [0x1002bbbc]
mov dword [0x1002bbd4], ebx
call fcn.10012d8d
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x100030a8
Function at 0x100030b3
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
jmp 0x10003103
lea esi, [ebp - 0xc]
call fcn.10010d22
mov ecx, dword [0x1002bbc8]
mov eax, dword [0x1002bbcc]
add ecx, 0xe10
adc eax, ebx
cmp eax, dword [ebp - 8]
jg 0x10003140
jl 0x100030e7
cmp ecx, dword [ebp - 0xc]
jae 0x10003140
push ebx
push dword [0x1002bbd0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x10003115
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x1002bbb8]
call fcn.10012d69
pop ecx
pop ecx
test eax, eax
js 0x100030c0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x1002bbe8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.1001373d
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x10003148
or edi, 0xffffffff
jmp 0x100031ac
push 0xfffffffffffffffe
pop eax
jmp 0x100031d6
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push 0x1002bbd0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov esi, 0x1002bbc8
call fcn.10010d22
lea eax, [ebp - 0x1c]
push 0x1000298c
push eax
call fcn.10002d7e
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
jl 0x100031ac
push dword [0x1002bc70]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x27
call fcn.10011683
push 0x1002cfa4
push ebx
call fcn.10011897
add esp, 0x10
push dword [0x1002bbd0]
call dword [0x1002cdb8]
push dword [0x1002bbb8]
mov dword [0x1002bbd0], ebx
call fcn.10012d8d
pop ecx
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.10010a5b
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100040c9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 0x32
mov dword [ebp - 0x10], ebx
call fcn.1001169a
pop ecx
test eax, eax
je 0x100040ea
xor eax, eax
jmp 0x100041b1
mov edi, 0x4af
call fcn.10012b29
mov edi, 0x19f8
mov dword [ebp - 8], eax
call fcn.10012b29
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], ebx
je 0x100041ae
cmp eax, ebx
je 0x100041ae
lea eax, [ebp - 4]
push eax
push 2
push ebx
push dword [ebp - 8]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000414c
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [0x1002ce30]
lea eax, [ebp - 8]
call fcn.10012c69
lea eax, [ebp - 0xc]
call fcn.10012c69
push 0x10020bf0
push 0x32
call fcn.10011683
push 0x1002cfa4
push ebx
call fcn.10011897
add esp, 0x10
mov eax, 0x228f
call fcn.10012bb6
mov esi, eax
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x100041ae
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x100041a6
call fcn.10012da2
push esi
push 0x10005f1c
call fcn.100158b1
pop ecx
pop ecx
lea eax, [ebp - 0xc]
call fcn.10012c54
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005158
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push edi
push 0x1002cfa4
push str..pipe_ssp
lea eax, [ebp - 0x10c]
push 0x100
push eax
call fcn.10010b7c
mov edi, 0x80000
push edi
call fcn.10010a45
xor ebx, ebx
add esp, 0x14
mov dword [0x1002bbfc], eax
cmp eax, ebx
jne 0x1000519c
push 0xfffffffffffffff5
pop eax
jmp 0x10005209
push esi
lea esi, [ebp - 0xc]
call fcn.10016fa2
pop esi
test eax, eax
jns 0x100051ad
mov dword [ebp - 0xc], ebx
xor eax, eax
cmp eax, dword [ebp - 0xc]
lea ecx, [ebp - 0xc]
sbb eax, eax
and eax, ecx
push eax
push ebx
push edi
push edi
push 0xff
push 6
push 0x80003
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov dword [0x1002ede0], eax
cmp eax, 0xffffffff
jne 0x100051ea
mov dword [0x1002ede0], ebx
push 0xfffffffffffffffe
jmp 0x10005199
call fcn.10016dc4
push ebx
push ebx
push ebx
push 0x1000520d
call fcn.10006d27
add esp, 0x10
neg eax
sbb eax, eax
and eax, 4
add eax, 0xfffffffd
pop edi
pop ebx
leave
ret
Function at 0x10005609
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0xc]
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
call fcn.10015f97
pop ecx
pop ecx
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x10005647
mov dword [esp + 0xc], 0xfffffffe
jmp 0x100057fd
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], esi
call fcn.100111b9
pop ecx
mov dword [esp + 0x14], eax
cmp eax, esi
jne 0x1000566c
or dword [esp + 0xc], 0xffffffff
jmp 0x100057fd
mov ebx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
jbe 0x1000574d
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push dword [eax + esi*4]
call fcn.10015a85
pop ecx
pop ecx
test eax, eax
jne 0x1000572c
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
push eax
push dword [esp + 0x28]
mov dword [0x1002bc00], ecx
mov ecx, dword [ebp + 0x10]
push dword [esp + 0x30]
mov dword [0x1002bc0c], eax
mov dword [0x1002bc04], ecx
call fcn.10015a35
add esp, 0xc
mov dword [0x1002bc08], eax
test eax, eax
jne 0x100056e4
push dword [esp + 0x2c]
call edi
push dword [esp + 0x28]
call edi
mov dword [esp + 0xc], 0xfffffffe
jmp 0x1000572c
push dword [0x1002d30c]
lea eax, [esp + 0x2c]
call fcn.10011281
pop ecx
push dword [esp + 0x2c]
test eax, eax
jne 0x1000570e
call edi
push dword [esp + 0x28]
call edi
mov dword [esp + 0xc], 0xfffffffd
jmp 0x1000572c
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x10005737
push dword [esp + 0x2c]
call edi
push dword [esp + 0x28]
call edi
mov dword [esp + 0xc], 0xfffffffc
inc esi
cmp esi, ebx
jb 0x1000567e
jmp 0x1000574d
push dword [esp + 0x28]
call fcn.1000556b
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
test ebx, ebx
je 0x10005767
mov esi, dword [esp + 0x14]
push 0xfffffffffffffffe
pop eax
call fcn.10010a5b
add esi, 4
dec ebx
jne 0x10005755
mov ebx, dword [esp + 0x10]
mov eax, ebx
shl eax, 2
lea esi, [esp + 0x14]
call fcn.10010a5b
cmp dword [esp + 0x1c], 0
jne 0x10005786
mov dword [esp + 0xc], 0xfffffffb
jmp 0x100057fd
test byte [ebp + 0x10], 1
jne 0x100057f7
push dword [ebp + 8]
call fcn.100054a6
pop ecx
test eax, eax
jns 0x100057bf
mov eax, dword [0x1002edd8]
shl eax, 4
lea ebx, [eax + 0x10]
push eax
mov eax, 0x1002eddc
call fcn.10010ac5
pop ecx
test eax, eax
je 0x100057fd
mov eax, dword [0x1002edd8]
inc dword [0x1002edd8]
mov ecx, dword [0x1002eddc]
mov edx, dword [ebp + 8]
add eax, eax
mov dword [ecx + eax*8], edx
mov ecx, dword [0x1002eddc]
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*8 + 4], 1
mov ecx, dword [0x1002eddc]
mov dword [ecx + eax*8 + 0xc], edx
mov ecx, dword [esp + 0x28]
mov edx, dword [0x1002eddc]
mov dword [edx + eax*8 + 8], ecx
push dword [esp + 0x2c]
call edi
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x24]
call fcn.10010a5b
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10005877
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, eax
mov eax, dword [0x1002eddc]
add esi, esi
push dword [eax + esi*8]
lea eax, [ebp - 0x20]
push str.p_08x
push 0x20
push eax
call fcn.10010b7c
lea eax, [ebp - 0x20]
push eax
call fcn.100170a7
add esp, 0x14
test eax, eax
je 0x100058e2
mov eax, dword [0x1002eddc]
push 0x2710
push dword [eax + esi*8 + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100058d8
cmp eax, 0x102
mov eax, dword [0x1002eddc]
push 1
push dword [eax + esi*8 + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [0x1002eddc]
and dword [eax + esi*8 + 4], 0
xor eax, eax
pop esi
leave
ret

Function at 0x10006480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
jne 0x100064e6
xor esi, esi
push esi
push 0x80000
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push 3
mov dword [0x1002ca94], eax
call fcn.10012aa6
pop ecx
test eax, eax
jns 0x100064ae
xor eax, eax
jmp 0x100064e9
cmp dword [ebp + 0x10], esi
je 0x100064e6
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.10017410
pop ecx
pop ecx
test eax, eax
je 0x100064aa
call fcn.10011382
call fcn.1001425f
lea eax, [ebp + 0x10]
push eax
push esi
push esi
push 0x10006050
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1002cef8], eax
xor eax, eax
inc eax
pop esi
pop ebp
ret 0xc
Function at 0x100069c2
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
lea eax, [ebp - 0x21c]
xor edi, edi
push 0xfe
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.10010b7c
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push edi
lea eax, [ebp - 0x21c]
push eax
push reloc.WS2_32.dll_bind
call dword [0x1002ce7c]
test eax, eax
je 0x10006a15
or eax, 0xffffffff
jmp 0x10006bb4
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10006a3b
push 0xfffffffffffffffe
pop eax
jmp 0x10006bb4
cmp dword [ebp - 8], edi
je 0x10006ba8
push ebx
push esi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x31c]
push eax
mov eax, dword [ebp - 8]
dec eax
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10006b9d
push edi
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0x100
lea eax, [ebp - 0x11c]
push eax
push 0x10020dec
call fcn.10013137
lea eax, [ebp - 0x11c]
push str.Publisher
push eax
call fcn.100160e1
mov dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push str.DisplayName
push eax
call fcn.100160e1
add esp, 0x28
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 4], edi
je 0x10006b19
cmp ebx, edi
je 0x10006b19
mov eax, dword [ebp - 4]
mov esi, str.Microsoft
call fcn.10010c4a
test eax, eax
je 0x10006b19
push str.Update
push ebx
call fcn.10012eee
pop ecx
pop ecx
test eax, eax
jne 0x10006b00
push str.Hotfix
push ebx
call fcn.10012eee
pop ecx
pop ecx
test eax, eax
je 0x10006b19
xor eax, eax
lea esi, [ebp - 4]
call fcn.10010a5b
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.10010a5b
jmp 0x10006b9d
lea eax, [ebp - 0x11c]
push str.DisplayVersion
push eax
call fcn.100160e1
pop ecx
pop ecx
mov dword [ebp - 0x14], eax
cmp ebx, edi
je 0x10006b70
cmp eax, edi
jne 0x10006b3c
mov eax, 0x10020bc9
push eax
push ebx
push 0x10020ee8
lea eax, [ebp - 0x51c]
push 0x200
push eax
call fcn.10010b7c
lea eax, [ebp - 0x51c]
push eax
push dword [ebp + 8]
call fcn.100143ca
add esp, 0x1c
xor eax, eax
lea esi, [ebp - 0x10]
call fcn.10010a5b
cmp dword [ebp - 0x14], edi
je 0x10006b7f
xor eax, eax
lea esi, [ebp - 0x14]
call fcn.10010a5b
cmp dword [ebp - 4], edi
je 0x10006b8e
xor eax, eax
lea esi, [ebp - 4]
call fcn.10010a5b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp - 8]
jne 0x10006a46
pop esi
pop ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
leave
ret