joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52c3ac
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x52c401
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c408
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x52c478
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x52c4ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052bfb8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.004dc7e4
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x52c4d7
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c4f4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x52c4fc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x52c571
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0052bfb8
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x52c55b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c578
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x5592ec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407578
xor eax, eax
push ebp
push 0x55942b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x5593fe
xor edx, edx
push ebp
push 0x5593f7
push dword fs:[edx]
mov dword fs:[edx], esp
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x559339
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 - 8], eax
xor edx, edx
push ebp
push 0x5593cc
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x5593bb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
test eax, eax
je 0x55937e
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.004082fc
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00404f1c
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 0xd
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5593c2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x6877b4]
mov dl, 1
mov eax, dword [0x4174e0]
call fcn.004239cc
call fcn.00406b5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559432
lea eax, [ebp - 4]
call fcn.00407494
ret

Function at 0x580c58
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.00580d08
test eax, eax
je 0x580c93
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.00580d08
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040761c
jmp 0x580ca1
mov ecx, esi
mov edx, 0x580cc0
mov eax, ebx
call fcn.00580be0
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.00407874
add esp, 0x200
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00407494
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x596686
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x59667f
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004083b8
jmp 0x596686
mov eax, esi
call fcn.00407494
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x59bb24
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 0x59bc83
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x67753c], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x4cd5c8]
call fcn.004ce630
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x59bc59
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004ce6dc
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004083b8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x59bc9c
call fcn.00408568
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004ce874
test al, al
je 0x59bc43
lea ecx, [ebp - 4]
mov edx, 0x59bd10
mov eax, dword [ebp - 0xc]
call fcn.004cec80
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00425b58
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x59bc43
xor edx, edx
push ebp
push 0x59bc3c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x59bd28
mov eax, dword [ebp - 8]
push eax
call fcn.0040e648
test eax, eax
je 0x59bc25
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x59bc25
call fcn.0059bab0
test eax, eax
je 0x59bc15
mov eax, dword [ebx + 0x50]
jmp 0x59bc18
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x67753c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59bc43
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59bc60
mov eax, dword [ebp - 0xc]
call fcn.004058a8
ret

Function at 0x59bd8c
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 0x59bdd3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59bdb6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x59bdc7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x59bdd3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x5a6514
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5a653b
test edi, 0x40000
je 0x5a6555
test bl, bl
jne 0x5a65e4
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5a65e4
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 0x5a6588
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5a65a4
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x5a65ba
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5a65cb
cmp byte [esp + 2], 0
je 0x5a65e4
cmp byte [esp + 2], 0
je 0x5a65dc
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5a65e4
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5a6894
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 0x5a68ba
mov eax, esp
push eax
push 0x5a685c
call sub.user32.dll_EnumWindows
jmp 0x5a68cd
mov eax, esp
push eax
push 0x5a683c
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 0x5a6990
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5a69e0]
test bl, 4
je 0x5a69a4
or si, 1
test bl, 8
je 0x5a69ad
or si, 4
test bl, 1
je 0x5a69b6
or si, 8
test bl, 2
je 0x5a69bf
or si, 0x10
test bl, 0x10
je 0x5a69c8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a69d8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5a69e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5a6a20]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a69ff
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a6a0f
or bx, 4
test esi, 0x20000000
je 0x5a6a1b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5af214
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5af226
add esp, 0xfffffff0
call fcn.00405e18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a4ed0
mov eax, dword [0x6878b8]
mov dword [eax + 4], ebx
mov dword [eax], 0x5af6d0
mov eax, dword [0x6878c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x5af6dc
mov eax, ebx
call fcn.005af6e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5aa4b0
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005afc40
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5afaac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5afaac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5afaac
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5afaac
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5afaac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5af3a3
call fcn.00405e70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5af84c
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 0x5af9f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5af9d8
mov dl, 1
mov eax, dword [0x477190]
call fcn.004994b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00407494
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5af9c7
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.00511a30
test al, al
je 0x5af9ba
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, 0x5afa08
lea eax, [ebp - 0x394]
call fcn.0041de18
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5af9ba
xor eax, eax
push ebp
push 0x5af9b3
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 0x5afa78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5af99c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004083b8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x5af99c
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004083b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5af9ba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5af8bd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004993ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5af9fe
lea eax, [ebp - 0x3a0]
call fcn.00407494
ret

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

Disassembly:
push ecx
mov eax, dword [0x68d3b0]
cmp byte [eax + 0xb9], 0
jne 0x5b05da
cmp dword [0x68d3d0], 0
jne 0x5b059a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x677650]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x68d3d0], eax
cmp dword [0x68d3cc], 0
jne 0x5b05b5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x68d3cc], eax
cmp dword [0x68d3d4], 0
jne 0x5b05da
push esp
push 0
push 0
mov eax, dword [0x67764c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x68d3d4], eax
pop edx
ret
Function at 0x5b0ba0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5b0bb7
add esp, 0xfffffff0
call fcn.00405e18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004a4ed0
mov eax, dword [0x6876ec]
cmp byte [eax], 0
jne 0x5b0be4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x18c], al
mov eax, dword [0x687b4c]
cmp word [eax + 2], 0
jne 0x5b0bfe
mov eax, dword [0x687b4c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b2e74
mov eax, dword [0x687cd8]
cmp word [eax + 2], 0
jne 0x5b0c18
mov eax, dword [0x687cd8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005b3078
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4d1d84]
call fcn.004d8020
mov esi, eax
mov dword [ebx + 0x4c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5b34f4
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0xbc], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
xor eax, eax
mov dword [ebx + 0x90], eax
mov dword [ebx + 0x68], 0xff000018
mov dword [ebx + 0x84], 0x1f4
mov byte [ebx + 0x88], 1
xor eax, eax
mov dword [ebx + 0x8c], eax
mov dword [ebx + 0x80], 0x9c4
mov byte [ebx + 0x94], 0
mov byte [ebx + 0xb1], 1
mov byte [ebx + 0xc8], 1
mov dl, 1
mov eax, dword [0x4d691c]
call fcn.004e1514
mov esi, eax
mov dword [ebx + 0xac], esi
push 0x5b0e00
mov eax, dword [0x687990]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004e1910
mov eax, dword [ebx + 0xac]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5b37b4
mov dl, 1
mov eax, dword [0x4739f4]
call fcn.00405878
mov dword [ebx + 0xa4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x687990]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041dbb0
test eax, eax
je 0x5b0d32
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041d9b8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041db94
test eax, eax
je 0x5b0d4a
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 + 0x98]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004083b8
push ebx
push 0x5b2850
call fcn.005a6974
mov dword [ebx + 0x188], eax
mov byte [ebx + 0xdc], 0
mov eax, dword [0x6876ec]
cmp byte [eax], 0
jne 0x5b0d9b
mov eax, ebx
call fcn.005b0fc8
mov byte [ebx + 0x65], 1
mov byte [ebx + 0x66], 1
mov byte [ebx + 0x67], 1
mov byte [ebx + 0xb2], 1
mov byte [ebx + 0xdd], 0
mov byte [ebx + 0xe8], 0
xor eax, eax
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0xdf], 0
xor eax, eax
mov dword [ebx + 0xb4], eax
mov eax, ebx
call fcn.005b39fc
mov eax, ebx
call fcn.005b464c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5b0df8
call fcn.00405e70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b1300
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x180]
test eax, eax
je 0x5b13ac
cmp dword [ebx + 0xa0], 0
jne 0x5b13a6
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5b1238
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x9c]
cmp dword [eax + 8], 0
je 0x5b13a6
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5b136c
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b13a6
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x9c]
call fcn.00495644
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5b137b
inc dword [ebx + 0xa0]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x68d3b0]
cmp dword [eax + 0x180], 0
je 0x5b1731
test bl, bl
jne 0x5b167f
cmp dword [esi + 0xa8], 0
jne 0x5b1674
mov eax, esi
call fcn.005b449c
push eax
push 0x5b14d8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x50], 0
je 0x5b1645
mov eax, dword [0x68d3b0]
cmp byte [eax + 0xdf], 0
je 0x5b1645
mov eax, dword [esi + 0xe4]
call fcn.0040974c
mov edi, eax
cmp edi, 0
jl 0x5b1645
push 0
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b162e
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b1674
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00495644
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b1654
inc dword [esi + 0xa8]
jmp 0x5b1731
cmp dword [esi + 0xa8], 0
jle 0x5b1731
dec dword [esi + 0xa8]
cmp dword [esi + 0xa8], 0
jne 0x5b1731
cmp dword [esi + 0x50], 0
je 0x5b16dc
mov eax, dword [0x68d3b0]
cmp byte [eax + 0xdf], 0
je 0x5b16dc
mov eax, dword [esi + 0xe4]
call fcn.0040974c
mov edi, eax
cmp edi, 0
jl 0x5b16dc
push 5
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5b16c5
mov eax, dword [esi + 0xa4]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5b170b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xa4]
call fcn.00495644
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5b16eb
mov eax, dword [esi + 0xa4]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xe4]
mov ecx, 1
mov edx, dword [0x5a3218]
call fcn.00409960
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5b2350
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb8], 0
je 0x5b23ad
cmp byte [ebx + 0xdf], 0
jne 0x5b23ad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x180]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040761c
mov eax, dword [esi]
test eax, eax
je 0x5b239a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5b23ba
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00407874
jmp 0x5b23ba
mov eax, esi
mov edx, dword [ebx + 0x98]
call fcn.00407874
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5b3be8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x90]
test esi, esi
je 0x5b3c59
mov eax, esi
call fcn.0050b878
test al, al
je 0x5b3c59
mov eax, dword [ebx + 0x90]
call fcn.0050b4c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5b3c59
mov eax, dword [ebx + 0x90]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5b3c4a
push 0
mov eax, dword [ebx + 0x90]
call fcn.0050b4c4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x90]
call fcn.00502580
jmp 0x5b3c59
mov cl, 1
mov edx, dword [ebx + 0x80]
mov eax, ebx
call fcn.005b3a1c
pop esi
pop ebx
ret
Function at 0x5d941c
Capabilities:
Authenticate hmac
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
xor eax, eax
xor edx, edx
xor ecx, ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp + 0x10]
xor eax, eax
xor edx, edx
mov ecx, dword [ecx]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edx
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
test byte [ebp - 0x3b], 8
setne al
and eax, 1
mov dword [ebp - 0x74], eax
mov eax, 0xfffffffe
test byte [ebp - 0x3b], 2
setne dl
and edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
xor ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
test byte [ebp - 0x3c], 1
je 0x5d94b9
mov edx, pe_nt_image_headers32
jmp 0x5d94bb
xor edx, edx
mov dword [ebp - 0x30], edx