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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5bd4f0
cmp dword [edi + 0x3c], 0
jne 0x5bd4f0
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005d2986
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005bd51d
pop edi
pop esi
pop ebx
ret 8

Function at 0x5bd56b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.005d2986
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5bd59c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005bd5af
pop edi
pop esi
pop ebx
ret 8

Function at 0x5bebc5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5bebfd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005bc52b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005bc503
jmp 0x5bec09
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5c0761
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5c07a3
call fcn.005d2986
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5c07a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5c079a
xor eax, eax
jmp 0x5c07ab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005c07b1
pop edi
pop esi
pop ebx
ret 4

Function at 0x5d1142
Capabilities:
Create http request

Disassembly:
mov eax, 0x5f9ac4
call fcn.004a8688
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x5d117a
call fcn.005d2986
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x5d119f
push eax
push dword [esi + 4]
call fcn.005d1fd1
jmp 0x5d11ab
push esi
push eax
mov ecx, 0x1d15df8
call fcn.005d11bc
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x5d14b8
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x5f9b37
call fcn.004a8688
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.005c3106
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x1cb6e58]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.005bc20d
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.005bc20d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x5d2eb5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5d2ee3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5d2f01
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005d2e1b
jmp 0x5d2f01
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5d2f01
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005d2e1b
test edi, edi
mov eax, edi
jne 0x5d2eeb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4066b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406716
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404930
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ffc
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406700
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40671d
lea eax, [ebp - 0x10]
call fcn.004046c0
ret

Function at 0x4086c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404b80
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4086d9
test al, 0x10
jne 0x4086dd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b5dc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b615
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047b0
jmp 0x40b61e
mov eax, ebx
mov edx, esi
call fcn.00404714
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b628
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b649
mov al, byte [esp]
jmp 0x40b64b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cc2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cc90
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404930
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040830c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc97
lea eax, [ebp - 0xc]
call fcn.004046c0
ret

Function at 0x415538
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
mov eax, dword [ebp - 8]
call fcn.00404b70
xor eax, eax
push ebp
push 0x4155aa
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
mov eax, dword [ebp - 4]
call fcn.00404b80
push eax
push 0
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4155b1
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e4
ret
Function at 0x401a1c
Capabilities:
Access the windows event log
Clear file content
Clear windows event logs
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be795
jg 0x401a42
inc edi
cmp edi, 0x323bbf1
jl 0x401a28
cmp dword [0x207eba4], 0x400
jne 0x401a83
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
push esi
call fcn.00401f9f
push esi
call fcn.00402194
push esi
call fcn.004021a3
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401a94
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401aba
inc edi
cmp edi, 0x263ff
jl 0x401a85
mov eax, dword [0x431f1c]
mov dword [0x207eba4], eax
call fcn.00401776
mov edi, 0x3078f
cmp dword [0x207eba4], 0x51f
jne 0x401ae6
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401ace
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10
Function at 0x40443c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40b328]
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.0040348a
and dword [ebp - 0x14], 0
cmp dword [0x43ca10], 0
mov dword [ebp - 0x18], eax
jne 0x4044ef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404597
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404597
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43ca10], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43ca14], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43ca18], eax
call edi
push eax
call esi
mov dword [0x43ca20], eax
test eax, eax
je 0x4044ef
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43ca1c], eax
mov eax, dword [0x43ca1c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404548
cmp dword [0x43ca20], ecx
je 0x404548
push eax
call esi
push dword [0x43ca20]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404548
test ebx, ebx
je 0x404548
call edi
test eax, eax
je 0x40453f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40453f
test byte [ebp - 8], 1
jne 0x404548
or dword [ebp + 0x10], 0x200000
jmp 0x40457b
mov eax, dword [0x43ca14]
cmp eax, dword [ebp - 0x18]
je 0x40457b
push eax
call esi
test eax, eax
je 0x40457b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40457b
mov eax, dword [0x43ca18]
cmp eax, dword [ebp - 0x18]
je 0x40457b
push eax
call esi
test eax, eax
je 0x40457b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43ca10]
call esi
test eax, eax
je 0x404597
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404599
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004047a7
leave
ret

Function at 0x4047a7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b328]
jne 0x4047b1
repz ret
jmp fcn.00405619
Function at 0x404374
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f338]
jne 0x40437e
repz ret
jmp fcn.0040551d

Function at 0x4044e9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42f338]
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.0040375a
and dword [ebp - 0x14], 0
cmp dword [0x4540d0], 0
mov dword [ebp - 0x18], eax
jne 0x40459c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404644
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404644
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4540d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4540d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4540d8], eax
call edi
push eax
call esi
mov dword [0x4540e0], eax
test eax, eax
je 0x40459c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4540dc], eax
mov eax, dword [0x4540dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4045f5
cmp dword [0x4540e0], ecx
je 0x4045f5
push eax
call esi
push dword [0x4540e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4045f5
test ebx, ebx
je 0x4045f5
call edi
test eax, eax
je 0x4045ec
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4045ec
test byte [ebp - 8], 1
jne 0x4045f5
or dword [ebp + 0x10], 0x200000
jmp 0x404628
mov eax, dword [0x4540d4]
cmp eax, dword [ebp - 0x18]
je 0x404628
push eax
call esi
test eax, eax
je 0x404628
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x404628
mov eax, dword [0x4540d8]
cmp eax, dword [ebp - 0x18]
je 0x404628
push eax
call esi
test eax, eax
je 0x404628
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4540d0]
call esi
test eax, eax
je 0x404644
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404646
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404374
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1422943
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x4304d8
nop
mov ecx, 0x74200d21
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x412960
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.0048af60
mov eax, dword [esp + 0x38]
push ebx
push edi
xor edi, edi
push eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
call fcn.004275d0
mov ebx, eax
add esp, 4
cmp ebx, edi
jl 0x412bae
push esi
mov esi, dword [esp + 0x48]
cmp esi, 0xffffffff
jne 0x412a2d
mov esi, ebx
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 0x10]
push ebp
push ecx
call fcn.00410f10
mov ebp, eax
sub ebp, 1
and ebp, 7
push edi
mov dword [esp + 0x24], ebp
call fcn.00411ea0
add esp, 8
test ebp, ebp
mov edi, eax
mov dword [esp + 0x18], eax
jne 0x4129df
mov eax, dword [esp + 0x40]
mov byte [eax], 0
add eax, 1
sub edi, 1
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], edi
cmp esi, 0xfffffffe
jne 0x412a61
mov esi, edi
sub esi, ebx
sub esi, 2
test esi, esi
jle 0x412a9f
push 0xda
push 0x4efe94
push esi
call fcn.004136c0
mov ebp, eax
add esp, 0xc
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x412a8d
push 0xde
push 0x4efe94
push 0x41
push 0x7d
push 4
call fcn.00415990
add esp, 0x14
jmp 0x412b91
cmp esi, 0xfffffffe
jne 0x412a37
jmp 0x41299d
jge 0x41299d
push 0xc3
push 0x4efe94
push 0x88
push 0x7d
push 4
call fcn.00415990
add esp, 0x14
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
lea edx, [ebx + esi + 2]
cmp edi, edx
jge 0x4129eb
push 0xd5
push 0x4efe94
push 0x6e
push 0x7d
push 4
call fcn.00415990
add esp, 0x14
mov eax, dword [esp + 0x14]
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
push esi
push ebp
call fcn.0041be20
add esp, 8
test eax, eax
jle 0x412b8d
lea eax, [esp + 0x20]
sub edi, ebx
push eax
lea ebp, [edi - 1]
call fcn.004210c0
mov ecx, dword [esp + 0x4c]
push 0
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00421110
push 8
lea eax, [esp + 0x34]
push 0x4efe8c
push eax
call fcn.004212c0
mov ecx, dword [esp + 0x60]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.004212c0
add esp, 0x28
test esi, esi
je 0x412afa
mov eax, dword [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004212c0
add esp, 0xc
mov edx, dword [esp + 0x40]
lea eax, [edx + ebp]
push 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00421400
lea ecx, [esp + 0x2c]
push ecx
call fcn.00421350
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push ebx
add eax, ebp
push eax
push ebp
mov ebp, dword [esp + 0x60]
push ebp
call fcn.00426f00
add esp, 0x24
test eax, eax
jne 0x412b8d
sub edi, esi
xor byte [edi + ebp - 2], 1
lea eax, [edi + ebp - 2]
add eax, 1
test esi, esi
jle 0x412b63
xor ecx, ecx
test esi, esi
jle 0x412b63
nop
mov edx, dword [esp + 0x10]
mov dl, byte [ecx + edx]
xor byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, esi
jl 0x412b50
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x412b7c
mov ecx, 8
sub ecx, eax
mov eax, 0xff
sar eax, cl
and byte [ebp], al
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebp - 1], 0xbc
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x412a81
push ebp
call fcn.00413870
mov eax, dword [esp + 0x18]
add esp, 4
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x28
ret
mov eax, edi
pop edi
pop ebx
add esp, 0x28
ret
Function at 0x414730
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.0048af60
mov eax, dword [0x51e710]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x414795
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x414795
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00492538
add eax, 0x40
push eax
call fcn.004ce0ed
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00487e85
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004cfdb7
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x414824
call fcn.004145f0
test eax, eax
jle 0x414824
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00487e85
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00487e85
add esp, 0x108
ret

Function at 0x414c60
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x414ca9
mov al, byte [edx]
test al, al
je 0x414ca9
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
add edx, 1
xor esi, ecx
test al, al
jne 0x414c77
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret