joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e1d31
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x5496f3
call fcn.0051e98f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x4e1e17
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4e1e17
cmp edi, 0x43
je 0x4e1d76
cmp edi, 0x2d
jne 0x4e1e17
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4e1e17
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.004061c2
push eax
lea ecx, [ebp + 8]
call fcn.0040214a
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp + 8]
push 0x56e138
push eax
call fcn.00404586
mov esi, dword [ebp + 8]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00403953
mov esi, dword [ebp - 0x10]
push ebx
mov ecx, esi
call fcn.004df46c
call fcn.0051e958
ret 4
Function at 0x4f65a6
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x54a606
call fcn.0051e9c3
mov ebx, ecx
mov dword [ebp - 0x230], ebx
call fcn.00507c02
push 0x1c4
call fcn.004020fa
pop ecx
mov dword [ebp - 0x22c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4f65e9
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.00508219
jmp 0x4f65eb
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.0050704c
call fcn.004075d5
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.005245cb
mov esi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
mov dword [ebp - 0x22c], esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x4f6802
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x228], eax
test edi, edi
je 0x4f67fc
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x4f67fc
call fcn.004061c2
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040214a
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x218]
push esi
push ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x4f67e0
push 0x55b820
mov esi, 0x55b828
lea ecx, [ebp - 0x21c]
push esi
call fcn.00430ab9
push esi
push 0x558040
lea ecx, [ebp - 0x21c]
call fcn.00430ab9
push esi
push 0x55b820
lea ecx, [ebp - 0x21c]
call fcn.00430ab9
call fcn.004061c2
push eax
lea ecx, [ebp - 0x220]
call fcn.0040214a
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4f6716
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__Ts
push eax
call fcn.00404586
add esp, 0xc
jmp 0x4f6748
jge 0x4f6736
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__Ts
push eax
call fcn.00404586
add esp, 0x10
jmp 0x4f6748
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040275e
push 0x1c4
call fcn.004020fa
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4f6772
mov ecx, eax
call fcn.004aa69e
mov ecx, eax
mov dword [ebp - 0x224], eax
jmp 0x4f677a
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x220]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0xe110]
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push ebx
mov ecx, edi
call fcn.004198fa
mov ecx, dword [ebp - 0x224]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.0050704c
inc dword [ebp - 0x228]
lea ecx, [esi - 0x10]
call fcn.00403953
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00403953
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4f666b
call fcn.0051e96d
ret
call fcn.0051efe2
int3

Function at 0x536f8b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00536c4e

Function at 0x536f96
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00536dcf
Function at 0x53aedc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053ab9c
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10009830
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009830
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10009830
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10009830
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10009830
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10009830
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10009830
push 0xd008
push edi
call fcn.10009830
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10009830
int3

Function at 0x10009830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1000983f
pop dword [ebp - 0x24]
mov eax, 0x65439cb3
add eax, 0xaabcfb8c
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x34447
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x72d65f14
add ecx, 0x8d29d5fc
mov esi, eax
mov edx, 0x10018600
add edx, dword [ebp - 0x24]
mov ebx, 0xa713619c
add ebx, 0xeaa67034
xor dword [ebp - 0x20], edx
mov edi, dword [edx]
sub dword [ebp - 0x14], edx
sub edi, ebx
add dword [ebp - 0x18], 0xa984bab9
mov dword [esi], edi
xor dword [ebp - 0x20], edx
add esi, 0xd1047455
sub esi, 0xd1047451
add edx, 0xef131d50
sub edx, 0xef131d4c
loop 0x10009893
add eax, 0xc713
xor ebx, ebx
add ebx, eax
add eax, 0x304db156
add eax, 0xcfb24eaf
mov ecx, 0xafff4e96
sub ecx, 0x9fff4e96
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x401bf0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
push 0x400
push 8
xor esi, esi
mov dword [esp + 0x14], 0x200
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x20019
push esi
push str.SOFTWAREClientsStartMenuInternetSupemium.I6TGNPUAC6WMCIZTJ3D4YIUP5A_shellopencommand
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401c64
lea eax, [esp + 0xc]
push eax
push edi
push esi
push esi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x401c6c
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
xor eax, eax
pop esi
add esp, 8
ret
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x401c98
mov edx, ecx
mov ecx, dword [esp + 0xc]
nop dword [eax]
cmp dx, 0x5c
mov eax, esi
movzx edx, word [edi + esi*2 + 2]
cmovne eax, ecx
inc esi
mov ecx, eax
test dx, dx
jne 0x401c80
jmp 0x401c9c
mov ecx, dword [esp + 0xc]
xor eax, eax
mov word [edi + ecx*2], ax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x402f5f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402f9e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402f9e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402f9e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402f9e
cmp dword [ecx + 0x74], 0xe
jbe 0x402f9e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408b4f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408bec
push ebx
push esi
call fcn.00408b18
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408a61
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408b99
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408beb
push edi
push eax
call fcn.004093c7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408bb9
call fcn.00407671
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408bea
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408a61
add esp, 0x20
test eax, eax
jne 0x408bd8
push edi
call fcn.00407671
jmp 0x408be0
push ebx
call fcn.00407671
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409ad3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411038
push 0x411030
push str.FlsAlloc
push 0x1e
call fcn.004099f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409b07
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f1a8]
call esi
jmp 0x409b0d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409b51
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411048
push 0x411040
push str.FlsGetValue
push 0x20
call fcn.004099f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409b88
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f1a8]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ea60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ea8d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ea8d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d7cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40d7de
pop dword [ebp - 0xc]
mov eax, 0x40d7de
sub dword [ebp - 0xc], eax
push 0x40
push 0x1000
push 0x35c9f
push 0
mov eax, 0x91fe448a
add eax, 0x6e429c4e
add eax, dword [ebp - 0xc]
call dword [eax]
mov ecx, 0x3a4d
mov edi, eax
mov ebx, 0xae392c74
sub ebx, 0xadf7f0b0
add ebx, dword [ebp - 0xc]
mov edx, 0xd1bb1884
sub edx, 0x21594502
xor dword [ebp - 8], 0x27422329
mov esi, dword [ebx]
add esi, edx
add dword [ebp - 8], esi
mov dword [edi], esi
xor dword [ebp - 4], 0x1c5d9670
add edi, 0x84994d89
sub edi, 0x84994d85
add ebx, 4
loop 0x40d832
add eax, 0x7fc57e8f
add eax, 0x803b5d78
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x406cb7
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0x30], edi
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4171d0]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4171d4]
mov dword [ebp - 0x2c], eax
call fcn.00406cb0
mov esi, dword [ebp - 8]
mov eax, dword [0x4171d8]
add esi, 0x23f
mov dword [ebp - 0x34], eax
mov eax, dword [0x4171dc]
push 0x20
mov dword [ebp - 8], esi
mov dword [ebp - 0x38], eax
pop edi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [0x1a25b24]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x406d4e
xor ecx, ecx
lea eax, [ebp - 0x3c]
push ecx
push eax
push ecx
lea eax, [ebp - 0x43c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadConsoleW]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [0x1a25b24]
add eax, dword [ebp - 0x34]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a25b20]
mov dword [ebp - 0xc], 0xedeb2e40
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp ecx, 0x3eb
mov dword [0x1a25b20], eax
mov eax, dword [0x1a25a74]
cmove eax, dword [ebp - 0xc]
mov dword [0x1a25a74], eax
lea eax, [esi + edx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x24], 0
mov dword [0x1a25b1c], 0xf4ea3dee
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x10]
sub ebx, eax
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [ebp - 0x10], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
nop
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
cmp dword [0x1a25b24], 0xb03
jne 0x406e25
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
push 0x406418
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 4]
and dword [ebp - 8], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x14], eax
add esi, 0x61c88647
mov dword [ebp - 8], esi
dec edi
jne 0x406d0b
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41184b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4166b4]
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.0040d980
mov dword [ebp - 0x14], eax
cmp dword [0x43e418], esi
jne 0x41193e
push 0x800
push esi
push 0x405b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4118cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x411a1e
push esi
push esi
push 0x405b14
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x411a1e
push 0x405b2c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411a1e
push eax
call ebx
push 0x405b38
push edi
mov dword [0x43e418], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405b48
push edi
mov dword [0x43e41c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x405b5c
push edi
mov dword [0x43e420], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e428], eax
test eax, eax
je 0x41193b
push 0x405b78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e424], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x411963
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x411956
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x411978
push 4
pop eax
jmp 0x411a20
cmp dword [ebp - 0x14], esi
je 0x411978
push dword [0x43e418]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41195d
mov eax, dword [0x43e424]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4119d6
cmp dword [0x43e428], edi
je 0x4119d6
push eax
call ebx
push dword [0x43e428]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4119d6
test eax, eax
je 0x4119d6
call ecx
test eax, eax
je 0x4119cb
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 0x4119cb
test byte [ebp - 8], 1
jne 0x4119d6
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x411a06
mov eax, dword [0x43e41c]
cmp eax, edi
je 0x411a03
push eax
call ebx
test eax, eax
je 0x411a03
call eax
mov esi, eax
test esi, esi
je 0x411a03
mov eax, dword [0x43e420]
cmp eax, edi
je 0x411a03
push eax
call ebx
test eax, eax
je 0x411a03
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43e418]
call ebx
test eax, eax
je 0x411a1e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x411a20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040947b
mov esp, ebp
pop ebp
ret
Function at 0x6648ca20
Capabilities:
Enumerate pe sections

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
mov eax, ecx
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
mov edi, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x1c], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x24], edi
mov edi, dword [eax + 0x1c]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x28], edi
mov edi, dword [eax + 0x20]
test byte [0x664c1058], 8
jne 0x6648cab0
mov dword [edi], 0
mov eax, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
mov dword [esp], esi
call dword [eax + 0xc]
sub esp, 0x18
mov ebx, eax
test eax, eax
js 0x6648cba0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
test ebx, ebx
je 0x6648cbf0
mov eax, ebx
mov dword [ebp - 0x34], ecx
shr eax, 0x10
mov dword [ebp - 0x30], edx
je 0x6648cbc8
movzx eax, byte [ebx + 0xf]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebx + 0xe]
mov dword [esp + 0x28], eax
movzx eax, byte [ebx + 0xd]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx + 0xc]
mov dword [esp + 0x20], eax
movzx eax, byte [ebx + 0xb]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebx + 0xa]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 9]
mov dword [esp + 0x14], eax
movzx eax, byte [ebx + 8]
mov dword [esp + 0x10], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0xc], eax
movzx eax, word [ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [ebx]
mov dword [esp], str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
mov dword [esp + 4], eax
call fcn.66486ca0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], str.__p_____p__s__ld__p__p__ld__p__p__n
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], str.ISourcesRowset_GetSourcesRowset_Stub
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], 0x664c1058
mov dword [esp + 0x14], eax
mov dword [esp], 3
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
mov dword [esp + 0x30], edi
call fcn.66486f90
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x6648ca65
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [sym.imp.oleaut32.dll_GetErrorInfo]
mov eax, ebx
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
movzx eax, bx
mov dword [esp], str._guid_0x_04hx_
mov dword [esp + 4], eax
call fcn.66486ca0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
jmp 0x6648cb34
mov dword [ebp - 0x2c], str._null_
jmp 0x6648cb34
Function at 0x664c07b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x22c
mov eax, dword [0x664d70e0]
test eax, eax
je 0x664c0868
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x664c07f0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x220]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x664c07dc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x664c089d
mov dword [esp + 4], 0x664ccc64
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x664d70e0], eax
sub esp, 8
test eax, eax
jne 0x664c07cd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x664c07de