joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c4b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x18], 0
mov ebx, dword [esi + 0x44]
mov dword [ebp - 0xec], ebx
je 0x44c52d
mov ebx, dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, 0xdc
mov word [ebp - 0xa4], ax
xor edi, edi
lea eax, [ebp - 0xe8]
push eax
push edi
push edi
call ebx
test eax, eax
je 0x44c527
nop word [eax + eax]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [0x4fbf90]
jne 0x44c516
mov eax, dword [ebp - 0x38]
cmp eax, dword [0x4fbf88]
je 0x44c527
lea eax, [ebp - 0xe8]
inc edi
push eax
push edi
push 0
call ebx
test eax, eax
jne 0x44c500
mov ebx, dword [ebp - 0xec]
push 0
push ebx
mov dword [esi + 0x5c], 0
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x14], 0
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
je 0x44c5b8
cmp dword [esi + 0x18], 0
jne 0x44c555
cmp dword [esi + 0x40], 0
je 0x44c572
push 0x82000000
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x11
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
call edi
push 0
mov ecx, esi
call fcn.0044c690
cmp dword [esi + 0x18], 0
jne 0x44c589
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
cmp dword [esi + 4], 0
je 0x44c5ae
push 0
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 0
je 0x44c5ae
mov ecx, dword [0x4fc008]
push 0
call fcn.0044ca10
cmp dword [esi + 0x14], 0
jne 0x44c653
cmp dword [esi + 0x18], 0
je 0x44c5d7
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov ecx, dword [0x4fbe54]
push 1
call fcn.0041b330
jmp 0x44c5e9
mov ecx, dword [0x4fbe54]
push 1
call fcn.0041b330
call fcn.00494040
mov ecx, dword [0x4fc004]
push 1
mov eax, dword [ecx]
call dword [eax + 0x14]
push 1
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push ebx
call edi
push dword [esi + 0x4c]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [esi + 0x18], 0
jne 0x44c61f
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
cmp dword [esi + 4], 0
je 0x44c632
call fcn.0040ad60
push eax
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, esi
call fcn.0044c180
mov eax, dword [esi + 4]
test eax, eax
je 0x44c653
cmp dword [eax + 0x14], 0
je 0x44c653
mov ecx, dword [0x4fc008]
push 1
call fcn.0044ca10
push 0x27
push 0
push 0
push 0
push 0
push 0
push ebx
call edi
xor eax, eax
mov dword [esi + 0x5c], 1
cmp dword [esi + 0x14], eax
push 5
sete al
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret
Function at 0x44ca10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [0x50937c]
push ebx
push esi
push edi
mov eax, dword [eax + 0x44]
mov edi, ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call ebx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
cdq
sub eax, edx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x3c]
sar esi, 1
call ebx
cmp dword [ebp - 0x18], esi
jge 0x44ca63
mov eax, dword [ebp - 0x10]
jmp 0x44ca74
lea eax, [ebp - 0x28]
push eax
push dword [edi]
call ebx
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
push 1
push 0
push 0
push dword [ebp - 0x14]
push eax
push 0
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [ebp + 8]
mov eax, esi
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x44caa9
push dword [edi]
call dword [sym.imp.USER32.dll_UpdateWindow]
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SetActiveWindow]
lea eax, [ebp - 0x38]
push eax
push dword [edi]
call ebx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret 4
Function at 0x44cf10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x21c], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
mov dword [ebp - 0x210], 0
push 0x204
mov dword [ebp - 0x224], edi
xor esi, esi
mov dword [ebp - 0x214], 1
call fcn.00495860
mov dword [ebx + 4], eax
add esp, 4
xor ebx, ebx
mov dword [eax + 0x200], esi
test edi, edi
jle 0x44d066
mov edx, dword [ebp - 0x218]
lea edi, [esi + 2]
mov ecx, dword [ebp - 0x224]
add edx, 0xfffffffe
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], edx
nop dword [eax]
movzx eax, word [edx + edi]
cmp eax, 0x20
jne 0x44d039
cmp dword [ebp - 0x214], 0
je 0x44d04f
push 0x204
call fcn.00495860
add esp, 4
mov dword [ebp - 0x210], eax
lea ecx, [esi + 1]
mov dword [eax + 0x200], 0
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, dword [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0x21c]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x200]
test ecx, ecx
je 0x44d00e
mov edx, ecx
mov ecx, dword [edx + 0x200]
test ecx, ecx
jne 0x44d002
mov eax, dword [ebp - 0x210]
xor esi, esi
mov ecx, dword [ebp - 0x224]
mov dword [edx + 0x200], eax
lea eax, [ebx + 1]
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x220], edi
jmp 0x44d055
cmp eax, 0x22
jne 0x44d04f
xor eax, eax
cmp dword [ebp - 0x214], eax
sete al
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x210]
inc ebx
add edi, 2
inc esi
cmp ebx, ecx
jl 0x44cfa0
test eax, eax
jne 0x44d067
inc esi
push 0x204
call fcn.00495860
mov ecx, dword [ebp - 0x218]
mov edi, eax
mov eax, dword [ebp - 0x210]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [edi + 0x200], 0
push esi
lea ecx, [ecx + eax*2]
push ecx
push edi
call ebx
mov esi, dword [ebp - 0x21c]
mov edx, dword [esi + 4]
mov ecx, dword [edx + 0x200]
test ecx, ecx
je 0x44d0bc
nop dword [eax]
mov edx, ecx
mov ecx, dword [edx + 0x200]
test ecx, ecx
jne 0x44d0b0
mov dword [edx + 0x200], edi
xor eax, eax
mov dword [0x509160], 0xffffffff
mov dword [0x509168], 0
mov word [0x509170], ax
mov esi, dword [esi + 4]
mov esi, dword [esi + 0x200]
test esi, esi
je 0x44d13e
nop dword [eax + eax]
cmp word [esi], 0x22
mov edi, esi
jne 0x44d128
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp word [esi + eax*2 - 2], 0x22
jne 0x44d10a
dec eax
jmp 0x44d114
add eax, 0xfffffffe
cmp word [esi + eax*2], 0x22
jne 0x44d128
push eax
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea edi, [ebp - 0x20c]
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.0044d1a0
mov esi, dword [esi + 0x200]
test esi, esi
jne 0x44d0f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret
Function at 0x44d1a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov dword [ebp - 4], ecx
call edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d202
push esi
call edi
cmp eax, 4
jl 0x44d1f6
cmp word [esi + eax*2 - 2], 0x65
jne 0x44d1f6
cmp word [esi + eax*2 - 4], 0x78
jne 0x44d1f6
cmp word [esi + eax*2 - 6], 0x65
jne 0x44d1f6
cmp word [esi + eax*2 - 8], 0x2e
jne 0x44d1f6
xor eax, eax
mov word [0x509170], ax
jmp 0x44d202
push esi
push 0x509170
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp ebx, 4
jl 0x44d327
movzx eax, word [esi]
mov ecx, eax
cmp eax, 0x6d
jne 0x44d251
cmp word [esi + 2], 0x61
jne 0x44d327
cmp word [esi + 4], 0x70
jne 0x44d327
mov ecx, esi
call fcn.0044d150
lea ecx, [esi + 0xc]
mov dword [0x509168], 1
push ecx
mov edi, eax
call fcn.0044d340
mov dword [0x509160], eax
jmp 0x44d31d
cmp ecx, 0x65
jne 0x44d292
cmp word [esi + 2], 0x76
jne 0x44d327
cmp word [esi + 4], 0x74
jne 0x44d327
mov ecx, esi
call fcn.0044d150
mov edi, eax
mov dword [0x509168], 2
lea eax, [esi + 0xc]
push eax
call fcn.0044d340
mov dword [0x509160], eax
jmp 0x44d31d
cmp ecx, 0x72
jne 0x44d2ed
cmp word [esi + 2], 0x73
jne 0x44d327
cmp word [esi + 4], 0x74
jne 0x44d2cc
mov ecx, esi
call fcn.0044d150
mov edi, eax
mov dword [0x509168], 3
lea eax, [esi + 0xc]
push eax
call fcn.0044d340
mov dword [0x509160], eax
jmp 0x44d31d
cmp word [esi + 2], 0x73
jne 0x44d327
cmp word [esi + 4], 0x63
jne 0x44d327
mov ecx, esi
call fcn.0044d150
mov dword [0x509168], 3
jmp 0x44d311
cmp ecx, 0x74
jne 0x44d327
cmp word [esi + 2], 0x65
jne 0x44d327
cmp word [esi + 4], 0x73
jne 0x44d327
mov ecx, esi
call fcn.0044d150
mov dword [0x509168], 0
mov dword [0x509160], 0xffffffff
mov edi, eax
cmp edi, 0xffffffff
je 0x44d327
mov eax, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44d3b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x509164], 0
mov eax, dword [0x4fc0fc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebx, ecx
push edi
mov dword [ebp - 0x824], edx
mov dword [ebp - 0x820], ebx
je 0x44d3f9
cmp dword [eax + 0x604], 0
jne 0x44d3f9
push dword [eax + 0x608]
jmp 0x44d3ff
add eax, 0x9a0
push eax
lea eax, [ebp - 0x40c]
push eax
call esi
push ebx
lea eax, [ebp - 0x204]
push eax
call esi
push str..png
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
mov esi, dword [ebp - 0x820]
xor edi, edi
mov word [ebp - 0x204], ax
nop dword [eax + eax]
lea eax, [edi + 1]
push eax
push esi
mov edi, eax
lea eax, [ebp - 0x204]
push 0x4dafa4
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x204]
push str..png
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x614]
push 0x4d4fd0
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44d4a3
cmp edi, 0x270f
jl 0x44d440
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x81c]
push eax
call esi
lea eax, [ebp - 0x81c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x4d4fd0
push dword [ebp - 0x824]
call ebx
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret
Function at 0x453540
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45356d
xor eax, eax
pop ebx
pop ebp
ret 0xc
push esi
push edi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shl ecx, 4
add ecx, dword [0x5093c8]
mov dword [ecx + 8], edi
pop edi
mov dword [ecx + 4], esi
pop esi
mov dword [ecx], eax
mov eax, 1
pop ebx
pop ebp
ret 0xc
Function at 0x458f40
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x458f88
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, esi
div dword [ebp + 0x10]
mov ebx, edx
sub esi, ebx
lea eax, [ebx + edi]
push eax
push esi
push 0
push 4
push dword [ecx + 0x20]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x458f88
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x458f88
pop edi
lea eax, [esi + ebx]
pop esi
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
Function at 0x469d00
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
mov eax, dword [0x4f4008]
xor eax, esp
mov dword [esp + 0x14c], eax
push esi
push edi
push str.RtlGetVersion
push str.ntdll.dll
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x469d60
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x11c
push ecx
call eax
xor eax, eax
cmp dword [esp + 0x34], 0xa
setge al
test eax, eax
je 0x469d60
mov esi, 0x4d9958
jmp 0x469e79
push 0x11c
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0049a080
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
xor eax, eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 3
mov dword [esp + 0x144], eax
push 3
push 2
push eax
push eax
mov dword [esp + 0x40], 0x11c
call esi
push 3
push 1
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x469dc8
mov esi, 0x4d9960
jmp 0x469e79
push 0x11c
lea eax, [esp + 0x34]
push 0
push eax
call fcn.0049a080
add esp, 0xc
mov dword [esp + 0x34], 6
xor eax, eax
mov dword [esp + 0x38], 2
mov dword [esp + 0x144], eax
mov dword [esp + 0x30], 0x11c
push 3
push 2
push eax
push eax
call esi
push 3
push 1
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
je 0x469e27
mov esi, 0x4d5c3c
jmp 0x469e79
push ecx
push 1
mov edx, 1
call fcn.00469c50
add esp, 8
test eax, eax
je 0x469e42
mov esi, 0x4d9968
jmp 0x469e79
push ecx
push 0
mov edx, 1
call fcn.00469c50
add esp, 8
test eax, eax
je 0x469e5d
mov esi, 0x4d5c38
jmp 0x469e79
push ecx
push 2
xor edx, edx
call fcn.00469c50
add esp, 8
mov esi, 0x4d9970
test eax, eax
mov ecx, 0x4c44d4
cmove esi, ecx
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esp + 0xc], 0
mov ecx, 0x20
mov eax, 0x40
cmove eax, ecx
push eax
push esi
push str._s__d
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x164]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.00495852
mov esp, ebp
pop ebp
ret
Function at 0x46df50
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x46dfcf
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x34], eax
cmp eax, 0xffffffff
je 0x46dfc4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0
push 2
push 0
push dword [ebx + 0x34]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 0x38], eax
test eax, eax
je 0x46dfc4
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x46e095
lea eax, [ebp - 0x28]
push eax
push edi
push esi
call fcn.0046e460
test eax, eax
mov eax, dword [ebp - 0x28]
je 0x46dfe3
add esi, eax
sub edi, eax
mov dword [ebx + 0x28], esi
lea eax, [ebp - 0x28]
mov dword [ebx + 0x2c], edi
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.0046e4e0
test eax, eax
je 0x46e095
push 0x10000
push 0x12
lea esi, [ebx + 8]
mov eax, 1
mov word [esi], ax
lea eax, [ebp - 0x24]
push esi
push eax
push 0
call dword [sym.imp.MSACM32.dll_acmFormatSuggest]
push 4
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebx + 0x24]
push eax
call dword [sym.imp.MSACM32.dll_acmStreamOpen]
test eax, eax
jne 0x46e095
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
imul ecx, eax
mov eax, dword [ebx + 0x10]
add eax, eax
push eax
push 0
add ecx, ecx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x4c], ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push dword [ebx + 0x20]
mov dword [ebx + 4], eax
push 0
call edi
push eax
call esi
pop edi
mov dword [ebx + 0x44], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00495852
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00495852
mov esp, ebp
pop ebp
ret 0xc

Function at 0x46f5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
je 0x46f614
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jne 0x46f5ee
lea eax, [ebp - 4]
mov dword [esi + 0x18], 1
push eax
push 0
push esi
push 0x46fa20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x46f619
mov dword [esi + 0x18], eax
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x46f880
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0046f6c0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46fd40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x4f4008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edx
push 0x4dab54
lea eax, [ebp - 0x204]
mov esi, ecx
push str._s___d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x204]
push 0x30
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x471d70
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x1a8]
test ecx, ecx
je 0x471da9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x1b0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x1b4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esi + 0x1e8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 0x1b8]
test ecx, ecx
je 0x471db9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ebx, ebx
lea edi, [esi + 0x1fc]
mov ecx, dword [edi]
test ecx, ecx
je 0x471de2
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x471dd7
cmp eax, 1
jne 0x471f79
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi], 0
inc ebx
add edi, 4
cmp ebx, 0x14
jl 0x471dc1
mov ecx, dword [esi + 0x1f8]
test ecx, ecx
je 0x471dfa
call fcn.004914c0
mov dword [esi + 0x1f8], 0
mov ecx, dword [esi + 0x24c]
test ecx, ecx
je 0x471e13
call fcn.004914c0
mov dword [esi + 0x24c], 0
mov ecx, dword [esi + 0x250]
test ecx, ecx
je 0x471e2c
call fcn.004914c0
mov dword [esi + 0x250], 0
mov ecx, dword [esi + 0x254]
test ecx, ecx
je 0x471e45
call fcn.004914c0
mov dword [esi + 0x254], 0
mov ecx, dword [esi + 0x288]
test ecx, ecx
je 0x471e5e
call fcn.004914c0
mov dword [esi + 0x288], 0
mov ecx, dword [esi + 0x258]
test ecx, ecx
je 0x471e77
call fcn.004914c0
mov dword [esi + 0x258], 0
mov ecx, dword [esi + 0x25c]
test ecx, ecx
je 0x471e90
call fcn.004914c0
mov dword [esi + 0x25c], 0
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x471ea9
call fcn.004914c0
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esi + 0x260], 0
mov eax, dword [esi + 0x2b0]
test eax, eax
je 0x471edb
push eax
push 0
call ebx
push eax
call edi
mov dword [esi + 0x2b0], 0
mov ecx, dword [esi + 0x2bc]
test ecx, ecx
je 0x471eea
call fcn.004914c0
mov dword [esi + 0x2bc], 0
mov ecx, dword [esi + 0x144]
test ecx, ecx
je 0x471f03
call fcn.004914c0
mov dword [esi + 0x144], 0
mov eax, dword [esi + 0x134]
test eax, eax
je 0x471f1f
push eax
push 0
call ebx
push eax
call edi
mov dword [esi + 0x134], 0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x471f38
push eax
push 0
call ebx
push eax
call edi
mov dword [esi + 0x40], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x471f4e
push eax
push 0
call ebx
push eax
call edi
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x471f67
push eax
push 0
call ebx
push eax
call edi
push 0x320
push esi
call fcn.00495890
add esp, 8
pop edi
pop esi
pop ebx
ret
call fcn.004477e0
mov ecx, str.Unexpected_error._You_may_have_used_the_item_in_root.duplicateItem_without_duplicating_it.
call fcn.0044b320
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x473bc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be704
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4f4008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x3c
call fcn.00495860
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea ecx, [edi + 0x38]
mov dword [edi], vtable.CScriptParameter.0
mov dword [edi + 0x34], 1
mov dword [ecx], 0
mov edx, dword [0x4fc0c8]
push ecx
push 0x4dd178
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x30]
mov dword [ebx + 0x11c], edi
push 0x3c
mov dword [edi + 4], eax
call fcn.00495860
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
lea ecx, [edi + 0x38]
mov dword [edi], vtable.CScriptParameter.0
mov dword [edi + 0x34], 1
mov dword [ecx], 0
mov edx, dword [0x4fc0c8]
push ecx
push 0x4dd178
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x5c]
mov dword [ebx + 0x120], edi
push 0x248
mov dword [edi + 4], eax
call fcn.00495860
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea ecx, [edi + 0x244]
mov dword [edi], vtable.CScriptReferenceList.0
mov dword [edi + 0x240], 1
mov dword [ecx], 0
mov edx, dword [0x4fc0c8]
push ecx
push 0x4dcf68
push edx
mov esi, dword [edx]
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x4fc0fc]
mov ecx, dword [ebx + 0x98]
mov dword [ebx + 0x124], edi
push 0x18
mov eax, dword [eax + 0x200]
mov dword [edi + 0x234], eax
mov dword [edi + 0x238], ecx
mov dword [edi + 0x23c], 4
call fcn.00495860
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 3
lea ecx, [edi + 0x14]
mov dword [edi], vtable.CScriptAggregation.0
mov dword [edi + 0x10], 1
mov dword [ecx], 0
mov edx, dword [0x4fc0c8]
push ecx
mov esi, dword [edx]
push 0x4dd7a8
push edx
call dword [esi + 0x18]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 0x9c]
mov ecx, dword [0x4fc0c0]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebx + 0x128], edi
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
mov ecx, dword [ecx + 8]
push eax
push dword [ebx + 0x108]
call fcn.0046b420
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x12c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret