joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e391d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
not ebx
push edi
cmp esi, 8
jbe 0x100e39dd
jmp 0x100e394d
movzx eax, byte [edx]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10169d18]
inc edx
dec esi
test dl, 7
jne 0x100e3939
mov edi, esi
and edi, 0xfffffff8
add edi, edx
and esi, 7
jmp 0x100e39d9
xor ebx, dword [edx]
add edx, 4
mov dword [ebp + 0x10], edx
add dword [ebp + 0x10], 4
mov edx, dword [edx]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x1016a118]
xor ecx, dword [eax*4 + 0x1016a518]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x1016b118]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1016b518]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10169d18]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x1016ad18]
movzx eax, dl
mov edx, dword [ebp + 0x10]
xor ecx, dword [eax*4 + 0x1016a918]
movzx eax, bl
xor ecx, dword [eax*4 + 0x1016b918]
mov ebx, ecx
cmp edx, edi
jb 0x100e395e
test esi, esi
je 0x100e39f9
movzx eax, byte [edx]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10169d18]
inc edx
sub esi, 1
jne 0x100e39e1
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret

Function at 0x100e3a02
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x1c]
not ebx
push edi
mov edi, dword [esp + 0x18]
not esi
cmp edi, 4
jbe 0x100e3aca
mov dword [esp + 0x18], edx
test dl, 3
je 0x100e3a54
movzx eax, byte [edx]
movzx ecx, bl
shrd ebx, esi, 8
xor ecx, eax
shr esi, 8
xor ebx, dword [ecx*8 + 0x1016bd18]
xor esi, dword [ecx*8 + 0x1016bd1c]
inc edx
dec edi
test dl, 3
jne 0x100e3a2c
mov dword [esp + 0x18], edx
mov ebp, edi
and ebp, 0xfffffffc
add ebp, edx
and edi, 3
jmp 0x100e3ac6
mov edx, dword [edx]
xor edx, ebx
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*8 + 0x1016c518]
mov ecx, dword [ecx*8 + 0x1016c51c]
xor ebx, dword [eax*8 + 0x1016cd18]
xor ecx, dword [eax*8 + 0x1016cd1c]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*8 + 0x1016bd18]
xor ecx, dword [eax*8 + 0x1016bd1c]
movzx eax, dl
mov edx, dword [esp + 0x18]
xor ebx, dword [eax*8 + 0x1016d518]
xor ecx, dword [eax*8 + 0x1016d51c]
xor ebx, esi
xor ecx, 0
add edx, 4
mov esi, ecx
mov dword [esp + 0x18], edx
cmp edx, ebp
jb 0x100e3a60
test edi, edi
je 0x100e3af1
movzx eax, byte [edx]
movzx ecx, bl
shrd ebx, esi, 8
xor ecx, eax
shr esi, 8
xor ebx, dword [ecx*8 + 0x1016bd18]
xor esi, dword [ecx*8 + 0x1016bd1c]
inc edx
sub edi, 1
jne 0x100e3ace
not esi
not ebx
pop edi
mov edx, esi
mov eax, ebx
pop esi
pop ebp
pop ebx
ret

Function at 0x100e3c0a
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x20
push 0x10167500
lea eax, [esi + 0x40]
push eax
call fcn.100e9d70
and dword [esi + 0x60], 0
add esp, 0xc
and dword [esi + 0x64], 0
pop esi
ret
Function at 0x100e64cf
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
push 8
pop ecx
mov esi, dword [edi + 0xaa4]
lea ebp, [edi + 0xaac]
mov eax, dword [edi + 0xaa8]
sub ecx, esi
and eax, dword [esp + 0x14]
xor edi, edi
shr edx, cl
mov ecx, esi
shl eax, cl
add edx, eax
imul eax, edx, 0x600
add ebp, eax
cmp byte [esp + 0x1c], 0
jne 0x100e6521
push dword [esp + 0x24]
push 8
push ebp
call fcn.100dde18
add esp, 0xc
mov edi, eax
jmp 0x100e6576
mov edx, dword [esp + 0x24]
mov esi, 0x100
push ebx
mov ebx, dword [esp + 0x24]
add edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x10167ae8]
add edi, eax
mov eax, ebx
xor eax, edx
not eax
and esi, eax
cmp edx, 0x10000
jb 0x100e6531
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x100e7849
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x10]
push esi
xor esi, esi
push edi
inc esi
mov ecx, dword [esp + 0x14]
add esi, esi
mov edi, ebx
shr ebx, 1
and edi, 1
movzx edx, word [esi + ecx]
mov ecx, edi
neg ecx
shr edx, 4
shr ecx, 4
add esi, edi
and ecx, 0x7f
xor edx, ecx
movzx ecx, byte [edx + 0x10167ae8]
add eax, ecx
sub ebp, 1
jne 0x100e785a
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x100ee442
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
test eax, eax
je 0x100ee481
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100ee481
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100ee481
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100ee481
cmp dword [ecx + 0x74], 0xe
jbe 0x100ee481
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100f25c5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100f2547

Function at 0x100f388c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10175560
push 0x10175558
push str.FlsAlloc
push 0x1f
call fcn.100f3728
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100f38c0
push dword [ebp + 8]
mov ecx, esi
call dword [0x101022b8]
call esi
jmp 0x100f38c6
call dword [sym.imp.kernel32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100f390a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10175570
push 0x10175568
push str.FlsGetValue
push 0x21
call fcn.100f3728
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100f3941
push dword [ebp + 8]
mov ecx, esi
call dword [0x101022b8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsGetValue]

Function at 0x100f3949
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10175578
push 0x10175570
push str.FlsSetValue
push 0x22
call fcn.100f3728
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100f3983
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x101022b8]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.kernel32.dll_TlsSetValue]
Function at 0x100f4fb1
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 0x100f504e
push ebx
push esi
call fcn.100f4f7a
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.100f4f0e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f4ffb
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f504d
push edi
push eax
call fcn.100f1be9
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100f501b
call fcn.100f1baf
pop ecx
push esi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100f504c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100f4f0e
add esp, 0x20
test eax, eax
jne 0x100f503a
push edi
call fcn.100f1baf
jmp 0x100f5042
push ebx
call fcn.100f1baf
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 0x100fdd60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100fdd8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100fdd8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10100990
Capabilities:
Resolve dns

Disassembly:
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [esp + 4]
push dword [esp + 0x44]
push edx
push eax
call fcn.100cf630
add esp, 0xc
mov eax, dword [esp + 4]
cmp eax, 0x80000000
jne 0x10100a0e
mov edi, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, esp
mov dword [esp], 0
lea ecx, [esp + 0x14]
movups xmmword [esp + 0x14], xmm0
movups xmmword [esp + 0x24], xmm0
mov dword [esp + 0x1c], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x10100a33
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, 1
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x10100a50
jmp 0x10100a5c
mov ecx, dword [0x1016f610]
mov edx, dword [0x1016f614]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x10100a5c
push 1
push eax
push dword [esp + 0x10]
jmp 0x10100a54
mov ecx, dword [esp]
movzx eax, word [esp + 0x48]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x10100a5c
push 1
push ebx
push edi
call fcn.10007550
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
ret
Function at 0x10100b60
Capabilities:
Allocate thread local storage

Disassembly:
push ebx
push edi
push esi
sub esp, 0x20
mov esi, dword [esp + 0x30]
cmp dword [esi + 4], 0
je 0x10100be3
lea edi, [esi + 0xc]
mov dword [esp + 4], 0
lea eax, [esp + 4]
push 0
push eax
push 0
push edi
call dword [sym.imp.kernel32.dll_InitOnceBeginInitialize]
cmp eax, 1
mov dword [esp], eax
jne 0x10100c1e
cmp dword [esp + 4], 0
je 0x10100c05
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x10100c3c
mov ebx, eax
inc eax
mov dword [esi], eax
mov eax, dword [0x1017f298]
nop word [eax + eax]
mov dword [esi + 8], eax
lock cmpxchg dword [0x1017f298], esi
jne 0x10100bc0
mov byte [0x1017f294], 1
push 0
push 0
push edi
call dword [sym.imp.kernel32.dll_InitOnceComplete]
mov eax, ebx
jmp 0x10100c17
call dword [sym.imp.kernel32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x10100c7e
mov ecx, eax
xor eax, eax
inc ecx
lock cmpxchg dword [esi], ecx
jne 0x10100c09
mov eax, dword [esp]
jmp 0x10100c17
mov eax, dword [esi]
jmp 0x10100c16
push dword [esp]
mov esi, eax
call dword [sym.imp.kernel32.dll_TlsFree]
mov eax, esi
dec eax
add esp, 0x20
pop esi
pop edi
pop ebx
ret
mov dword [esp + 8], 0
lea eax, [esp + 8]
mov ecx, esp
mov edx, 0x101700d4
push 0x10170498
push eax
call fcn.10100570
push 0
push 4
push edi
call dword [sym.imp.kernel32.dll_InitOnceComplete]
mov dword [esp + 8], 0x1017044c
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_srcio_borrowed_buf.rs
mov dword [esp + 0x14], 0
lea eax, [esp + 8]
push 0x10170488
push eax
call fcn.101011a0
mov ecx, esp
lea edx, [esp + 8]
mov dword [esp + 8], 0x1017044c
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], str._rustc_a4472498d7e88041f6206faf4503eb1f246fd427librarycore_srcio_borrowed_buf.rs
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.101005a0
int3
Function at 0x10101400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push edi
push esi
sub esp, 0x68
movzx eax, byte [esp + 0x78]
mov esi, dword [esp + 0x84]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov edi, dword [esp + 0x80]
test eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
je 0x10101451
cmp eax, 1
jne 0x101014ce
mov dword [esp], 0x10172a6e
jmp 0x10101458
mov dword [esp], str._matchesassertion__left__right__failed_n__left:__n_right:
mov edx, 2
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
jne 0x101014ea
mov ecx, esp
lea edx, [esp + 8]
lea esi, [esp + 0x10]
mov dword [esp + 0x38], 0x10172aa8
mov dword [esp + 0x3c], 3
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0x100dbba0
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x24], 0x10068590
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0x10068590
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 3
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.101011a0
mov edx, 7
mov dword [esp], 0x10172a70
mov eax, dword [esp + 0x90]
cmp dword [ecx], 0
mov dword [esp + 4], edx
je 0x1010146d
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, esp
lea esi, [esp + 0x50]
mov dword [esp + 0x38], 0x10172adc
mov dword [esp + 0x3c], 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], edx
lea edx, [esp + 8]
mov dword [esp + 0x1c], 0x100dbba0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x100d6cb0
lea esi, [esp + 0x10]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 0x10068590
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x10068590
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 4
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x58], xmm1
movsd qword [esp + 0x50], xmm2
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.101011a0
int3
Function at 0x42fd30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x23000]
push edi
jmp 0x42fd4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42fd51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42fd40
mov eax, 1
add ebx, ebx
jne 0x42fd63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42fd58
jne 0x42fd74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42fd58
xor ecx, ecx
sub eax, 3
jb 0x42fd88
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42fdfa
mov ebp, eax
add ebx, ebx
jne 0x42fd93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42fda0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42fdc4
inc ecx
add ebx, ebx
jne 0x42fdb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42fda5
jne 0x42fdc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42fda5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42fde4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42fdd5
jmp 0x42fd46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42fde4
add edi, ecx
jmp 0x42fd46
pop esi
mov edi, esi
mov ecx, 0x38f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42fe02
cmp byte [edi], 5
jne 0x42fe02
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42fe07
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x42fe76
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f4bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f514]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42fe34
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f51c]
or eax, eax
je 0x42fe70
mov dword [ebx], eax
add ebx, 4
jmp 0x42fe51
call dword [esi + 0x2f518]
mov ebp, dword [esi + 0x2f520]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42feaa
sub esp, 0xffffff80
jmp 0x403622
Function at 0x40688d
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [esp + 0xc]
lea esi, [eax + 1]
push esi
call fcn.00406807
push esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 0xc]
mov esi, eax
push esi
call fcn.00406864
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x409c1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409c73
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409c64
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x409c60
cmp esi, ecx
jae 0x409c64
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x409c4e
cmp esi, ecx
jb 0x409c68
xor eax, eax
jmp 0x409c72
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x41146b
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [esp + 8], edx
jbe 0x411491
push esi
mov esi, dword [esp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [esp + 0xc]
jb 0x41147d
pop esi
mov eax, ecx
ret

Function at 0x41500c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f744e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56d078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 8
call fcn.004cde78
mov esi, eax
pop ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 4], ecx
or dword [ebp - 4], 0xffffffff
push eax
push eax
push esi
push 0x414fea
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x415072
push 8
push esi
call fcn.004ce113
pop ecx
pop ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4151cd
Capabilities:
Reference sql statements

Disassembly:
push 0x4c
mov eax, 0x4f74a7
call fcn.004cea37
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, str.InstallerAnalytics.dll
push 7
mov dword [edi + 0xc], eax
xor eax, eax
pop ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
call fcn.004d3ded
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00407ba8
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0045135c
pop ecx
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
push eax
mov ecx, esi
call fcn.0040f1ab
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0
push 1
call fcn.004048ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004048ce
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ebx
mov ebx, str.SELECT__Data__FROM__Binary__WHERE__Name___InstallerAnalytics.dll
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x40], ax
cmp word [str.SELECT__Data__FROM__Binary__WHERE__Name___InstallerAnalytics.dll], ax
je 0x415275
push ebx
call fcn.004d3ded
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x40]
call fcn.00407ba8
mov dword [ebp - 4], 2
lea edx, [ebp - 0x40]
mov ecx, dword [ebp + 8]
push esi
call fcn.004a0a2f
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.004048ce
cmp dword [esi + 0x14], 8
jb 0x4152ab
mov esi, dword [esi]
mov ecx, esi
call fcn.00415142
mov ebx, eax
test ebx, ebx
je 0x4152de
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeEmbeddedUI
push ebx
call esi
push str.ShutdownEmbeddedUI
push ebx
mov dword [edi], eax
call esi
push str.EmbeddedUIHandler
push ebx
mov dword [edi + 4], eax
call esi
mov dword [edi + 8], eax
mov eax, dword [edi]
test eax, eax
je 0x4152ed
push 0
push 0
push dword [edi + 0xc]
call eax
call fcn.004ce9e1
ret 8

Function at 0x41e796
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x2e4]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, eax
push 0xfffffffffffffff0
push esi
call edi
test eax, 0x10000000
je 0x41e7f5
push esi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41e7f5
push 0xfffffffffffffff0
push esi
call edi
shr eax, 0x10
test al, 1
je 0x41e7f5
push 0
push 0
push 0x87
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x41e7f5
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov al, 1
jmp 0x41e827
push 0
push esi
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
mov edi, eax
test edi, edi
je 0x41e825
cmp edi, esi
je 0x41e825
push 0
push 0
push 0x87
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0xd
test al, 1
jne 0x41e825
push edi
jmp 0x41e7eb
xor al, al
pop edi
pop esi
pop ebp
ret
Function at 0x41f1e7
Capabilities:
Get disk size

Disassembly:
push 0xa8
mov eax, 0x4f970c
call fcn.004ceaa5
mov esi, ecx
mov dword [ebp - 0x88], esi
cmp dword [ebp + 8], 1
je 0x41f212
and dword [esi + 0x1a4], 0
xor eax, eax
jmp 0x41f3c3
xor ebx, ebx
mov dword [ebp - 4], ebx
wait
mov ecx, dword [esi + 0x258]
cmp ecx, dword [esi + 0x25c]
jne 0x41f22f
xor eax, eax
inc eax
wait
jmp 0x41f3c3
mov edi, ebx
mov dword [ebp - 0x9c], edi
mov eax, dword [esi + 0x25c]
sub eax, dword [esi + 0x258]
cdq
push 0x30
pop ecx
idiv ecx
cmp edi, eax
jae 0x41f369
imul ecx, edi, 0x30
add ecx, dword [esi + 0x258]
mov dword [ebp - 0x98], ecx
mov eax, dword [ecx + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomisd xmm0, qword [0x53c5e8]
lahf
test ah, 0x44
jnp 0x41f363
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
cmp dword [ecx + 0x14], 8
jb 0x41f2a2
mov ecx, dword [ecx]
push ebx
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x90]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
call fcn.004f3990
mulsd xmm0, qword [0x53c600]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + 0x28]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
xorps xmm1, xmm1
comisd xmm1, xmm0
jbe 0x41f363
push 0x525504
lea ecx, [ebp - 0x48]
call fcn.00407c3b
mov byte [ebp - 4], 1
push str.OutOfDiskSpace
lea ecx, [ebp - 0x30]
call fcn.00407c3b
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0x1ac]
mov eax, dword [ecx]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004048ce
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004048ce
jmp 0x41f226
inc edi
jmp 0x41f231
push 0x52854c
lea ecx, [ebp - 0x30]
call fcn.00407c3b
mov byte [ebp - 4], 3
push str.OutOfDiskSpace
lea ecx, [ebp - 0x48]
call fcn.00407c3b
mov byte [ebp - 4], 4
mov ecx, dword [esi + 0x1ac]
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x48]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004048ce
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004048ce
wait
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
call fcn.004ce9f2
ret 4