joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
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.00408fab
mov dword [ebp - 0x14], eax
cmp dword [0x44acc0], esi
jne 0x40da9b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40da28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40db7b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40db7b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40db7b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x44acc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x44acc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x44acc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44acd0], eax
test eax, eax
je 0x40da98
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44accc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dac0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dab3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dad5
push 4
pop eax
jmp 0x40db7d
cmp dword [ebp - 0x14], esi
je 0x40dad5
push dword [0x44acc0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40daba
mov eax, dword [0x44accc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40db33
cmp dword [0x44acd0], edi
je 0x40db33
push eax
call ebx
push dword [0x44acd0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40db33
test eax, eax
je 0x40db33
call ecx
test eax, eax
je 0x40db28
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 0x40db28
test byte [ebp - 8], 1
jne 0x40db33
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40db63
mov eax, dword [0x44acc4]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
call eax
mov esi, eax
test esi, esi
je 0x40db60
mov eax, dword [0x44acc8]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x44acc0]
call ebx
test eax, eax
je 0x40db7b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40db7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404315
mov esp, ebp
pop ebp
ret
Function at 0x40d9a8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
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.00408fab
mov dword [ebp - 0x14], eax
cmp dword [0x430ae0], esi
jne 0x40da9b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40da28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40db7b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40db7b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40db7b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x430ae0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x430ae4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x430ae8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430af0], eax
test eax, eax
je 0x40da98
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x430aec], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40dac0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40dab3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40dad5
push 4
pop eax
jmp 0x40db7d
cmp dword [ebp - 0x14], esi
je 0x40dad5
push dword [0x430ae0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40daba
mov eax, dword [0x430aec]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40db33
cmp dword [0x430af0], edi
je 0x40db33
push eax
call ebx
push dword [0x430af0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40db33
test eax, eax
je 0x40db33
call ecx
test eax, eax
je 0x40db28
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 0x40db28
test byte [ebp - 8], 1
jne 0x40db33
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40db63
mov eax, dword [0x430ae4]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
call eax
mov esi, eax
test esi, esi
je 0x40db60
mov eax, dword [0x430ae8]
cmp eax, edi
je 0x40db60
push eax
call ebx
test eax, eax
je 0x40db60
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x430ae0]
call ebx
test eax, eax
je 0x40db7b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40db7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404315
mov esp, ebp
pop ebp
ret
Function at 0x40e063
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419418]
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.004097cf
mov dword [ebp - 0x14], eax
cmp dword [0x4308e4], esi
jne 0x40e156
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e0e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e236
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e236
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e236
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4308e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4308e8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4308ec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4308f4], eax
test eax, eax
je 0x40e153
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4308f0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e17b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e16e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e190
push 4
pop eax
jmp 0x40e238
cmp dword [ebp - 0x14], esi
je 0x40e190
push dword [0x4308e4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e175
mov eax, dword [0x4308f0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e1ee
cmp dword [0x4308f4], edi
je 0x40e1ee
push eax
call ebx
push dword [0x4308f4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e1ee
test eax, eax
je 0x40e1ee
call ecx
test eax, eax
je 0x40e1e3
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 0x40e1e3
test byte [ebp - 8], 1
jne 0x40e1ee
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e21e
mov eax, dword [0x4308e8]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
call eax
mov esi, eax
test esi, esi
je 0x40e21b
mov eax, dword [0x4308ec]
cmp eax, edi
je 0x40e21b
push eax
call ebx
test eax, eax
je 0x40e21b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4308e4]
call ebx
test eax, eax
je 0x40e236
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e238
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040419b
mov esp, ebp
pop ebp
ret
Function at 0x40c1c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417428]
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.004079cb
mov dword [ebp - 0x14], eax
cmp dword [0x4a7d80], esi
jne 0x40c2bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c248
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c39b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c39b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c39b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a7d80], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a7d84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a7d88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a7d90], eax
test eax, eax
je 0x40c2b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a7d8c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c2e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c2d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c2f5
push 4
pop eax
jmp 0x40c39d
cmp dword [ebp - 0x14], esi
je 0x40c2f5
push dword [0x4a7d80]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c2da
mov eax, dword [0x4a7d8c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c353
cmp dword [0x4a7d90], edi
je 0x40c353
push eax
call ebx
push dword [0x4a7d90]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c353
test eax, eax
je 0x40c353
call ecx
test eax, eax
je 0x40c348
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 0x40c348
test byte [ebp - 8], 1
jne 0x40c353
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c383
mov eax, dword [0x4a7d84]
cmp eax, edi
je 0x40c380
push eax
call ebx
test eax, eax
je 0x40c380
call eax
mov esi, eax
test esi, esi
je 0x40c380
mov eax, dword [0x4a7d88]
cmp eax, edi
je 0x40c380
push eax
call ebx
test eax, eax
je 0x40c380
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a7d80]
call ebx
test eax, eax
je 0x40c39b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c39d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403b35
mov esp, ebp
pop ebp
ret
Function at 0x1001c3a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001c3b0
pop dword [ebp - 8]
mov eax, 0x73eace03
sub eax, 0x63e90a53
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x8133e8a9
sub dword [ebp - 0x18], 0x32e1a35e
mov dword [ebp - 0x14], 0x5afa17e2
add dword [ebp - 0x14], 0xd7393463
mov dword [ebp - 0x10], 0x9573add1
sub dword [ebp - 0x10], 0x492769a3
mov dword [ebp - 0xc], 0xf1b729a2
add dword [ebp - 0xc], 0xe48d65e
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x310e63bc
add dword [ebp - 0x18], 0x4364059a
mov dword [ebp - 0x14], 0xc2eafa82
add dword [ebp - 0x14], 0x7e8166f3
mov dword [ebp - 0x10], 0xc8d0c543
sub dword [ebp - 0x10], 0x656158d7
mov dword [ebp - 0xc], 0xa2ea2c31
sub dword [ebp - 0xc], 0xa2ea2c31
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x360ce934
add eax, 0xd9f4f750
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3ca9d
push 0
call eax
mov ecx, 0xa5dcebb3
sub ecx, 0xa5dca67d
xor ebx, ebx
add ebx, eax
mov edx, 0xf2e49a93
add edx, 0x1d1ebd6d
add edx, dword [ebp - 8]
mov edi, 0x30a318d4
sub edi, 0xde37d976
add dword [ebp - 4], ebx
mov esi, dword [edx]
xor dword [ebp - 4], ebx
xor esi, edi
sub dword [ebp - 4], 0xb130e2e5
mov dword [ebx], esi
add ebx, 4
add edx, 0x44822b1a
sub edx, 0x44822b16
loop 0x1001c4cf
add eax, 0x107ab
xor ebx, ebx
add ebx, eax
add eax, 0xff2ea19f
add eax, 0xd15e66
mov ecx, 0xcbb8fd57
sub ecx, 0xbbb8fd57
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x404e80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
vmovaps xmm0, xmmword [0x45a340]
vmovups xmmword [esp], xmm0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call edi
mov esi, eax
inc eax
push 2
push eax
call sub.msvcrt.dll_calloc
add esp, 8
mov dword [0x489d44], eax
sub esp, 0x18
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
vmovaps xmm0, xmmword [0x45a340]
vmovups xmmword [esp], xmm0
call edi
push 0x489d48
push dword [0x489d44]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [0x489d40], eax
mov eax, dword [0x489d48]
lea esi, [eax*4]
test eax, eax
jle 0x404f51
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop word [eax + eax]
mov eax, dword [0x489d40]
mov eax, dword [eax + edi*4]
sub esp, 0x20
vmovaps xmm0, xmmword [0x45a350]
vmovups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call ebx
add esi, eax
inc edi
cmp edi, dword [0x489d48]
jl 0x404f10
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x489d3c], eax
mov ecx, dword [0x489d48]
test ecx, ecx
jle 0x404faf
lea edi, [eax + ecx*4]
shl ecx, 2
sub esi, ecx
xor ebx, ebx
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
nop dword [eax]
mov eax, dword [0x489d40]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push dword [eax + ebx*4]
push 0
push 0xfde9
call ebp
mov ecx, dword [0x489d3c]
mov dword [ecx + ebx*4], edi
add edi, eax
sub esi, eax
inc ebx
cmp ebx, dword [0x489d48]
jl 0x404f80
mov byte [0x489d38], 1
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4060b0
Capabilities:
Get file attributes

Disassembly:
push edi
push esi
cmp byte [0x48aae1], 0
je 0x4060ca
mov esi, dword [esp + 0x14]
mov eax, dword [0x48ab04]
test eax, eax
jne 0x406103
jmp 0x406114
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4060ef
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x48ab04], eax
mov byte [0x48aae1], 1
mov esi, dword [esp + 0x14]
mov eax, dword [0x48ab04]
test eax, eax
je 0x406114
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x406114
pop esi
pop edi
ret 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x40613d
mov edi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetVersion]
lea ecx, [edi + 8]
test eax, eax
cmovns ecx, edi
shr eax, 0x1f
push dword [edi + eax*8 + 4]
call dword [ecx]
test eax, eax
je 0x40614a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
pop edi
ret 0xc
xor eax, eax
pop esi
pop edi
ret 0xc

Function at 0x406390
Capabilities:
Print debug messages

Disassembly:
push ebx
push edi
push esi
push eax
mov dword [esp], 0
cmp byte [0x48aae0], 0
je 0x40641f
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
cmp byte [0x48aae0], 0
jne 0x406414
xor edi, edi
test esi, esi
jne 0x4063c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp dword [0x48ab08], 0
je 0x406407
cmp dword [0x48ab0c], 0
je 0x406407
mov ebx, dword [esp]
mov eax, dword [0x48aaec]
test eax, eax
jne 0x406402
push str.DeactivateActCtx
push 0x48ab0c
push 0x48ab08
call fcn.004060b0
mov dword [0x48aaec], eax
test eax, eax
je 0x406407
push ebx
push 0
call eax
test esi, esi
jne 0x406414
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
ret 4
cmp byte [section..data], 0
je 0x406449
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [0x48aae0], 0
jne 0x4063a4
cmp byte [section..data], 0
jne 0x406452
call fcn.00406160
test eax, eax
je 0x406492
movzx ecx, byte [0x48aae8]
mov esi, dword [0x48aadc]
test ecx, ecx
jne 0x406484
push str.ActivateActCtx
push 0x48ab0c
push 0x48ab08
call fcn.004060b0
mov ecx, eax
test eax, eax
setne byte [0x48aae8]
je 0x406492
mov eax, esp
push eax
push esi
call ecx
test eax, eax
jne 0x4063a4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xffffff88
cmp eax, 7
ja 0x406414
mov ecx, 0xc1
bt ecx, eax
jae 0x406414
mov byte [0x48aae0], 1
jmp 0x4063a4
Function at 0x407900
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov edi, dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
sub esp, 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esp], 0
mov dword [esp + 8], 4
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SoftwareAdobeAdobe_AcrobatSecurity
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407984
lea eax, [esp + 8]
mov ecx, esp
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push 0
push 0x47fbe3
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov ebx, dword [esp]
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or ebx, esi
je 0x4079e3
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4079ab
push str.SetProcessDEPPolicy
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4079ab
push 1
call eax
test eax, eax
jne 0x4079e3
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4079e3
push str.NtSetInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4079e3
mov esi, eax
mov dword [esp], 0xd
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, esp
push 4
push ecx
push 0x22
push eax
call esi
push edi
call fcn.00406580
add esp, 4
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
ret 0x10
Function at 0x408760
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
cmp dword [ecx + 0x40], 0
je 0x4087ac
mov edi, ecx
mov ecx, dword [ecx + 0x44]
test ecx, ecx
je 0x4088e0
mov eax, dword [edi + 0x54]
test al, 0x10
jne 0x4087b8
mov dword [esp], 0
test al, 8
je 0x408870
mov eax, dword [edi + 0x4c]
mov dword [esp + 8], eax
cmp byte [edi + 0x5a], 0
je 0x408831
mov ebx, dword [edi + 0x10]
sub ebx, dword [edi + 0xc]
jmp 0x40884d
mov dword [esp], 0
jmp 0x408870
mov eax, dword [edi + 0x18]
cmp eax, dword [edi + 0x14]
je 0x4087d2
mov eax, dword [edi]
mov ecx, edi
push 0xffffffffffffffff
call dword [eax + 0x34]
cmp eax, 0xffffffff
je 0x408869
mov dword [esp], 0
lea ebp, [edi + 0x48]
nop dword [eax]
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x34]
add edx, eax
mov esi, dword [ecx]
lea ebx, [esp + 0xc]
push ebx
push edx
push eax
push ebp
call dword [esi + 0x14]
mov ebx, eax
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x20]
sub esi, eax
push dword [edi + 0x40]
push esi
push 1
push eax
call sub.msvcrt.dll_fwrite
add esp, 0x10
cmp eax, esi
jne 0x408869
cmp ebx, 1
je 0x4087e0
cmp ebx, 2
je 0x408869
push dword [edi + 0x40]
call sub.msvcrt.dll_fflush
add esp, 4
test eax, eax
jne 0x408869
jmp 0x408870
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edx, dword [edi + 0x24]
mov ebx, dword [edi + 0x28]
sub ebx, edx
test eax, eax
jle 0x4088b0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
imul ecx, eax
add ebx, ecx
mov dword [esp + 4], 0
neg ebx
push 1
push ebx
push dword [edi + 0x40]
call fcn.004303e0
add esp, 0xc
test eax, eax
je 0x40887b
mov dword [esp], 0xffffffff
mov eax, dword [esp]
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
cmp byte [esp + 4], 0
je 0x408889
mov eax, dword [esp + 8]
mov dword [edi + 0x48], eax
mov eax, dword [edi + 0x20]
mov dword [edi + 0x28], eax
mov dword [edi + 0x24], eax
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x54], 0
jmp 0x408870
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x40884d
mov ecx, dword [edi + 0x44]
sub eax, dword [edi + 8]
mov esi, dword [ecx]
lea ebp, [esp + 8]
push eax
push edx
push dword [edi + 0x20]
push ebp
call dword [esi + 0x20]
add ebx, dword [edi + 0x24]
add eax, dword [edi + 0x20]
sub ebx, eax
mov al, 1
mov dword [esp + 4], eax
jmp 0x408855
call fcn.00408d10
int3
Function at 0x42eea0
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
push 8
call fcn.0040ade0
add esp, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
push 0
push 0
push eax
push 0x42eef0
push 0
push 0
call dword [sym.imp.msvcrt.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x42eee1
xor eax, eax
pop esi
pop edi
pop ebx
ret
pop esi
pop edi
pop ebx
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x430300
Capabilities:
Query environment variable

Disassembly:
push ebx
push edi
push esi
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
call fcn.00436990
test al, al
je 0x430334
push 2
call dword [0x489020]
add esp, 4
push ebx
push edi
push esi
push str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0x__n
push eax
call fcn.0042fb80
add esp, 0x14
pop esi
pop edi
pop ebx
jmp fcn.00436a70