joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401160
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401179
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4011b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4011b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4011b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4011a0
cmp esi, eax
jb 0x4011ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x403c10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1010
call fcn.004303a0
push esi
push edi
push 0x450752
lea ecx, [esp + 0xc]
call fcn.00402f30
mov ecx, dword [esp + 0x1024]
mov edx, dword [esp + 0x1020]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
mov dword [esp + 0x1c], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x403c7f
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004018f0
mov edi, dword [esp + 0x1020]
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x403d78
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x102c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x403cf6
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004018f0
mov edi, dword [esp + 0x1020]
add eax, 0x10
add esp, 4
mov dword [edi], eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d84
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
pop edi
pop esi
add esp, 0x1010
ret
mov eax, dword [esp + 0x14]
dec eax
mov byte [esp + 0x1017], 0
cmp eax, 6
ja case.0x403d0f.2
movzx eax, byte [eax + 0x403d9c]
jmp dword [eax*4 + 0x403d90]
lea ecx, [esp + 0x18]
push ecx
jmp 0x403d3b
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0xc]
push 0x45074c
push eax
call fcn.00402af0
add esp, 0xc
jmp 0x403d44
push 0x450752
lea ecx, [esp + 0xc]
call fcn.00401e00
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004018f0
mov edi, dword [esp + 0x1020]
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403d84
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
pop edi
pop esi
add esp, 0x1010
ret
Function at 0x403f80
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push str._._:__
mov ecx, ebx
call fcn.00403ef0
push 0x450754
lea ecx, [esp + 0x34]
call fcn.00403ef0
lea eax, [esp + 0x1c]
push eax
call fcn.0042ef1f
movzx ecx, word [esp + 0x28]
push ecx
call fcn.004303cb
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add esp, 8
lea edx, [esp + 0x14]
push edx
call ebp
mov esi, 1
push edi
nop
lea eax, [esp + 0x10]
push eax
call ebp
call fcn.004303dd
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
sbb edi, dword [esp + 0x1c]
cdq
push edi
push ecx
push edx
push eax
call fcn.00430400
mov ecx, eax
mov edi, edx
mov eax, esi
cdq
push edx
push eax
push edi
push ecx
call fcn.00430400
push edx
push eax
lea edx, [esp + 0x3c]
push 0x45074c
push edx
call fcn.00402af0
mov edi, dword [esp + 0x44]
mov eax, dword [edi - 0xc]
add esp, 0x10
push eax
push edi
mov ecx, ebx
call fcn.00402740
inc esi
cmp esi, 4
jl 0x403fd0
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
test edx, edx
jg 0x40404d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret

Function at 0x405540
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [esp + 0x18], ebx
call edi
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00418dc5
add esp, 4
lea edx, [esp + 0xc]
push edx
mov esi, eax
push esi
push ebx
call edi
mov edi, eax
cmp edi, ebx
je 0x4055e1
mov ebx, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
push ebp
mov ebp, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
cmp dword [esp + 0x18], 0
jne 0x40559a
test dword [esi + 0xc], 0x100000
jne 0x4055a9
mov eax, dword [esi + 4]
push eax
jmp 0x4055a7
test dword [esi + 0xc], 0x100000
je 0x4055a9
mov ecx, dword [esi + 4]
push ecx
call ebp
lea edx, [esp + 0x10]
push edx
push 0
push edi
mov dword [esp + 0x1c], 0
call ebx
push esi
call fcn.00418dba
mov eax, dword [esp + 0x14]
push eax
call fcn.00418dc5
add esp, 8
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
push esi
push edi
call ebx
test eax, eax
jne 0x405584
lea ebx, [eax + 1]
pop ebp
test esi, esi
je 0x4055ee
push esi
call fcn.00418dba
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4062e0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, 0x2718
call fcn.004303a0
call fcn.00418feb
test eax, eax
jne 0x4062fd
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push esi
call eax
push 0x2710
lea ecx, [esp + 0x10]
add eax, 0x10
push 0
push ecx
mov dword [esp + 0x10], eax
call fcn.0042fad0
mov edx, dword [esp + 0x272c]
add esp, 0xc
test edx, edx
jne 0x406331
xor eax, eax
jmp 0x406345
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406336
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0xc]
call fcn.00401f60
push 0x5c
lea ecx, [esp + 8]
call fcn.00405ad0
mov edx, dword [esp + 0x2724]
test edx, edx
jne 0x40636a
xor eax, eax
jmp 0x40637f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406370
sub eax, esi
sar eax, 1
push ebp
push eax
push edx
lea ecx, [esp + 0x10]
call fcn.00402740
mov ebp, dword [esp + 8]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4063d5
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4063ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
xor eax, eax
pop esi
add esp, 0x2718
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
push 0x40
mov edi, eax
push esi
sub edi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test edi, edi
jbe 0x406435
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [esp]
push 0
cmp edi, 0x2710
jbe 0x406426
lea ecx, [esp + 0x18]
push ecx
push 0x2710
lea edx, [esp + 0x24]
push edx
push esi
call ebx
sub edi, 0x2710
jne 0x406400
jmp 0x406434
lea eax, [esp + 0x18]
push eax
push edi
lea ecx, [esp + 0x24]
push ecx
push esi
call ebx
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
test ecx, ecx
jg 0x406459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
mov eax, 1
pop esi
add esp, 0x2718
ret
Function at 0x406750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e810
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 1
call fcn.00405540
add esp, 4
push 0
push 0x21
lea eax, [ebp - 0x218]
push eax
push 0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call esi
test eax, eax
je 0x4067b1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00406470
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.0042fad0
push 0
call fcn.00405540
add esp, 0x10
push 0
push 0x21
lea eax, [ebp - 0x218]
push eax
push 0
call esi
test eax, eax
je 0x4067f4
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00406470
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408bd0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x900], 0
jle 0x408bef
push 0
push 0x4518a4
push 0x451850
call fcn.0041db01
pop esi
ret
push ebx
mov ebx, dword [sym.imp.USER32.dll_KillTimer]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SuspendThread]
push edi
xor edi, edi
mov ecx, dword [esi + 0x20]
lea eax, [edi + 0x44c]
push eax
push ecx
call ebx
mov eax, dword [edi*4 + 0x466888]
test eax, eax
je 0x408c24
cmp dword [eax + 0x2c], 0
je 0x408c24
mov edx, dword [eax + 0x2c]
push edx
call ebp
inc edi
cmp edi, 0x64
jl 0x408c00
mov edi, 0x466888
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x408c45
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [edi], 0
add edi, 4
cmp edi, 0x466a18
jl 0x408c30
push 1
lea ecx, [esi + 0xd90]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xb44]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xaf0]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xa9c]
call fcn.0041ad88
push 0
lea ecx, [esi + 0x9f4]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xc40]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xd3c]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xbec]
call fcn.0041ad88
push 1
lea ecx, [esi + 0xce8]
call fcn.0041ad88
push 1
push 0x434
mov ecx, esi
call fcn.0041ab90
mov ecx, eax
call fcn.0041ad88
push 1
push 0x435
mov ecx, esi
call fcn.0041ab90
mov ecx, eax
call fcn.0041ad88
push 1
push 0x432
mov ecx, esi
call fcn.0041ab90
mov ecx, eax
call fcn.0041ad88
push 1
push 0x433
mov ecx, esi
call fcn.0041ab90
mov ecx, eax
call fcn.0041ad88
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x409fc7
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
push esi
mov esi, ecx
push edi
mov dword [esi], vtable.CDlgProxyFoxSettings.0
mov edi, 0x466888
mov eax, dword [edi]
test eax, eax
je 0x409ffd
cmp dword [eax + 0x2c], 0
je 0x409fe8
mov eax, dword [eax + 0x2c]
push eax
call ebx
mov ecx, dword [edi]
test ecx, ecx
je 0x409ff7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [edi], 0
add edi, 4
cmp edi, 0x466a18
jl 0x409fd6
mov eax, dword [esi + 0xe40]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a02a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0xe38]
mov dword [ecx], vtable.CFont.0
call fcn.00409570
lea ecx, [esi + 0xde4]
call fcn.00421d27
lea ecx, [esi + 0xd90]
call fcn.00412d80
lea ecx, [esi + 0xd3c]
call fcn.00421d27
lea ecx, [esi + 0xce8]
call fcn.00421d27
lea ecx, [esi + 0xc94]
call fcn.00421d58
lea ecx, [esi + 0xc40]
call fcn.00421d27
lea ecx, [esi + 0xbec]
call fcn.00421d27
lea ecx, [esi + 0xb98]
call fcn.00421d27
lea ecx, [esi + 0xb44]
call fcn.00421d27
lea ecx, [esi + 0xaf0]
call fcn.00421d27
lea ecx, [esi + 0xa9c]
call fcn.00421d27
lea ecx, [esi + 0xa48]
call fcn.00421d27
lea ecx, [esi + 0x9f4]
call fcn.00421d27
lea ecx, [esi + 0x9a0]
call fcn.00421d27
lea ecx, [esi + 0x94c]
call fcn.00421d27
lea ecx, [esi + 0x92c]
mov dword [ecx], vtable.CMap_class_ATL::CStringT_wchar_t__class_StrTraitMFC_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____wchar_t_const___int__int_.0
call fcn.004094d0
lea edi, [esi + 0x7d0]
lea ecx, [edi + 0xc8]
call fcn.00421d27
lea ecx, [edi + 0x74]
call fcn.00421d27
mov ecx, edi
call fcn.00422473
lea ecx, [esi + 0x154]
call fcn.00409070
lea edi, [esi + 0x78]
lea ecx, [edi + 0x84]
call fcn.00421caf
mov eax, dword [edi + 0x78]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a149
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x74]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a168
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00422473
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.00422473
Function at 0x412fc0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x467d6c]
sub esp, 0x18
push esi
push eax
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413042
lea ecx, [esp + 8]
call fcn.0041bde7
mov ecx, dword [0x467d6c]
push 0
push 0x9001
push ecx
lea ecx, [esp + 0x14]
call fcn.0041bdff
test eax, eax
je 0x413014
push 2
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0xfeff
call fcn.0041bfa9
jmp 0x413022
push 0
push 0
push 0x453254
call fcn.004235b4
lea ecx, [esp + 8]
call fcn.0041c1aa
lea ecx, [esp + 8]
call fcn.0041c1e8
mov eax, dword [esi + 0x1354]
mov dword [esi + 0x68], eax
pop esi
add esp, 0x18
ret
mov ecx, dword [esi + 0x1354]
mov dword [esi + 0x68], ecx
pop esi
add esp, 0x18
ret

Function at 0x413ad0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
push esi
mov dword [esp + 8], eax
mov esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 0xc
mul edx
seto cl
mov dword [esp + 4], 0x14
mov dword [esp + 0xc], esi
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x413b22
push str._RemoveConnectionProxy_ERROR
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
pop esi
add esp, 0x14
ret
push edi
push 0x14
mov dword [eax], esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push 0x4b
mov dword [eax + 4], esi
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
call esi
mov edx, dword [esp + 0x18]
push edx
mov edi, eax
call fcn.00418dba
add esp, 4
push 0
push 0
push 0x27
push 0
call esi
push 0
push 0
push 0x25
push 0
call esi
mov eax, edi
pop edi
pop esi
add esp, 0x14
ret

Function at 0x413d80
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xd0]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x413da3
push 0
lea ecx, [esi + 0xb0]
call fcn.0041ad46
pop esi
ret
lea eax, [esi + 0xb0]
test eax, eax
jne 0x413db1
xor esi, esi
jmp 0x413db4
mov esi, dword [eax + 0x20]
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push edi
push ebx
call ebp
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call ebp
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x413fa0
Capabilities:
Suspend thread

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_PostThreadMessageW]
mov dword [ebx], vtable.CProxyFoxWnd.0
mov esi, 0x466888
mov eax, dword [esi]
test eax, eax
je 0x413fcb
mov eax, dword [eax + 0x30]
push 0
push 0
push 0xfce
push eax
call edi
add esi, 4
cmp esi, 0x466a18
jl 0x413fb6
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, 0x466888
mov eax, dword [esi]
test eax, eax
je 0x414008
cmp dword [eax + 0x2c], 0
je 0x413ff3
mov ecx, dword [eax + 0x2c]
push ecx
call edi
mov ecx, dword [esi]
test ecx, ecx
je 0x414002
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi], 0
add esi, 4
cmp esi, 0x466a18
jl 0x413fe1
lea ecx, [ebx + 0xb0]
call fcn.00409fc0
lea ecx, [ebx + 0x6c]
call fcn.00416130
mov eax, dword [ebx + 0x68]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x64]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov ecx, ebx
pop ebx
jmp fcn.0041f50a
Function at 0x414258
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
test byte [0x467d80], 1
push ebx
push esi
mov esi, ecx
jne 0x414274
or dword [0x467d80], 1
push 0x4537b0
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x467d7c], eax
mov ebx, dword [esp + 0xc]
cmp dword [0x467d7c], ebx
jne 0x414299
add esi, 0xef4
push esi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
pop esi
mov eax, 1
pop ebx
ret 0xc
push ebp
push edi
cmp ebx, dword [0x467d84]
jne 0x414321
lea eax, [esi + 0xb0]
test eax, eax
jne 0x4142b1
xor esi, esi
jmp 0x4142b4
mov esi, dword [eax + 0x20]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebx, eax
push edi
push ebx
call ebp
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push edi
push ebx
call ebp
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret 0xc
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp ebx, 0x112
je 0x414353
cmp ebx, 0xc72
jne 0x414361
push ebp
push edi
mov ecx, esi
call fcn.00414120
push ebp
push edi
push ebx
mov ecx, esi
call fcn.0041ce00
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
mov eax, edi
sub eax, 0xf020
je 0x414387
sub eax, 0x40
je 0x414372
push ebp
push edi
push ebx
mov ecx, esi
call fcn.0041ce00
pop edi
pop ebp
pop esi
pop ebx
ret 0xc
push 0
mov ecx, esi
call fcn.0041ad46
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret 0xc
push 6
mov ecx, esi
call fcn.0041ad46
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret 0xc
Function at 0x414840
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x110
call fcn.00418feb
test eax, eax
jne 0x414859
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
push ebp
push esi
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
push 0x41800
add ebp, 0x10
push 0x40
mov dword [esp + 0x20], ebp
call edi
mov esi, eax
test esi, esi
je 0x4149a2
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push 0
mov dword [esi], 0x418
push 0
mov dword [esp + 0x24], 0x41800
call sub.RASAPI32.dll_RasEnumEntriesW
test eax, eax
je 0x414901
push esi
cmp eax, 0x25b
jne 0x4148fb
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebx
mov eax, dword [esp + 0x10]
push eax
push 0x40
call edi
mov esi, eax
test esi, esi
jne 0x4148d8
push str.ClearIEProxy_____LocalReAlloc_failed___
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push 0
push 0
mov dword [esi], 0x418
call sub.RASAPI32.dll_RasEnumEntriesW
test eax, eax
je 0x414901
push esi
call ebx
jmp 0x414901
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jbe 0x41499a
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edi, [esi + 4]
jmp 0x414920
push 0xff
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.0042fad0
add esp, 0xc
push edi
lea ecx, [esp + 0x1c]
call fcn.00403ef0
mov edx, dword [eax]
push 0
push 0
push 0x100
lea ecx, [esp + 0x2c]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41497c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00413ad0
inc ebx
add esp, 4
add edi, 0x418
cmp ebx, dword [esp + 0x14]
jb 0x414920
mov ebp, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
push 0
call fcn.00413ad0
lea eax, [ebp - 0x10]
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
pop ebp
test ecx, ecx
jg 0x4149cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x110
ret
Function at 0x415fc0
Capabilities:
Suspend thread

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ebx, ecx
mov esi, 0x466888
mov eax, dword [esi]
test eax, eax
je 0x415ff7
cmp dword [eax + 0x2c], 0
je 0x415fe2
mov eax, dword [eax + 0x2c]
push eax
call edi
mov ecx, dword [esi]
test ecx, ecx
je 0x415ff1
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi], 0
add esi, 4
cmp esi, 0x466a18
jl 0x415fd0
mov ecx, ebx
call fcn.00415d30
mov ecx, dword [ebx + 0x20]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
ret