joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437990
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
lea eax, [esp + 8]
push ebp
push eax
mov ebp, 0x104
push str.SoftwareMicrosoftInternet_ExplorerMain
push connect
xor ebx, ebx
mov dword [esp + 0x14], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x4379c7
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret
mov eax, dword [esp + 0xc]
push esi
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push str.Display_Inline_Images
push eax
mov dword [esp + 0x28], ebp
call edi
mov esi, 0x4d5acc
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437a1a
test cl, cl
je 0x437a16
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437a1a
add eax, 2
add esi, 2
test cl, cl
jne 0x4379f6
xor eax, eax
jmp 0x437a1f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x437a28
mov ebx, 0x10
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push str.Display_Inline_Videos
push edx
mov dword [esp + 0x28], ebp
call edi
mov esi, 0x4d5acc
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437a73
test cl, cl
je 0x437a6f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437a73
add eax, 2
add esi, 2
test cl, cl
jne 0x437a4f
xor eax, eax
jmp 0x437a78
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x437a7f
or ebx, 0x20
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push str.Play_Background_Sounds
push edx
mov dword [esp + 0x28], ebp
call edi
mov esi, 0x4d5acc
lea eax, [esp + 0x18]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x437aca
test cl, cl
je 0x437ac6
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x437aca
add eax, 2
add esi, 2
test cl, cl
jne 0x437aa6
xor eax, eax
jmp 0x437acf
sbb eax, eax
sbb eax, 0xffffffff
pop edi
pop esi
test eax, eax
jne 0x437ad8
or ebx, 0x40
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x437c40
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a78d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [0x4dc9b4]
push ebx
push esi
push edi
mov ebx, 1
xor edi, edi
test bl, al
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], edi
jne 0x437c99
or al, bl
push 0x4dc430
mov ecx, 0x4dc9b0
mov byte [0x4dc9b4], al
call fcn.0048f6af
push 0x437d90
call fcn.004784d5
add esp, 4
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call fcn.004886c0
mov ecx, dword [eax]
mov edx, dword [esi + 0x60c]
push ecx
mov dword [ebp - 0x14], ecx
mov eax, esp
mov dword [ebp - 0x18], esp
lea ecx, [ebp - 0x14]
mov dword [eax], edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00437d70
cmp dword [eax], 5
jge 0x437cd4
mov ecx, dword [0x4dc9b0]
cmp dword [ecx - 8], ebx
jge 0x437d36
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x60c], edx
mov eax, dword [esi + 0x11b0]
cmp eax, edi
je 0x437d08
mov eax, dword [0x4deb98]
cmp eax, edi
je 0x437d08
push edi
call eax
push eax
push str._d__
push 0x4dc9b0
call fcn.00487e9f
add esp, 0xc
jmp 0x437d3d
push 0x4dc9b8
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [0x4dc9c4]
shr eax, 0x14
push eax
push 0x4d6728
push 0x4dc9b0
call fcn.00487e9f
add esp, 0xc
jmp 0x437d3d
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
push 0x4dc9b0
mov ecx, esi
call fcn.0048f3b6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x437da0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a78e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [0x4dc9ac]
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
test al, 1
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
jne 0x437df7
or al, 1
push 0x4dc430
mov ecx, 0x4dc9a8
mov byte [0x4dc9ac], al
call fcn.0048f6af
push 0x437f70
call fcn.004784d5
add esp, 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.004886c0
mov ecx, dword [eax]
mov edx, dword [esi + 0x610]
push ecx
mov dword [ebp - 0x18], ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
lea ecx, [ebp - 0x18]
mov dword [eax], edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00437d70
mov edi, dword [eax]
mov edx, 5
cmp edi, edx
jle 0x437e6f
mov eax, dword [0x4dc9a8]
mov esi, str.127.0.0.1
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x437e5b
test cl, cl
je 0x437e57
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x437e5b
add eax, 2
add esi, 2
test cl, cl
jne 0x437e37
xor eax, eax
jmp 0x437e60
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
je 0x437e6b
mov edx, 0x14
cmp edi, edx
jg 0x437e7f
mov ecx, dword [0x4dc9a8]
cmp dword [ecx - 8], 1
jge 0x437f3f
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0x4de9f8
mov byte [ebp - 4], 1
mov dword [eax + 0x610], edx
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
cmp edi, ebx
je 0x437f3f
mov ecx, dword [edi + 0xc]
cmp dword [ecx], ebx
je 0x437f3f
mov edx, dword [edi + 0xc]
cmp dword [edx + ebx*4], 0
je 0x437f46
mov ecx, 0x4dc9a8
call fcn.0048f5cc
push 0x4dc430
lea ecx, [ebp - 0x14]
call fcn.0048f6af
mov byte [ebp - 4], 2
xor esi, esi
movsx eax, word [edi + 0xa]
cmp esi, eax
jge 0x437f21
test esi, esi
jle 0x437ef3
push 0x4d4564
mov ecx, 0x4dc9a8
call fcn.0048fa1d
mov ecx, dword [edi + 0xc]
xor eax, eax
mov edx, dword [ecx + ebx*4]
lea ecx, [ebp - 0x14]
mov al, byte [edx + esi]
push eax
push 0x4d4fe8
push ecx
call fcn.00487e9f
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, 0x4dc9a8
push edx
call fcn.0048fa59
inc esi
jmp 0x437ed8
lea ecx, [ebp - 0x14]
inc ebx
mov byte [ebp - 4], 1
call fcn.0048f641
jmp 0x437eae
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
push 0x4dc9a8
mov ecx, esi
call fcn.0048f3b6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a79b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0049e6af
mov eax, dword [eax + 4]
add edi, 0x4d8
push edi
lea esi, [eax + 0xec]
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0048f870
push 0x4d441c
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.0048f8d6
mov edi, dword [esp + 0x30]
lea edx, [esp + 8]
push edi
push eax
push edx
mov byte [esp + 0x34], 1
call fcn.0048f8d6
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.0048f641
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0048f641
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.0048f3b6
call fcn.0040f080
add esp, 4
test eax, eax
jne 0x4386d8
push str.default
lea ecx, [esp + 0x1c]
push esi
push ecx
call fcn.0048f8d6
push 0x4d441c
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x34], 5
call fcn.0048f8d6
push edi
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x30], 6
push eax
call fcn.0048f8d6
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.0048f77a
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.0048f641
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 5
call fcn.0048f641
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 3
call fcn.0048f641
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0048f3b6
call fcn.0040f080
add esp, 4
test eax, eax
jne 0x4386d8
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048f641
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x24
ret 4
mov eax, dword [esp + 8]
push 0x2050
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageA]
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 4

