joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404cd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4332e7
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x354
push ebx
push esi
mov ebx, ecx
push edi
push 0x1d712
mov esi, dword [ebx + 0x24]
call sub.HHA.dll_Ordinal_194
mov edi, eax
mov cl, byte [esi]
mov al, cl
cmp cl, byte [edi]
jne 0x404d16
test al, al
je 0x404d12
mov cl, byte [esi + 1]
mov al, cl
cmp cl, byte [edi + 1]
jne 0x404d16
inc esi
inc esi
inc edi
inc edi
test al, al
jne 0x404cf4
xor eax, eax
jmp 0x404d1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404d47
mov edi, dword [ebx + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x404d4e
and byte [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call sub.HHA.dll_Ordinal_10
test eax, eax
je 0x404d86
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x10c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [ebp - 0x260]
call sub.HHA.dll_Ordinal_252
and dword [ebp - 4], 0
and dword [ebp - 0x248], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x254], 0x442624
mov dword [ebp - 0x240], 0x100
mov dword [ebp - 0x22c], 0xc
call sub.comdlg32.dll_GetSaveFileNameA
test eax, eax
je 0x404e6c
lea eax, [ebp - 0x10c]
push 0x2e
push eax
call sub.HHA.dll_Ordinal_10
test eax, eax
jne 0x404dff
lea eax, [ebp - 0x10c]
push 0x44261c
push eax
call sub.HHA.dll_Ordinal_4
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x404e88
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call sub.HHA.dll_Ordinal_10
test eax, eax
lea edi, [eax + 1]
jne 0x404e2c
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x360]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x24
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x360]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x1d713
call sub.HHA.dll_Ordinal_253
cmp eax, 6
je 0x404e88
jmp 0x404d97
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x110], 0
je 0x404e84
push dword [ebp - 0x110]
call sub.HHA.dll_Ordinal_132
xor eax, eax
jmp 0x404ee0
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
push 1
push ecx
mov ecx, ebx
call dword [eax + 0x58]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, ebx
call dword [eax + 0x54]
mov eax, dword [ebx]
lea ecx, [ebp - 0x10c]
push ecx
mov ecx, ebx
call dword [eax + 0x7c]
lea eax, [ebp - 0x10c]
mov ecx, 0x444060
push eax
call sub.HHA.dll_Ordinal_277
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x110], 0
je 0x404edd
push dword [ebp - 0x110]
call sub.HHA.dll_Ordinal_132
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41cfa0
Capabilities:
Get common file path
Get file attributes

Disassembly:
mov eax, 0x4348ec
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20c
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41cfcc
mov eax, ecx
jmp 0x41cfcf
mov eax, dword [eax + 8]
mov edi, str._SystemRoot_
mov ebx, eax
push edi
push eax
call sub.HHA.dll_Ordinal_1
mov esi, eax
test esi, esi
je 0x41d03d
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [ebp - 0x218]
mov edi, ecx
or ecx, 0xffffffff
add edi, esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x218]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_23
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, str.file:
push edi
push ebx
call sub.HHA.dll_Ordinal_12
test eax, eax
je 0x41d072
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
call sub.HHA.dll_Ordinal_23
cmp dword [ebp - 0x10], 0
mov ebx, eax
je 0x41d06f
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x41d11b
cmp byte [ebx], 0
je 0x41d11b
push 0x23
push ebx
call sub.HHA.dll_Ordinal_8
test eax, eax
je 0x41d092
and byte [eax], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x114]
push eax
and ecx, 3
push dword [ebp + 0x10]
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_315
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
jne 0x41d10f
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x114]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x114]
push eax
and ecx, 3
push dword [ebp + 0x14]
rep movsb byte es:[edi], byte [esi]
call sub.HHA.dll_Ordinal_315
lea eax, [ebp - 0x114]
push eax
call fcn.0041ce0f
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 0
je 0x41d12d
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x423925
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x434ff7
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x423966
cmp byte [edi], 0
je 0x423966
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ebx, dword [ebp + 0x10]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42396c
mov ebx, dword [ebp + 0x10]
and byte [ebx], 0
push dword [ebp + 0xc]
lea ecx, [ebp + 0x10]
call sub.HHA.dll_Ordinal_14
and dword [ebp - 4], 0
push 0x442548
lea ecx, [ebp + 0x10]
call fcn.0040282c
push dword [ebp + 8]
lea ecx, [ebp - 0x160]
call sub.HHA.dll_Ordinal_252
push dword [ebp + 0x10]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call sub.HHA.dll_Ordinal_261
lea eax, [ebp - 0x160]
mov dword [ebp - 0x144], ebx
push eax
mov dword [ebp - 0x140], 0x104
mov dword [ebp - 0x12c], 0xc
call sub.comdlg32.dll_GetSaveFileNameA
test eax, eax
je 0x423a3b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423a63
push 0x5c
push ebx
call sub.HHA.dll_Ordinal_10
test eax, eax
je 0x4239f9
lea edi, [eax + 1]
lea edx, [ebp - 0x260]
jmp 0x423a01
lea edx, [ebp - 0x260]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x24
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x260]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x1d713
call sub.HHA.dll_Ordinal_253
cmp eax, 6
je 0x423a63
jmp 0x4239a8
and byte [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x423a4d
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x10], 0
je 0x423a5f
push dword [ebp + 0x10]
call sub.HHA.dll_Ordinal_132
xor eax, eax
jmp 0x423a8a
and byte [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x423a75
push dword [ebp - 0x10]
call sub.HHA.dll_Ordinal_132
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x10], 0
je 0x423a87
push dword [ebp + 0x10]
call sub.HHA.dll_Ordinal_132
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x427a74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x435350
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x138
mov eax, dword [0x4443fc]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x427aac
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x427aac
push edi
push edi
push 0x10
push dword [0x4443fc]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x444400]
cmp ecx, edi
je 0x427ac4
mov esi, ecx
call fcn.004281cc
push esi
call sub.MFC40.DLL_operator_delete
pop ecx
push 0x40
call sub.MFC40.DLL_operator_new
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x427adf
call fcn.004281bc
jmp 0x427ae1
xor eax, eax
push dword [0x443c30]
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x444400], eax
push edi
call fcn.0042821f
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0x134
push eax
push 0x427a45
push 0x427a2b
push dword [ebp + 8]
call sub.HHA.dll_Ordinal_319
mov ecx, dword [0x444400]
mov esi, eax
call fcn.004286e9
cmp esi, edi
je 0x427bbf
test byte [0x444039], 1
je 0x427bbf
cmp dword [ebp - 0x138], edi
jne 0x427bbf
cmp dword [ebp - 0x13c], edi
jne 0x427bbf
cmp dword [ebp - 0x140], edi
jne 0x427bbf
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x427bbf
mov ecx, dword [0x443de0]
cmp ecx, edi
jne 0x427ba5
push 0x68
call sub.MFC40.DLL_operator_new
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, edi
mov dword [ebp - 4], 1
je 0x427b97
push 9
push str.Compiled_Files
call sub.HHA.dll_Ordinal_127
jmp 0x427b99
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x443de0], ecx
lea eax, [ebp - 0x114]
push eax
call sub.HHA.dll_Ordinal_124
lea eax, [ebp - 0x114]
push eax
call sub.HHA.dll_Ordinal_23
jmp 0x427bc1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4

Function at 0x42821f
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xc]
mov dword [esi], eax
lea eax, [esi + 0x28]
push eax
xor eax, eax
push eax
push esi
push 0x42824b
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
pop esi
ret 8
Function at 0x4287db
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 4], 0
jne 0x4288cd
push dword [ebp + 8]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
push 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
movsx eax, byte [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
test eax, eax
pop ecx
jne 0x42883c
lea edi, [ebp - 0xf]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x428809
movsx eax, byte [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_isdigit]
test eax, eax
pop ecx
jne 0x42887e
push eax
push 0x1f9c
push dword [ebx + 0x10]
call sub.HHA.dll_Ordinal_74
push dword [ebp + 8]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp + 8], 4
push 0x43c3d8
lea eax, [ebp + 8]
jmp 0x4288c5
lea ecx, [ebp - 0x10]
call sub.HHA.dll_Ordinal_196
cmp eax, 0x3e8
jl 0x428894
cmp eax, 0x1387
jle 0x428900
push 0
push 0x1f9d
push dword [ebx + 0x10]
call sub.HHA.dll_Ordinal_74
push dword [ebp + 8]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebp + 8], 4
push 0x43c3d8
lea eax, [ebp + 8]
push eax
call sub.MSVCRT.dll__CxxThrowException
jmp 0x428900
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jbe 0x428900
push eax
lea eax, [ebp - 0x10]
push 0x4438fc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp + 8]
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x432097
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4320ef
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x444280
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4320e2
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4320f1
xor eax, eax
pop esi
leave
ret 4

Function at 0x432cc0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b6a0
push 0x432eb2
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x444470], 0xffffffff
mov eax, dword [0x444470]
mov dword [0x444474], eax
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x443b80]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x443b7c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x44446c], eax
call fcn.00432eb0
cmp dword [0x443b78], 0
jne 0x432d50
push 0x432ea0
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.00432e80
push 0x4420a4
push 0x4420a0
call sub.MSVCRT.dll__initterm
add esp, 8
mov eax, dword [0x443b74]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x443b70]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x44209c
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x432dc4
mov al, byte [ebp - 0x40]
inc esi
mov al, byte [esi]
test al, al
je 0x432dbc
cmp al, 0x22
jne 0x432db1
cmp byte [esi], 0x22
jne 0x432dce
inc esi
jmp 0x432dce
cmp al, 0x20
jbe 0x432dce
inc esi
cmp byte [esi], 0x20
ja 0x432dc8
cmp byte [esi], 0
je 0x432dde
cmp byte [esi], 0x20
ja 0x432dde
inc esi
cmp byte [esi], 0
jne 0x432dd3
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x5c], 1
mov eax, 0xa
je 0x432e05
mov eax, dword [ebp - 0x58]
and eax, 0xffff
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x432e48
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001585
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x101d054], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xffff
call dword [sym.imp.COMCTL32.dll__cz_sgizm_YcUa__4d6i__G_m_7X9QT9A_fS9H7sz]
push edi
push 0x100161c
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x101d074], eax
call fcn.0100167f
cmp eax, 2
je 0x1004910
push eax
call fcn.01001821
add byte [eax + 0xf], cl
test dword [ebp + 0x27], edx
add byte [eax], al
push edi
push edi
push edi
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
je 0x1001600
cmp dword [0x105d4d4], edi
jne 0x1002ab2
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [0x101d074]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1002a84
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1002a84
dec eax
je 0x1001600
mov eax, dword [0x101d074]
cmp eax, edi
jne 0x100491a
call fcn.01003197
test eax, eax
je 0x1001600
call fcn.01002fad
test eax, eax
je 0x1001600
push 0x64
push dword [0x101d054]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov ebx, eax
cmp ebx, edi
je 0x1001600
call fcn.01003db8
mov dword [0x101d074], eax
cmp eax, edi
je 0x1001600
push edi
push edi
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1002a84
call fcn.0100c84f
jmp 0x1001600
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1004938
push 9
push dword [0x101d074]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1001600
push dword [0x101d074]
mov esi, dword [sym.imp.USER32.dll_BringWindowToTop]
call esi
push dword [0x101d074]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ebx, eax
cmp ebx, dword [0x101d074]
je 0x100495f
push ebx
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1001600

Function at 0x10015eb
Capabilities:
Terminate process

Disassembly:
add byte [eax + 0xf], cl
test dword [ebp + 0x27], edx
add byte [eax], al
mov eax, dword [0x101d074]
cmp eax, edi
jne 0x100496b
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push 0x288
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1001600
Function at 0x1001821
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
and dword [ebp - 0x214], 0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
movzx eax, word [esi]
cmp ax, 0x22
je 0x100328d
cmp ax, 0x20
jbe 0x1001873
push esi
call edi
mov esi, eax
cmp word [esi], 0x20
ja 0x1001868
movzx eax, word [esi]
test ax, ax
je 0x1001888
cmp ax, 0x20
ja 0x1001888
push esi
call edi
mov esi, eax
jmp 0x1001873
mov ebx, dword [sym.imp.msvcrt.dll_J01_P7RpJm_3rrz_nrwuP_]
cmp word [esi], 0x20
je 0x1001f20
movzx eax, word [esi]
cmp ax, 0x2f
je 0x10018a7
cmp ax, 0x2d
jne 0x10018fb
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x100188e
cmp ax, 0x20
je 0x100188e
movzx eax, ax
cmp eax, 0x61
jle 0x1004811
sub eax, 0x65
je 0x1004846
sub eax, 7
je 0x100489c
dec eax
je 0x10032b6
sub eax, 5
je 0x100489c
dec eax
jne 0x10029ca
mov dword [ebp - 0x210], 1
jmp 0x10018a7
xor ebx, ebx
cmp dword [ebp + 8], 1
je 0x10047fe
cmp dword [ebp - 0x214], ebx
jne 0x1004864
cmp word [esi], bx
je 0x10032af
push esi
call fcn.0100269e
cmp dword [ebp + 8], 1
mov edi, eax
je 0x1004855
cmp edi, ebx
je 0x100196e
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, ebx
je 0x1001954
cmp eax, esi
jae 0x1001954
lea edi, [ebp - 0x20c]
push ebx
push edi
push dword [ebp - 0x210]
push ebx
call fcn.010023b8
push ebx
call fcn.0100269e
mov edi, eax
cmp edi, ebx
jne 0x1001937
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4
push esi
call edi
mov esi, eax
jmp 0x100188e
dec eax
dec eax
jne 0x10018a7
jmp 0x1004820
push esi
call edi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x10032a0
cmp ax, 0x22
jne 0x100328d
cmp word [esi], 0x22
je 0x1001881
jmp 0x1001873
xor eax, eax
jmp 0x1001971
and dword [0x101d074], 0
jmp 0x10018a7
cmp dword [ebp - 0x210], ebx
je 0x100485d
cmp word [esi], bx
jne 0x1001907
jmp 0x100485d
je 0x100483c
sub eax, 0x41
je 0x100483c
sub eax, 4
jmp 0x10018c9
push 0xb
push 0x10048f8
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10018a7
push 0x10048e4
jmp 0x10048b2
mov dword [0x101d0ec], 4
mov dword [ebp - 0x214], 1
jmp 0x10018a7
cmp edi, ebx
jne 0x1001932
call fcn.0100c84f
jmp 0x10048b7
push esi
call fcn.0100269e
push ebx
mov esi, eax
call fcn.0100269e
cmp dword [ebp + 8], 1
mov edi, eax
jne 0x1004882
cmp esi, ebx
je 0x100485d
cmp edi, ebx
je 0x100485d
push ebx
call fcn.0100269e
test eax, eax
jne 0x10048b7
push edi
push esi
push dword [ebp - 0x210]
push ebx
call fcn.010110e5
jmp 0x10048b7
push 9
push 0x10048d0
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x10048b7
push 0x10048c0
call fcn.0100c86b
push 2
pop eax
jmp 0x1001971
Function at 0x1002dfb
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x101d044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x80c]
push eax
push 0x10029e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, dword [sym.imp.USER32.dll__q_yqzvt__JNggR__S_Oj___y2___T6_BUejm_V_]
xor ebx, ebx
test eax, eax
jne 0x1002f4c
lea eax, [ebp - 0x84c]
push eax
push edi
mov dword [ebp - 0x84c], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [0x101d0a0]
push ebx
push ebx
mov dword [ebp - 0x820], eax
mov eax, dword [0x101d094]
mov edi, 0x101d
push edi
push eax
mov dword [ebp - 0x808], eax
call esi
push ebx
push 1
push edi
push dword [ebp - 0x808]
mov dword [ebp - 0x81c], eax
call esi
push ebx
push 2
push edi
push dword [ebp - 0x808]
mov dword [ebp - 0x818], eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x814], eax
xor eax, eax
cmp dword [0x101d0b0], ebx
push 0x40
setne al
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x84c]
push eax
push 3
push ebx
push 0x10029d8
push dword [ebp - 0x80c]
call edi
push 4
push 0x105d120
push 4
push ebx
push 0x1002a60
push dword [ebp - 0x80c]
call edi
mov eax, dword [0x101d090]
push 3
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push ebx
push 9
push 0x110a
push eax
mov dword [ebp - 0x808], eax
call esi
push eax
push dword [ebp - 0x808]
call fcn.01002c60
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x804]
push eax
push 1
push ebx
push 0x1002a74
push dword [ebp - 0x80c]
call edi
push dword [ebp - 0x80c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 9
push 0x110b
push dword [0x101d090]
call esi
mov eax, dword [0x101d0a8]
cmp eax, ebx
jne 0x10040dc
mov eax, dword [0x101d0a4]
cmp eax, ebx
je 0x1002f79
push eax
call dword [sym.imp.COMCTL32.dll_rDcA_l_oUoEkiT.5bmDvD5QT2mCX0Ov__c_D_]
push ebx
call dword [sym.imp.USER32.dll_WWhmp_Z_nV_jI_a0D2fdcqcP_54aLW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100160d
leave
ret 4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002f69