joyce8/EMBER2024-capa huggingface dataset:
Function at 0x562d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0xb0], 0
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x562db2
push str.Trying_to_end_the_current_page__but_there_was_no_print_pane
push str.mPrintPane
push 0x427
push str.........CommonWin32WinPrinter.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call edi
cmp eax, 2
jne 0x562db2
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov esi, dword [esi + 0xb0]
mov edx, dword [esi + 0x2c]
mov edx, dword [edx + 0x5c]
lea ecx, [esi + 0x2c]
lea eax, [ebp - 0x408]
push eax
call edx
mov esi, eax
test esi, esi
jne 0x562e28
push str.Trying_to_end_the_current_page__could_not_get_a_printer_device_contenxt
push str.printerDC
push 0x429
push str.........CommonWin32WinPrinter.cpp
lea eax, [esi + 4]
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push esi
call edi
cmp eax, 2
jne 0x562e28
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push esi
call dword [sym.imp.GDI32.dll_EndPage]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x562e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0xb0], 0
jne 0x562ebc
push str.Trying_to_end_the_print_job__but_there_is_no_printer_pane
push str.mPrintPane
push 0x43b
push str.........CommonWin32WinPrinter.cpp
mov eax, 4
call fcn.004f1f50
push eax
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x562ebc
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax + 0x2c]
mov edx, dword [edx + 0x5c]
lea ecx, [eax + 0x2c]
push edi
lea eax, [ebp - 0x408]
push eax
call edx
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_EndDoc]
push edi
mov dword [esi + 0xa8], 0
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [esi + 0xb0], 0
pop edi
je 0x562f03
mov dword [esi + 0xb0], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x5650f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f068d], 0
push esi
je 0x56519a
push 0x98
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.0056b660
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov byte [0x5f068d], 0
mov dword [ebp - 0xa0], 0x9c
call esi
test eax, eax
jne 0x565176
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
test eax, eax
jne 0x565176
mov byte [0x5f59c0], al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x90], 2
jne 0x56519a
cmp dword [ebp - 0x9c], 5
jne 0x56519a
mov eax, 1
cmp dword [ebp - 0x98], eax
jb 0x56519a
mov byte [0x5f59c0], al
mov ecx, dword [ebp - 4]
movzx eax, byte [0x5f59c0]
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x565620
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x5f09c0]
sub esp, 0x104
test eax, eax
jle 0x56563f
inc eax
mov dword [0x5f09c0], eax
xor ax, ax
add esp, 0x104
ret
push esi
push str.QuickTime.qts
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x565675
lea ecx, [esp + 4]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jbe 0x565675
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
jmp 0x5656f4
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
jbe 0x5656f4
push ebp
push edi
mov edi, 0x5b005c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea edx, [esp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.QuickTime.qts
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
pop edi
mov esi, eax
pop ebp
test esi, esi
mov dword [0x5f09c4], esi
jne 0x56570e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, 0xfffff7d3
jmp 0x56578f
push str._CallComponentFunctionWithStorage
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call esi
test eax, eax
mov dword [0x5b000c], eax
je 0x56578a
mov ecx, dword [0x5f09c4]
push str._CallComponent
push ecx
call esi
test eax, eax
mov dword [0x5b0008], eax
je 0x56578a
mov edx, dword [0x5f09c4]
push str.theQuickTimeDispatcher
push edx
call esi
test eax, eax
mov dword [0x5b0004], eax
je 0x56578a
mov eax, dword [esp + 0x10c]
mov dword [section..data], 0
push eax
call fcn.005654a0
mov esi, eax
add esp, 4
test si, si
jne 0x56578f
mov eax, dword [0x5f09c0]
inc eax
mov dword [0x5f09c0], eax
mov ax, si
pop esi
add esp, 0x104
ret
mov esi, 0xfffff7d2
mov eax, dword [0x5f09c4]
test eax, eax
je 0x5657a9
push eax
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov dword [0x5f09c4], 0
mov eax, 0x5654c0
mov dword [section..data], 0x5657e0
mov dword [0x5b0008], eax
mov dword [0x5b000c], eax
mov dword [0x5b0004], eax
mov ax, si
pop esi
add esp, 0x104
ret

Function at 0x566120
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b00cc]
jne 0x56612a
repz ret
jmp fcn.00567ca3
Function at 0x568936
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x5b0100]
je 0x568951
inc edi
cmp edi, 0x17
jb 0x568942
cmp edi, 0x17
jae 0x568ad1
push ebp
push 3
call fcn.0056e01c
cmp eax, 1
pop ecx
je 0x568a9d
push 3
call fcn.0056e01c
test eax, eax
pop ecx
jne 0x568985
cmp dword [0x5b00c0], 1
je 0x568a9d
cmp ebx, 0xfc
je 0x568ad0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x5f0d78
push ebp
call fcn.00567353
add esp, 0xc
test eax, eax
je 0x5689bb
push esi
push esi
push esi
push esi
push esi
call fcn.0056ab47
add esp, 0x14
push 0x104
mov esi, 0x5f0d91
push esi
push 0
mov byte [0x5f0e95], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x5689ff
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00567353
add esp, 0xc
test eax, eax
je 0x5689ff
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0056ab47
add esp, 0x14
push esi
call fcn.0056bf00
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x568a44
push esi
call fcn.0056bf00
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5f108c
push 0x57e918
sub ecx, eax
push ecx
push eax
call fcn.0056df69
add esp, 0x14
test eax, eax
je 0x568a44
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0056ab47
add esp, 0x14
jmp 0x568a46
xor esi, esi
push 0x57cc18
push ebx
push ebp
call fcn.0056def8
add esp, 0xc
test eax, eax
je 0x568a66
push esi
push esi
push esi
push esi
push esi
call fcn.0056ab47
add esp, 0x14
push dword [edi*8 + 0x5b0104]
push ebx
push ebp
call fcn.0056def8
add esp, 0xc
test eax, eax
je 0x568a88
push esi
push esi
push esi
push esi
push esi
call fcn.0056ab47
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0056dd3b
add esp, 0xc
jmp 0x568ad0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x568ad0
cmp ebp, 0xffffffff
je 0x568ad0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5b0104]
push dword [esi]
call fcn.0056bf00
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x56dd3b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00567e81
xor ebx, ebx
cmp dword [0x5f1374], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x56de11
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x56def1
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x57cef0
push edi
call esi
cmp eax, ebx
je 0x56def1
push eax
call fcn.00567e13
mov dword [esp], 0x57cee0
push edi
mov dword [0x5f1374], eax
call esi
push eax
call fcn.00567e13
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5f1378], eax
call esi
push eax
call fcn.00567e13
mov dword [0x5f137c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00566ca9
test eax, eax
pop ecx
pop ecx
je 0x56dddf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0056ab47
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x56de11
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00567e13
cmp eax, ebx
pop ecx
mov dword [0x5f1384], eax
je 0x56de11
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00567e13
pop ecx
mov dword [0x5f1380], eax
mov eax, dword [0x5f1380]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x56de96
cmp dword [0x5f1384], ecx
je 0x56de96
push eax
call fcn.00567e8a
push dword [0x5f1384]
mov esi, eax
call fcn.00567e8a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x56de96
cmp edi, ebx
je 0x56de96
call esi
cmp eax, ebx
je 0x56de63
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x56de63
test byte [ebp - 0x18], 1
jne 0x56de96
lea eax, [ebp - 0x10]
push eax
call fcn.00566ce0
test eax, eax
pop ecx
je 0x56de7e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0056ab47
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x56de8d
or dword [ebp + 0x10], 0x200000
jmp 0x56ded1
or dword [ebp + 0x10], 0x40000
jmp 0x56ded1
mov eax, dword [0x5f1378]
cmp eax, dword [ebp - 8]
je 0x56ded1
push eax
call fcn.00567e8a
cmp eax, ebx
pop ecx
je 0x56ded1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x56ded1
mov eax, dword [0x5f137c]
cmp eax, dword [ebp - 8]
je 0x56ded1
push eax
call fcn.00567e8a
cmp eax, ebx
pop ecx
je 0x56ded1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5f1374]
call fcn.00567e8a
cmp eax, ebx
pop ecx
je 0x56def1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x56def3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x402250
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40228f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40228f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40228f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40228f
cmp dword [ecx + 0x74], 0xe
jbe 0x40228f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x405a90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x405abd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x405abd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40688c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410218
push 0x410210
push str.FlsAlloc
push 0x1e
call fcn.00406b6f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4068c0
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x4068c6
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40690a
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410228
push 0x410220
push str.FlsGetValue
push 0x20
call fcn.00406b6f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x406941
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40970a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4097a7
push ebx
push esi
call fcn.004097aa
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00409653
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x409754
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4097a6
push edi
push eax
call fcn.0040824d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x409774
call fcn.00405da4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4097a5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00409653
add esp, 0x20
test eax, eax
jne 0x409793
push edi
call fcn.00405da4
jmp 0x40979b
push ebx
call fcn.00405da4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4e5453
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [edi + eax]
movzx edx, al
mov ebx, edx
mov dword [esp + 0x24], edx
sub ebx, ecx
cmp edi, dword [esp + 0x20]
jl 0x4e53dc
or ebx, 0xffffffff
jmp 0x4e53f2
mov edx, dword [esp + 0x1c]
cmp al, byte [edi + edx + 1]
jne 0x4e54cd
test ebx, ebx
je 0x4e54cd
mov eax, ebx
mov ecx, edi
cdq
sub ecx, esi
xor eax, edx
dec ecx
sub eax, edx
mov dword [esp + 0x10], ecx
cmp eax, 1
jne 0x4e54b3
mov eax, dword [esp + 0x18]
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jg 0x4e54b3
test ecx, ecx
jle 0x4e54b3
lea eax, [ebx + ebp]
mov edx, ebx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x4e547b
cmp esi, edi
jge 0x4e54c1
xor ebp, ebp
nop dword [eax]
mov eax, ebp
cdq
idiv ecx
add eax, 0xff
cdq
xor eax, edx
sub eax, edx
test ebx, ebx
fstp xword [ecx + 0xd]
fstp xword [ecx + 0xd]
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub ebp, 0x1fe
mov byte [esi + edx], al
inc esi
cmp esi, edi
jl 0x4e5443
mov edx, dword [esp + 0x18]
jmp 0x4e54c1
cmp ebp, ebx
jne 0x4e54c1
cmp esi, edi
jge 0x4e54c1
xor ebp, ebp
mov eax, ebp
cdq
idiv ecx
test ebx, ebx
jns 0x4e549b
mov ecx, 0xff
sub ecx, eax
mov eax, ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
add ebp, 0xff
mov byte [esi + edx], al
inc esi
cmp esi, edi
jl 0x4e5485
mov edx, dword [esp + 0x18]
jmp 0x4e54c1
xor edx, edx
test ebx, ebx
setg dl
lea edx, [edx*2 - 1]
mov ecx, dword [esp + 0x24]
mov ebp, edx
mov dword [esp + 0x18], ebx
mov esi, edi
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x2c]
jl 0x4e53c3
pop ebx
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x18
ret

Function at 0x5c0013
Capabilities:
Encode data using xor

Disassembly:
int3
insd dword es:[edi], dx
out dx, eax
sbb dl, byte [esi]
js 0x5c0035
loope 0x5bffbb
cmp dl, byte [edi + edx*2 - 0x24]
xor al, 0x4f
jno 0x5c005a
mov bh, byte [edx]
mov dl, byte [esi - 0x55db7b80]
adc bh, 0xcc
xor byte ds:[ecx - 0xe], cl
pop esp
add dl, bh
cmp byte [edx + 0x23], 0xc3
and dword [ebp + edx*2 - 0x51], ebx
inc ecx
rcr byte [edx - 0x3d765283], 1
pop eax
sub cl, byte [edi + 0x75548d44]
test al, 0x2f
adc dl, dl
cli
jg 0x5c0073
bound ebx, qword [0xaa2c5c19]
push esi
insd dword es:[edi], dx
invalid
sahf
pushal
aaa
xchg ebx, eax
sub dword [esp + eax*4], eax
jo 0x5c00b2
cmp dword [ebp + 0x6a], ebx
popal
sub byte [edx - 0x34], ch
loope 0x5c0099
or al, 0xe1
or eax, 0x7f580265
sbb byte [edi], cl
add dl, byte [edx + edi + 0xcb6f4cc]
shr byte [eax - 0x3ab15b94], 0x2f
mov dl, 0x67
mov ebx, 0x74aae735
pop esp
popal
aas
pop ebx
dec eax
jne 0x5c00ea
cmp byte [esp + edx], cl
imul esp, ebp, 0xffffffc9
fisub dword [esi - 0x3e]
stosb byte es:[edi], al
add dword [edx], edx
mov byte [ecx], ch
retf 0xd3e0
jge 0x5c0125
mov dword [0x3b2d8f3], eax
invalid
mov al, byte [0x686d9013]
mov esp, es
sal dword [esi], 0xec
Function at 0x407d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push str.InstallationPath
mov dword [ebp - 0x818], eax
lea eax, [ebp - 0x804]
push 0x400
push eax
mov dword [ebp - 0x81c], ecx
call fcn.00453332
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push str.SoftwareITSSecure_Browser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x407e23
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407e1b
cmp dword [ebp - 0x80c], 1
jbe 0x407e1b
push dword [ebp - 0x808]
call esi
jmp 0x407eb1
push dword [ebp - 0x808]
call esi
lea eax, [ebp - 0x808]
push eax
push 0x20019
push 0
push str.SoftwareVB_and_VBA_Program_SettingsITSSecureAppsConfiguration
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407e98
lea eax, [ebp - 0x80c]
mov dword [ebp - 0x80c], 0x400
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407e90
cmp dword [ebp - 0x80c], 1
jbe 0x407e90
push dword [ebp - 0x808]
call esi
jmp 0x407eb1
push dword [ebp - 0x808]
call esi
push str.C:Program_FilesITSExam_Files_
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00453332
add esp, 0xc
lea ecx, [ebp - 0x404]
lea edx, [ecx + 1]
pop esi
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407ec0
sub ecx, edx
mov dword [ebp - 0x80c], ecx
cmp byte [ebp + ecx - 0x405], 0x5c
je 0x407ef2
push 0x478870
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
add esp, 0xc
push dword [ebp - 0x814]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push 0x478870
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push dword [ebp - 0x818]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
push str..
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.0045338c
mov ecx, dword [ebp - 0x81c]
lea eax, [ebp - 0x404]
add esp, 0x30
push eax
call fcn.00407f80
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 8
Function at 0x407f80
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x4d9770]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x144]
push esi
push edi
push ecx
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x407fdd
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x144], 0x10
je 0x407fd0
lea eax, [ebp - 0x144]
push eax
push esi
call ebx
cmp eax, 1
je 0x407fb6
jmp 0x407fd5
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0044d06d
mov esp, ebp
pop ebp
ret 4

Function at 0x408610
Capabilities:
Open clipboard
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftClipboard
push SysReAllocString
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.EnableClipboardHistory
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push str.EnableClipboardHistory
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408790
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftClipboard
push SysReAllocString
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
push esi
push 4
push 0
push str.EnableClipboardHistory
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40bff0
Capabilities:
Delete file
Delete registry value
Get common file path
Write file on windows

Disassembly:
cmp dword [0x52b018], 0
je 0x40c069
push ebx
mov ebx, dword [0x55ec70]
push esi
push edi
push 0
push 0
push 0xffffffffffffffff
push 0x479784
push 0
push 3
mov dword [0x55e828], 1
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea ecx, [edi - 1]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov esi, eax
test esi, esi
je 0x40c055
push edi
push esi
push 0xffffffffffffffff
push 0x479784
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x40c055
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor esi, esi
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x14]
mov ecx, 0x52abf8
call fcn.00418b70
pop edi
pop esi
pop ebx
push 0
push 0
push 2
push 4
push str.CTRLALTDEL
mov ecx, 0x52abf8
call fcn.0041c080
cmp dword [0x52b018], 0
je 0x40c0da
push str.Shutdown__System_:_Hotkey
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
mov ecx, 0x52abf8
call fcn.00418b70
push str.You_are_not_allowed_to_CTRL__ALT__DELETE_during_this_test_administration._The_browser_has_been_shut_down_and_will_need_to_be_restarted._This_security_violation_has_been_logged.
push str.CtrlAltDelShutdown
mov ecx, 0x52abf8
call fcn.00420960
mov dword [0x53b6b0], 9
mov ecx, 0x52abf8
mov dword [0x5162c8], 1
jmp fcn.004186d0
push str.Shutdown__System_:_Hotkey_ViolationURL_
push 1
push dword [0x514990]
call fcn.00449450
add esp, 0xc
ret