joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ff58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040a780
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x40949a
add edi, 0x28
jmp 0x40949c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4094b4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x409540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ff58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040a780
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x40958a
add edi, 0x28
jmp 0x40958c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x4095a4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x409630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ff58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.0040a780
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x40967a
add edi, 0x28
jmp 0x40967c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x409694
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x40ea30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441358
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
add edi, 0x68
mov ecx, edi
call fcn.0040b220
lea esi, [esp + 0xc]
call fcn.0040f850
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 8
jb 0x40ea7d
mov eax, dword [eax + 4]
jmp 0x40ea80
add eax, 4
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, edi
mov esi, eax
call fcn.0040b220
cmp esi, 0xffffffff
je 0x40ea9e
mov dword [edi], esi
cmp dword [esp + 0x24], 8
jb 0x40eab2
mov eax, dword [esp + 0x10]
push eax
call fcn.00424b3c
add esp, 4
xor eax, eax
cmp dword [edi], eax
setne al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x40ead0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x441358
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
add edi, 0x6c
mov ecx, edi
call fcn.0040b220
lea esi, [esp + 0xc]
call fcn.0040f8e0
mov dword [esp + 0x30], 0
cmp dword [eax + 0x18], 8
jb 0x40eb1d
mov eax, dword [eax + 4]
jmp 0x40eb20
add eax, 4
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ecx, edi
mov esi, eax
call fcn.0040b220
cmp esi, 0xffffffff
je 0x40eb3e
mov dword [edi], esi
cmp dword [esp + 0x24], 8
jb 0x40eb52
mov eax, dword [esp + 0x10]
push eax
call fcn.00424b3c
add esp, 4
xor eax, eax
cmp dword [edi], eax
setne al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret

Function at 0x40f1f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441998
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
push 0
push 0
mov dword [esp + 0x18], 0x10
mov dword [esp + 0x1c], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [esp + 0xc], vtable.AcerWMIClass.0
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x38], 0
call fcn.00404ac0
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0040f2c0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00424b47
mov esp, ebp
pop ebp
ret 8
Function at 0x40f2c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x441288
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.0040f3a0
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x10], 0
call fcn.0040b220
cmp esi, 0xffffffff
je 0x40f308
mov dword [esp + 0x10], esi
jmp 0x40f30c
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x40f337
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0040b220
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
mov ecx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x18]
push eax
push 0x10
push ecx
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40f310
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x68]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x14], 0x10
lea ecx, [esp + 0x10]
sete bl
mov dword [esp + 0x20], 0xffffffff
call fcn.0040b220
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret 8
Function at 0x4139c0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4411fd
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x451100], bl
je 0x413a40
call fcn.00414b50
cmp eax, 3
jg 0x413a40
cmp dword [esi + 0x14], ebx
jne 0x413a40
push 3
push 0x95
push str...commonlm_chromium.cpp
lea ecx, [esp + 0x28]
call fcn.00416e40
mov dword [esp + 0xb0], ebx
add eax, 4
push str.Check_failed:__log_file_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.004041d0
add esp, 8
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x413a59
lea ecx, [esp + 0x1c]
call fcn.00416ba0
cmp dword [esi + 0x18], 8
jb 0x413a64
mov eax, dword [esi + 4]
jmp 0x413a67
lea eax, [esi + 4]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x413ac0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.0040b220
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x413ada
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0040b220
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
cmp dword [esp + 0x18], 0
jl 0x413af1
jg 0x413aed
cmp dword [esp + 0x14], 0x1400000
jbe 0x413af1
mov bl, 1
jmp 0x413af3
xor bl, bl
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0040b220
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x413b30
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x440bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x451100], bl
je 0x413bbc
call fcn.00414b50
cmp eax, 3
jg 0x413bbc
cmp dword [edi + 0x14], ebx
jne 0x413bbc
push 3
push 0xad
push str...commonlm_chromium.cpp
lea ecx, [esp + 0x4c]
call fcn.00416e40
mov dword [esp + 0x310], ebx
add eax, 4
push str.Check_failed:__log_file_full_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.004041d0
add esp, 8
mov dword [esp + 0x310], 0xffffffff
test bl, 1
je 0x413bd5
lea ecx, [esp + 0x40]
call fcn.00416ba0
push edi
lea ecx, [esp + 0xec]
call fcn.00419530
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x314], 1
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xec]
call fcn.00419910
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x413c18
mov eax, dword [eax + 4]
jmp 0x413c1b
add eax, 4
movzx edx, word [esp + 0x36]
movzx ecx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x36]
push edx
push eax
push ecx
push str.._4d__02d__02d_s
mov ecx, 0x100
lea ebx, [esp + 0x118]
call fcn.00413330
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x413c5a
mov edx, dword [esp + 0x18]
push edx
call fcn.00424b3c
add esp, 4
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x104]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x413c80
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004084b0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 2
call fcn.00419aa0
mov byte [esp + 0x310], 1
cmp dword [esp + 0x2c], esi
jb 0x413cdd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00424b3c
add esp, 4
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0xe4], esi
jae 0x413d07
lea ecx, [esp + 0xd0]
cmp dword [edi + 0x18], esi
jb 0x413d11
mov eax, dword [edi + 4]
jmp 0x413d14
lea eax, [edi + 4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0xcc]
call fcn.00419320
lea ecx, [esp + 0xe8]
mov dword [esp + 0x310], 0xffffffff
call fcn.00419320
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.00424b47
add esp, 0x308
ret
Function at 0x414690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4411a1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x44f3c0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
call fcn.00419300
lea eax, [esp + 0x10]
push eax
push 9
mov dword [esp + 0x40], 1
call fcn.0041e800
add esp, 8
test al, al
je 0x41470e
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00408930
jmp 0x41474a
push 0xa
push 9
push 0x4142f0
call fcn.0041ea60
lea eax, [esp + 0x1c]
push eax
push 9
call fcn.0041e800
add esp, 0x14
push 0xffffffffffffffff
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push ebx
lea edx, [esp + 0x18]
mov word [esi + 4], cx
push edx
mov ecx, esi
call fcn.00408930
lea ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], bl
call fcn.00419320
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00424b47
add esp, 0x34
ret

Function at 0x415a50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x280], eax
push esi
mov esi, dword [esp + 0x28c]
cmp dword [esi + 0x14], 0
je 0x415ba0
cmp byte [0x451114], 0
je 0x415ba0
push 0x104
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x7c]
push 0x5c
push ecx
call fcn.00426589
add esp, 8
test eax, eax
je 0x415ab1
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.0042714a
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x415ada
mov ecx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x415ae1
lea edx, [esi + 4]
mov dword [esp + 4], edx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x10], eax
call fcn.004183c0
add esp, 8
cmp dword [esp + 0x74], 0
je 0x415b97
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004270d0
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x78], 8
mov dword [esp + 0x1c], 0x44
jae 0x415b2d
lea eax, [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x415b79
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
jmp 0x415b97
push 0x40010
push 0x4433ec
push 0
lea ecx, [esp + 0x6c]
call fcn.00407980
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x60]
call fcn.00407810
mov ecx, dword [esp + 0x284]
pop esi
xor ecx, esp
call fcn.00424b47
add esp, 0x284
ret
Function at 0x4176c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [0x451138], 0
jne 0x417791
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 5
jne 0x41772e
mov eax, dword [esp + 8]
sub eax, 0
je 0x417726
sub eax, ecx
je 0x41771a
mov dword [0x451134], 3
jmp 0x41778b
mov dword [0x451134], 2
jmp 0x41778b
mov dword [0x451134], ecx
jmp 0x41778b
cmp eax, 6
jne 0x41777f
cmp byte [esp + 0x11a], cl
je 0x417748
mov dword [0x451134], 5
jmp 0x41778b
mov eax, dword [esp + 8]
test eax, eax
jne 0x41775c
mov dword [0x451134], 4
jmp 0x41778b
cmp eax, ecx
jne 0x41776c
mov dword [0x451134], 6
jmp 0x41778b
xor edx, edx
cmp eax, 2
setne dl
add edx, 7
mov dword [0x451134], edx
jmp 0x41778b
jbe 0x41778b
mov dword [0x451134], 8
mov byte [0x451138], cl
mov ecx, dword [esp + 0x11c]
mov eax, dword [0x451134]
xor ecx, esp
call fcn.00424b47
add esp, 0x120
ret
Function at 0x41cd60
Capabilities:
Accept command line arguments

Disassembly:
mov ecx, dword [0x451140]
sub esp, 0x1c
push esi
mov esi, ecx
test ecx, ecx
je 0x41cd7e
call fcn.0041c870
push esi
call fcn.00424b3c
add esp, 4
push 0x70
call fcn.00424bee
add esp, 4
test eax, eax
je 0x41cd9a
mov ecx, eax
call fcn.0041ca40
mov dword [0x451140], eax
jmp 0x41cda4
mov dword [0x451140], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [esp + 8], cx
mov ecx, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41cdc6
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004084b0
mov ecx, dword [0x451140]
lea edx, [esp + 4]
push edx
call fcn.0041cab0
cmp dword [esp + 0x1c], 8
pop esi
jb 0x41ce05
mov eax, dword [esp + 4]
push eax
call fcn.00424b3c
add esp, 4
add esp, 0x1c
ret
Function at 0x4227c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x44f3c0]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov esi, dword [esp + 0x268]
lea ecx, [esp + 0x58]
push ecx
xor eax, eax
push 0x104
mov word [esp + 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x42286c
cmp eax, 0x104
ja 0x42286c
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.00407d20
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.00419530
mov ecx, eax
call fcn.00419d20
push eax
mov ecx, esi
call fcn.00419780
lea ecx, [esp + 4]
call fcn.00419320
lea ecx, [esp + 0x20]
call fcn.00419320
cmp dword [esp + 0x54], 8
jb 0x422854
mov edx, dword [esp + 0x40]
push edx
call fcn.00424b3c
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.00424b47
add esp, 0x260
ret
mov ecx, dword [esp + 0x260]
pop esi
xor ecx, esp
xor al, al
call fcn.00424b47
add esp, 0x260
ret
Function at 0x424b47
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44f3c0]
jne 0x424b51
repz ret
jmp fcn.0042cabc

Function at 0x43a095
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042cdd2
and dword [ebp - 4], 0
cmp dword [0x452a48], 0
mov ebx, eax
jne 0x43a146
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43a1f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43a1f7
push eax
call fcn.0042cd60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452a48], eax
call esi
push eax
call fcn.0042cd60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452a4c], eax
call esi
push eax
call fcn.0042cd60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452a50], eax
call esi
push eax
call fcn.0042cd60
pop ecx
mov dword [0x452a58], eax
test eax, eax
je 0x43a146
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042cd60
pop ecx
mov dword [0x452a54], eax
mov eax, dword [0x452a54]
cmp eax, ebx
je 0x43a19e
cmp dword [0x452a58], ebx
je 0x43a19e
push eax
call fcn.0042cddb
push dword [0x452a58]
mov esi, eax
call fcn.0042cddb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43a19e
test edi, edi
je 0x43a19e
call esi
test eax, eax
je 0x43a195
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43a195
test byte [ebp - 0xc], 1
jne 0x43a19e
or dword [ebp + 0x10], 0x200000
jmp 0x43a1d7
mov eax, dword [0x452a4c]
cmp eax, ebx
je 0x43a1d7
push eax
call fcn.0042cddb
pop ecx
test eax, eax
je 0x43a1d7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43a1d7
mov eax, dword [0x452a50]
cmp eax, ebx
je 0x43a1d7
push eax
call fcn.0042cddb
pop ecx
test eax, eax
je 0x43a1d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452a48]
call fcn.0042cddb
pop ecx
test eax, eax
je 0x43a1f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43a1f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401666
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov eax, dword [0x404050]
or al, 1
imul eax, esi
mov edx, dword [0x404050]
mov ebx, esi
sub edx, eax
mov eax, 0x404054
call fcn.004015d7
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x403111
push eax
sub edi, fcn.004028ab
push edi
push fcn.004028ab
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40172c
mov eax, fcn.004028ab
mov ebx, esi
jmp 0x401714
mov edx, edi
call fcn.004015d7
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402644
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.00402354
lea eax, [esi + 0x1c000]
mov ebx, 0x404054
mov cl, al
mov edi, esi
or bl, 1
shl edi, cl
xor edx, edx
add edi, eax
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.004028ab
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x40152a
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
lea eax, [ebp - 0x124]
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x120]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 4], 1
mov dword [esp], eax
mov dword [ebp - 0x124], 0x14
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
movzx eax, word [ebp - 0x120]
sub esp, 0x14
leave
sub eax, 0x41
ret

Function at 0x401586
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 0
call fcn.0040152a
test eax, eax
jne 0x401620
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x4020b6
sub eax, 0x401654
mov dword [esp], 0x401654
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401620
lea ebx, [ebp - 0x88]
mov dword [esp], 0
call fcn.00401420
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.004014a3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b600
mov dword [esp], 0x40300c
call fcn.00401db9
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret