joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441b64
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x459070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.IEClientSite.1.0
mov dword [edi + 4], vtable.IEClientSite.4.0
mov dword [edi + 8], vtable.IEClientSite.2.0
mov dword [edi + 0xc], vtable.IEClientSite.8.0
mov dword [edi + 0x10], vtable.IEClientSite.10.0
mov dword [edi + 0x14], vtable.IEClientSite.6.0
mov dword [edi + 0x18], vtable.IEClientSite.5.0
mov dword [edi + 0x1c], vtable.IEClientSite.7.0
mov dword [edi + 0x20], vtable.IEClientSite.0
mov dword [edi + 0x24], vtable.IEClientSite.9.0
mov dword [edi + 0x28], vtable.IEClientSite.3.0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0x10
mov dword [ebp - 4], 0
call fcn.00422a71
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], ecx
push dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov al, byte [ebp + 8]
mov dword [ecx], vtable.BtIESec::BtAppSecurityManager.0
mov byte [ecx + 0xc], al
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x48]
mov byte [edi + 0x40], 0
mov dword [edi + 0x44], 0
call fcn.00419250
mov byte [ebp - 4], 1
lea ecx, [edi + 0x58]
mov byte [edi + 0x54], 1
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x41265d
mov eax, dword [ecx]
jmp 0x41265f
mov eax, ecx
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov byte [eax], 0
call fcn.00406b40
lea eax, [edi + 0x70]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x412687
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [edi + 0x88]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4126a6
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xa4]
mov word [edi + 0xa0], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4126ca
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [edi + 0xbc], ecx
lea esi, [edi + 0xc0]
mov byte [ebp - 4], 6
mov dword [ebp + 8], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.0040fc40
mov dword [esi], eax
lea esi, [edi + 0xc8]
mov byte [ebp - 4], 7
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040fc40
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0xd8], eax
mov eax, edi
mov dword [edi + 0xd0], 0x3e8
mov word [edi + 0xd4], 0x100
mov byte [edi + 0xd6], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x417040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4426e4
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x417087
cmp dword [esi + 8], 0x4f
je 0x41709f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4170a6
cmp dword [esi + 8], 0x4e
jne 0x4170a6
xor eax, eax
jmp 0x4171aa
cmp dword [esi + 4], 0x100
jne case.0x4170c9.113
mov eax, dword [esi + 8]
add eax, 0xffffff90
cmp eax, 0xb
ja case.0x4170c9.113
movzx eax, byte [eax + 0x4171d4]
jmp dword [eax*4 + 0x4171c8]
mov eax, dword [edi + 0x5c]
mov al, byte [eax + 0xa1]
test al, al
jne case.0x4170c9.112
mov dword [ebp - 4], 0
lea edx, [ebp - 0x18]
mov ecx, dword [edi + 0x60]
push edx
mov dword [ebp - 0x18], 0
push 0x444430
mov eax, dword [ecx]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x417119
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 1
jmp 0x4171aa
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.004123f0
push eax
push 0xa
mov ecx, edi
mov dword [ebp - 4], 2
call fcn.00417450
lea ecx, [ebp - 0x34]
call fcn.00401870
mov eax, 1
jmp 0x4171aa
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x41709f
mov dword [ebp - 4], 3
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0
mov eax, dword [ecx]
push 0x4443b0
push ecx
call dword [eax]
test eax, eax
js 0x417192
mov eax, dword [ebp - 0x1c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x417192
cmp eax, 1
je 0x417192
mov esi, 1
jmp 0x417194
xor esi, esi
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4171a8
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00422a60
mov esp, ebp
pop ebp
ret 4
Function at 0x417cb0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x3c], edx
mov esi, ecx
mov dword [ebp - 0x38], eax
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x7f00
push 0
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0x417c10
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0xc], str.LIEFrameControl
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0
push str.IE_Message_Window
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebx, 0x45cc5c
je 0x417d7f
push 0xffffffffffffffff
push 0
push ebx
mov ecx, 0x45cc5c
call fcn.004067a0
push 0
push 0
push 0
push 0x417bd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
mov edx, edi
mov esi, eax
call fcn.004171e0
add esp, 4
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422a60
mov esp, ebp
pop ebp
ret
Function at 0x41c700
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 1
mov dword [0x45cc7c], edx
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x45cc7c], edx
inc eax
cmp eax, 0x270
jl 0x41c711
mov dword [0x45cc78], 0x270
pop ebp
ret 8

Function at 0x41fe70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x4c], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x48], esi
call fcn.00426010
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x44], ax
jne 0x41fecd
xor ecx, ecx
jmp 0x41fee2
lea ecx, [ebp - 0x44]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fed3
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004066a0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00422a60
mov esp, ebp
pop ebp
ret
Function at 0x4200d0
Capabilities:
Check if file exists
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4432ac
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x459070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.NamedPipeMessenger.0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x42011e
mov eax, dword [esi]
jmp 0x420120
mov eax, esi
xor ecx, ecx
push 0xffffffffffffffff
push ecx
push dword [ebp + 8]
mov word [eax], cx
mov ecx, esi
call fcn.004067a0
lea edi, [ebx + 0x1c]
mov dword [ebp - 4], 0
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x420154
mov eax, dword [edi]
jmp 0x420156
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov al, byte [ebp + 0xc]
mov edx, 0x4512a8
mov byte [ebp - 4], 1
mov byte [ebx + 0x34], al
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x14]
mov byte [ebx + 0x74], cl
lea ecx, [ebp - 0x2c]
push esi
mov dword [ebx + 0x3c], eax
call fcn.0041e560
add esp, 4
mov esi, eax
cmp edi, esi
je 0x4201c5
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x42019e
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.004070d0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x4201b6
mov eax, dword [edi]
jmp 0x4201b8
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.004069d0
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x4201da
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.004070d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x48], eax
call esi
push 0
push 0
push 0
push 0
mov dword [ebx + 0x5c], eax
call esi
cmp byte [ebx + 0x34], 0
mov dword [ebx + 0x70], eax
je 0x42023c
cmp dword [edi + 0x14], 8
jb 0x420215
mov edi, dword [edi]
push dword [ebp + 0x18]
push 0
push 0x800
push 0x800
push 0xff
push 6
push 0x40080003
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebx + 0x44], eax
jmp 0x420283
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
cmp eax, 2
jne 0x420250
push 0x3e8
call esi
cmp dword [edi + 0x14], 8
jb 0x42025a
mov eax, dword [edi]
jmp 0x42025c
mov eax, edi
push 0
push 0x40000080
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x420249
push 0
push 0
push ebx
push 0x4200b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x40], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4203a0
Capabilities:
Connect pipe
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4432d8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x34], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [edi + 0x74], 1
je 0x420419
lea eax, [edi + 0x4c]
mov dword [edi + 0x54], 0
push eax
push dword [edi + 0x44]
mov dword [edi + 0x58], 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esi, eax
call ebx
test esi, esi
jne 0x420419
cmp eax, 0x217
je 0x420419
cmp eax, 0x3e5
jne 0x420419
push 0xffffffffffffffff
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x48]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x14], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push 0x401
mov dword [ebp - 4], 0
call fcn.00423279
add esp, 4
mov esi, eax
nop
push 0
lea eax, [ebp - 0x14]
push eax
push 0x400
push esi
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call ebx
cmp eax, 6
je 0x4204bf
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4204c6
cmp byte [esi + eax - 1], 0
mov byte [esi + 0x400], 0
sete bl
cmp byte [esi], 0
jne 0x42049b
xor eax, eax
jmp 0x4204a9
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4204a0
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00406c70
test bl, bl
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x4204c6
jmp 0x420460
mov dword [ebp - 0x14], 0
push esi
call fcn.00422aa9
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x420502
push dword [edi + 0x3c]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [edi + 0x38]
call eax
mov eax, dword [ebp - 0x18]
add esp, 8
cmp eax, 0x10
jb 0x420422
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401b30
jmp 0x420422
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x420517
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00401b30
mov byte [edi + 0x74], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422a60
mov esp, ebp
pop ebp
ret
Function at 0x420540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x459070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x420570
mov ecx, dword [ecx]
lea edi, [esi + 0x60]
inc eax
push edi
lea edx, [ebp - 8]
push edx
push eax
push ecx
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4205b0
push 0xffffffffffffffff
push dword [esi + 0x70]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4205b0
push 1
lea eax, [ebp - 8]
push eax
push edi
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00422a60
mov esp, ebp
pop ebp
ret 4
Function at 0x420bb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0x40
jb 0x420bc7
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x20], 0x80
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x38
jbe 0x420c11
cmp eax, 0x40
jae 0x420c00
lea esp, [esp]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
mov eax, dword [esi + 0x1c]
cmp eax, 0x40
jb 0x420bf0
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.00420710
mov dword [esi + 0x1c], 0
cmp dword [esi + 0x1c], 0x38
jae 0x420c31
jmp 0x420c20
mov eax, dword [esi + 0x1c]
mov byte [esi + eax + 0x20], 0
inc dword [esi + 0x1c]
cmp dword [esi + 0x1c], 0x38
jb 0x420c20
movzx eax, byte [esi + 7]
lea edx, [esi + 0x20]
mov byte [esi + 0x58], al
mov ecx, esi
movzx eax, byte [esi + 6]
mov byte [esi + 0x59], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5a], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x5b], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x5c], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x5d], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x5e], al
movzx eax, byte [esi]
mov byte [esi + 0x5f], al
call fcn.00420710
mov ecx, dword [ebp + 0xc]
movzx eax, byte [esi + 0xb]
mov byte [ecx], al
movzx eax, byte [esi + 0xa]
mov byte [ecx + 1], al
movzx eax, byte [esi + 9]
mov byte [ecx + 2], al
movzx eax, byte [esi + 8]
mov byte [ecx + 3], al
movzx eax, byte [esi + 0xf]
mov byte [ecx + 4], al
movzx eax, byte [esi + 0xe]
mov byte [ecx + 5], al
movzx eax, byte [esi + 0xd]
mov byte [ecx + 6], al
movzx eax, byte [esi + 0xc]
mov byte [ecx + 7], al
movzx eax, byte [esi + 0x13]
mov byte [ecx + 8], al
movzx eax, byte [esi + 0x12]
mov byte [ecx + 9], al
movzx eax, byte [esi + 0x11]
mov byte [ecx + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [ecx + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [ecx + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [ecx + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [ecx + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [ecx + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [ecx + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [ecx + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [ecx + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [ecx + 0x13], al
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4234a8
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
sub esi, esi
add esi, 0x30
mov edi, dword fs:[esi]
push ecx
mov esi, edi
add esi, 8
or byte [ebx + 0xc5f8b0e], cl
mov edi, dword [ebx + 0xc]
push eax
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4234e9
mov ebx, dword [edi + 0x30]
mov eax, dword [ebx]
add eax, dword [ecx - 0x20ff2020]
add byte [ebx - 0x1c3ef3a5], cl
or byte [ebx], al
fadd st(1)
jmp 0x4234e1
sub ebx, 0xc914cd2
test ebx, ebx
je 0x4234f2
mov ebx, dword [edi]
mov edi, ebx
jmp 0x4234c2
mov edi, dword [esi + 0x3c]
add edi, esi
mov ebx, dword [edi + 0x78]
add ebx, esi
push edx
mov eax, dword [ebx + 0x20]
invalid

Function at 0x4234b2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
sub esi, esi
add esi, 0x30
mov edi, dword fs:[esi]
push ecx
mov esi, edi
add esi, 8
or byte [ebx + 0xc5f8b0e], cl
mov edi, dword [ebx + 0xc]
push eax
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4234e9
mov ebx, dword [edi + 0x30]
mov eax, dword [ebx]
add eax, dword [ecx - 0x20ff2020]
add byte [ebx - 0x1c3ef3a5], cl
or byte [ebx], al
fadd st(1)
jmp 0x4234e1
sub ebx, 0xc914cd2
test ebx, ebx
je 0x4234f2
mov ebx, dword [edi]
mov edi, ebx
jmp 0x4234c2
mov edi, dword [esi + 0x3c]
add edi, esi
mov ebx, dword [edi + 0x78]
add ebx, esi
push edx
mov eax, dword [ebx + 0x20]
invalid

Function at 0x4234b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push edi
push ebx
sub esi, esi
add esi, 0x30
mov edi, dword fs:[esi]
push ecx
mov esi, edi
add esi, 8
or byte [ebx + 0xc5f8b0e], cl
mov edi, dword [ebx + 0xc]
push eax
mov esi, dword [edi + 0x18]
test esi, esi
je 0x4234e9
mov ebx, dword [edi + 0x30]
mov eax, dword [ebx]
add eax, dword [ecx - 0x20ff2020]
add byte [ebx - 0x1c3ef3a5], cl
or byte [ebx], al
fadd st(1)
jmp 0x4234e1
sub ebx, 0xc914cd2
test ebx, ebx
je 0x4234f2
mov ebx, dword [edi]
mov edi, ebx
jmp 0x4234c2
mov edi, dword [esi + 0x3c]
add edi, esi
mov ebx, dword [edi + 0x78]
add ebx, esi
push edx
mov eax, dword [ebx + 0x20]
invalid
Function at 0x40d510
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x40d542
movsx eax, cl
sub eax, 0x41
jmp 0x40d584
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x40d551
movsx eax, cl
sub eax, 0x47
jmp 0x40d584
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x40d560
movsx eax, cl
add eax, 4
jmp 0x40d584
cmp cl, 0x2b
jne 0x40d56c
mov eax, 0x3e
jmp 0x40d584
cmp cl, 0x2f
jne 0x40d578
mov eax, 0x3f
jmp 0x40d584
cmp cl, 0x3d
jne 0x40d601
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x40d530
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x40d601
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x40d601
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x40d5b2
cmp eax, ecx
jne 0x40d601
lea ebx, [ecx + 2]
jmp 0x40d5bd
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x40d5e6
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x40d5ee
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439c24
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439c24
mov esp, ebp
pop ebp
ret

Function at 0x412150
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0x34
push dword [ebp + 8]
call fcn.00403150
add esp, 8
cmp byte [eax], 0
je 0x41216e
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0040db60
push 0x35
push dword [ebp + 8]
call fcn.004030f0
add esp, 8
test eax, eax
je 0x412185
pop ebp
jmp fcn.00433220
xor eax, eax
pop ebp
ret

Function at 0x412450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00426370
add esp, 8
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.004379f0
Function at 0x421840
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
mov eax, dword [0x4b7780]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4b8394], 0
push edi
mov edi, dword [ebp + 8]
je 0x421a16
cmp dword [0x4b8390], 0
push esi
jne 0x421936
cmp word [0x4b8380], 0
jne 0x4218d6
mov eax, dword [0x4bbf10]
xorps xmm0, xmm0
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x1bc]
push eax
mov dword [ebp - 0x1bc], 3
mov dword [ebp - 0x1b8], 0x4215a0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], 0
movups xmmword [ebp - 0x1a8], xmm0
mov dword [ebp - 0x198], str.SizeTipClass
call dword [sym.imp.USER32.dll_RegisterClassA]
mov word [0x4b8380], ax
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0x18
call esi
push 0x17
mov dword [0x4b8388], eax
call esi
push 0x154
mov dword [0x4b838c], eax
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.0043b4f0
add esp, 0xc
mov dword [ebp - 0x18c], 0x158
lea eax, [ebp - 0x18c]
push 0
push eax
push 0x158
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [0x4b8384], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x24]
push dword [ebp + 0xc]
push str._dx_d
push eax
call fcn.00408a10
mov eax, dword [0x4b8390]
add esp, 0x10
test eax, eax
jne 0x421a0a
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x24]
mov esi, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421970
lea eax, [ebp - 0x194]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x34]
mov esi, 0x10
mov eax, dword [ebp - 0x190]
cmp edx, esi
mov ecx, dword [ebp - 0x30]
push 0
push dword [0x4bbf10]
cmovl edx, esi
sub ecx, eax
push 0
push 0
push eax
push dword [ebp - 0x194]
cmp ecx, esi
lea eax, [ebp - 0x24]
cmovl ecx, esi
push ecx
push edx
push 0x80000000
push eax
movzx eax, word [0x4b8380]
push eax
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 4
push eax
mov dword [0x4b8390], eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439c24
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00439c24
mov esp, ebp
pop ebp
ret

Function at 0x427160
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
push 0x426e30
push 0
push 0x6f
push dword [0x4bbf10]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret