joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4520c8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4520f6
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x452114
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045202e
jmp 0x452114
mov eax, dword [esi + 0x14]
test eax, eax
je 0x452114
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045202e
test edi, edi
mov eax, edi
jne 0x4520fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x415050
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x20c
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [0x544944]
test eax, eax
je 0x4150d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FDICreate
push eax
call esi
mov dword [0x544938], eax
push str.FDIDestroy
push dword [0x544944]
call esi
mov dword [0x54493c], eax
push str.FDICopy
push dword [0x544944]
call esi
mov dword [0x544940], eax
xor ebx, ebx
cmp dword [0x544938], 0
je 0x4150c3
cmp dword [0x54493c], 0
je 0x4150c3
cmp dword [0x544940], 0
setne bl
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0x20c
pop esi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x214]
push 0x208
push 0
push esi
call fcn.004e3a90
add esp, 0xc
push 0x104
push esi
push 0x521748
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x41511e
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x544944], eax
jmp 0x415123
mov eax, dword [0x544944]
test eax, eax
jne 0x41506e
mov word [ebp - 0x214], 0
push 0x104
push esi
push str._SYSTEMROOT__system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jb 0x415163
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x544944], eax
jmp 0x415168
mov eax, dword [0x544944]
test eax, eax
jne 0x41506e
mov word [ebp - 0x214], 0
push 0x104
push esi
push str.C:Windows_system32cabinet.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x4151a8
mov eax, dword [0x544944]
test eax, eax
jne 0x41506e
jmp 0x4150a5
push 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [0x544944], eax
jmp 0x41519b
Function at 0x416430
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov edi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x68], eax
xor eax, eax
push eax
push eax
push ecx
push 0x416ad0
push eax
push eax
call fcn.004ef68e
add esp, 0x18
mov esi, eax
cmp dword [edi + 0x3c], eax
je 0x4164a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [edi + 0x3c]
inc eax
cmp eax, 2
jb 0x41648c
call fcn.00492150
push dword [edi + 0x3c]
call fcn.0047b600
add esp, 4
mov dword [edi + 0x3c], 0
lea eax, [esi + 1]
cmp eax, 2
jb 0x41649c
mov dword [edi + 0x3c], esi
call fcn.00492150
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [edi + 0x3c]
inc esi
cmp esi, 1
ja 0x416504
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0xa1
push str.InitializeThread
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x521a46
push str.Failed_to_create_thread_for_async_install_tasks
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [ebx + 0xb], 0
jns 0x416504
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
test esi, 0xfffffffe
setne bl
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41e090
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x41e137
lea esi, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0041e1b0
movzx eax, byte [esi + 0xb]
mov edx, dword [esi]
mov ecx, eax
test al, al
jns 0x41e0cd
mov ecx, dword [ebp - 0x18]
mov esi, edx
mov dword [ebp - 0x28], edx
lea edx, [esi + ecx*2]
mov edi, edx
cmp ecx, 8
jl 0x41e105
mov dword [ebp - 0x20], eax
lea eax, [esi + ecx*2]
add eax, 0xfffffffe
mov edi, esi
mov dword [ebp - 0x24], eax
mov ebx, ecx
invalid
Function at 0x4201d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x68], eax
mov dword [ecx], fcn.00429320
cmp dword [ecx + 0xc0], 0
je 0x420286
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xea60
push dword [esi + 0xc0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x420286
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x1f4
push str.Installer
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x522cfb
push str.Failed_to_wait_for_install_async_exit._Terminate_install_thread_
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [ebx + 0xb], 0
jns 0x420278
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
push 0
push dword [esi + 0xc0]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0x130]
call fcn.0041bcb0
cmp byte [esi + 0x12f], 0
jns 0x4202a8
push dword [esi + 0x124]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0x123], 0
jns 0x4202bf
push dword [esi + 0x118]
call fcn.004dfb35
add esp, 4
mov ecx, dword [esi + 0x110]
mov dword [esi + 0x110], 0
test ecx, ecx
je 0x4202da
push 1
call fcn.00429350
cmp byte [esi + 0x10b], 0
jns 0x4202f1
push dword [esi + 0x100]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0xbb], 0
jns 0x420308
push dword [esi + 0xb0]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0xaf], 0
jns 0x42031f
push dword [esi + 0xa4]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0xa3], 0
jns 0x420336
push dword [esi + 0x98]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0x97], 0
jns 0x42034d
push dword [esi + 0x8c]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0x8b], 0
jns 0x420364
push dword [esi + 0x80]
call fcn.004dfb35
add esp, 4
cmp byte [esi + 0x7f], 0
jns 0x420375
push dword [esi + 0x74]
call fcn.004dfb35
add esp, 4
mov eax, dword [esi + 0x6c]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x420397
push eax
call fcn.004a02a0
add esp, 4
mov dword [esi + 0x6c], 0
mov eax, dword [esi + 0x68]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x4203c0
push eax
call fcn.004a02a0
add esp, 4
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0x64]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x548b80]
bt edx, ecx
jae 0x4203e9
push eax
call fcn.004a02a0
add esp, 4
mov dword [esi + 0x64], 0
lea ecx, [esi + 0x60]
call fcn.0049c1d0
cmp byte [esi + 0x5c], 0
je 0x420408
add esi, 8
mov ecx, esi
call fcn.00416530
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e0685
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x420460
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ecx + 0xc4]
call edi
push dword [esi + 0xc8]
call edi
xor eax, eax
push eax
push eax
push esi
push 0x4204a0
push eax
push eax
call fcn.004ef68e
add esp, 0x18
mov dword [esi + 0xc0], eax
pop esi
pop edi
pop ebp
ret
Function at 0x427f50
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x70], eax
call fcn.004114c0
test al, al
jne 0x427f89
xor ebx, ebx
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x5242a0
push str.BROWSER_SETUP_RESOURCE
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427f70
mov ebx, eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor ebx, ebx
test edi, edi
je 0x427f72
mov esi, eax
test eax, eax
je 0x427f72
lea ebx, [esp + 0x6c]
mov dword [ebx], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push ebx
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], esi
jne 0x427fef
mov bl, 1
jmp 0x427f72
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 4]
push eax
push edi
call fcn.0050e3e0
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push edi
push 0x56e
push str.ExtractBrowserSetupResource
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x5233d1
push str.Write_failed._Roll_back_write_operation.
call fcn.004147c0
mov ecx, esi
call fcn.00455590
cmp byte [edi + 0xb], 0
jns 0x428047
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x427f72

Function at 0x428830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x68], eax
push 0x7530
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4288c5
mov byte [esi + 0x15], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x763
push str.EnsureProcessFinished
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x523746
push str.The_elevated_installer_hangs_and_must_be_forcibly_terminated.
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [ebx + 0xb], 0
jns 0x4288ba
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
push 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, esi
call fcn.00428790
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e0685
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42a8f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [esp + 0x68], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0x5c]
mov ecx, edi
call dword [0x53a380]
mov ecx, esi
call edi
mov ecx, esi
call fcn.00414ad0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a948
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x10]
mov ecx, edi
push 0x217
push str.OnCloseWindow
push 0
call fcn.00455190
lea ecx, [esp + 0x4c]
push 0x523d4b
push str.____Installer___MainWindow::OnCloseWindow
call fcn.004147c0
mov ecx, edi
call fcn.004553c0
mov ecx, dword [esi + 0x4c]
test ecx, ecx
je 0x42a9e1
call fcn.00420420
test al, al
jne 0x42a9e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.0050e3e0
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x21b
push str.OnCloseWindow
push 1
call fcn.00455540
lea ecx, [esp + 0x4c]
push 0x523d92
push str.____Installer___MainWindow::OnCloseWindow:_WaitForInstallAsync_timeout
call fcn.004147c0
mov ecx, edi
call fcn.00455590
cmp byte [ebx + 0xb], 0
jns 0x42a9e1
push dword [esp + 4]
call fcn.004dfb35
add esp, 4
mov ecx, dword [esi + 0xe4]
call fcn.00414ad0
xor ebx, ebx
inc ebx
mov edi, dword [sym.imp.USER32.dll_EndDialog]
push ebx
push eax
call edi
mov ecx, esi
call fcn.00414ad0
push ebx
push eax
call edi
mov ecx, esi
call fcn.00414ad0
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004e0685
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42aa30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00414ad0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42aa71
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
lea edi, [ebp - 0x18]
push edi
call fcn.00443ff0
add esp, 4
mov edi, dword [edi]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x53a380]
xor eax, eax
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call ebx
lea eax, [ebp - 0x18]
mov edi, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
test edi, edi
je 0x42aad1
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x53a380]
mov ecx, edi
push 1
call ebx
mov ecx, dword [ebp - 0x14]
xor edi, edi
push edi
call fcn.004348d0
mov ecx, esi
call fcn.00414ad0
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
test esi, esi
je 0x42ab08
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x53a380]
mov ecx, esi
push 1
call edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x10

Function at 0x42abc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.00414ad0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ac01
push 0
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
mov dword [eax], 0xffffffff
lea edi, [ebp - 0x18]
push edi
call fcn.00443ff0
add esp, 4
mov edi, dword [edi]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x53a380]
mov ecx, edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 3
lea eax, [ebp - 0x14]
push eax
call ebx
lea eax, [ebp - 0x18]
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x42ac62
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x53a380]
mov ecx, edi
push 1
call ebx
mov ecx, dword [ebp - 0x14]
xor edi, edi
push edi
call fcn.004348d0
mov ecx, esi
call fcn.00414ad0
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
test esi, esi
je 0x42ac99
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x53a380]
mov ecx, esi
push 1
call edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42db40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov edi, ecx
lea ebx, [ebp + 8]
call fcn.0047c170
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x10], edi
je 0x42dc5d
js 0x42dc89
push eax
mov dword [ebp - 0x14], eax
call fcn.004dfb05
add esp, 4
mov edi, eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
add eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
test edi, edi
je 0x42dc7a
mov ecx, edi
push esi
call fcn.00435b60
add esi, 0x10
add edi, 0x10
cmp esi, ebx
jne 0x42db93
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edi
mov edi, eax
lea esi, [ebp + 8]
mov ebx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ebx
cmp eax, 0x10
setne byte [edi + 0x10]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 4
dec eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov word [edi + 0x1c], 0
lea ecx, [edi + 0x20]
call fcn.0047c170
lea ecx, [edi + 0x24]
mov eax, dword [esi + 0xc]
cmp byte [eax + 0xb], 0
mov ebx, esi
js 0x42dc67
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
mov byte [edi + 0x30], 1
mov al, byte [ebx + 0x10]
mov byte [edi + 0x31], al
xor eax, eax
push eax
push eax
push edi
push 0x42deb0
push eax
push eax
call fcn.004ef68e
add esp, 0x18
mov esi, dword [ebx]
test esi, esi
je 0x42dc51
mov edi, dword [ebx + 4]
mov eax, esi
cmp edi, esi
je 0x42dc42
add edi, 0xfffffff0
je 0x42dc73
mov ecx, edi
call fcn.00435b20
cmp edi, esi
jne 0x42dc30
mov eax, dword [ebx]
mov dword [ebx + 4], esi
push eax
call fcn.004dfb35
add esp, 4
mov edi, dword [ebp - 0x10]
mov eax, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov eax, ebx
lea esi, [ebp + 8]
jmp 0x42dbbd
push dword [eax + 4]
push dword [eax]
call fcn.00478a70
jmp 0x42dc03
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x42dc7f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x521354
call fcn.0044d640
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00416ce0
int3
Function at 0x42e590
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edi, [ebp - 0x78]
mov dword [edi + 0x64], eax
mov dword [edi + 0x60], eax
pcmpeqd xmm0, xmm0
movdqu xmmword [edi + 0x50], xmm0
movdqu xmmword [edi + 0x40], xmm0
movdqu xmmword [edi + 0x30], xmm0
movdqu xmmword [edi + 0x20], xmm0
movdqu xmmword [edi + 0x10], xmm0
movdqu xmmword [edi], xmm0
mov ecx, edi
call fcn.0049d290
cmp byte [ebx + 0xb], 0
jns 0x42e5e4
mov ebx, dword [ebx]
mov ecx, edi
push dword [ebp + 0xc]
push ebx
call fcn.0049d810
test al, al
je 0x42e626
mov ebx, dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
jmp 0x42e60a
test eax, eax
je 0x42e646
cmp byte [esi + 0x30], 0
je 0x42e626
lea ecx, [ebp - 0x78]
call fcn.0049dde0
test ebx, ebx
je 0x42e600
test eax, eax
je 0x42e600
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, edi
cmp eax, ebx
jbe 0x42e604
xor ebx, ebx
lea ecx, [ebp - 0x78]
call fcn.0049d320
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, ebx
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
cmp byte [esi + 0x30], 0
je 0x42e626
lea ecx, [ebp - 0x78]
push 0
call fcn.0049df90
mov ebx, eax
jmp 0x42e628

Function at 0x435e90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx esi, cx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0xa
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
test eax, eax
je 0x435f3b
mov ebx, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x435f39
mov esi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x435f39
mov edi, eax
mov dword [ebp - 0x18], esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov esi, 0
je 0x435f30
push ebx
push dword [ebp - 0x18]
push eax
call fcn.004e3510
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
push esi
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [esi]
jmp 0x435f3b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x435f3b
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x436630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x540010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
xor eax, eax
mov edi, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
inc edi
je 0x43675b
cmp ebx, 0xfffffffe
jle 0x436762
lea eax, [edi + edi]
push eax
call fcn.004dfb05
add esp, 4
mov esi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
lea eax, [eax + edi*2]
lea ecx, [ebx*2 + 2]
xor edx, edx
mov edi, esi
add edi, edx
je 0x436745
mov word [edi], 0
add edx, 2
cmp ecx, edx
jne 0x43668b
mov dword [ebp - 0x18], eax
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp ebx, 0x7ffffff7
ja 0x43676a
cmp ebx, 4
jbe 0x4366ed
mov edi, ebx
or edi, 3
lea eax, [edi*2 + 2]
inc edi
push eax
call fcn.004dfb05
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
or edi, 0x80000000
mov dword [ecx + 8], edi
mov edi, ecx
mov dword [ecx + 4], ebx
jmp 0x4366f5
mov edi, dword [ebp + 8]
mov byte [edi + 0xb], bl
mov eax, edi
test ebx, ebx
je 0x43670e
add ebx, ebx
xor ecx, ecx
movzx edx, word [esi + ecx]
mov word [eax + ecx], dx
add ecx, 2
cmp ebx, ecx
jne 0x4366fd
add eax, ecx
mov word [eax], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x436731
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x436728
add ecx, 0xfffffffe
jne 0x43671d
jmp 0x436754
push eax
call fcn.004dfb35
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0685
mov eax, edi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x521354
call fcn.0044d640
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x43674a
push str....._third_partylibc_srcinclude_vector:1393:_assertion___n___size___failed:_vector___index_out_of_bounds_n
jmp 0x43674a
lea ecx, [ebp - 0x1c]
call fcn.00416ce0
mov ecx, dword [ebp + 8]
call fcn.004147a0
int3