joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b71c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x43b74b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x43b7ca
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00439fec
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43b798
mov cx, word [esp]
sub cx, si
jmp 0x43b79a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43b781
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43b7c0
mov cx, word [esp]
sub cx, si
jmp 0x43b7c2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43b7a9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x43b827
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0043b3f0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x43b812
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x43b827
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x43b726
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x44ccd0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040585c
xor eax, eax
push ebp
push 0x44ce65
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x44ce33
xor edx, edx
push ebp
push 0x44ce2c
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004058c8
mov eax, dword [ebp - 8]
test eax, eax
je 0x44cd3f
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44cd3f
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.00405114
test eax, eax
je 0x44cd48
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x44ce01
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x44cdf0
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004058c8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x44cdaa
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x44cdaa
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00405114
test eax, eax
je 0x44cdb3
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.00405900
lea ecx, [esi + 2]
mov edx, ebx
call fcn.004031b8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44cdf7
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x555820]
mov dl, 1
mov eax, dword [0x409f58]
call fcn.004105ac
call fcn.0040475c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ce6c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040586c
ret

Function at 0x44f5a8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405874
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x44f5ef
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405a74
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x454b4c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x454c85
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x42d1e0]
call fcn.0042d31c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x454c5b
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042d3bc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00405a74
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x454ca0
call fcn.00405d48
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0042d548
test al, al
je 0x454c45
lea ecx, [ebp - 4]
mov edx, 0x454d14
mov eax, dword [ebp - 0xc]
call fcn.0042d794
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004129bc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x454c3e
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x454d2c
mov eax, dword [ebp - 8]
push eax
call fcn.00408778
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x550fd8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c45
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c62
mov eax, dword [ebp - 0xc]
call fcn.00403d68
ret

Function at 0x454d90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x454dd7
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454dba
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x454dcb
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x454dd7
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x45aae0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x55b150], 0
je 0x45ac21
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x555c10]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x45ac21
mov eax, dword [0x55b154]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x55b150]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45abf0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x55b150]
call fcn.0041fa64
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45abe8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x45abe8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x45abe8
mov eax, dword [ebp - 0x14]
call fcn.00465d08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45abe8
push ebp
call fcn.0045aa9c
pop ecx
test al, al
jne 0x45abe8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403f78
test al, al
je 0x45abe8
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403f78
cmp byte [ebp - 1], 0
je 0x45abe8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00408448
test al, al
je 0x45abe8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x55b154]
call fcn.0045a214
inc edi
dec ebx
jne 0x45ab45
mov eax, dword [0x55b154]
cmp dword [eax + 8], 0
jle 0x45ac08
mov eax, dword [0x55b154]
call fcn.0045a2cc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45ac21
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045a900
pop ecx
test al, al
jne 0x45ac21
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4629f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00408430
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045cf5c
test ebx, ebx
jne 0x462a47
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00462888
mov ebx, eax
test ebx, ebx
je 0x462b32
cmp esi, ebx
je 0x462a70
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x462a85
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x462abd
add eax, 0xffffff5f
sub eax, 2
jb 0x462ad5
dec eax
sub eax, 2
jb 0x462ae9
dec eax
sub eax, 2
jb 0x462adf
jmp 0x462af3
add eax, 0xfffffdff
sub eax, 2
jb 0x462ad5
dec eax
sub eax, 2
jb 0x462ae9
dec eax
sub eax, 2
jb 0x462adf
jmp 0x462af3
mov byte [esp + 0x120], 0
jmp 0x462afb
mov byte [esp + 0x120], 2
jmp 0x462afb
mov byte [esp + 0x120], 1
jmp 0x462afb
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004737c8
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0045e764
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x462b34
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x4732cc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4732ed
test edi, 0x40000
je 0x473307
test bl, bl
jne 0x473388
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x473388
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x47333a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x47334f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x47335e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x47336f
cmp byte [esp + 2], 0
je 0x473388
cmp byte [esp + 2], 0
je 0x473380
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x473388
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x473634
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x47365a
mov eax, esp
push eax
push 0x4735fc
call sub.user32.dll_EnumWindows
jmp 0x47366d
mov eax, esp
push eax
push 0x4735dc
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x473730
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x473784]
test si, 4
je 0x473745
or bl, 1
test si, 8
je 0x47374f
or bl, 4
test si, 1
je 0x473759
or bl, 8
test si, 2
je 0x473763
or bl, 0x10
test si, 0x10
je 0x47376d
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47377c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x473788
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4737c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4737a2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4737b1
or bl, 4
test esi, 0x20000000
je 0x4737bc
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47bbec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47bbfe
add esp, 0xfffffff0
call fcn.004041b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004275f0
mov eax, dword [0x5558d8]
mov dword [eax + 4], ebx
mov dword [eax], 0x47c000
mov eax, dword [0x5558e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x47c00c
mov eax, ebx
call fcn.0047c018
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x74], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x476f4c
push eax
push 0
push 0
mov eax, dword [0x555b0c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42deb4]
call fcn.0042fd00
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x42deb4]
call fcn.0042fd00
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x42deb4]
call fcn.0042fd00
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x42deb4]
call fcn.0042fd00
mov dword [ebx + 0x84], eax
mov eax, ebx
call fcn.0047c5ac
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c434
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c434
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c434
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c434
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47bd51
call fcn.00404210
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47c1d4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47c381
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47c362
mov dl, 1
mov eax, dword [0x41d6e8]
call fcn.0042269c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
call fcn.00405874
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47c351
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046b7fc
test al, al
je 0x47c344
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x47c390
lea eax, [ebp - 0x394]
call fcn.0040cdac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x47c344
xor eax, eax
push ebp
push 0x47c33d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x47c400
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x47c326
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405a74
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47c326
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00405a74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c344
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47c247
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00422488
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c388
lea eax, [ebp - 0x3a0]
call fcn.00405864
ret

Function at 0x47cdc0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x55b1a8]
cmp byte [eax + 0xa9], 0
jne 0x47ce32
cmp dword [0x55b1c0], 0
jne 0x47cdf2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5512cc]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x55b1c0], eax
cmp dword [0x55b1bc], 0
jne 0x47ce0d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x55b1bc], eax
cmp dword [0x55b1c4], 0
jne 0x47ce32
push esp
push 0
push 0
mov eax, dword [0x5512c8]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x55b1c4], eax
pop edx
ret
Function at 0x47d048
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x47d05f
add esp, 0xfffffff0
call fcn.004041b8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004275f0
mov eax, dword [0x5557a4]
cmp byte [eax], 0
jne 0x47d08c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x555ae0]
cmp word [eax + 2], 0
jne 0x47d0a6
mov eax, dword [0x555ae0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047f01c
mov eax, dword [0x555c38]
cmp word [eax + 2], 0
jne 0x47d0c0
mov eax, dword [0x555c38]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047f22c
mov byte [ebx + 0x31], 0
mov dl, 1
mov eax, dword [0x42deb4]
call fcn.0042fd00
mov esi, eax
mov dword [ebx + 0x38], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x47f6c0
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0xac], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x58], 0xff000018
mov dword [ebx + 0x74], 0x1f4
mov byte [ebx + 0x78], 1
xor eax, eax
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x70], 0x9c4
mov byte [ebx + 0x84], 0
mov byte [ebx + 0xa1], 1
mov byte [ebx + 0xb8], 1
mov dl, 1
mov eax, dword [0x42ead8]
call fcn.00437594
mov esi, eax
mov dword [ebx + 0x9c], esi
push 0x47d29c
mov eax, dword [0x555978]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004379d4
mov eax, dword [ebx + 0x9c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47f970
mov dl, 1
mov eax, dword [0x41d004]
call fcn.00403d38
mov dword [ebx + 0x94], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x555978]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0040cbe4
test eax, eax
je 0x47d1ce
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0040c9e4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0040cbcc
test eax, eax
je 0x47d1e6
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x88]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00405a74
push ebx
push 0x47e9ec
call fcn.00473714
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xcc], 0
mov eax, dword [0x5557a4]
cmp byte [eax], 0
jne 0x47d237
mov eax, ebx
call fcn.0047d410
mov byte [ebx + 0x55], 1
mov byte [ebx + 0x56], 1
mov byte [ebx + 0x57], 1
mov byte [ebx + 0xa2], 1
mov byte [ebx + 0xcd], 0
mov byte [ebx + 0xd8], 0
xor eax, eax
mov dword [ebx + 0xd0], eax
mov byte [ebx + 0xcf], 0
xor eax, eax
mov dword [ebx + 0xa4], eax
mov eax, ebx
call fcn.0047fb98
mov eax, ebx
call fcn.0048075c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47d294
call fcn.00404210
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d6e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x47d786
cmp dword [ebx + 0x90], 0
jne 0x47d780
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47d630
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x8c]
cmp dword [eax + 8], 0
je 0x47d780
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x47d746
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x8c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47d780
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x8c]
call fcn.0041fa64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47d755
inc dword [ebx + 0x90]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47d9a4
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x55b1a8]
cmp dword [eax + 0x170], 0
je 0x47db09
test bl, bl
jne 0x47da57
cmp dword [esi + 0x98], 0
jne 0x47da4c
mov eax, esi
call fcn.004805ac
push eax
push 0x47d8b0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x40], 0
je 0x47da1d
mov eax, dword [0x55b1a8]
cmp byte [eax + 0xcf], 0
je 0x47da1d
mov eax, dword [esi + 0xd4]
call fcn.004070c0
mov edi, eax
cmp edi, 0
jl 0x47da1d
push 0
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47da06
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47da4c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041fa64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47da2c
inc dword [esi + 0x98]
jmp 0x47db09
cmp dword [esi + 0x98], 0
jle 0x47db09
dec dword [esi + 0x98]
cmp dword [esi + 0x98], 0
jne 0x47db09
cmp dword [esi + 0x40], 0
je 0x47dab4
mov eax, dword [0x55b1a8]
cmp byte [eax + 0xcf], 0
je 0x47dab4
mov eax, dword [esi + 0xd4]
call fcn.004070c0
mov edi, eax
cmp edi, 0
jl 0x47dab4
push 5
mov eax, dword [esi + 0xd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47da9d
mov eax, dword [esi + 0x94]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47dae3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x94]
call fcn.0041fa64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47dac3
mov eax, dword [esi + 0x94]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd4]
mov ecx, 1
mov edx, dword [0x47311c]
call fcn.00407280
add esp, 4
pop edi
pop esi
pop ebx
ret