joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44df80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0041a360
test al, al
je 0x44dfde
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0xc]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x44dfbc
add dword [eax], 1
mov eax, ebx
call fcn.0044d070
test al, al
je 0x44dffd
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0xc]
test eax, eax
lea ecx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x44dff2
add dword [eax], 1
mov eax, ebx
call fcn.0044cf80
test al, al
jne 0x44e062
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44e009
mov ecx, dword [eax + 0xc]
jmp 0x44e00b
xor ecx, ecx
test eax, eax
je 0x44e082
mov eax, dword [eax + 4]
add eax, ecx
cmp byte [eax], 0x3a
jne 0x44e082
lea edx, [esp + 0x10]
push edx
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsA]
mov edi, eax
lea esi, [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.004ab970
mov ebx, dword [ebx + 0xc]
mov esi, dword [esp + 0xc]
push 0
push ebx
push esi
push 1
call fcn.00406350
add esp, 0x10
test eax, eax
je 0x44e079
test esi, esi
je 0x44e062
call fcn.004ab850
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x44e082
call fcn.004ab850
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x451c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp byte [edi + 0x48], 0
jne 0x451c12
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x38]
cmp eax, 0x12c
push ebx
push esi
jne 0x451c3b
mov eax, dword [edi + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CloseMetaFile]
mov ecx, dword [edi + 0x3c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov al, byte [edi + 0x48]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x12d
jne 0x451c5f
mov edx, dword [edi + 0x3c]
push edx
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov eax, dword [edi + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov al, byte [edi + 0x48]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x15e
jne 0x451c7c
mov ecx, dword [edi + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x451c84
mov byte [edi + 0x48], bl
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov esi, eax
movzx ecx, word [esi + 0xe]
add ecx, 0xffffffff
xor eax, eax
cmp ecx, 7
ja case.0x451c9b.2
jmp dword [ecx*4 + 0x451da0]
mov eax, 8
jmp case.0x451c9b.2
mov eax, 0x10
jmp case.0x451c9b.2
mov eax, 0x40
jmp case.0x451c9b.2
mov eax, 0x400
mov word [ebp - 0x1c], 0x4d42
mov ecx, dword [esi + 0x14]
add ecx, dword [esi]
mov word [ebp - 0x16], bx
lea edx, [ecx + eax + 0xe]
mov dword [ebp - 0x1a], edx
mov word [ebp - 0x14], bx
mov ecx, dword [esi]
lea edx, [ecx + eax + 0xe]
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x12], edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
call edx
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x582b68]
call fcn.005734f0
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fmul qword [0x582b68]
call fcn.005734f0
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_WriteFile]
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x40]
lea eax, [ebp - 4]
push eax
push 0xe
lea ecx, [ebp - 0x1c]
push ecx
push edx
call ebx
test eax, eax
jne 0x451d42
pop esi
mov byte [edi + 0x48], 0
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0xe
jne 0x451d36
mov eax, dword [ebp - 0x1a]
mov edx, dword [edi + 0x40]
push 0
lea ecx, [ebp - 4]
push ecx
add eax, 0xfffffff2
push eax
push esi
push edx
mov dword [ebp - 8], eax
call ebx
test eax, eax
je 0x451d36
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jne 0x451d36
mov esi, dword [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov ecx, dword [edi + 0x40]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [edi + 0x44]
test ecx, ecx
je 0x451d95
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov al, byte [edi + 0x48]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_ReadFile]
push 0
lea eax, [ebp - 8]
push eax
push 2
lea ecx, [ebp - 4]
push ecx
push esi
call edi
test eax, eax
jne 0x45c738
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 2
jne 0x45c730
cmp word [ebp - 4], 0
jne 0x45c730
push 0
lea edx, [ebp - 8]
push edx
push 2
lea eax, [ebp - 4]
push eax
push esi
call edi
test eax, eax
je 0x45c730
cmp dword [ebp - 8], 2
jne 0x45c730
cmp word [ebp - 4], 1
jne 0x45c730
push 0
lea ecx, [ebp - 8]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push esi
call edi
test eax, eax
je 0x45c730
cmp dword [ebp - 8], 2
jne 0x45c730
movzx eax, word [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x45caf0
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, ecx
test esi, esi
jne 0x45cb5f
push ecx
push str.meth
push 0x29
push str.........CommonintrinsicClass.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 0x45cb5f
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [esi + 4]
test eax, eax
je 0x45cb75
mov esi, dword [esi]
test esi, esi
je 0x45cb75
push esi
call fcn.004b0de0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x466f30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
mov dword [ebp - 0x408], esi
jne 0x466fa5
push esi
push str.item
push 0x365
push str.........CommonintrinsicFunction.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 0x466fa5
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea edx, [ebp - 0x408]
push edx
call fcn.00466ff0
cmp dword [esi + 0x14], 0
je 0x466fc6
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
call fcn.004b0de0
add esp, 4
cmp dword [esi + 0x30], 0
je 0x466fdb
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
push ecx
call fcn.004b0de0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x467300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 0x200
jg 0x467372
je 0x467362
cmp eax, 0xfffffffe
je 0x467351
cmp eax, 0xffffffff
je 0x467340
cmp eax, 0x100
jne 0x467380
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x5b
call esi
shr eax, 0xf
and eax, 1
jne 0x46733d
push 0x5c
call esi
shr eax, 0xf
and eax, 1
pop esi
pop ebp
ret
push 0x1000
push 0
call fcn.00467300
add esp, 8
pop ebp
ret
push 0x200
push 0
call fcn.00467300
add esp, 8
pop ebp
ret
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, 1
pop ebp
ret
cmp eax, 0x800
je 0x467394
cmp eax, 0x1000
je 0x467384
xor eax, eax
pop ebp
ret
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, 1
pop ebp
ret
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, 1
pop ebp
ret
Function at 0x46a9b0
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 ebx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov ebx, ecx
mov dword [ebp - 0x408], ebx
jbe 0x46aadf
push edi
lea esp, [esp]
movsx eax, byte [ebx + esi]
add esi, 1
test eax, eax
je 0x46aa46
push 0
push 0x57e0a8
push 0x1ac
push str.........CommonloaderX86.cpp
push str.Failed_Assertion
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 0x46aad5
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edi, dword [ebx + esi]
add esi, 4
test edi, edi
mov byte [0x5f49d4], 1
jle 0x46aad5
cmp byte [0x5f49d5], 0
jne 0x46aa72
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, 0x5f4dec
call fcn.004ab8c0
mov eax, dword [0x5f4dec]
test eax, eax
je 0x46aab1
mov edx, dword [ebp - 0x408]
lea ecx, [edx + esi]
test ecx, ecx
je 0x46aab1
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 4]
push edx
push ecx
add eax, 1
push eax
call fcn.00566500
add esp, 0xc
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebp - 0x408]
mov edx, dword [0x5f4dec]
add esi, edi
mov eax, dword [ecx + esi]
mov dword [edx + 0x10], eax
add esi, 4
mov ebx, ecx
cmp esi, dword [ebp + 8]
jb 0x46a9e0
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x46bda0
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 0x46be13
push esi
push str.self
push 0x172
push str.........CommonMemoryBlock.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 0x46be13
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], edx
mov byte [esi + 0x20], 0
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x46dc60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
test esi, esi
jne 0x46dccc
push esi
push str.howManyBytes
push 0x52
push str.........UniversalMemoryManager.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 0x46dccc
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 8]
mov ecx, dword [ebp - 4]
mov dword [esi], edx
mov eax, dword [edi]
add eax, dword [edi + 8]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x46e020
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, edx
test esi, esi
push edi
mov edi, ecx
jne 0x46e095
push edx
push str.amountOfData
push 0xc9
push str.........UniversalMemoryManager.cpp
lea eax, [edx + 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 0x46e095
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edi, dword [edi]
test edi, edi
je 0x46e0b0
call fcn.0046dc60
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi], 0
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret

Function at 0x46e2b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
ja 0x46e2cf
test eax, eax
ja 0x46e32c
push 0
push 0x57e0a8
push 0x10f
push str.c:_rbuniversalSimpleVector.h
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 0x46e32c
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
add dword [esi + 8], 0xffffffff
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [edx + eax*4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
Function at 0x46e790
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
xor ebx, ebx
cmp ebx, dword [edi + 0xc]
push esi
jae 0x46e88a
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx*4]
mov esi, dword [edx + 0x2c]
test esi, esi
jne 0x46e80b
push esi
push 0x586d34
push 0x53
push str.........CommonMenu.cpp
push str.Failed_Assertion
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
je 0x46e8e4
mov esi, dword [esi + 0x1c]
test esi, esi
mov dword [ebp - 0x40c], esi
je 0x46e81b
add dword [esi], 1
lea ecx, [ebp + 8]
lea eax, [ebp - 0x40c]
call fcn.004acb80
test eax, eax
sete byte [ebp - 0x405]
test esi, esi
je 0x46e875
cmp byte [0x5f49d5], 0
jne 0x46e851
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [esi], 0xffffffff
jne 0x46e86a
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp - 0x405], 0
jne 0x46e8ec
add ebx, 1
cmp ebx, dword [edi + 0xc]
jb 0x46e7b0
mov esi, dword [ebp + 8]
test esi, esi
je 0x46e8d0
cmp byte [0x5f49d5], 0
jne 0x46e8ac
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [esi], 0xffffffff
jne 0x46e8c5
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp ebx, dword [edi + 0xc]
jb 0x46e8f7
lea edx, [ebx + 1]
mov dword [edi + 0xc], edx
mov eax, dword [edi + 8]
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x46e90e
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x46e90e
add ecx, 1
mov dword [eax + 0xc], ecx
cmp ebx, dword [edi + 0xc]
jb 0x46e919
lea ecx, [ebx + 1]
mov dword [edi + 0xc], ecx
mov esi, dword [ebp + 8]
test esi, esi
mov edx, dword [edi + 8]
mov ebx, dword [edx + ebx*4]
je 0x46e965
cmp byte [0x5f49d5], 0
jne 0x46e941
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
add dword [esi], 0xffffffff
jne 0x46e95a
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret 4
Function at 0x46ec10
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 ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov ebx, ecx
mov dword [ebp - 0x408], esi
jne 0x46ec94
push 0
push 0x586d54
push 0xc4
push str.........CommonMenu.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 0x46ec94
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [esi + 0x2c], 0
jne 0x46ecf3
push 0
push str.kid__mImp
push 0xc5
push str.........CommonMenu.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 edx, [ebp - 0x404]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [ebp - 0x404]
push eax
push 0
call edi
cmp eax, 2
jne 0x46ecf3
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x46ed00
add eax, 1
mov dword [esi + 0xc], eax
lea ecx, [ebp - 0x408]
lea eax, [ebx + 4]
mov ebx, dword [ebp + 0xc]
push ecx
call fcn.00514b80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret 8

Function at 0x46f7f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x46f808
mov ecx, dword [0x5f3a58]
pop edi
pop ebp
jmp fcn.004f2580
cmp dword [edi + 0x2c], 0
jne 0x46f82c
push esi
xor esi, esi
push 0x197
push str.........Commonmenubar.cpp
mov edx, str.self__mImp
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
pop esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x46f83e
mov ecx, dword [edi + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x58]
call eax
pop edi
pop ebp
ret

Function at 0x4702b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4702ca
mov ecx, dword [0x5f3a58]
pop edi
pop esi
pop ebp
jmp fcn.004f2580
cmp dword [edi + 0x2c], 0
jne 0x4702ec
xor esi, esi
push 0x33a
push str.........Commonmenubar.cpp
mov edx, str.obj__mImp
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
mov eax, dword [ebp + 0x10]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x4702fb
add dword [eax], 1
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
pop edi
pop esi
pop ebp
ret
Function at 0x4755d0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x510], esi
jne 0x475649
push edi
push str.cursor
push 0x69
push str.........CommonmouseCursor.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 - 0x504]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x504]
push ecx
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x475649
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push 4
call fcn.005662c8
add esp, 4
cmp eax, edi
je 0x475661
mov dword [eax], edi
mov dword [ebp - 0x50c], eax
jmp 0x475667
mov dword [ebp - 0x50c], edi
push 0x80
lea edx, [ebp - 0x84]
push edi
push edx
call fcn.0056b660
push 0x80
lea eax, [ebp - 0x104]
push 0xffffffffffffffff
push eax
call fcn.0056b660
add esp, 0x18
add esi, 0x20
mov dword [ebp - 0x508], esi
xor eax, eax
lea ebx, [ebx]
movzx edx, byte [esi - 0x20]
mov cl, byte [esi]
xor dl, cl
lea ebx, [edi + eax*4]
mov byte [ebp + ebx - 0x84], dl
or dl, 0xff
sub dl, cl
lea ecx, [edi + eax*4]
mov byte [ebp + ecx - 0x104], dl
movzx edx, byte [esi - 0x1e]
mov cl, byte [esi + 2]
xor dl, cl
lea ebx, [edi + eax*4]
mov byte [ebp + ebx - 0x80], dl
or dl, 0xff
sub dl, cl
lea ecx, [edi + eax*4]
mov byte [ebp + ecx - 0x100], dl
movzx edx, byte [esi - 0x1c]
mov cl, byte [esi + 4]
xor dl, cl
lea ebx, [edi + eax*4]
mov byte [ebp + ebx - 0x7c], dl
or dl, 0xff
sub dl, cl
lea ecx, [edi + eax*4]
mov byte [ebp + ecx - 0xfc], dl
mov cl, byte [esi + 6]
movzx edx, byte [esi - 0x1a]
xor dl, cl
lea ebx, [edi + eax*4]
mov byte [ebp + ebx - 0x78], dl
or dl, 0xff
sub dl, cl
lea ecx, [edi + eax*4]
add eax, 4
add esi, 8
cmp eax, 0x10
mov byte [ebp + ecx - 0xf8], dl
jl 0x4756a0
mov esi, dword [ebp - 0x508]
add edi, 1
add esi, 1
cmp edi, 2
mov dword [ebp - 0x508], esi
jl 0x475698
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x510]
movsx ecx, word [eax + 0x40]
movsx edx, word [eax + 0x42]
mov eax, dword [0x5f49d0]
push 0x20
push 0x20
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
mov ecx, dword [ebp - 0x50c]
mov dword [ecx], eax
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret