joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5780f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc573
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x90], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
xor bl, bl
call fcn.00577ef0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
mov byte [ebp - 0x85], bl
call fcn.0049b7d0
test eax, eax
movzx ecx, bl
mov edx, 1
lea eax, [ebp - 0x28]
cmove ecx, edx
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x94], ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00576ef0
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x578199
mov eax, dword [ecx]
jmp 0x57819b
mov eax, ecx
push 0x1d
push str.SLFileBasedClockRecord::Write
mov byte [eax], 0
call fcn.0045f8d0
push dword [0x64ad28]
lea ecx, [ebp - 0x84]
call fcn.00571420
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x60bb6c
cmovae eax, dword [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.0049b790
add esp, 8
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x578224
cmp dword [esi + 0x14], 0x10
lea edi, [esi + 0x10]
jb 0x5781ed
mov esi, dword [esi]
push eax
push dword [edi]
push 1
push esi
call fcn.00593e89
cmp eax, dword [edi]
mov eax, 1
push dword [ebp - 0x8c]
movzx ebx, bl
cmove ebx, eax
call fcn.00589953
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00577290
add esp, 0x18
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00576f70
mov eax, dword [ebp - 0x90]
add esp, 4
cmp byte [eax + 0x38], 0
je 0x57827d
cmp byte [ebp - 0x94], 0
je 0x57827d
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.0049b800
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.005714d0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x57829d
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00459720
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret 4
Function at 0x5797c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
jb 0x5797d2
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x57983d
mov ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x20]
imul ecx
push ebx
sar edx, 2
xor ebx, ebx
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x57983c
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
add eax, edi
cmp dword [eax + 0x14], 0x10
jb 0x579812
mov eax, dword [eax]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esi + 0x24]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x20]
inc ebx
imul ecx
add edi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x579805
pop edi
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57a150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc758
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x645624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x70], eax
call fcn.00579ff0
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0
push 0x6090cf
call fcn.0045f8d0
push 0x104
mov dword [ebp - 4], 0
call fcn.0057b68c
mov edi, eax
mov dword [ebp - 0x6c], 0x104
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.0057a350
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
add esp, 0xc
lea edx, [ebp - 0x59]
cmp dword [ebp - 0x14], 0x10
cmovae ecx, dword [ebp - 0x28]
add eax, ecx
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push edx
cmovae ecx, dword [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.0047f3d0
mov ecx, dword [ebp + 0xc]
lea ebx, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 1
cmovae ebx, dword [ebp - 0x58]
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x68], ebx
cmp esi, 0x10
jb 0x57a222
mov edx, dword [ecx]
jmp 0x57a224
mov edx, ecx
mov eax, dword [ecx + 0x10]
add eax, edx
cmp esi, 0x10
jb 0x57a230
mov ecx, dword [ecx]
lea edx, [ebp - 0x59]
push edx
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00579ec0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x60]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x64]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
mov byte [ebp - 4], 2
call ebx
test eax, eax
je 0x57a27f
lea eax, [ebp - 0x60]
push eax
push 0x20219
push 0
push dword [ebp - 0x68]
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x57a2b6
lea eax, [ebp - 0x6c]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x57a2b6
cmp byte [edi], al
jne 0x57a29e
xor ecx, ecx
jmp 0x57a2ac
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x57a2a3
sub ecx, edx
push ecx
mov ecx, dword [ebp - 0x70]
push edi
call fcn.0045f8d0
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0057b687
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, 8
jb 0x57a2dd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00467c60
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x57a306
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00467c60
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
cmp eax, 0x10
jb 0x57a32f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00459720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b676
mov esp, ebp
pop ebp
ret
Function at 0x5a1682
Capabilities:
Read file on windows

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

Function at 0x5a5fb5
Capabilities:
Set environment variable

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

Function at 0x5acc6f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ecx
push 1
push edi
mov dword [ebp - 4], eax
mov ebx, dword [eax + 4]
call fcn.0053bcfa
mov esi, dword [ebp + 0xc]
pop ecx
pop ecx
test al, al
jne 0x5accb4
test esi, esi
je 0x5accb4
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
push 1
xor ebx, dword [ecx*4 + 0x604f20]
inc edi
push edi
dec esi
call fcn.0053bcfa
jmp 0x5acc8c
cmp esi, 4
jb 0x5accff
mov ecx, esi
shr ecx, 2
xor ebx, dword [edi]
sub esi, 4
movzx eax, bl
add edi, 4
shr ebx, 8
xor ebx, dword [eax*4 + 0x604f20]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x604f20]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x604f20]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x604f20]
sub ecx, 1
jne 0x5accbe
test esi, esi
je 0x5acd1b
movzx eax, byte [edi]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x604f20]
inc edi
sub esi, 1
jne 0x5acd03
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5c49d5
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor edx, edx
push esi
mov dword [ebp - 0x14], edx
push edi
movzx edi, byte [edx + 0x606f70]
mov eax, edi
mov dword [ebp - 8], edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [ebp - 0x10], eax
and ebx, 2
shr edi, 7
and edx, 4
mov dword [ebp - 0xc], edx
mov edx, esi
lea eax, [ecx + ecx]
and esi, 1
xor eax, dword [ebp - 8]
and edx, 2
shl eax, 0x19
mov dword [ebp - 4], eax
imul eax, edi, 0x1b000000
shl ecx, 2
xor ecx, dword [ebp - 8]
shl ecx, 8
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x1b000000
xor dword [ebp - 4], eax
imul eax, ebx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, esi, 0x1b000000
xor dword [ebp - 4], eax
imul eax, edx, 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0xc], 0x1b000000
xor dword [ebp - 4], eax
imul eax, dword [ebp - 0x10], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [ebp - 4]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b00
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b0000
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 3
xor ecx, dword [ebp - 8]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or edx, ecx
mov ecx, dword [ebp - 8]
shl ecx, 2
xor ecx, dword [ebp - 8]
add ecx, ecx
xor ecx, eax
imul eax, dword [ebp - 0x10], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
mov ebx, dword [ebp - 8]
xor ecx, eax
imul eax, dword [ebp - 0xc], 0x11b
xor ecx, eax
xor eax, eax
xor ecx, ebx
or ebx, edx
or ecx, edx
mov edx, dword [ebp - 0x14]
or eax, ebx
mov dword [edx*8 + 0x64c6a0], eax
mov dword [edx*8 + 0x64c6a4], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x100
jl 0x5c49e3
pop edi
pop esi
mov byte [0x64cea1], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b7f8
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040b877
jae 0x40b804
xor ecx, ecx
call fcn.0040b877
jae 0x40b82e
xor eax, eax
call fcn.0040b877
jae 0x40b83f
mov al, 0x10
call fcn.0040b877
adc al, al
jae 0x40b820
jne 0x40b86c
stosb byte es:[edi], al
jmp 0x40b805
call fcn.0040b883
dec ecx
loop 0x40b84b
mov eax, ebp
call fcn.0040b881
jmp 0x40b86d
lodsb al, byte [esi]
shr eax, 1
je 0x40b893
adc ecx, 2
mov ebp, eax
jmp 0x40b86d
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040b881
cmp eax, 0x7d00
jae 0x40b86b
cmp eax, 0x500
jae 0x40b86c
cmp eax, 0x7f
ja 0x40b86d
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40b805
pop ebp
ret 8
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10003160
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100312d3
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10046074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
lea ebx, [ecx + 8]
mov dword [ecx + 4], 0
mov dword [ecx], vtable.DropboxCommandHandler.0
mov ecx, ebx
push edi
mov dword [ebp - 0x14], ebx
call fcn.10002c00
mov eax, dword [edi + 0x18]
lea esi, [ebx + 0x18]
mov dword [esi], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp + 8], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.1001f814
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
sub eax, dword [edi + 0x24]
push dword [esi + 4]
sar eax, 2
push eax
mov byte [ebp - 4], 2
call fcn.1000fff0
mov eax, dword [edi + 0x1c]
mov ecx, esi
push eax
push dword [eax]
call fcn.10002900
mov eax, dword [edi + 0x38]
xor ecx, ecx
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 7
mov word [eax + 0x54], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000e8d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10046074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
or ebx, 0x2001f
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
lea edx, [ebp - 0x224]
mov dword [ebp - 0x224], 0
push edx
push ebx
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x21c]
test esi, esi
jne 0x1000ea5e
xor esi, esi
test eax, eax
je 0x1000e974
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x224]
and ebx, 0x300
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
test esi, esi
jne 0x1000ea5e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call ebx
test eax, eax
jne 0x1000ea17
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000e8d0
mov esi, eax
test esi, esi
jne 0x1000ea58
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call ebx
test eax, eax
je 0x1000e9d0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1000ea2e
push eax
call edi
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.1000d280
mov ecx, dword [ebp - 0x21c]
mov esi, eax
test ecx, ecx
je 0x1000ea65
push ecx
jmp 0x1000ea63
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1000ea65
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ffb1
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ec30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031f1b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10046074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x1000ecdc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x1000ecdc
call fcn.1000add0
mov esi, eax
jmp 0x1000edcc
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1000ecff
call fcn.1000add0
jmp 0x1000edbf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1000ed1d
call fcn.1000add0
jmp 0x1000edbf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x1000ed3e
mov esi, 0x8007000e
jmp 0x1000edc1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000aa60
jmp 0x1000ed68
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1000ed7f
mov esi, 0x8007000e
jmp 0x1000edc1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1000ed9f
call fcn.1000add0
jmp 0x1000edbf
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1000ea90
mov esi, eax
test edi, edi
je 0x1000edcc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000ede5
lea ecx, [ebp - 0x418]
call fcn.1000d510
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1001ffb1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100100f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10010149
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10010149
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1001013a
cmp esi, edx
jae 0x10010149
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10010128
cmp esi, edx
jae 0x10010149
cmp word [esi], 0
je 0x10010149
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10014e90
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10014de0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10015850
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100323eb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10046074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x23c], esi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1004a09c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1004998c]
cmp eax, dword [ecx + 4]
jg 0x10015a4e
cmp dword [0x1004604c], 0
je 0x100158c1
push 0x1004603c
mov ecx, esi
call fcn.10002c00
jmp 0x10015a30
lea eax, [ebp - 0x230]
push eax
call fcn.1001beb0
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
mov dword [ebp - 4], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jne 0x1001590a
push 0x1004603c
mov ecx, esi
call fcn.10002c00
jmp 0x10015a25
push ebx
call fcn.1002023e
mov edi, eax
add esp, 4
mov dword [ebp - 0x244], edi
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push edi
cmovae ecx, dword [ebp - 0x230]
push ebx
push 0
push ecx
mov byte [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10015a0a
lea eax, [ebp - 0x240]
mov dword [ebp - 0x234], 0
push eax
lea eax, [ebp - 0x234]
mov dword [ebp - 0x240], 0
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10015a0a
mov ebx, dword [ebp - 0x234]
test ebx, ebx
je 0x10015a0a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10021960
movzx eax, word [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push str.StringFileInfo_04x_04xFileVersion
push 0x104
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.10017780
add esp, 0x24
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10015a0a
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x10015a0a
push eax
mov ecx, 0x1004603c
call fcn.10011110
push 0x1004603c
mov ecx, esi
call fcn.10002c00
test edi, edi
je 0x10015a25
push 1
push edi
call fcn.1001f844
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.100073b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ffb1
mov esp, ebp
pop ebp
ret
push 0x1004998c
call fcn.1001fe7d
add esp, 4
cmp dword [0x1004998c], 0xffffffff
jne 0x100158a7
push 0x10033060
call fcn.1001fb5c
push 0x1004998c
call fcn.1001fe33
add esp, 8
jmp 0x100158a7