joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403920
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, ecx
mov ebx, 0x80040064
cmp byte [edi + 0x21c], 0
je 0x403942
mov eax, dword [edi]
call dword [eax + 8]
test eax, eax
js 0x403acf
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x10]
push eax
push 0x41bc10
push 0x80000000
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call esi
test eax, eax
jne 0x403ace
push ebp
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x104
push eax
push str.BC7ADC2B_CC8C_48d2_A820_1BC605B0D3C7LocalServer32
push dword [esp + 0x1c]
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x403a11
lea ecx, [esp + 0x18]
push ecx
lea eax, [edi + 8]
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x4039b7
mov ecx, edi
call fcn.00403d20
mov ebx, eax
push dword [esp + 0x10]
call ebp
test ebx, ebx
js 0x403a11
lea eax, [esp + 0x10]
push eax
push str.539E424E_EE72_4439_BB27_6B646D119406InProcServer32
push dword [esp + 0x1c]
call esi
test eax, eax
jne 0x403a11
push 0x208
push eax
lea esi, [edi + 8]
mov dword [esp + 0x20], 0x104
push esi
call fcn.004065f0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [esp + 0x10]
test eax, eax
mov ecx, 0x80040064
cmovne ebx, ecx
call ebp
push dword [esp + 0x14]
call ebp
pop ebp
test ebx, ebx
js 0x403ace
lea eax, [edi + 8]
mov ebx, 0x80004005
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 0x220], eax
test eax, eax
je 0x403ace
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitConverter32
push eax
call esi
push str.UninitConverter
push dword [edi + 0x220]
mov dword [edi + 0x224], eax
call esi
push str.ForeignToRtf32
push dword [edi + 0x220]
mov dword [edi + 0x228], eax
call esi
push str.RtfToForeign32
push dword [edi + 0x220]
mov dword [edi + 0x22c], eax
call esi
push str.RegisterApp
push dword [edi + 0x220]
mov dword [edi + 0x230], eax
call esi
cmp dword [edi + 0x224], 0
mov dword [edi + 0x234], eax
je 0x403ace
cmp dword [edi + 0x228], 0
je 0x403ace
cmp dword [edi + 0x22c], 0
je 0x403ace
cmp dword [edi + 0x230], 0
je 0x403ace
test eax, eax
je 0x403ace
mov byte [edi + 0x21c], 1
xor ebx, ebx
pop esi
pop edi
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x403b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov esi, 0x80040064
cmp byte [edi + 0x21c], 0
je 0x403b36
mov edx, dword [edi]
call dword [edx + 8]
test eax, eax
jns 0x403b36
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x10]
push eax
push 0x41bc10
push 0x80000000
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x403bc2
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push str.60505FA3_3FAA_4EC5_AE2B_C002F2E4271BLocalServer32
push dword [esp + 0x18]
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x403ba8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
lea eax, [edi + 8]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x403ba2
mov ecx, edi
call fcn.00403d20
mov esi, eax
push dword [esp + 0xc]
call ebx
push dword [esp + 0x10]
call ebx
mov eax, esi
test esi, esi
js 0x403bc4
pop ebx
mov byte [edi + 0x21c], 1
pop edi
pop esi
add esp, 0xc
ret
mov eax, esi
pop ebx
pop edi
pop esi
add esp, 0xc
ret

Function at 0x403be0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov esi, 0x80040064
cmp byte [edi + 0x21c], 0
je 0x403c06
mov edx, dword [edi]
call dword [edx + 8]
test eax, eax
jns 0x403c06
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
push ebx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x10]
push eax
push 0x41bc10
push 0x80000000
mov dword [esp + 0x1c], 0
call ebx
test eax, eax
jne 0x403cb0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push str.82780E93_DEDB_4666_8CEF_E83D451CC53ELocalServer32
push dword [esp + 0x18]
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x403c80
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
lea eax, [edi + 8]
push eax
push 0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x403c7a
mov ecx, edi
call fcn.00403d20
mov esi, eax
push dword [esp + 0xc]
call ebx
push dword [esp + 0x10]
call ebx
test esi, esi
js 0x403cb0
lea eax, [edi + 0x220]
push eax
push 0x41be34
push 4
push 0
push 0x41be24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x403cb9
mov byte [edi + 0x21c], 1
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
pop ebx
pop edi
mov eax, 0x80040064
pop esi
add esp, 0xc
ret
Function at 0x403d20
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [esp + 4], 0
push ebp
push esi
lea ecx, [esp + 0xc]
mov esi, 0x80040064
lea eax, [ebx + 8]
mov dword [ebx + 4], 0
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebp, eax
test ebp, ebp
je 0x403db6
push edi
push ebp
call fcn.00408ecb
mov edi, eax
add esp, 4
test edi, edi
je 0x403db5
push edi
push ebp
push dword [esp + 0x18]
lea eax, [ebx + 8]
mov dword [esp + 0x20], 0
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x403dac
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
push 0x41cf38
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x403dac
push dword [esp + 0x14]
mov ecx, ebx
call fcn.00403e10
mov esi, eax
push edi
call fcn.00407727
add esp, 4
pop edi
mov ecx, dword [ebx + 4]
cmp ecx, 5
ja case.default.0x403dbe
jmp dword [ecx*4 + 0x403dec]
mov esi, 0x80040064
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, 0x80040065
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor esi, esi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40dc7c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040d92a
Function at 0x4267e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x426805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x426878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x42683a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x42686d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x42686b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x426831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4267fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x43b651
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop edx
add ecx, 0x63fcf4dc
call fcn.0043b688
add ecx, ecx
sub esp, 4
mov dword [esp], ecx
mov ecx, dword [esp]
add esp, 4
add ecx, esi
xor dword [eax], edx
mov esi, 0xe31aa0e6
inc eax
dec ecx
cmp eax, edi
jne fcn.0043b651
add esi, esi
ret

Function at 0x407f60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407f82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407f89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f78
mov eax, 1
add ebx, ebx
jne 0x407f9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407f90
jne 0x407fac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407f90
xor ecx, ecx
sub eax, 3
jb 0x407fc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408032
mov ebp, eax
add ebx, ebx
jne 0x407fcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x407ffc
inc ecx
add ebx, ebx
jne 0x407fe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407fdd
jne 0x407ff9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40801c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40800d
jmp 0x407f7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40801c
add edi, ecx
jmp 0x407f7e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40803a
cmp byte [edi], 0
jne 0x40803a
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 0x40803f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080b7
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 0x40806c
mov ecx, edi
jns 0x40809b
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 0x4080b1
mov dword [ebx], eax
add ebx, 4
jmp 0x408089
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 0x4080eb
sub esp, 0xffffff80
jmp 0x402130
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40673a
pop dword [ebp - 0x20]
mov eax, 0x40673a
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x4314a2ee
sub dword [ebp - 0x30], 0xf4c25da3
mov dword [ebp - 0x2c], 0x3919b4b8
add dword [ebp - 0x2c], 0xf919978d
mov dword [ebp - 0x28], 0x24c98f60
add dword [ebp - 0x28], 0x2782b4ce
mov dword [ebp - 0x24], 0x2e7214f7
add dword [ebp - 0x24], 0xd18deb09
lea eax, [ebp - 0x30]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa8791f0d
sub dword [ebp - 0x30], 0x3406b5b7
mov dword [ebp - 0x2c], 0xacf30205
add dword [ebp - 0x2c], 0x94795f70
mov dword [ebp - 0x28], 0xf0e6dcad
sub dword [ebp - 0x28], 0x8d777041
mov dword [ebp - 0x24], 0x9d8b9d3
sub dword [ebp - 0x24], 0x9d8b9d3
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x384b1
push 0
call eax
mov ecx, 0x4b1c
mov edx, eax
mov esi, 0xf86a08b4
add esi, 0x7dcdb4c
add esi, dword [ebp - 0x20]
mov ebx, 0xfd036dee
xor dword [ebp - 0x10], 0xf84182a6
mov edi, dword [esi]
xor dword [ebp - 0x14], ebx
add edi, ebx
mov dword [ebp - 0x1c], 0x7c07a61
mov dword [edx], edi
add edx, 0x364cf333
sub edx, 0x364cf32f
add esi, 0x27015633
add esi, 0xd8fea9d1
loop 0x406841
add eax, 0x11f43
mov ebx, eax
add eax, 0x8333463f
sub eax, 0x8333463a
mov ecx, 0x13d4c859
sub ecx, 0x1394c859
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x178c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x178c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x178c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x178c06a
add dl, dl
jne 0x178c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x178c0dc
xor eax, eax
add dl, dl
jne 0x178c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x178c17d
add dl, dl
jne 0x178c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x178c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x178c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x178c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x178c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x178c075
mov eax, 1
add dl, dl
jne 0x178c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x178c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x178c0e1
sub eax, ebx
mov ebx, 1
jne 0x178c128
mov ecx, 1
add dl, dl
jne 0x178c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x178c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x178c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x178c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x178c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x178c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x178c136
cmp eax, 0x7d00
jae 0x178c16d
cmp eax, 0x500
jb 0x178c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x178c075
cmp eax, 0x7f
ja 0x178c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x178c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x178c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x178c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000368d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100036ee
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100036cc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100036ca
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_UpdateColors]
jmp 0x100036ec
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x100036ec
push 0x14c8
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10003702
push 0
push 0x432a
push 0x1bbb
call fcn.1000a60a
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x100043c1
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10004404
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100043ee
push 0
push 0x119b
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
jmp 0x10004402
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_UpdateColors]
jmp 0x10004418
push 0x4d28
push 0x721
push 1
call fcn.10003339
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x10004ab4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10004b21
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10004b06
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10004b04
push 0x15e0
push 0x2116
push 1
push 1
call fcn.1000371e
add esp, 0x10
jmp 0x10004b1f
push 0x1dd5
push 0x1350
push 0
push 0x587
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x10004b4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
push 0x7e7f
push dword [ebp - 0x14]
push 0xf99
push dword [ebp - 0x18]
push 0
push 0x6696
call fcn.10003627
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10009471
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x100094f7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100094e8
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100094c9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x100094e6
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000f3dc
mov dword [eax], 1
jmp 0x100094be
jmp 0x100094f5
push 0xd5d
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
jmp 0x10009518
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x20]
push 0x3c16
push dword [ebp - 0x24]
call fcn.1000a2a3
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10015c77
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x1005b323
call fcn.1005a5c0
sub esp, 0x54
push ebx
push esi
mov dword [ebp - 0x24], 0x41ec
xor esi, esi
cmp dword [ebp - 0x24], 0x454e
push edi
mov dword [ebp - 0x10], esp
jle 0x10015ce7
mov edi, esi
mov ebx, esi
mov dword [ebp - 0x18], 0x1a00
mov eax, ebx
lea ecx, [ebp - 0x5c]
cdq
push edx
push eax
call fcn.10001aa4
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10015cbe
mov eax, dword [eax]
push eax
call fcn.10043d63
pop ecx
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.1000fb16
add ebx, edi
dec dword [ebp - 0x18]
jne 0x10015ca7
inc edi
cmp edi, 0x73d4
jl 0x10015c9e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp byte [ebp + 0x14], 0
je 0x10015dee
mov dword [ebp - 0x20], 0x79d1
cmp dword [ebp - 0x20], 0x7c37
jle 0x10015d69
mov edi, esi
mov dword [ebp - 0x1c], esi
mov ebx, esi
mov dword [ebp - 0x14], esi
mov eax, edi
mov ecx, esi
cdq
idiv ebx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov edi, esi
mov esi, ebx
shl esi, cl
mov ecx, edi
mov eax, esi
shl eax, cl
mov ecx, 0x10077318
cdq
push edx
push eax
call fcn.1000f05b
inc edi
cmp edi, 0x65ab
jl 0x10015d1d
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
push 0
pop esi
cmp ecx, 0x4975
jl 0x10015d17
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
inc ebx
mov dword [ebp - 0x14], ebx
cmp ebx, 0x4f9c
jl 0x10015d0b
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, 0x4f5f
jl 0x10015d06
mov edx, dword [ebp + 0x18]
mov dword [edx], 0x1a
jmp 0x10015db2
mov dword [ebp - 0x14], 0xfffffffd
mov dword [ebp - 0x14], esi
jmp 0x10015d8a
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x34], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10015d80
mov dword [ebp - 0x14], esi
jmp 0x10015daa
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], esi
jne 0x10015db0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x34], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x10015d95
dec dword [edx]
cmp dword [edx], 0xffffffff
jne 0x10015d74
mov dword [ebp - 4], esi
cmp dword [ebp - 0x20], 0x7632
jge 0x10015dd2
mov edx, str.hfmhucbe_gtgfy_snvei_anptw_dgjegwb_pemw_wmqrj_arrklx
mov ecx, 0x10077318
call fcn.10013928
jmp 0x10015e43
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x18], 0x1a
jmp 0x10015e3d
mov dword [ebp - 0x14], 0xfffffffd
mov dword [ebp - 0x14], esi
jmp 0x10015e14
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], esi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10015e0a
mov dword [ebp - 0x14], esi
jmp 0x10015e34
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], esi
jne 0x10015e3a
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x44], ecx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x10015e1f
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffff
jne 0x10015dfe
cmp dword [ebp - 0x24], 0x40c4
jge 0x10015e57
push str.hxjrp_buaomb_vqdfnzwr
call fcn.10043d63
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001632e
Capabilities:
Encode data using xor
Start service

Disassembly:
mov eax, 0x1005b33f
call fcn.1005a5c0
sub esp, 0x18
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edi
je 0x10016422
mov dword [ebp - 0x1c], 0x6114
cmp dword [ebp - 0x1c], 0x62ef
jle 0x100163c1
xor esi, esi
xor ebx, ebx
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea eax, [ebx + esi]
xor eax, ecx
mov ecx, 0x10077318
xor eax, edi
cdq
push edx
push eax
call fcn.1000f05b
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x3b90
jl 0x1001636e
inc edi
cmp edi, 0x2acf
jl 0x10016369
inc ebx
cmp ebx, 0xe1c
jl 0x10016367
inc esi
cmp esi, 0x76b9
jl 0x10016365
push 0x1f34
push 0x16cc
push 0
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edi, dword [ebp - 0x20]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x6018
jge 0x100163fc
mov edx, str.gpif_rrxplcicy_ggaekc_eff_vwzzm_aqdwqm_yejrctuao_jmukvdld_lhfkdo_txy_mwzwfmcbl_mmkjlac_tqzm_tkjnna
mov ecx, 0x10077318
call fcn.10013928
jmp 0x100163fc
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
mov eax, dword [edi]
mov eax, dword [ecx]
xor ecx, ecx
mov eax, dword [edi]
inc ecx
cmp ecx, eax
mov eax, dword [ebp + 0xc]
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
mov ecx, dword [eax]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [eax], ecx
jmp 0x1001643b
mov byte [ebp - 0x11], 0
cmp byte [ebp - 0x11], 0
je 0x1001643b
push 0
push 0x119b
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret