joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410ee0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4279f0
push 1
push esi
push 0x427ac0
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x411075
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_Win32_OperatingSystem
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x426fb0
push eax
call edx
test eax, eax
js 0x41106e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x411086
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x411086
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x48]
push ecx
push esi
push str.InstallDate
push eax
mov dword [ebp - 4], esi
call edx
mov ecx, dword [ebp - 0x40]
push 1
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.00410e20
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 0x104
push esi
call dword [0x640164]
push eax
call dword [0x6400fc]
movzx ecx, word [ebp - 0x2c]
movzx edx, word [ebp - 0x2e]
push ecx
movzx ecx, word [ebp - 0x38]
push edx
movzx edx, word [ebp - 0x36]
mov esi, eax
movzx eax, word [ebp - 0x30]
push eax
movzx eax, word [ebp - 0x32]
push ecx
push edx
push eax
push str._d__d__d__d:_d:_d
push esi
call dword [0x63ff8c]
add esp, 0x20
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fcd0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x426fe4
jmp 0x41107a
push 0x426fec
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fcd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4110a0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x14]
push eax
push 0x4279f0
push 1
push esi
push 0x427ac0
mov dword [ebp - 0x14], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push str.rootSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4111db
mov ecx, dword [ebp - 0x10]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push esi
push 0x20
push str.Select__From_AntiVirusProduct
mov dword [ebp - 0x18], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x50]
push 0x427060
push eax
call edx
test eax, eax
js 0x4111d4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp eax, esi
je 0x4111ec
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x1c], esi
je 0x4111ec
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push esi
push esi
lea ecx, [ebp - 0x30]
push ecx
push esi
push str.displayName
push eax
mov dword [ebp - 4], esi
call edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004114b0
mov esi, dword [ebp + 8]
add esp, 4
push eax
mov ecx, esi
call fcn.0040fcd0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x427080
jmp 0x4111e0
push str.Unknown
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.0040fcd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x415250
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4221c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov esi, 2
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], esi
call fcn.0040fcc0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040fcc0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040fcc0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0040fcc0
test byte [0x63ff28], 1
mov byte [ebp - 4], 6
jne 0x4152bb
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x54], eax
jmp 0x4152c1
mov ecx, dword [ebp + 0x28]
mov dword [ebp - 0x54], ecx
lea edx, [ebp + 0x64]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040fdb0
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
lea edx, [ebp + 0x2c]
mov dword [ebp - 0x1c], ecx
push edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040fdb0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040fdb0
lea ecx, [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040fdb0
cmp dword [0x63ff28], esi
jb 0x415323
jmp 0x415310
push 0x3e8
call dword [0x63ffa4]
cmp dword [0x63ff28], esi
jae 0x415310
inc dword [0x63ff28]
push ebx
push ebx
lea edx, [ebp - 0x54]
push edx
push 0x413c30
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
push 0x4271ab
mov ecx, esi
call fcn.0040fcd0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.0040fd50
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.0040fd50
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0040fd50
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040fd50
lea ecx, [ebp + 0x2c]
mov byte [ebp - 4], 0xb
call fcn.0040fd50
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 0xa
call fcn.0040fd50
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040fd50
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], bl
call fcn.0040fd50
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x416750
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4225d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x450
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x427480
lea ecx, [ebp + 0x6c]
mov dword [ebp - 4], 1
xor edi, edi
call fcn.0040ff70
push eax
call dword [0x640098]
test eax, eax
je 0x416798
lea edi, [ebx + 1]
push 0
push 0x427490
lea ecx, [ebp + 0x6c]
call fcn.0040ff70
push eax
call dword [0x640098]
test eax, eax
je 0x4167bb
mov edi, 1
mov ebx, edi
jmp 0x4167c3
test edi, edi
je 0x4168d5
lea eax, [ebp - 0x74]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp - 0x74], 0
lea esi, [ebp - 0x74]
je 0x416938
lea esp, [esp]
push 0x3e8
lea ecx, [ebp - 0x45c]
push 0
push ecx
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test ebx, ebx
je 0x416824
cmp eax, 2
jne 0x416824
lea ecx, [ebp + 0x6c]
call fcn.0040ff70
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0x6401a8]
push esi
push str._DRIVE_REMOVABLE_
jmp 0x416840
lea ecx, [ebp + 0x6c]
call fcn.0040ff70
push eax
lea edx, [ebp - 0x45c]
push edx
call dword [0x6401a8]
push esi
push str._DRIVE_FIXED_
lea eax, [ebp - 0x45c]
push eax
call fcn.00411720
add esp, 0xc
push eax
lea ecx, [ebp - 0x45c]
push ecx
call dword [0x6401a8]
mov edx, dword [ebp + 0x90]
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x84]
push 0
push edx
push edi
push eax
push 0
push ecx
lea ecx, [ebp + 0x78]
call fcn.0040ff70
push eax
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp + 0x60]
call fcn.0040ff70
push eax
push 0x427176
lea ecx, [ebp + 0x94]
call fcn.0040ff70
push eax
sub esp, 0x58
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.00401060
call fcn.00416310
add esp, 0x84
push esi
call dword [0x640020]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x4167e0
jmp 0x416938
mov ecx, dword [ebp + 0x90]
mov edx, dword [ebp + 0x88]
mov eax, dword [ebp + 0x84]
push 0
push ecx
push 0
push edx
push 0
push eax
lea ecx, [ebp + 0x78]
call fcn.0040ff70
push eax
lea ecx, [ebp + 0x6c]
call fcn.0040ff70
push eax
lea ecx, [ebp + 0x60]
call fcn.0040ff70
push eax
push 0x427177
lea ecx, [ebp + 0x94]
call fcn.0040ff70
push eax
sub esp, 0x58
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.00401060
call fcn.00416310
add esp, 0x84
mov eax, dword [ebp + 0xa0]
mov dword [eax], 0
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 8
call fcn.0040fd50
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 7
call fcn.0040fd50
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.0040fd50
lea ecx, [ebp + 0x94]
mov dword [ebp - 4], 0xb
call fcn.0040fd50
lea ecx, [ebp + 0x78]
mov byte [ebp - 4], 0xa
call fcn.0040fd50
lea ecx, [ebp + 0x6c]
mov byte [ebp - 4], 9
call fcn.0040fd50
lea ecx, [ebp + 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0040fd50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41b7e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e1b0]
jne 0x41b7f1
repz ret
jmp fcn.0041e4df
Function at 0x41ecb6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e1b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041b10a
and dword [ebp - 0x14], 0
cmp dword [0x640d7c], 0
mov dword [ebp - 0x18], eax
jne 0x41ed69
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ee11
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41ee11
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x640d7c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x640d80], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x640d84], eax
call edi
push eax
call esi
mov dword [0x640d8c], eax
test eax, eax
je 0x41ed69
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x640d88], eax
mov eax, dword [0x640d88]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41edc2
cmp dword [0x640d8c], ecx
je 0x41edc2
push eax
call esi
push dword [0x640d8c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41edc2
test ebx, ebx
je 0x41edc2
call edi
test eax, eax
je 0x41edb9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41edb9
test byte [ebp - 8], 1
jne 0x41edc2
or dword [ebp + 0x10], 0x200000
jmp 0x41edf5
mov eax, dword [0x640d80]
cmp eax, dword [ebp - 0x18]
je 0x41edf5
push eax
call esi
test eax, eax
je 0x41edf5
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41edf5
mov eax, dword [0x640d84]
cmp eax, dword [ebp - 0x18]
je 0x41edf5
push eax
call esi
test eax, eax
je 0x41edf5
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x640d7c]
call esi
test eax, eax
je 0x41ee11
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ee13
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b7e7
leave
ret
Function at 0x300021fd
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x30002ff0
call fcn.30002680
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x30004584
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x30001fa0
cmp eax, esi
jne 0x30001f93
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30001fa3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30001f7a
xor esi, esi
inc esi
mov eax, dword [0x30004580]
cmp eax, esi
jne 0x30001fb6
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30001fe5
mov eax, dword [0x30004580]
test eax, eax
jne 0x30001fdf
mov dword [0x30004580], esi
push 0x30001210
push 0x30001208
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30001fe5
jmp 0x30002109
mov dword [0x30004228], esi
mov eax, dword [0x30004580]
cmp eax, esi
jne 0x30002009
push 0x30001204
push 0x300011f4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30004580], 2
cmp dword [ebp - 0x20], ebx
jne 0x30002016
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30004590], ebx
je 0x30002037
push 0x30004590
call fcn.30002608
pop ecx
test eax, eax
je 0x30002037
push ebx
push 2
push ebx
call dword [0x30004590]
mov eax, dword [sym.imp.MSVCR80.dll__wcmdln]
cmp dword [eax], ebx
je 0x30002109
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x300020a1
cmp cx, bx
je 0x3000205c
cmp dword [ebp - 0x1c], ebx
jne 0x300020a1
movzx ecx, word [eax]
cmp cx, bx
je 0x30002071
cmp cx, 0x20
ja 0x30002071
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x3000205c
test byte [ebp - 0x40], 1
je 0x3000207d
movzx ecx, word [ebp - 0x3c]
jmp 0x30002080
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x30000000
call main
mov dword [0x30004224], eax
cmp dword [0x30004218], ebx
jne 0x300020e6
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp cx, 0x22
jne 0x300020b2
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x30002046
cmp dword [0x30004228], ebx
jne 0x300020f4
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30004224]
jmp 0x30002115
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30096000
ret
call fcn.30001e2f
jmp 0x30001f3d
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182e8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182ec]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xaee9e4], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182f0]
mov eax, dword [0x4182f4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xaee9e4], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xaee9e0]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xaee9e4], 0x3eb
mov dword [0xaee9e0], eax
mov eax, dword [0xaee938]
cmove eax, dword [ebp - 0xc]
mov dword [0xaee938], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xaee9dc], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xaee9e4], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c0ca
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408870
mov dword [ebp - 0x14], eax
cmp dword [0x44a1d8], esi
jne 0x40c1bd
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c14a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c29d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c29d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c29d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44a1d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44a1dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44a1e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44a1e8], eax
test eax, eax
je 0x40c1ba
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44a1e4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c1e2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c1d5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c1f7
push 4
pop eax
jmp 0x40c29f
cmp dword [ebp - 0x14], esi
je 0x40c1f7
push dword [0x44a1d8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c1dc
mov eax, dword [0x44a1e4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c255
cmp dword [0x44a1e8], edi
je 0x40c255
push eax
call ebx
push dword [0x44a1e8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c255
test eax, eax
je 0x40c255
call ecx
test eax, eax
je 0x40c24a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c24a
test byte [ebp - 8], 1
jne 0x40c255
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c285
mov eax, dword [0x44a1dc]
cmp eax, edi
je 0x40c282
push eax
call ebx
test eax, eax
je 0x40c282
call eax
mov esi, eax
test esi, esi
je 0x40c282
mov eax, dword [0x44a1e0]
cmp eax, edi
je 0x40c282
push eax
call ebx
test eax, eax
je 0x40c282
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44a1d8]
call ebx
test eax, eax
je 0x40c29d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c29f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403d87
mov esp, ebp
pop ebp
ret
Function at 0x493fc4
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x24
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], 0x24
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
mov eax, dword [esp + 0x38]
je 0x494058
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00491174
mov ebx, eax
test eax, eax
je 0x494037
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.msvcrt.dll_fwrite
mov esi, eax
mov dword [esp], ebx
call sub.msvcrt.dll_free
cmp esi, dword [esp + 0x1c]
je 0x494044
mov eax, 0xffffffff
add esp, 0x24
pop ebx
pop esi
ret
mov eax, esi
test esi, esi
jns 0x49403c
call sub.msvcrt.dll__errno
mov dword [eax], 7
jmp 0x494037
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0049ef40
add esp, 0x24
pop ebx
pop esi
ret
Function at 0x49a828
Capabilities:
Get geographical location
Query environment variable

Disassembly:
movzx eax, word [esp + 4]
mov dword [esp + 4], eax
jmp fcn.004991a4

Function at 0x49a8f4
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov ebx, eax
mov edi, ecx
dec dword [eax + 4]
js 0x49aa24
mov eax, dword [eax]
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov byte [eax], 0x22
lea esi, [edx + 1]
cmp edx, edi
je 0x49a9a4
movsx eax, byte [esi - 1]
cmp al, 0xa
je 0x49a95b
cmp al, 0x22
je 0x49a9bc
cmp al, 0x5c
je 0x49a9bc
mov ecx, dword [ebx + 4]
lea edx, [ecx - 1]
mov dword [ebx + 4], edx
test edx, edx
js 0x49a9e0
mov edx, dword [ebx]
lea ecx, [edx + 1]
mov dword [ebx], ecx
mov byte [edx], al
cmp edi, esi
je 0x49a9a4
inc esi
movsx eax, byte [esi - 1]
cmp al, 0xa
jne 0x49a924
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 3
mov dword [esp + 4], 1
mov dword [esp], 0x4d2b40
call sub.msvcrt.dll_fwrite
cmp edi, esi
je 0x49a9b3
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 2
mov dword [esp + 4], 1
mov dword [esp], 0x4d2b44
call sub.msvcrt.dll_fwrite
inc esi
jmp 0x49a953
dec dword [ebx + 4]
js 0x49aa0d
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x22
add esp, 0x20
pop ebx
pop esi
pop edi
ret
dec dword [ebx + 4]
js 0x49a9f4
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x5c
movsx eax, byte [esi - 1]
mov ecx, dword [ebx + 4]
lea edx, [ecx - 1]
mov dword [ebx + 4], edx
test edx, edx
jns 0x49a945
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004a74e0
jmp 0x49a94e
mov dword [esp + 4], ebx
mov dword [esp], 0x5c
call fcn.004a74e0
movsx eax, byte [esi - 1]
jmp 0x49a934
mov dword [esp + 4], ebx
mov dword [esp], 0x22
call fcn.004a74e0
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0x1c], edx
mov dword [esp + 4], eax
mov dword [esp], 0x22
call fcn.004a74e0
mov edx, dword [esp + 0x1c]
jmp 0x49a911