joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009778a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100bea74
push 0x100bea6c
push str.FlsAlloc
push 0x1e
call fcn.100975b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100977be
push dword [ebp + 8]
mov ecx, esi
call dword [0x100ab374]
call esi
jmp 0x100977c4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10097808
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100bea84
push 0x100bea7c
push str.FlsGetValue
push 0x20
call fcn.100975b7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009783f
push dword [ebp + 8]
mov ecx, esi
call dword [0x100ab374]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100982fd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009816e
Function at 0x1009ed51
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1009edee
push ebx
push esi
call fcn.1009ed1a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1009d28f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009ed9b
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009eded
push edi
push eax
call fcn.10098685
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009edbb
call fcn.100972dc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009edec
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1009d28f
add esp, 0x20
test eax, eax
jne 0x1009edda
push edi
call fcn.100972dc
jmp 0x1009ede2
push ebx
call fcn.100972dc
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1009edf1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1009ee02
pop esi
ret
push ebx
push edi
push esi
call fcn.1009ed1a
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10098685
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1009ee2a
push ebx
push esi
push edi
call fcn.1007fd30
add esp, 0xc
push 0
call fcn.100972dc
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1009f1ee
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009ee3f
Function at 0x1009f7b0
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009f72c
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1009f928
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1009f928
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1009f8d7
jg 0x1009f809
test eax, eax
je 0x1009f8cd
push 1
push 0x1000
call fcn.1009727f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1009f82f
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1009f8c4
push 0x8000
push ebx
call fcn.1009f65d
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1009f85b
jg 0x1009f856
cmp ecx, 0x1000
jb 0x1009f85b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10094571
add esp, 0x10
cmp eax, 0xffffffff
je 0x1009f8a0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1009f856
jl 0x1009f887
test ecx, ecx
jne 0x1009f848
push dword [ebp - 0xc]
push ebx
call fcn.1009f65d
push esi
call fcn.100972dc
add esp, 0xc
xor edi, edi
jmp 0x1009f939
cmp byte [edi + 0x24], 0
je 0x1009f8b7
cmp dword [edi + 0x20], 5
jne 0x1009f8b7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1009f8c2
mov edi, dword [edi + 0x18]
jmp 0x1009f8c4
xor edi, edi
push esi
call fcn.100972dc
pop ecx
jmp 0x1009f939
test ecx, ecx
jg 0x1009f899
jl 0x1009f8d7
test eax, eax
jae 0x1009f899
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1008e4f6
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1009f8fa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009f899
jmp 0x1009f931
push ebx
call fcn.1009b15d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1009f899
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1009f939
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1009f936
mov edi, dword [edi + 0x18]
jmp 0x1009f939
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1008e4f6
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10009e2b
Capabilities:
Get common file path

Disassembly:
push 0x274
mov eax, 0x100acdf1
call fcn.10081a41
mov esi, ecx
mov eax, dword [esi + 0x120]
xor ebx, ebx
mov eax, dword [eax]
cmp dword [eax + 0x178], ebx
je 0x10009fa7
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x10009e7b
add eax, 2
cmp word [eax], bx
jne 0x10009e73
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100d9ed8
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.100124b7
mov eax, dword [esi + 0x120]
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x220], ebx
push eax
call fcn.1000c826
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100020f2
mov byte [ebp - 0x268], bl
lea eax, [ebp - 0x24c]
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.100024b9
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 3
push eax
call fcn.1000fdb8
add esp, 0x1c
lea ecx, [ebp - 0x280]
mov bl, al
call fcn.1000e787
test bl, bl
je 0x10009f42
cmp dword [ebp - 0x238], 0x10
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
call fcn.10087aac
pop ecx
lea ecx, [ebp - 0x24c]
call fcn.1000e761
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x10009f9c
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x10009f93
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
lea ecx, [ebp - 0x264]
call fcn.1000e761
call fcn.100819f0
ret
Function at 0x10009fad
Capabilities:
Get common file path

Disassembly:
push 0x278
mov eax, 0x100ace4c
call fcn.10081a41
mov edi, ecx
mov eax, dword [edi + 0x120]
xor ebx, ebx
mov esi, dword [eax]
add esi, 0x138
cmp dword [esi + 0x10], ebx
je 0x1000a16a
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
cmp word [ebp - 0x218], bx
je 0x1000a000
add eax, 2
cmp word [eax], bx
jne 0x10009ff8
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100d9ed8
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.100124b7
mov eax, dword [edi + 0x120]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
mov eax, dword [eax]
add eax, 0x168
mov dword [ebp - 0x224], ebx
push eax
call fcn.1000c826
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.100020f2
mov byte [ebp - 0x26c], bl
lea eax, [ebp - 0x250]
push dword [ebp - 0x26c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.100024b9
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 3
push eax
call fcn.1000fdb8
add esp, 0x1c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x284]
mov bl, al
call fcn.1000e787
test bl, bl
jne 0x1000a105
lea eax, [ebp - 0x250]
mov dword [ebp - 0x26c], edi
push eax
push esi
lea eax, [ebp - 0x26c]
push eax
push 0x1000b960
lea eax, [ebp - 0x220]
push 1
push eax
call fcn.100040e5
add esp, 0x18
lea ecx, [edi + 8]
push eax
mov byte [ebp - 4], 4
call fcn.1000dc4c
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1000a105
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x1000a105
call fcn.1000cb32
lea ecx, [ebp - 0x250]
call fcn.1000e761
mov eax, dword [ebp - 0x224]
cmp eax, 0x10
jb 0x1000a15f
mov ecx, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x26c], ecx
cmp eax, 0x1000
jb 0x1000a156
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x26c]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
lea ecx, [ebp - 0x268]
call fcn.1000e761
call fcn.100819f0
ret
Function at 0x1000a170
Capabilities:
Get common file path

Disassembly:
push 0x25c
mov eax, 0x100ace91
call fcn.10081a41
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], 0xf
push ebx
mov edi, 0x100b16c0
mov dword [ebp - 0x234], ebx
push edi
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.1000ec5f
mov eax, dword [esi + 0x120]
mov dword [ebp - 4], ebx
mov eax, dword [eax]
add eax, 0x40
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x1000a1ca
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.1000eb05
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.1000eb05
cmp dword [ebp - 0x224], 0
je 0x1000a261
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [ebp - 0x218], 0
lea eax, [ebp - 0x218]
je 0x1000a217
add eax, 2
cmp word [eax], bx
jne 0x1000a20f
push eax
lea eax, [ebp - 0x218]
mov ecx, 0x100d9ed8
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100124b7
push edi
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.1000213b
add esp, 0xc
lea ecx, [ebp - 0x264]
call fcn.1000e761
lea ecx, [ebp - 0x24c]
call fcn.1000e761
mov eax, dword [ebp - 0x220]
cmp eax, 0x10
jb 0x1000a2b0
mov ecx, dword [ebp - 0x234]
inc eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x268], ecx
cmp eax, 0x1000
jb 0x1000a2a7
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.1000c2e0
mov eax, dword [ebp - 0x21c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x268]
push eax
push ecx
call fcn.100814bc
pop ecx
pop ecx
call fcn.100819f0
ret
Function at 0x1001033f
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
and dword [ebp - 4], 0
push esi
mov dword [ecx + 4], eax
lea esi, [ecx + 0x1c]
lea eax, [ebp - 4]
push eax
lea eax, [ecx + 0xc]
push esi
push eax
call fcn.100047ca
push 0x20
push 0x100b14f8
push esi
call fcn.10083f30
add esp, 0x18
pop esi
leave
ret

Function at 0x100113e3
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x10011401
call fcn.10012155
test al, al
jne 0x10011401
mov dword [esi + 0x40], str.invalid_BOM__must_be_0xEF_0xBB_0xBF_if_given
push 0xe
pop eax
pop esi
ret
mov ecx, esi
call fcn.10010150
mov eax, dword [esi + 8]
cmp eax, 0x20
je 0x10011401
cmp eax, 9
je 0x10011401
cmp eax, 0xa
je 0x10011401
cmp eax, 0xd
je 0x10011401
cmp eax, 0x36
jg 0x1001147a
je 0x10011449
cmp eax, 0x30
jg 0x10011461
je 0x10011449
cmp eax, 0xffffffff
je 0x1001145d
test eax, eax
je 0x1001145d
cmp eax, 0x22
je 0x10011455
cmp eax, 0x2c
je 0x10011451
cmp eax, 0x2d
jne 0x100114c9
mov ecx, esi
pop esi
jmp fcn.10011549
push 0xd
jmp 0x100113fe
mov ecx, esi
pop esi
jmp fcn.1001188f
push 0xf
jmp 0x100113fe
sub eax, 0x31
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
jmp 0x10011443
cmp eax, 0x5d
jg 0x100114af
je 0x100114a8
sub eax, 0x37
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x10011449
sub eax, 1
je 0x100114a1
sub eax, 0x21
jne 0x100114c9
push 8
jmp 0x100113fe
push 0xc
jmp 0x100113fe
push 0xa
jmp 0x100113fe
sub eax, 0x66
je 0x100114f9
sub eax, 8
je 0x100114ee
sub eax, 6
je 0x100114e3
sub eax, 7
je 0x100114dc
dec eax
sub eax, 1
je 0x100114d5
mov dword [esi + 0x40], str.invalid_literal
jmp 0x100113fc
push 0xb
jmp 0x100113fe
push 9
jmp 0x100113fe
push 1
push 4
push str.true
jmp 0x10011502
push 3
push 4
push str.null
jmp 0x10011502
push 2
push 5
push str.false
mov ecx, esi
call fcn.1001150b
pop esi
ret
Function at 0x10012b3a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10012b65
jl 0x10012b5c
test edi, edi
jne 0x10012b65
xor eax, eax
xor edx, edx
jmp 0x10012c15
cmp dword [esi + 0x38], 0
je 0x10012b78
push eax
push edi
push edx
call fcn.10012c1f
jmp 0x10012c15
mov eax, dword [esi + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10012bb2
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x10012bb2
cmp dword [eax], edi
mov esi, edi
cmovb esi, dword [eax]
push esi
push ecx
push edx
call fcn.10083f30
mov ecx, dword [ebp - 8]
sub ebx, esi
add dword [ebp - 4], esi
add esp, 0xc
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
mov ecx, ebx
je 0x10012c0a
mov ecx, esi
call fcn.1000e01b
mov edx, dword [ebp - 4]
mov ecx, ebx
jmp 0x10012bea
push dword [esi + 0x4c]
push eax
push 1
push edx
call fcn.100870d2
mov edx, dword [ebp - 4]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [ebp - 4], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x10012c1b
mov eax, 0xfff
cmp ebx, eax
ja 0x10012bc8
test ecx, ecx
je 0x10012c0a
push dword [esi + 0x4c]
push ebx
push 1
push edx
call fcn.100870d2
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
mov edx, dword [ebp + 0x10]
mov eax, edi
sbb edx, 0
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x10012c0c
Function at 0x100130a1
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x100d71f4]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.1001324e
pop ecx
pop ecx
test al, al
jne 0x100130d2
inc al
jmp 0x100131cb
push ebx
xor ecx, ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], ecx
push eax
push ecx
push 0x2001f
push ecx
push ecx
push ecx
push str.SOFTWAREGoogleNo_Chrome_Offer_Until
push reloc.WS2_32.dll_bind
mov bl, 1
mov dword [ebp - 0x224], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100131c8
push esi
push edi
push eax
call fcn.100131f7
and dword [ebp - 0x214], 0
mov esi, eax
pop ecx
push 4
pop edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x210], edi
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x21c], edi
push eax
lea eax, [ebp - 0x210]
push eax
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013175
cmp dword [ebp - 0x210], edi
jne 0x10013175
cmp dword [ebp - 0x214], esi
jbe 0x10013175
xor bl, bl
jmp 0x100131ba
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp byte [ebp + 8], 0
je 0x100131ba
push 6
call fcn.100131f7
pop ecx
push edi
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100819ce
leave
ret 4
Function at 0x1001324e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4418
call fcn.10081cc0
mov eax, dword [0x100d71f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x104
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100133c2
lea eax, [ebp - 0x4414]
mov dword [ebp - 0x4414], esi
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100133c2
mov edi, 0x2000
cmp eax, edi
ja 0x100133c2
push edi
lea eax, [ebp - 0x440c]
push esi
push eax
call fcn.100844b0
add esp, 0xc
lea eax, [ebp - 0x440c]
push eax
push edi
push dword [ebp - 0x4414]
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100133c2
lea eax, [ebp - 0x4410]
mov dword [ebp - 0x4410], esi
push eax
lea eax, [ebp - 0x4418]
mov dword [ebp - 0x4418], esi
push eax
push str.VarFileInfoTranslation
lea eax, [ebp - 0x440c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100133c2
cmp dword [ebp - 0x4410], 4
jne 0x100133c2
mov eax, dword [ebp - 0x4418]
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 0x18
push eax
movzx eax, cl
push eax
shr ecx, 8
movzx eax, cl
push eax
push str.StringFileInfo_02X_02X_02X_02XCompanyName
lea eax, [ebp - 0x40c]
push 0x100
push eax
call fcn.10013ace
add esp, 0x1c
mov dword [ebp - 0x4410], esi
lea eax, [ebp - 0x4410]
push eax
lea eax, [ebp - 0x4418]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x440c]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100133c2
mov edi, dword [ebp - 0x4410]
test edi, edi
je 0x100133c2
mov esi, dword [ebp + 0xc]
shr esi, 1
cmp edi, esi
jae 0x100133c2
push dword [ebp + 0xc]
push 0
push ebx
call fcn.100844b0
add esp, 0xc
push edi
push dword [ebp - 0x4418]
push esi
push ebx
call fcn.10013a47
mov al, 1
jmp 0x100133c4
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100819ce
leave
ret
Function at 0x10013b2a
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d71f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, str.test
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
lea edi, [ebp - 0x10]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
movsd dword es:[edi], dword [esi]
push ebx
push 0x2021f
push ebx
movsd dword es:[edi], dword [esi]
push ebx
push ebx
mov dword [ebp - 0x18], ebx
movsw word es:[edi], word [esi]
mov esi, str.SOFTWAREGoogleGCAPITemp
mov edi, reloc.WS2_32.dll_bind
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10013bbe
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10013ba7
lea eax, [ebp - 0x10]
mov bl, 1
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 1
jne 0x10013bbe
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100819ce
leave
ret
Function at 0x10028c80
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x100d71f4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x10028d4b
lea eax, [esp + 4]
push eax
push esi
push 2
call fcn.100440a0
add esp, 0xc
test eax, eax
jne 0x10028d4b
lea eax, [esp + 8]
push eax
push esi
push 0x17
call fcn.100440a0
add esp, 0xc
test eax, eax
jne 0x10028d4b
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10028cd4
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.10044070
add esp, 0xc
test eax, eax
je 0x10028d08
sub eax, esi
push eax
push 0x2e
push esi
call fcn.10044070
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10028d0a
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x10028d36
mov al, byte [esi]
push eax
call fcn.10037360
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x10028d18
pop edi
movzx eax, bl
pop ebx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100819ce
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop esi
xor ecx, esp
call fcn.100819ce
add esp, 0x18
ret
Function at 0x100335c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov eax, dword [0x100d71f4]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x114]
mov dword [esp + 8], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x128]
mov ecx, dword [ebx + 0x424]
cmp edx, ecx
push esi
sete al
mov esi, 0x448
push edi
lea eax, [eax*4 + 0x420]
mov eax, dword [eax + ebx]
mov dword [esp + 0x10], eax
mov eax, 0x458
cmove esi, eax
mov eax, dword [ebx + 0x548]
add esi, ebx
mov edi, dword [esi + 4]
sub edi, dword [esi + 8]
test byte [eax + 0x40], 3
je 0x100336ce
xor eax, eax
cmp edx, ecx
sete al
lea eax, [eax*4 + 0x438]
cmp dword [eax + ebx], 0x10033180
jne 0x100336ce
cmp dword [esi], 0
je 0x10033658
test edi, edi
je 0x100336ce
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esp + 0x20]
call fcn.10042850
add esp, 0x14
cmp eax, 0xffffffff
je 0x100336ce
test al, 1
je 0x100336ce
mov ecx, dword [esi]
test ecx, ecx
jne 0x100336ab
mov eax, dword [ebx]
mov eax, dword [eax + 0x90c]
add eax, eax
push eax
mov dword [esi + 4], eax
call dword [0x100d7098]
mov edi, dword [esi + 4]
mov ecx, eax
add esp, 4
mov dword [esi], ecx
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x100336c7
mov eax, dword [esi + 8]
push 0
push edi
add eax, ecx
push eax
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x100336ce
add dword [esi + 8], eax
jmp 0x100336ce
mov dword [esi + 4], 0
push 0
push dword [esp + 0x130]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10033737
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
jne 0x10033708
mov dword [ebp], 0
lea eax, [edi + 0x52]
jmp 0x1003373c
push 0x100
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10020310
push eax
push str.Send_failure:__s
push dword [ebx]
call fcn.10032ec0
mov eax, dword [ebx]
add esp, 0x18
mov dword [eax + 0xd44], esi
mov eax, 0x37
jmp 0x10033739
xor eax, eax
mov dword [ebp], edi
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100819ce
add esp, 0x10c
ret

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

Disassembly:
mov eax, dword [esp + 4]
cmp byte [eax + 0x474], 0
je 0x10033b7d
push eax
call fcn.1002d3a0
add esp, 4
test eax, eax
jne 0x10033b9c
xor al, al
ret
mov eax, dword [eax + 0x420]
cmp eax, 0xffffffff
je 0x10033b7a
push 2
push 1
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x10033b7a
mov al, 1
ret