joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
lea ebx, [ebp - 0x254]
test edi, edi
je 0x405547
mov edx, edi
mov eax, ebx
call fcn.0040f798
mov eax, ebx
call fcn.0040f718
inc eax
add ebx, eax
mov edx, edi
mov eax, ebx
call fcn.0040f798
mov eax, ebx
call fcn.0040f718
inc eax
add ebx, eax
mov eax, 0x85
call fcn.004029f0
mov edx, eax
mov eax, ebx
call fcn.0040f798
mov eax, ebx
call fcn.0040f718
inc eax
add ebx, eax
mov edx, 0x41456c
mov eax, ebx
call fcn.0040f798
mov eax, ebx
call fcn.0040f718
inc eax
mov ecx, 0x4c
add ebx, eax
lea eax, [ebp - 0x54]
xor edx, edx
mov byte [ebx], 0
call fcn.0040f698
mov dword [ebp - 0x54], 0x4c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x50], eax
mov edx, dword [0x41a4f4]
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0x400
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.00405c40
cmp esi, eax
jne 0x4055e0
lea edx, [ebp - 0x654]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea ecx, [ebp - 0x654]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x1080c
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
jne 0x405610
call sub.COMDLG32.DLL_CommDlgExtendedError
cmp eax, 0x3002
jne 0x405610
mov byte [esi], 0
lea eax, [ebp - 0x54]
push eax
call sub.COMDLG32.DLL_GetOpenFileNameA
mov ebx, eax
test ebx, ebx
setne al
and eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a7bc
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x40e044
Capabilities:
Move file

Disassembly:
push ebx
push esi
push edi
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x40e04d
mov eax, dword [esp + 0x2000]
add esp, 0xfffffb30
mov ebx, edx
mov esi, eax
lea edi, [esp + 0x10b4]
lea eax, [esp + 0xc14]
call fcn.00406500
lea eax, [esp + 0xc40]
call fcn.00406500
lea eax, [esp + 0xc6c]
call fcn.00406500
push 0
lea ecx, [esp + 4]
mov edx, ebx
mov eax, esi
call fcn.00405830
test al, al
jne 0x40e0ad
xor eax, eax
jmp 0x40e1fa
cmp byte [esp], 0
je 0x40e0bd
cmp byte [esp + 0xc98], 0
jne 0x40e0c4
xor eax, eax
jmp 0x40e1fa
mov eax, esp
call fcn.00405c40
lea edx, [esp + 0xc98]
call fcn.00406c68
test eax, eax
je 0x40e0f2
mov eax, esi
call fcn.00405c40
lea edx, [esp + 0xc98]
call fcn.00406c68
test eax, eax
je 0x40e0f9
xor eax, eax
jmp 0x40e1fa
xor ebx, ebx
mov eax, edi
mov ecx, 0x400
mov edx, esi
call fcn.0040f7a8
push ebx
push str.rtmp_d
mov eax, edi
call fcn.00405c40
push eax
call fcn.0040f890
add esp, 0xc
mov eax, edi
xor edx, edx
call fcn.00406aec
test al, al
je 0x40e137
add ebx, 0x7b
cmp ebx, 0x2710
jl 0x40e0fb
mov eax, edi
xor edx, edx
call fcn.00406aec
test al, al
je 0x40e14b
xor eax, eax
jmp 0x40e1fa
lea eax, [esp + 0x14b4]
mov ecx, 0x400
mov edx, esi
call fcn.0040f7a8
mov eax, esp
call fcn.00405c40
push eax
lea eax, [esp + 0x14b8]
call fcn.00405c40
pop edx
call fcn.0040f798
push edi
lea ecx, [esp + 0x14b8]
push ecx
call sub.KERNEL32.DLL_MoveFileA
test eax, eax
jne 0x40e18e
xor eax, eax
jmp 0x40e1fa
lea eax, [esp + 0x18b4]
call fcn.0040e204
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.00406aec
test al, al
jne 0x40e1bb
lea eax, [esp + 0x18b4]
xor ecx, ecx
mov edx, esi
call fcn.0040e3e4
mov ebx, eax
lea eax, [esp + 0x14b4]
push eax
push edi
call sub.KERNEL32.DLL_MoveFileA
test bl, bl
je 0x40e1e5
lea eax, [esp + 0x18b4]
call fcn.0040e4e8
lea eax, [esp + 0x18b4]
call fcn.0040e570
mov al, 1
push eax
lea eax, [esp + 0x18b8]
mov edx, 2
call fcn.0040e254
pop eax
add esp, 0x24d4
pop edi
pop esi
pop ebx
ret
Function at 0x40e298
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov ebx, eax
push edi
mov dword [ebp - 4], edx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc18], edx
cmp byte [ebx + 0x16], 0
mov esi, ecx
je 0x40e2bb
mov al, 1
cmp byte [ebp + 8], 0
mov edi, 0x80000000
je 0x40e2cc
or edi, 0x40000000
mov dword [ebp - 8], 1
test al, al
je 0x40e2db
or dword [ebp - 8], 2
xor eax, eax
cmp byte [ebx + 0x15], 0
jne 0x40e2e8
add eax, 0x8000000
mov dword [ebp - 0xc], eax
call fcn.004053d4
test eax, eax
je 0x40e315
test esi, esi
je 0x40e315
cmp word [esi], 0
je 0x40e315
push 0
push dword [ebp - 0xc]
push 3
push 0
push dword [ebp - 8]
push edi
push esi
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
jmp 0x40e32c
push 0
push dword [ebp - 0xc]
push 3
push 0
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
jne 0x40e345
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x40e345
mov dword [ebx + 0xc18], 1
xor edx, edx
cmp edi, 0xffffffff
mov byte [ebx + 0x12], 0
setne cl
mov dword [ebx + 0xc], edx
and ecx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 0xd], cl
cmp byte [ebp - 0xd], 0
je 0x40e3af
mov dword [ebx + 4], edi
test esi, esi
je 0x40e37a
lea eax, [ebx + 0x418]
mov edx, esi
call fcn.0040ff70
jmp 0x40e383
mov word [ebx + 0x418], 0
cmp dword [ebp - 4], 0
je 0x40e396
lea eax, [ebx + 0x17]
mov edx, dword [ebp - 4]
call fcn.0040f798
jmp 0x40e3a5
lea edx, [ebx + 0x17]
mov ecx, 0x10000000
mov eax, esi
call fcn.0040fd50
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.0040e494
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40e5a0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x40e6c3
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40e5db
dec eax
je 0x40e5c5
dec eax
je 0x40e5d1
jmp 0x40e5db
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x40e5db
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x40e62d
xor ebp, ebp
cmp esi, ebp
jle 0x40e649
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x40e600
mov ecx, esi
sub ecx, ebp
jmp 0x40e605
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x40e649
add ebp, 0x4000
cmp esi, ebp
jg 0x40e5e7
jmp 0x40e649
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x40e6bf
cmp byte [edi + 0x14], 0
je 0x40e6bf
cmp dword [edi + 0xc], 0
jne 0x40e6bf
lea edx, [edi + 0x17]
mov eax, 0x41a4d4
call fcn.0040c740
test al, al
je 0x40e6a9
mov ecx, dword [esp + 4]
cmp ecx, esi
jae 0x40e5db
cmp dword [esp + 4], 0
jbe 0x40e5db
mov eax, edi
call fcn.0040e8e8
push edx
push eax
mov eax, dword [esp + 0xc]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
xor edx, edx
mov eax, edi
call fcn.0040e830
jmp 0x40e5db
lea ecx, [edi + 0x17]
mov eax, 0x41a4d4
xor edx, edx
call fcn.0040c728
jmp 0x40e6bf
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40e7b0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x40e7d7
cmp esi, 0x4e20
jle 0x40e7cd
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40e828
mov eax, ebx
call fcn.0040eaf0
test al, al
je 0x40e80f
cmp esi, 0x4e20
jle 0x40e80f
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.0040e7b0
jmp 0x40e82b
cmp dword [ebx + 0xc], 1
jne 0x40e823
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x6d
jne 0x40e823
xor eax, eax
jmp 0x40e82b
or eax, 0xffffffff
jmp 0x40e82b
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40fce0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x414804], 0
jne 0x40fcf9
call fcn.0040f934
mov dword [0x414800], eax
inc byte [0x414804]
call fcn.0040f934
sub eax, dword [0x414800]
cmp eax, 0x64
jle 0x40fd35
cmp dword [0x4148c4], 0
je 0x40fd30
mov eax, 0x41a4d4
mov edx, 0xff
call fcn.0040c8dc
mov eax, 0x41a4d4
mov edx, 0xff
call fcn.0040c8d4
call fcn.00402a6c
ret
Function at 0x1015533
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x1015567
cmp dword [edi + 0xc], ebx
je 0x1015567
mov ecx, dword [edi + 8]
cmp ecx, ebx
je 0x1015567
cmp dword [edi], 0x24
jne 0x1015567
mov eax, 0x10000
cmp dword [edi + 4], eax
jbe 0x10155a3
mov esi, 0x80070057
mov eax, dword [section..data]
cmp eax, section..data
je 0x10156da
test byte [eax + 0x1c], 2
je 0x10156da
push esi
push 0x1001fa4
push 0x10018b8
push 0x31
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x10156da
lea edx, [ebp + 8]
push edx
push eax
push ecx
call fcn.01014798
mov esi, eax
test esi, esi
jge 0x10155dd
mov eax, dword [section..data]
cmp eax, section..data
je 0x10156da
test byte [eax + 0x1c], 2
je 0x10156da
push esi
push 0x1001b88
push 0x10018b8
push 0x32
jmp 0x1015593
push 0x8028
call fcn.0104b5f8
test eax, eax
je 0x10155f4
mov ecx, eax
call fcn.01020423
jmp 0x10155f6
xor eax, eax
push eax
lea ecx, [ebp - 4]
call fcn.010146ac
mov ebx, dword [ebp - 4]
test ebx, ebx
jne 0x1015639
mov eax, dword [section..data]
cmp eax, section..data
je 0x101562f
test byte [eax + 0x1c], 2
je 0x101562f
push 0x1001f88
push 0x10018b8
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov esi, 0x8007000e
jmp 0x10156da
push dword [edi + 0xc]
mov ecx, ebx
call fcn.01025ee0
mov esi, eax
test esi, esi
jge 0x1015671
mov eax, dword [section..data]
cmp eax, section..data
je 0x10156da
test byte [eax + 0x1c], 2
je 0x10156da
push esi
push 0x1001f60
push 0x10018b8
push 0x34
jmp 0x1015593
push dword [edi + 0xc]
mov ecx, ebx
call fcn.010276dd
mov esi, eax
test esi, esi
jge 0x10156a5
mov eax, dword [section..data]
cmp eax, section..data
je 0x10156da
test byte [eax + 0x1c], 2
je 0x10156da
push esi
push 0x1001f2c
push 0x10018b8
push 0x35
jmp 0x1015593
mov ecx, dword [ebp - 8]
push ebx
call fcn.01014f3f
mov esi, eax
test esi, esi
jge 0x10156d8
mov eax, dword [section..data]
cmp eax, section..data
je 0x10156da
test byte [eax + 0x1c], 2
je 0x10156da
push esi
push 0x1001ee0
push 0x10018b8
push 0x36
jmp 0x1015593
xor esi, esi
test edi, edi
je 0x10156f7
mov eax, dword [edi + 0xc]
test eax, eax
je 0x10156f7
add eax, 0xc5c
cmp word [eax], 0
je 0x10156f7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 8]
push edi
call fcn.01014133
xor eax, eax
test esi, esi
setge al
test ebx, ebx
mov esi, eax
je 0x1015713
push ebx
call fcn.010142f7
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1015bf1
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
cmp edi, esi
je 0x1015c17
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x100223c
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
cmp ebx, esi
je 0x1015c90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1015c55
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
xor ebx, ebx
call fcn.010149af
mov esi, eax
test esi, esi
jge 0x1015cbb
inc edi
cmp edi, 5
jl 0x1015c06
test esi, esi
jge 0x1015cc2
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d70
test byte [eax + 0x1c], 2
je 0x1015d70
push esi
push 0x1002200
push 0x10018b8
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x1015d70
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015cb4
test byte [eax + 0x1c], 2
je 0x1015cb4
push 0x10018b8
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov esi, 0x80004005
jmp 0x1015d32
mov esi, 0x40200
jmp 0x1015d32
push 0x208
call fcn.0104b5f8
test eax, eax
je 0x1015cd9
mov ecx, eax
call fcn.01015775
jmp 0x1015cdb
xor eax, eax
push eax
lea ecx, [ebp - 4]
call fcn.010146ac
mov ecx, dword [ebp - 4]
test ecx, ecx
jne 0x1015d3b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d14
test byte [eax + 0x1c], 2
je 0x1015d14
push 0x10021cc
push 0x10018b8
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
mov esi, 0x8007000e
test ebx, ebx
je 0x1015d24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
je 0x1015d32
push dword [ebp - 4]
call fcn.010142f7
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
push dword [ebp + 0xc]
push ebx
call fcn.01015a67
mov esi, eax
test esi, esi
jge 0x1015d6e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1015d70
test byte [eax + 0x1c], 2
je 0x1015d70
push esi
push 0x1002168
push 0x10018b8
push 0x19
jmp 0x1015c80
xor esi, esi
test esi, esi
jge 0x1015d24
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1015d19
add ecx, 4
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x1015d24

Function at 0x101689b
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x27c], 0
jne 0x10168d4
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10168b9
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10168d4
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x10168d3
push 0
push eax
call edi
pop edi
and dword [esi + 0xc], 0
pop esi
ret
Function at 0x1018343
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x27c], 0
push edi
jne 0x101838c
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1018365
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 0x38]
jmp 0x101838f
call fcn.010177db
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x3c]
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1018388
push 5
push eax
call edi
mov eax, dword [esi + 0x40]
jmp 0x101838f
xor eax, eax
jmp 0x101838f
mov eax, dword [esi + 4]
push eax
mov ecx, esi
mov dword [esi + 0xc], 1
call fcn.010167f4
pop edi
pop esi
ret

Function at 0x1019045
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x1019084
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x1019084
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov edi, 0x100
push edi
lea eax, [ebp - 0x204]
push eax
push 0xbb7
push dword [esi + 0x2c]
call fcn.0104be39
test eax, eax
jne 0x10190b4
push 0x10027ec
push edi
lea eax, [ebp - 0x204]
push eax
call fcn.01018462
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push edi
push eax
call fcn.010184d0
mov esi, dword [esi + 4]
add esp, 0x10
push 0x10010
lea eax, [ebp - 0x404]
push eax
push ebx
push esi
call fcn.0104ba9e
dec eax
pop edi
pop esi
pop ebx
je 0x10190f9
dec eax
dec eax
je 0x10190f9
dec eax
jne 0x1019108
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x1019108
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01035675
leave
ret 8
Function at 0x101d961
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 1
xor ebx, ebx
xor esi, esi
call fcn.0101d144
test eax, eax
je 0x101d98a
xor eax, eax
inc eax
jmp 0x101dab2
cmp edi, ebx
je 0x101daaf
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x101d9f8
cmp word [edi + 2], cx
jne 0x101d9f8
push 2
pop esi
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101d9b2
inc esi
cmp ax, cx
jne 0x101d9a3
cmp word [edi + esi*2], bx
jne 0x101d9e4
mov eax, dword [section..data]
cmp eax, section..data
je 0x101d9dd
test byte [eax + 0x1c], 2
je 0x101d9dd
push edi
push 0x1002cac
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01013fed
xor eax, eax
jmp 0x101dab2
cmp word [edi + esi*2 + 2], 0x24
jne 0x101da17
cmp word [edi + esi*2 + 4], cx
jne 0x101da17
add esi, 3
jmp 0x101da17
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101da08
inc esi
cmp ax, 0x3a
jne 0x101d9f8
movzx eax, word [edi + esi*2]
cmp ax, bx
je 0x101da5f
cmp ax, cx
jne 0x101da5f
inc esi
lea esi, [edi + esi*2]
movzx eax, word [esi]
cmp ax, bx
je 0x101da86
cmp ax, 0x5c
jne 0x101da56
push edi
mov word [esi], bx
call fcn.0101d144
test eax, eax
jne 0x101da51
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x101da51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x101da51
mov dword [ebp - 4], ebx
mov word [esi], 0x5c
inc esi
inc esi
cmp dword [ebp - 4], ebx
jne 0x101da1a
jmp 0x101da8b
mov eax, dword [section..data]
cmp eax, section..data
je 0x101d9dd
test byte [eax + 0x1c], 2
je 0x101d9dd
push edi
push 0x1002cac
push 0x2c
jmp 0x101d9d2
cmp dword [ebp - 4], ebx
jne 0x101daaf
mov eax, dword [section..data]
cmp eax, section..data
je 0x101daaf
test byte [eax + 0x1c], 2
je 0x101daaf
push 0x1002cac
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x101db45
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
push eax
xor esi, esi
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x101db90
cmp dword [ebp - 0x114], 5
jb 0x101db8b
jne 0x101dbc0
cmp dword [ebp - 0x110], esi
jne 0x101dbc0
xor esi, esi
inc esi
jmp 0x101dbc0
mov eax, dword [section..data]
cmp eax, section..data
je 0x101dbc0
test byte [eax + 0x1c], 2
je 0x101dbc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [section..data]
push 0x1002cac
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101420b
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01035675
leave
ret
Function at 0x101e78e
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x1053d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x320]
xor ebx, ebx
push eax
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x320], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x101e80f
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e9a7
test byte [eax + 0x1c], 2
je 0x101e9a7
push 0x1002cac
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
jmp 0x101e9a7
cmp dword [ebp - 0x310], 2
jne 0x101e993
cmp dword [ebp - 0x31c], 5
jbe 0x101e931
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, ebx
jge 0x101e86d
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e9a3
test byte [eax + 0x1c], 2
je 0x101e9a3
push esi
push 0x1002f84
push 0x1002cac
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x101e9a3
lea eax, [ebp - 0x32c]
push eax
push 0x1002f74
push 0x17
push ebx
push 0x100a32c
mov dword [ebp - 0x328], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x101e8ce
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e99d
test byte [eax + 0x1c], 2
je 0x101e99d
push esi
push 0x1002f28
push 0x1002cac
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
jmp 0x101e99d
cmp dword [ebp + 0x10], ebx
je 0x101e8db
push dword [ebp + 0x10]
call fcn.0101cdae
push edi
lea ecx, [ebp - 0x330]
call fcn.01019b46
mov eax, dword [eax]
mov ecx, dword [ebp - 0x32c]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
push dword [ebp - 0x330]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x101e993
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e99d
test byte [eax + 0x1c], 2
je 0x101e99d
push esi
push 0x1002ed8
push 0x1002cac
push 0x29
jmp 0x101e8be
cmp esi, ebx
mov edi, 0x1002ec4
je 0x101e985
push esi
push edi
push 0x1002eb4
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.010184d0
add esp, 0x14
test eax, eax
jge 0x101e97f
mov eax, dword [section..data]
cmp eax, section..data
je 0x101e985
test byte [eax + 0x1c], 2
je 0x101e985
push 0x1002cac
push 0x2a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010141c0
jmp 0x101e985
lea edi, [ebp - 0x20c]
push ebx
push ebx
push edi
push dword [ebp - 0x324]
call fcn.0103e892
xor esi, esi
cmp dword [ebp - 0x328], ebx
je 0x101e9ba
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x101e9ba
push dword [ebp + 0x14]
push 0x411
push dword [ebp - 0x324]
call fcn.010499f9
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01035675
leave
ret 0x14
Function at 0x101fe68
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp + 0x14]
push eax
push 0x20019
push 0
push dword [ebp + 0x14]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
cmp esi, 2
je 0x101ff36
test esi, esi
je 0x101feb6
mov eax, dword [section..data]
cmp eax, section..data
je 0x101ff14
test byte [eax + 0x1c], 2
je 0x101ff14
push esi
push 0x10033d8
push 0x1003338
push 0xf
jmp 0x101ff09
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
je 0x101ff36
test esi, esi
je 0x101ff26
mov eax, dword [section..data]
cmp eax, section..data
je 0x101ff14
test byte [eax + 0x1c], 2
je 0x101ff14
push esi
push 0x10033d8
push 0x1003338
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01040d61
test esi, esi
jle 0x101ff39
and esi, 0xffff
or esi, 0x80070000
jmp 0x101ff39
cmp dword [ebp - 4], 4
jne 0x101ff36
cmp dword [ebp + 8], 4
jne 0x101ff36
xor esi, esi
jmp 0x101ff39
xor esi, esi
inc esi
mov eax, esi
pop esi
leave
ret 0x10
Function at 0x1027a97
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
push eax
push 2
xor esi, esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1027ad0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1027ac7
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret 0xc