joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4960f0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 4], 0
call fcn.0041a360
test al, al
je 0x49613c
mov edx, dword [esi]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call edx
call fcn.004abc10
mov ebx, eax
lea edi, [ebp - 4]
call fcn.004abdf0
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x496137
call fcn.004ab850
mov esi, dword [ebp - 8]
jmp 0x496187
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [ebp - 8]
push ecx
mov ecx, esi
call edx
call fcn.005293c0
push eax
push ecx
mov ecx, dword [ebp - 8]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 8]
test eax, eax
je 0x496161
add dword [eax], 1
lea edx, [ebp - 0xc]
push edx
call fcn.00529150
mov esi, dword [ebp - 8]
add esp, 0xc
test esi, esi
je 0x496179
call fcn.004ab850
lea ebx, [ebp - 0xc]
lea edi, [ebp - 4]
call fcn.004abdf0
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x496190
call fcn.004ab850
call fcn.0041a360
test al, al
mov esi, dword [ebp - 4]
je 0x4961bd
test esi, esi
je 0x4961af
mov eax, dword [esi + 4]
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4961d5
mov eax, 0x5f4c08
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4961d5
test esi, esi
je 0x4961c9
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4961ce
mov eax, 0x57e81c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0041a360
test al, al
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
je 0x496212
test esi, esi
je 0x4961f6
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4961fb
mov eax, 0x5f4c08
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 3
push 0
push 3
push SysReAllocString
push eax
call ebx
jmp 0x496238
test esi, esi
je 0x49621e
mov eax, dword [esi + 4]
add eax, 1
jmp 0x496223
mov eax, 0x57e81c
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 3
push 0
push 3
push SysReAllocString
push eax
call edi
cmp eax, 0xffffffff
jne 0x4962c9
call fcn.0041a360
test al, al
je 0x496272
test esi, esi
je 0x496256
mov eax, dword [esi + 4]
add eax, 1
jmp 0x49625b
mov eax, 0x5f4c08
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0
push 3
push 0xc0000000
push eax
call ebx
jmp 0x496298
test esi, esi
je 0x49627e
mov eax, dword [esi + 4]
add eax, 1
jmp 0x496283
mov eax, 0x57e81c
push 0
push reloc.OLEAUT32.dll_SysReAllocString
push 1
push 0
push 3
push 0xc0000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x4962b7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
jmp 0x4962ca
test esi, esi
je 0x4962c0
call fcn.004ab850
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4962d9
call fcn.004ab850
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498040
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
jne 0x4980b4
push ecx
push str.plugctl
push 0x1ad5
push str.........Commonplugin.cpp
lea eax, [ecx + 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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4980b4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [esi + 0xa8]
mov edx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 4]
test esi, esi
push edx
push ecx
mov dword [ebp - 0x408], eax
mov eax, esp
mov dword [ebp - 0x40c], eax
mov dword [eax], 0
je 0x498107
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4980e2
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ecx]
test eax, eax
je 0x498107
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00496d70
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
mov esi, dword [ebx + 4]
add esp, 8
cmp dword [ebx], 6
mov dword [ebp - 0x40c], ecx
setle dl
test esi, esi
push edx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x408], eax
mov dword [eax], 0
je 0x498169
mov ecx, esi
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x498144
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x408]
mov eax, dword [edx]
test eax, eax
je 0x498169
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x40c]
call fcn.00497560
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
mov esi, dword [ebx + 4]
add esp, 8
test esi, esi
mov ebx, esp
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x40c], ecx
mov dword [ebx], 0
je 0x4981c1
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4981a0
sub eax, edx
mov edi, eax
mov eax, ebx
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x4981c1
mov dword [ebx + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
mov edx, dword [ebp - 0x40c]
call fcn.00496980
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x498290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
jne 0x498304
push ecx
push str.plugclass
push 0x1af9
push str.........Commonplugin.cpp
lea eax, [ecx + 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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x498304
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [esi + 8]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebx + 4]
test esi, esi
push edx
push ecx
mov dword [ebp - 0x408], eax
mov eax, esp
mov dword [ebp - 0x40c], eax
mov dword [eax], 0
je 0x498355
mov ecx, esi
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x498330
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov ecx, dword [ebp - 0x40c]
mov eax, dword [ecx]
test eax, eax
je 0x498355
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00496d70
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x24]
mov esi, dword [ebx + 4]
add esp, 8
cmp dword [ebx], 6
mov dword [ebp - 0x408], ecx
setle dl
test esi, esi
push edx
push eax
push ecx
mov ebx, esp
mov dword [ebx], 0
je 0x4983b1
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x498390
sub eax, edx
mov edi, eax
mov eax, ebx
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x4983b1
mov dword [ebx + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00497560
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x4983d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
test esi, esi
push edi
jne 0x498444
push ecx
push str.plugmod
push 0x1b0c
push str.........Commonplugin.cpp
lea eax, [ecx + 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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x498444
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ebx, dword [esi + 0xa8]
cmp dword [ebx], 6
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
setle dl
test esi, esi
mov dword [ebp - 0x408], ecx
push edx
push eax
push ecx
mov eax, esp
mov dword [ebp - 0x40c], eax
mov dword [eax], 0
je 0x4984a5
mov ecx, esi
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x498480
sub ecx, edi
mov edi, ecx
call fcn.004ab970
mov edx, dword [ebp - 0x40c]
mov eax, dword [edx]
test eax, eax
je 0x4984a5
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00497560
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov esi, dword [ebx + 4]
add esp, 0xc
test esi, esi
push eax
push ecx
mov ebx, esp
mov dword [ebp - 0x408], ecx
mov dword [ebx], 0
je 0x4984f6
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4984d5
sub eax, edx
mov edi, eax
mov eax, ebx
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x4984f6
mov dword [ebx + 0x10], 0x600
mov ecx, dword [ebp - 0x408]
call fcn.00496d70
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x49ab30
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x5f49b8]
test edi, edi
mov dword [edx], 0x58a264
je 0x49ac24
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x49ab60
mov eax, dword [edi + 0x38]
test eax, eax
je 0x49ac17
push eax
call ebx
mov eax, dword [edi + 0x24]
test eax, eax
lea esi, [edi + 0x24]
je 0x49ac17
cmp dword [eax + 0xc], 0
je 0x49ac17
call fcn.0041a360
test al, al
je 0x49abc3
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.004abc10
mov eax, dword [eax]
test eax, eax
je 0x49abb2
mov eax, dword [eax + 4]
add eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 4]
jmp 0x49ac0e
mov eax, 0x5f4c08
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [ebp - 4]
jmp 0x49ac0e
mov esi, dword [esi]
test esi, esi
je 0x49abcc
add dword [esi], 1
call fcn.005293c0
test esi, esi
push eax
push ecx
mov eax, esp
mov dword [eax], esi
je 0x49abde
add dword [esi], 1
lea ecx, [ebp - 8]
push ecx
call fcn.00529150
add esp, 0xc
test esi, esi
je 0x49abf3
call fcn.004ab850
mov esi, dword [ebp - 8]
test esi, esi
je 0x49ac02
mov eax, dword [esi + 4]
add eax, 1
jmp 0x49ac07
mov eax, 0x57e81c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
je 0x49ac17
call fcn.004ab850
mov edi, dword [edi]
test edi, edi
jne 0x49ab60
mov edx, dword [ebp + 8]
mov eax, dword [0x5f3a40]
xor ecx, ecx
test eax, eax
mov dword [edx], 0x57f918
je 0x49ac55
cmp eax, edx
je 0x49ac42
mov ecx, eax
mov eax, dword [eax + 4]
test eax, eax
jne 0x49ac35
test ecx, ecx
je 0x49ac55
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edx + 4]
pop edi
pop esi
mov dword [0x5f3a40], eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a9510
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, dword [ebp + 8]
test esi, esi
jne 0x4a9580
push esi
push 0x58b1ac
push 0x1b
push str.........CommonRBStyledText.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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4a9580
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esi + 0x18], 0
jne 0x4a9597
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x54]
lea eax, [ebp - 0x408]
push eax
call edx
cmp byte [0x5f49d5], 0
mov esi, eax
jne 0x4a95c5
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
test eax, eax
je 0x4a95d9
add dword [eax], 1
push edi
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esi]
mov esi, dword [ebp - 0x408]
test esi, esi
je 0x4a95f6
call fcn.004ab850
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x4aa0b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4aa123
push esi
push 0x58b1ac
push 0xa1
push str.........CommonRBStyledText.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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4aa123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esi + 0x18], 0
jne 0x4aa13a
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x4aa160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4aa1d3
push esi
push 0x58b1ac
push 0xaa
push str.........CommonRBStyledText.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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4aa1d3
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esi + 0x18], 0
jne 0x4aa1ea
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov edx, dword [edx + 0x38]
push eax
call edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x4aa390
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0xc]
jne 0x4aa407
push esi
push 0x58b1ac
push 0xcf
push str.........CommonRBStyledText.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 dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4aa407
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esi + 0x18], 0
je 0x4aa441
test edi, edi
jne 0x4aa42c
mov ecx, dword [0x5f3a58]
call fcn.004f2580
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
push edi
call eax
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x4aa900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4aa973
push edi
push 0x58b1ac
push 0x18a
push str.........CommonRBStyledText.cpp
lea eax, [edi + 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 edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4aa973
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [edi + 0x18], 0
je 0x4aa9bc
mov edx, dword [ebp + 0xc]
push esi
push edx
push edi
call fcn.004aa6e0
mov esi, eax
add esp, 8
test esi, esi
je 0x4aa9bb
mov edx, dword [ebp + 0x10]
mov ecx, dword [edi + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
push edx
mov edx, dword [esi + 0x20]
push edx
mov edx, dword [esi + 0x18]
push edx
call eax
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x4aa9bb
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x4aa9bb
push esi
call fcn.004ff480
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x4ac150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5f49d5], 0
jne 0x4ac17e
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push esi
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx], 0
je 0x4ac27b
mov esi, dword [ebp + 8]
test esi, esi
jl 0x4ac1a5
mov eax, ebx
call fcn.00401f40
cmp esi, eax
jb 0x4ac202
push 0
push str.not__pos___0__pos___Length___
push 0x348
push str.........UniversalREALstring.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 0x4ac202
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebx]
cmp dword [eax], 1
jne 0x4ac22e
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
test eax, eax
push edi
je 0x4ac238
mov edi, dword [eax + 0xc]
jmp 0x4ac23a
xor edi, edi
test eax, eax
je 0x4ac246
mov esi, dword [eax + 4]
add esi, 1
jmp 0x4ac24b
mov esi, 0x57e81c
mov eax, ebx
call fcn.004ab970
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 8]
pop edi
lea eax, [edx + eax + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x4ac29d
xor esi, esi
push 0x351
push str.........UniversalREALstring.cpp
mov edx, str.not_pos
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5f5598
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
Function at 0x4ae100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x57e81c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.004ab970
mov esi, dword [ebp - 4]
test esi, esi
je 0x4ae12b
mov dword [esi + 0x10], 0x600
test esi, esi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
je 0x4ae13d
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4ae142
mov eax, 0x57e81c
mov edx, dword [ebp + 8]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
test esi, esi
je 0x4ae167
call fcn.004ab850
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4ae180
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x57e81c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.004ab970
mov esi, dword [ebp - 4]
test esi, esi
je 0x4ae1ad
mov dword [esi + 0x10], 0x600
test esi, esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
je 0x4ae1c5
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4ae1ca
mov eax, 0x57e81c
push 8
lea edx, [ebp - 8]
push edx
push 0xb
push 0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
test esi, esi
je 0x4ae1ef
call fcn.004ab850
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ae640
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ae654
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4ae659
mov eax, 0x57e81c
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
test esi, esi
je 0x4ae67b
call fcn.004ab850
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x4ae690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x4ae6a4
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4ae6a9
mov eax, 0x57e81c
push 8
lea ecx, [ebp + 0xc]
push ecx
push 0xb
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
test esi, esi
je 0x4ae6cb
call fcn.004ab850
pop esi
mov al, bl
pop ebx
pop ebp
ret 0xc

Function at 0x4ae6e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x4ae6f4
mov eax, dword [esi + 4]
add eax, 1
jmp 0x4ae6f9
mov eax, 0x57e81c
push ecx
push edx
push 3
push 0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
sete bl
test esi, esi
je 0x4ae71a
call fcn.004ab850
pop esi
mov al, bl
pop ebx
pop ebp
ret 8

Function at 0x4ae730
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x404], 0
call fcn.0056b660
mov eax, dword [ebp + 8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x408]
push ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x404]
push edx
push eax
push ecx
mov dword [ebp - 0x408], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x404]
mov dword [ebx], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4ae7a0
sub eax, edx
mov edi, eax
lea esi, [ebp - 0x404]
mov eax, ebx
call fcn.004ab970
mov eax, dword [ebx]
test eax, eax
pop edi
pop esi
je 0x4ae7c9
mov dword [eax + 0x10], 0x600
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret 4