joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3c20
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004039f8
ret

Function at 0x4a400c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
xor edx, edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4a4151
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a4164
call fcn.004a3e74
lea eax, [ebp - 0x3f0]
call fcn.004052e4
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405774
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a4117
xor edx, edx
push ebp
push 0x4a4110
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x3e9
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4a41a4
call fcn.004a3e74
mov eax, dword [ebp - 0x408]
call fcn.00405774
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a40f6
push ebp
mov eax, 0x4a41d0
call fcn.004a3f64
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4117
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.00405338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4158
lea eax, [ebp - 0x408]
call fcn.004052e4
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405308
ret
Function at 0x4a436c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
xor edx, edx
mov dword [ebp - 0x40c], edx
mov dword [ebp - 0x408], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], eax
xor eax, eax
push ebp
push 0x4a4530
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3f4]
mov eax, 0x4a4544
call fcn.004a41d4
lea eax, [ebp - 0x3f0]
call fcn.004052e4
lea eax, [ebp - 0x3fc]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x3f4]
call fcn.00405774
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4a44f1
xor eax, eax
push ebp
push 0x4a44ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x3e9
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 7
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
push 0x4a457c
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a4446
push ebp
mov eax, 0x4a4598
call fcn.004a42c4
pop ecx
mov dword [ebp - 0x404], ebx
mov dword [ebp - 0x400], 1
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x3e9]
push eax
lea eax, [ebp - 0x400]
push eax
push 0
lea edx, [ebp - 0x408]
mov eax, 0x4a45a4
call fcn.004a41d4
mov eax, dword [ebp - 0x408]
call fcn.00405774
push eax
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4a44d0
push dword [ebp - 0x3f0]
push 0x4a45c8
lea eax, [ebp - 0x40c]
lea edx, [ebp - 0x3e9]
mov ecx, 0x3e9
call fcn.00405554
push dword [ebp - 0x40c]
lea eax, [ebp - 0x3f0]
mov edx, 3
call fcn.00405678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a44f1
mov eax, dword [ebp - 0x3fc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x3f8]
mov edx, dword [ebp - 0x3f0]
call fcn.00405338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4537
lea eax, [ebp - 0x40c]
mov edx, 2
call fcn.00405308
lea eax, [ebp - 0x3f4]
mov edx, 2
call fcn.00405308
ret
Function at 0x4a9f58
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405764
xor eax, eax
push ebp
push 0x4aa093
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4aa063
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00405774
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a420
test al, al
jne 0x4a9fd3
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00403754
lea eax, [ebp - 0x1d0]
call fcn.004034f0
call fcn.004030e8
push dword [0x63fd3c]
push 0x4aa0ac
push dword [0x63fd40]
push 0x4aa0ac
push dword [0x63fd44]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.00405678
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004b0110
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405a94
call fcn.00403e4c
call fcn.004030e8
lea eax, [ebp - 0x1d0]
call fcn.0040381c
call fcn.004030e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4aa06d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa09a
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405308
lea eax, [ebp - 4]
call fcn.004052e4
ret
Function at 0x4ab244
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405764
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4ab3ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004aa3ec
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004aa40c
mov ebx, eax
jmp 0x4ab37e
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405554
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a54c
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409724
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409724
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.0040570c
je 0x4ab35e
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00405554
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409724
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409724
mov edx, dword [ebp - 0x148]
pop eax
call fcn.0040570c
jne 0x4ab373
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004aa42c
mov ebx, eax
test ebx, ebx
jne 0x4ab2bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab3b3
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405308
lea eax, [ebp - 4]
call fcn.004052e4
ret
Function at 0x4ab8a8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
test ebx, ebx
je 0x4ab94c
mov eax, ebx
mov edx, dword [eax + 0x3c]
add edx, eax
mov eax, edx
mov esi, eax
mov edx, dword [esi + 0x78]
mov eax, ebx
call fcn.004ab60c
mov esi, eax
mov ebp, dword [esi + 0x18]
dec ebp
test ebp, ebp
jb 0x4ab94c
inc ebp
xor edi, edi
mov edx, dword [esi + 0x20]
mov eax, ebx
call fcn.004ab60c
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
mov edx, dword [esp + 8]
mov eax, ebx
call fcn.004ab60c
mov dword [esp + 0xc], eax
mov eax, dword [esp]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.kernel32.dll_lstrcmpA
test eax, eax
jne 0x4ab948
mov edx, dword [esi + 0x24]
mov eax, ebx
call fcn.004ab60c
movzx eax, word [eax + edi*2]
mov word [esp + 0x10], ax
mov edx, dword [esi + 0x1c]
mov eax, ebx
call fcn.004ab60c
movzx edx, word [esp + 0x10]
mov eax, dword [eax + edx*4]
mov edx, eax
mov eax, ebx
call fcn.004ab60c
mov dword [esp + 4], eax
inc edi
dec ebp
jne 0x4ab8e4
mov eax, dword [esp + 4]
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4aca14
Capabilities:
Log keystrokes via application hook

Disassembly:
xor eax, eax
mov dword [0x640088], eax
push 0x4aca54
call sub.user32.dll_RegisterWindowMessageA
mov dword [0x640088], eax
mov eax, dword [0x639030]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [0x64008c], eax
push 0
mov eax, dword [0x63c7f8]
push eax
push 0x4ac9cc
push 0xd
call sub.user32.dll_SetWindowsHookExA
mov dword [0x640090], eax
ret

Function at 0x4acc7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405764
xor eax, eax
push ebp
push 0x4acd56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4acd6c
mov edx, dword [ebp - 4]
call fcn.004055fc
mov eax, dword [ebp - 8]
call fcn.00405774
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4accc6.0
jmp dword [eax*4 + 0x4acccd]
mov eax, ebx
mov edx, 0x4acd78
call fcn.00405338
jmp 0x4acd3b
mov eax, ebx
mov edx, 0x4acd88
call fcn.00405338
jmp 0x4acd3b
mov eax, ebx
mov edx, 0x4acd98
call fcn.00405338
jmp 0x4acd3b
mov eax, ebx
mov edx, 0x4acdac
call fcn.00405338
jmp 0x4acd3b
mov eax, ebx
mov edx, 0x4acdbc
call fcn.00405338
jmp 0x4acd3b
mov eax, ebx
mov edx, 0x4acdd0
call fcn.00405338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4acd5d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405308
ret
Function at 0x4ad228
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405764
xor eax, eax
push ebp
push 0x4ad2bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x4ad2d4
mov edx, dword [ebp - 4]
call fcn.004055fc
push 0xff
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xff
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 8]
call fcn.00405774
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0xc]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.0040a00c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad2c4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405308
ret
Function at 0x4b0c58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b0d29
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.0040a93c
lea ecx, [ebp - 0x108]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00439c2c
mov eax, dword [ebp - 0x108]
mov edx, 0x4b0d40
call fcn.0040570c
je 0x4b0cf9
lea ecx, [ebp - 0x10c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00439c2c
mov eax, dword [ebp - 0x10c]
mov edx, 0x4b0d4c
call fcn.0040570c
je 0x4b0cf9
lea eax, [ebp - 4]
mov edx, 0x4b0d4c
call fcn.004055b0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0d30
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00405308
lea eax, [ebp - 4]
call fcn.004052e4
ret
Function at 0x1163a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x17edc]
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x78
mov byte [ebp - 0x21], 0x70
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x2e
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x78
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x28]
mov byte [ebp - 0x34], 0x4d
mov byte [ebp - 0x33], 0x61
mov byte [ebp - 0x32], 0x78
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2f], 0x6f
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x2e
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x78
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x29], 0
stosd dword es:[edi], eax
mov byte [ebp - 7], al
lea edi, [ebp - 6]
mov byte [ebp - 0x14], 0x54
mov byte [ebp - 0x13], 0x54
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x76
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x6c
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x78
mov byte [ebp - 8], 0x65
stosw word es:[edi], ax
mov eax, dword [0x17fec]
test eax, eax
jne 0x1174e
mov eax, dword [0x17f20]
test eax, eax
je 0x11757
mov ecx, dword [ebp + 8]
lea edi, [eax + ecx]
test edi, edi
je 0x11757
mov esi, dword [sym.imp.ntoskrnl.exe__strnicmp]
push 0x10
lea eax, [ebp - 0x24]
push eax
push edi
call esi
add esp, 0xc
test eax, eax
je 0x1174a
push 0x10
lea eax, [ebp - 0x34]
push eax
push edi
call esi
add esp, 0xc
test eax, eax
je 0x1174a
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x11757
mov al, 1
jmp 0x11759
push dword [ebp + 8]
call eax
mov edi, eax
jmp 0x11710
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.00015e15
leave
ret 4
Function at 0x158ae
Capabilities:
Get system information on windows

Disassembly:
push 0x20
push 0x161d0
call fcn.00015e30
mov ebx, 0x10000
and dword [ebp - 0x24], 0
mov edi, 0xc0000004
push 0x4e746547
push ebx
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x1590f
push 0
push ebx
push esi
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [ebp - 0x28], eax
cmp eax, edi
jne 0x15904
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor esi, esi
mov dword [ebp - 0x20], esi
add ebx, ebx
jmp 0x15908
test eax, eax
jne 0x15916
cmp dword [ebp - 0x28], edi
je 0x158c8
jmp 0x15924
xor eax, eax
jmp 0x159a8
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor esi, esi
mov dword [ebp - 0x20], esi
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x28], eax
jne 0x1597b
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
lea ebx, [esi + 4]
mov dword [ebp - 0x30], ebx
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
jae 0x1597b
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0x11c
lea edi, [eax + ebx]
lea ecx, [edi + 0x1c]
test ecx, ecx
je 0x15981
push dword [ebp + 8]
movzx ecx, word [edi + 0x1a]
add ecx, eax
lea eax, [ecx + ebx + 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
pop ecx
pop ecx
test eax, eax
jne 0x15981
mov eax, dword [edi + 8]
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
jmp 0x15998
inc dword [ebp - 0x1c]
jmp 0x15940
test esi, esi
je 0x159a5
push 0
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x24]
call fcn.00015e6b
ret 4
Function at 0x159b0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x14], edi
je 0x15a8e
push ebp
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x15a8e
mov eax, dword [ebp + 0x3c]
add eax, ebp
cmp word [ebp], 0x5a4d
jne 0x15a8e
cmp dword [eax], 0x4550
jne 0x15a8e
mov esi, dword [eax + 0x78]
add esi, ebp
cmp dword [eax + 0x7c], edi
je 0x15a8e
cmp dword [esi + 0x18], edi
je 0x15a8e
cmp dword [esi + 0x14], edi
je 0x15a8e
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
add edi, ebp
add ebx, ebp
mov ebp, dword [esi + 0x24]
add ebp, dword [esp + 0x1c]
push edi
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x15a8e
push ebx
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x15a8e
push ebp
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x15a8e
and dword [esp + 0x10], 0
cmp dword [esi + 0x18], 0
jbe 0x15a76
mov eax, dword [esp + 0x10]
mov eax, dword [ebx + eax*4]
add eax, dword [esp + 0x1c]
push dword [esp + 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
pop ecx
pop ecx
je 0x15a7c
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x18]
jb 0x15a4d
mov eax, dword [esp + 0x14]
jmp 0x15a90
mov eax, dword [esp + 0x10]
movzx eax, word [ebp + eax*2]
mov eax, dword [edi + eax*4]
add eax, dword [esp + 0x1c]
jmp 0x15a90
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 8
Function at 0x402800
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x402863
cmp dword [esi + 0x80], 0
je 0x402869
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x402869
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x402d80
push 0
push 0
call fcn.00425fa2
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x402863
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x402863
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x402863
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret

Function at 0x4028f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
push esi
call fcn.00411ac3
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push 0x441790
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4029af
call fcn.00411ac3
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x4029af
push edi
call fcn.00411ac3
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x402957
pop edi
pop esi
pop ebp
ret 8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40299f
test ebx, ebx
je 0x40299f
push edi
push eax
push ebx
call fcn.0042b4c0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
push edi
push esi
call fcn.00402200
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret 8
pop esi
xor eax, eax
pop ebp
ret 8
Function at 0x404ae0
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43a1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x44b654]
xor eax, esp
mov dword [esp + 0x5e8], eax
push ebx
push esi
push edi
mov eax, dword [0x44b654]
xor eax, esp
push eax
lea eax, [esp + 0x600]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
mov dword [esp + 0x20], 8
mov dword [esp + 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00412d7c
push 0
call fcn.00413eac
add esp, 4
call fcn.0041440e
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [esp + 0x18], 2
jne 0x404b89
mov eax, dword [eax + 4]
cmp word [eax], 0x2f
jne 0x404b89
cmp word [eax + 2], 0x53
jne 0x404b89
cmp word [eax + 4], di
jne 0x404b89
mov edi, 1
push str.1C5EEE4D_1FFB_4e29_85B5_F520FD5B34D8
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
je 0x404bbd
test edi, edi
jne 0x404bb1
push edi
push edi
push 0x4414e0
call fcn.004146a5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404cd8
push str.1C5EEE4D_1FFB_4e29_85B5_F520FD5B34D8
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
je 0x404cd8
call fcn.004083c0
test eax, eax
je 0x404cd8
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
call fcn.00414742
call fcn.00404f70
test eax, eax
jne 0x404c0b
push eax
push eax
push 0x441548
call fcn.004146a5
jmp 0x404cd8
lea edx, [esp + 0x24]
push edx
call fcn.004054e0
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x608], eax
mov dword [esi + 0x20], ecx
cmp edi, eax
je 0x404c30
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x24]
call fcn.0041505d
push 0x44123c
lea ecx, [esp + 0x18]
call fcn.00405330
xor ecx, ecx
mov byte [esp + 0x608], 1
call fcn.004010f0
test eax, eax
je 0x404c67
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.004050a0
mov ecx, dword [0x44f7d4]
test ecx, ecx
je 0x404c83
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x44f7d4], 0
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x404c94
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x608], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x60c], 0xffffffff
call fcn.00404d00
xor eax, eax
mov ecx, dword [esp + 0x600]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5e8]
xor ecx, esp
call fcn.00425c62
mov esp, ebp
pop ebp
ret