Function at 0x438870
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a79e8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xbc4]
push 0
push 0x431
push eax
call ebx
push eax
call fcn.00489083
test eax, eax
je 0x4388b6
mov ecx, eax
call fcn.0048906d
lea ecx, [esp + 0xc]
call fcn.00488ff1
push 1
push 1
push 0xff
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004890b6
push str.Go.bmp
mov ecx, esi
call fcn.00438580
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xbc4]
push ecx
push 0
push 0x430
push edx
call ebx
lea ecx, [esp + 0xc]
call fcn.00489043
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048901a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x438b50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a7a28
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0xefc]
push 0x431
push eax
call ebx
push eax
call fcn.00489083
test eax, eax
je 0x438b95
mov ecx, eax
call fcn.0048906d
mov eax, dword [0x4debc0]
test eax, eax
je 0x438bc7
mov ecx, dword [esi + 0xefc]
push 0
push 0
push 0x430
push ecx
call ebx
push eax
call fcn.00489083
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
lea ecx, [esp + 0xc]
call fcn.00488ff1
push 1
push 2
push 0xff
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004890b6
push str.FavBar.bmp
mov ecx, esi
call fcn.00438580
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0xefc]
push eax
push 0
push 0x430
push edx
call ebx
push eax
call fcn.00489083
lea ecx, [esp + 0xc]
call fcn.00489043
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048901a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x438c70
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a7a48
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push 0
push 0
mov eax, dword [esi + 0x1094]
push 0x431
push eax
call ebx
push eax
call fcn.00489083
test eax, eax
je 0x438cb5
mov ecx, eax
call fcn.0048906d
mov eax, dword [0x4debc0]
test eax, eax
je 0x438ce7
mov ecx, dword [esi + 0x1094]
push 0
push 0
push 0x430
push ecx
call ebx
push eax
call fcn.00489083
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
push edi
lea ecx, [esp + 0xc]
call fcn.00488ff1
push 1
push 2
push 0xff
push 0x10
push 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
call fcn.004890b6
push str.FavBar.bmp
mov ecx, esi
call fcn.00438580
mov edx, dword [esp + 0x10]
mov edi, eax
lea eax, [esp + 0xc]
push 0xff00ff
neg eax
sbb eax, eax
push edi
and eax, edx
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0x1094]
push eax
push 0
push 0x430
push edx
call ebx
push eax
call fcn.00489083
lea ecx, [esp + 0xc]
call fcn.00489043
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0048901a
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43c830
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0
mov byte [ebp - 4], 1
call fcn.0049c4d4
mov edi, eax
test edi, edi
je 0x43c8dc
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x43c8dc
mov eax, dword [0x4d8094]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0043c670
test eax, eax
je 0x43c8d0
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jge 0x43c957
push 0x10
call ebx
test ax, ax
jge 0x43c957
mov eax, dword [esi + 0x858]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1304
push eax
call ebx
test eax, eax
jg 0x43c8fe
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0048f641
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.0048f641
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 0x38], 8
lea edi, [eax - 1]
test edi, edi
jl 0x43c8d0
mov edx, dword [esi + 0x858]
lea ecx, [ebp - 0x38]
push ecx
push edi
push 0x1305
push edx
call ebx
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43c954
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0048f3b6
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov byte [ebp - 4], 3
call fcn.0048f3b6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0043ca40
dec edi
jmp 0x43c908
push edi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0048f3b6
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
mov byte [ebp - 4], 4
call fcn.0048f3b6
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0043ca40
jmp 0x43c8d0
Function at 0x43d5d0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4a8148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push 0x11
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x43d699
push 0x2e
lea ecx, [esp + 0x20]
call fcn.00487af7
test eax, eax
jl 0x43d699
mov ecx, dword [0x4d8094]
mov dword [esp + 4], ecx
lea edx, [esp + 8]
push eax
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 1
call fcn.0048794a
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x18], 2
call fcn.0048f77a
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.0048f641
lea ecx, [esp + 4]
call fcn.0048fb63
mov eax, dword [esp + 4]
add esi, 0x240
push eax
mov ecx, esi
call fcn.00487b19
test eax, eax
jl 0x43d68b
mov ecx, dword [esp + 4]
mov edx, dword [esi]
mov ecx, dword [ecx - 8]
add edx, ecx
mov al, byte [edx + eax]
cmp al, 0x20
je 0x43d6be
cmp al, 0x3b
je 0x43d6be
test al, al
je 0x43d6be
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0048f641
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048f641
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0048f641
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048f641
mov ecx, dword [esp + 0xc]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x43e0f0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push 0
call fcn.0049c4d4
test eax, eax
je 0x43e1ce
mov ecx, dword [eax + 0xf8]
test ecx, ecx
je 0x43e1ce
mov ecx, dword [esi + 0x204]
mov edx, dword [esi + 0x208]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0xf8]
lea ecx, [esp + 4]
push edi
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.0048bd5a
mov esi, eax
lea eax, [esp + 8]
push eax
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
and eax, 0xffff
shl edx, 0x10
or edx, eax
push edx
push 0
push 0x204
push ecx
call edi
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x1c]
and edx, 0xffff
shl edx, 0x10
and eax, 0xffff
or edx, eax
push edx
push 0
push 0x205
push ecx
call edi
push 0
push 0
push 0
push 0x48
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 0x48
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
add esp, 8
ret

Function at 0x43e720
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x4de588]
push 1
push 0x4dc430
push eax
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
ret
Function at 0x445e80
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0xffffffffffffffff
push 0x4a8e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [0x4debc4], ebx
mov dword [esp + 0xc], vtable.CMenu.0
mov dword [esp + 0x10], ebx
mov eax, dword [esi + 0x9c]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x4c], ebx
call fcn.00490650
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov edi, dword [esp + 0x50]
cmp edi, ebx
jl 0x44606f
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x1c]
push 1
push edi
push 0x403
push edx
mov dword [esi + 0xe0], 0xffffffff
call ebx
mov eax, dword [esi + 0x1c]
push eax
call ebp
call fcn.0049e6af
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x100
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.0049e6af
mov eax, dword [eax + 4]
push 1
push 0x28
push 0x101
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push edi
push 2
mov ecx, esi
call fcn.00445970
mov dword [0x4debe8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x445bf0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x4debec], eax
jne 0x445f8d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x445bf0
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x4debec], eax
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
push 0x433
push ecx
call ebx
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.00492a7e
lea eax, [esp + 0x30]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.004460b0
mov eax, dword [esi + 0x9c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esi + 0xa4]
mov dword [esp + 0x54], eax
call fcn.0049067d
mov ecx, dword [esp + 0x54]
lea eax, [esi + 0xb0]
push ecx
lea ecx, [esi + 0xa4]
mov dword [esi + 0xac], eax
call fcn.00490650
call fcn.0049e6af
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
push 0x40
lea ecx, [esi + 0xa4]
call fcn.0048c81e
mov edx, dword [0x4debec]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor eax, eax
mov dword [0x4debec], eax
mov dword [0x4debe8], eax
push eax
mov eax, dword [esi + 0x1c]
push edi
push 0x403
push eax
call ebx
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push edi
mov edi, dword [esi + 0xec]
xor edx, edx
mov ecx, esi
test edi, edi
setne dl
push edx
call fcn.00445970
mov edi, dword [esi + 0xe0]
test edi, edi
jge 0x445ee9
pop ebp
lea ecx, [esp + 0xc]
call fcn.0049067d
mov dword [esp + 0xc], vtable.CMenu.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 1
call fcn.004906a7
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x4497c0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [ebx + 0x104], 1
call fcn.0049e6af
mov eax, dword [eax + 8]
mov ebp, 0x84
push eax
push 0x4d6d50
push 0x4ded00
mov dword [0x4ded70], 0x4d6d98
mov dword [0x4ded8c], 0x4ded00
mov dword [0x4ded00], ebp
mov dword [0x4ded64], 0x300
call fcn.0044b8e0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4ded84], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cx, word [0x4d7134]
mov dl, byte [0x4d7136]
mov word [esp + 0x10], cx
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, 0x4ded00
mov byte [esp + 0x1a], dl
call fcn.00449770
mov esi, eax
test esi, esi
je 0x449889
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x4498cc
push str.RegServer
push esi
call edi
test eax, eax
je 0x4498f1
lea edx, [esp + 0x10]
mov ecx, 0x4ded00
push edx
push esi
call fcn.00449770
mov esi, eax
test esi, esi
jne 0x44985b
mov edx, 0x4ded00
test edx, edx
je 0x4499ee
mov esi, dword [0x4ded10]
xor edi, edi
cmp dword [esi], 0
je 0x449a02
mov ebp, dword [sym.imp.ole32.dll_CoRegisterClassObject]
lea ebx, [esi + 0x14]
test edi, edi
jne 0x4499e8
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x449991
jmp 0x4499c6
push 0
push 0
push 0
push 0x66
push 0x4ded00
call fcn.0044bc00
push 0
push 1
push 0x4ded00
call fcn.0044bb70
jmp 0x449973
push 0
push 0
push 1
push 0x66
push 0x4ded00
call fcn.0044bc00
mov eax, 0x4ded00
test eax, eax
je 0x449973
mov esi, dword [0x4ded10]
xor edi, edi
cmp dword [esi], 0
je 0x449967
mov eax, dword [esi + 0x18]
test eax, eax
je 0x449926
call eax
test eax, eax
jne 0x44994d
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
jl 0x449973
cmp dword [0x4ded00], ebp
jne 0x44994d
push 1
call dword [esi + 0x1c]
mov ecx, dword [esi]
push eax
push ecx
call fcn.0044ba40
mov edi, eax
test edi, edi
jl 0x449973
cmp dword [0x4ded00], 0x64
jne 0x44995b
add esi, 0x1c
jmp 0x44995e
add esi, 0x24
cmp dword [esi], 0
jne 0x449919
test edi, edi
jl 0x449973
push 0
push 0x4ded00
call fcn.0044c090
push 0x4ded00
mov dword [ebx + 0x104], 0
call fcn.0044b970
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0x4bc2c0
push edx
call eax
mov edi, eax
test edi, edi
jl 0x4499b8
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push ebx
push 1
push 4
push eax
push ecx
call ebp
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4499c6
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [0x4ded00], 0x64
jne 0x4499d7
add esi, 0x1c
add ebx, 0x1c
jmp 0x4499dd
add esi, 0x24
add ebx, 0x24
cmp dword [esi], 0
jne 0x4498b0
test edi, edi
jge 0x449a02
mov ebx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebx + 0x104], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret