joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403848
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
xor edx, edx
mov ebx, eax
mov dx, word [eax + 4]
sub edx, 0xd7b0
je 0x403874
cmp edx, 3
ja 0x40390a
call dword [ebx + 0x24]
test eax, eax
je 0x403874
call fcn.00402c44
mov word [ebx + 4], 0xd7b3
mov dword [ebx + 8], esi
mov dword [ebx + 0x24], 0x403820
mov dword [ebx + 0x1c], 0x403004
cmp byte [ebx + 0x48], 0
je 0x4038f1
mov eax, 0xc0000000
mov dl, byte [0x46e00c]
and edx, 0x70
shr edx, 2
mov edx, dword [edx + 0x46e06c]
mov ecx, 2
sub edi, 3
je 0x4038d3
mov ecx, 3
inc edi
je 0x4038d3
mov eax, 0x40000000
inc edi
mov word [ebx + 4], 0xd7b2
je 0x4038d3
mov eax, 0x80000000
mov word [ebx + 4], 0xd7b1
push 0
push 0x80
push ecx
push 0
push edx
push eax
lea eax, [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
cmp eax, 0xffffffff
je 0x403911
mov dword [ebx], eax
jmp 0x403921
mov dword [ebx + 0x24], 0x403004
cmp edi, 3
je 0x403901
push 0xfffffffffffffff6
jmp 0x403903
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetProcAddress
jmp 0x4038e8
mov eax, 0x66
jmp 0x40391c
mov word [ebx + 4], 0xd7b0
call sub.KERNEL32.DLL_GlobalFree
call fcn.00402c44
pop edi
pop esi
pop ebx
ret

Function at 0x403944
Capabilities:
Get common file path

Disassembly:
mov ecx, eax
movzx eax, word [eax + 4]
sub eax, 0xd7b1
cmp eax, 2
ja 0x40396d
push 0
mov eax, dword [ecx + 8]
mul edx
push 0
push eax
push dword [ecx]
call sub.KERNEL32.DLL_GetTempPathA
inc eax
je fcn.00402c54
ret
mov eax, 0x67
jmp fcn.00402c44

Function at 0x4055a0
Capabilities:
Hide graphical window

Disassembly:
test eax, eax
je 0x4055b4
push eax
push 0
call sub.user32.dll_ShowWindow
test eax, eax
je 0x405598
ret
Function at 0x406144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x4062f8
call sub.KERNEL32.DLL_GlobalReAlloc
mov esi, eax
test esi, esi
je 0x4061b0
push 0x406308
push esi
call sub.KERNEL32.DLL_GlobalUnlock
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4061b0
push 0x105
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4061b0
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x4062ec
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4061f9
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4062ec
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00406118
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4062ec
mov eax, dword [ebp - 0x10]
inc eax
call fcn.00406118
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
je 0x4062ec
jmp 0x406202
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x25b]
push eax
call sub.KERNEL32.DLL_LoadResource
jmp 0x4062cc
mov eax, dword [ebp - 0x10]
inc eax
call fcn.00406118
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x10]
mov eax, edi
add eax, ebx
inc eax
cmp eax, 0x105
jg 0x4062ec
inc edi
push edi
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x25b]
add eax, ebx
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x156]
push eax
lea eax, [ebp - 0x25b]
push eax
call sub.KERNEL32.DLL_GlobalAlloc
mov esi, eax
cmp esi, 0xffffffff
je 0x4062ec
push esi
call sub.KERNEL32.DLL_GlobalAddAtomA
lea eax, [ebp - 0x12a]
push eax
call sub.KERNEL32.DLL_LockResource
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x4062ec
mov byte [ebp + ebx - 0x25b], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x12a]
push eax
lea eax, [ebp - 0x25b]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_LoadResource
lea eax, [ebp - 0x12a]
push eax
call sub.KERNEL32.DLL_LockResource
inc eax
add ebx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x406221
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x25b]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408da2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040516c
push eax
mov eax, esi
call fcn.0040536c
push eax
mov eax, ebx
call fcn.0040516c
push eax
mov eax, ebx
call fcn.0040536c
push eax
push 0
push 0x400
call sub.user32.dll_GetKeyState
sub eax, 2
pop esi
pop ebx
ret

Function at 0x408db4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.0040516c
push eax
mov eax, esi
call fcn.0040536c
push eax
mov eax, ebx
call fcn.0040516c
push eax
mov eax, ebx
call fcn.0040536c
push eax
push 1
push 0x400
call sub.user32.dll_GetKeyState
sub eax, 2
pop esi
pop ebx
ret

Function at 0x408e04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push ebx
push edi
push ebx
push esi
push 1
push 0x400
call sub.user32.dll_GetKeyState
sub eax, 2
pop edi
pop esi
pop ebx
ret

Function at 0x408e11
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
push ebx
push edi
push ebx
push esi
push 1
push 0x400
call sub.user32.dll_GetKeyState
sub eax, 2
pop edi
pop esi
pop ebx
ret

Function at 0x409404
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
or eax, 0xffffffff
mov esi, ebx
and esi, 3
cmp esi, 2
ja 0x409457
mov edx, ebx
and edx, 0xf0
cmp edx, 0x40
ja 0x409457
push 0
push 0x80
push 3
push 0
mov eax, ebx
and eax, 0xf0
shr eax, 4
mov eax, dword [eax*4 + 0x46e170]
push eax
mov eax, dword [esi*4 + 0x46e164]
push eax
mov eax, edi
call fcn.0040536c
push eax
call sub.user32.dll_GetKeyboardState
pop edi
pop esi
pop ebx
ret

Function at 0x40945c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, ebx
call fcn.0040536c
push eax
call sub.user32.dll_GetKeyboardState
pop ebx
ret
Function at 0x40d1dc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d2b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404f44
lea eax, [ebp - 8]
call fcn.004053bc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040536c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d29c
mov eax, ebx
call fcn.00402a98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d295
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040536c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d27f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d2c4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d27f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d29c
mov eax, dword [ebp - 0x10]
call fcn.00402ac8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d2b9
lea eax, [ebp - 8]
call fcn.00404eac
ret

Function at 0x40d6b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov edi, edx
mov ebp, eax
xor eax, eax
mov dword [esp], eax
test ebp, ebp
je 0x40d763
cmp byte [ebp], 0
je 0x40d763
test edi, edi
je 0x40d763
cmp byte [edi], 0
je 0x40d763
mov eax, ebp
call fcn.004098c0
mov dword [esp + 4], eax
mov eax, edi
call fcn.004098c0
mov esi, eax
mov edx, edi
mov eax, ebp
call fcn.00409a74
mov dword [esp], eax
jmp 0x40d749
mov edx, dword [esp]
sub edx, ebp
mov eax, ebp
call fcn.0040d364
mov ebx, eax
cmp bl, 2
je 0x40d731
push esi
push edi
push esi
mov eax, dword [esp + 0xc]
push eax
push 0
push 0x400
call sub.user32.dll_GetKeyState
cmp eax, 2
je 0x40d763
cmp bl, 1
jne 0x40d739
inc dword [esp]
inc dword [esp]
mov edx, edi
mov eax, dword [esp]
call fcn.00409a74
mov dword [esp], eax
cmp dword [esp], 0
je 0x40d75e
mov eax, dword [esp]
sub eax, ebp
mov edx, dword [esp + 4]
sub edx, eax
cmp esi, edx
jbe 0x40d705
xor eax, eax
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40e21c
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
test dl, dl
je 0x40e22a
add esp, 0xfffffff0
call fcn.004043d4
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00404084
mov dword [esi + 0xc], 0xffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov dword [esi + 0x10], eax
push 0
push 0
push 0
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xffffffff
mov dl, 1
mov eax, dword [0x408a18]
call fcn.00404084
mov dword [esi + 0x20], eax
mov eax, esi
test bl, bl
je 0x40e289
call fcn.0040442c
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
ret
Function at 0x41bfec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 4], edx
call sub.user32.dll_GetWindowLongA
mov edx, dword [0x46fb78]
cmp eax, dword [edx]
jne 0x41c013
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call dword [ebx + 8]
jmp 0x41c126
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41c10e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x470864
call sub.user32.dll_GetMenuItemCount
xor eax, eax
push ebp
push 0x41c0f0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46e40c], 0
jne 0x41c063
mov dl, 1
mov eax, dword [0x412e38]
call fcn.00404084
mov dword [0x46e40c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xc]
mov eax, dword [0x46e40c]
call fcn.00415394
call fcn.0041bb80
cmp word [0x46e3fa], 0
je 0x41c096
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
mov eax, dword [0x46e3fc]
call dword [0x46e3f8]
push 0x470864
call sub.user32.dll_PostQuitMessage
xor eax, eax
push ebp
push 0x41c0d1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c0d8
push 0x470864
call sub.user32.dll_GetMenuItemCount
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c184
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffffd8
mov esi, eax
mov eax, dword [esi + 4]
mov dword [esp + 4], eax
call sub.user32.dll_GetWindowLongA
mov edx, dword [0x46fb78]
cmp eax, dword [edx]
jne 0x41c1f9
xor ebx, ebx
mov eax, dword [0x47084c]
mov dword [esp + 8], eax
cmp ebx, 2
jne 0x41c1c3
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call fcn.00407874
push pe_nt_image_headers32
push 0x3e8
push 0
lea eax, [esp + 0x10]
push eax
push 2
call fcn.0040785c
mov ebx, eax
cmp ebx, 0xffffffff
setne dl
mov eax, esi
call fcn.0041bfac
cmp ebx, 1
jne 0x41c1f3
xor eax, eax
call fcn.0041bba4
test ebx, ebx
jne 0x41c1ac
jmp 0x41c205
push 0xffffffffffffffff
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_SetFocus
push esp
mov eax, dword [esp + 8]
push eax
call sub.user32.dll_GetWindowTextA
cmp eax, 1
sbb edx, edx
inc edx
mov eax, esi
call fcn.0041bfac
mov eax, dword [esp]
add esp, 0x28
pop esi
pop ebx
ret

Function at 0x41e54c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e552
ret
Function at 0x421388
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov edx, ebx
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.00421238
xor eax, eax
mov dword [ebp - 8], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x421425
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4213dc
push 0
push edi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnumWindows
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnableMenuItem
push 0
push ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebx + 8]
push eax
push 0
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_DefFrameProcA
test eax, eax
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42142c
cmp dword [ebp - 8], 0
je 0x42141b
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_CharNextA
ret
Function at 0x458718
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x458720
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x458912
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x458928
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404f00
lea ecx, [ebp - 0x10]
mov edx, 0x45893c
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404f00
lea ecx, [ebp - 0x14]
mov edx, 0x458954
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404f00
lea ecx, [ebp - 0x18]
mov edx, 0x458970
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404f00
lea ecx, [ebp - 0x1c]
mov edx, 0x45898c
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404f00
lea ecx, [ebp - 0x24]
mov edx, 0x4589a4
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408e24
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409218
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4589bc
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x28]
call fcn.00455598
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4589cc
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x2c]
call fcn.00455598
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4589e4
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409218
inc eax
je 0x4588b5
lea ecx, [ebp - 0x34]
mov edx, 0x4589e4
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x34]
call fcn.004091dc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a8b8
fstp qword [ebp - 0x3c]
wait
call fcn.0040ac28
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4588d0
lea ecx, [ebp - 0x40]
mov edx, 0x4589e4
mov eax, esi
call fcn.00456494
mov eax, dword [ebp - 0x40]
call fcn.00455598
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4589f4
mov eax, esi
call fcn.00456494
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458919
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404ed0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404ed0
ret
Function at 0x464c40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x464c9a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00464c30
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00454108
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00453d08
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464ca1
lea eax, [ebp - 4]
call fcn.00404eac
ret

Function at 0x468848
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040535c
mov eax, dword [ebp - 8]
call fcn.0040535c
xor eax, eax
push ebp
push 0x46894f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x468915
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404f44
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404f44
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403614
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], pe_nt_image_headers32
mov eax, dword [0x46f93c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
call fcn.0040536c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
call fcn.0040536c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x54]
call fcn.004686a4
mov eax, dword [ebp - 0x54]
call fcn.0040536c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46891f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468956
lea eax, [ebp - 0x54]
call fcn.00404eac
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404ed0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ed0
ret
Function at 0x46cb08
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040535c
mov eax, dword [ebp - 8]
call fcn.0040535c
mov eax, dword [ebp + 8]
call fcn.0040535c
xor eax, eax
push ebp
push 0x46cc1f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46cbdd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00404f44
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00404f44
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403614
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], pe_nt_image_headers32
mov eax, dword [0x46f93c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
call fcn.0040536c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
call fcn.0040536c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x54]
call fcn.0046c974
mov eax, dword [ebp - 0x54]
call fcn.0040536c
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cbe7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc26
lea eax, [ebp - 0x54]
call fcn.00404eac
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404ed0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ed0
lea eax, [ebp + 8]
call fcn.00404eac
ret
Function at 0x40104a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x4581d0
call fcn.00401fe2
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.00401fe2
mov ecx, esi
call fcn.004020b6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x401baf
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, edx
mov esi, ecx
mov eax, dword [0x462304]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x401cac
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401caa
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x401cac
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00401f12
mov ecx, esi
call fcn.004020b6
push 0x5c
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 8
test eax, eax
je 0x401caa
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401a89
test al, al
je 0x401caa
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x401c9b
push edi
call fcn.00401f12
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00401cc4
mov ebx, eax
jmp 0x401cac
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.00446150
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x401cc4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x4584a8]
cmp dword [ecx + eax], edx
ja 0x401ce2
jb 0x401ced
add eax, 4
cmp eax, 0x10
jne 0x401ccd
push esi
call fcn.0040104a
add esp, 4
jmp 0x401d0d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.004020b6
push eax
call edi
push 0x45850a
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret