joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47c654
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.0040acb4
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.0047668c
test ebx, ebx
jne 0x47c6a7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0047c4d0
mov ebx, eax
test ebx, ebx
je 0x47c79d
cmp esi, ebx
je 0x47c6d0
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 0x47c6e5
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 0x47c71d
add eax, 0xffffff5f
sub eax, 2
jb 0x47c735
dec eax
sub eax, 2
jb 0x47c749
dec eax
sub eax, 2
jb 0x47c73f
jmp 0x47c753
add eax, 0xfffffdff
sub eax, 2
jb 0x47c735
dec eax
sub eax, 2
jb 0x47c749
dec eax
sub eax, 2
jb 0x47c73f
jmp 0x47c753
mov byte [esp + 0x120], 0
jmp 0x47c75b
mov byte [esp + 0x120], 2
jmp 0x47c75b
mov byte [esp + 0x120], 1
jmp 0x47c75b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0049a634
mov esi, eax
call fcn.00472ec8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0047804c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x47c79f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x49a13c
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 0x49a15d
test edi, 0x40000
je 0x49a177
test bl, bl
jne 0x49a1f8
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x49a1f8
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 0x49a1aa
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x49a1bf
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x49a1ce
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x49a1df
cmp byte [esp + 2], 0
je 0x49a1f8
cmp byte [esp + 2], 0
je 0x49a1f0
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x49a1f8
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x49a4a4
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 0x49a4ca
mov eax, esp
push eax
push 0x49a46c
call sub.user32.dll_EnumWindows
jmp 0x49a4dd
mov eax, esp
push eax
push 0x49a44c
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 0x49a5a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x49a5f0]
test bl, 4
je 0x49a5b4
or si, 1
test bl, 8
je 0x49a5bd
or si, 4
test bl, 1
je 0x49a5c6
or si, 8
test bl, 2
je 0x49a5cf
or si, 0x10
test bl, 0x10
je 0x49a5d8
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a5e8
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x49a5f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x49a630]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a60f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49a61f
or bx, 4
test esi, 0x20000000
je 0x49a62b
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4a31f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4a3206
add esp, 0xfffffff0
call fcn.004059a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ba38
mov eax, dword [0x4b3fa0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a3650
mov eax, dword [0x4b3fac]
mov dword [eax + 4], ebx
mov dword [eax], 0x4a365c
mov eax, ebx
call fcn.004a3668
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x49df9c
push eax
push 0
push 0
mov eax, dword [0x4b4138]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004a3bc0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3a30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3a30
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3a30
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3a30
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4a3a30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a3381
call fcn.004059f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a37d0
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 0x4a397d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a395e
mov dl, 1
mov eax, dword [0x427680]
call fcn.004334b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.004070d8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a394d
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.00485ef8
test al, al
je 0x4a3940
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, 0x4a398c
lea eax, [ebp - 0x394]
call fcn.004125c0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a3940
xor eax, eax
push ebp
push 0x4a3939
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 0x4a39fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a3922
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004072c0
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4a3922
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004072c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3940
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a3843
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.004333ec
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3984
lea eax, [ebp - 0x3a0]
call fcn.004070c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4ba280]
cmp byte [eax + 0xad], 0
jne 0x4a454e
cmp dword [0x4ba298], 0
jne 0x4a450e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4b3e78]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4ba298], eax
cmp dword [0x4ba294], 0
jne 0x4a4529
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4ba294], eax
cmp dword [0x4ba29c], 0
jne 0x4a454e
push esp
push 0
push 0
mov eax, dword [0x4b3e74]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4ba29c], eax
pop edx
ret
Function at 0x4a4874
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a488b
add esp, 0xfffffff0
call fcn.004059a0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043ba38
mov eax, dword [0x4b3edc]
cmp byte [eax], 0
jne 0x4a48b8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b4118]
cmp word [eax + 2], 0
jne 0x4a48d2
mov eax, dword [0x4b4118]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a696c
mov eax, dword [0x4b41ec]
cmp word [eax + 2], 0
jne 0x4a48ec
mov eax, dword [0x4b41ec]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a6b7c
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x446270]
call fcn.0044b278
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4a712c
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x449908]
call fcn.00452070
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a4acc
mov eax, dword [0x4b4018]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00452504
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a7414
mov dl, 1
mov eax, dword [0x4250b8]
call fcn.00405454
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b4018]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004123f8
test eax, eax
je 0x4a49fd
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004121dc
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004123dc
test eax, eax
je 0x4a4a15
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 + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004072c0
push ebx
push 0x4a633c
call fcn.0049a584
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4b3edc]
cmp byte [eax], 0
jne 0x4a4a66
mov eax, ebx
call fcn.004a4c40
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004a7640
mov eax, ebx
call fcn.004a8274
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a4ac3
call fcn.004059f8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4f14
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a4fb6
cmp dword [ebx + 0x94], 0
jne 0x4a4fb0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a4e60
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a4fb0
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 0x4a4f76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a4fb0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042fe8c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a4f85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4ba280]
cmp dword [eax + 0x170], 0
je 0x4a5339
test bl, bl
jne 0x4a5287
cmp dword [esi + 0x9c], 0
jne 0x4a527c
mov eax, esi
call fcn.004a80c4
push eax
push 0x4a50e0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a524d
mov eax, dword [0x4ba280]
cmp byte [eax + 0xd3], 0
je 0x4a524d
mov eax, dword [esi + 0xd8]
call fcn.00408784
mov edi, eax
cmp edi, 0
jl 0x4a524d
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a5236
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a527c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042fe8c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a525c
inc dword [esi + 0x9c]
jmp 0x4a5339
cmp dword [esi + 0x9c], 0
jle 0x4a5339
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a5339
cmp dword [esi + 0x44], 0
je 0x4a52e4
mov eax, dword [0x4ba280]
cmp byte [eax + 0xd3], 0
je 0x4a52e4
mov eax, dword [esi + 0xd8]
call fcn.00408784
mov edi, eax
cmp edi, 0
jl 0x4a52e4
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a52cd
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a5313
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042fe8c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a52f3
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49845c]
call fcn.00408944
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4a5f88
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a5ff3
cmp byte [ebx + 0xd3], 0
jne 0x4a5ff3
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407214
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a5fe0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a6000
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070d8
jmp 0x4a6000
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004070d8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4a7828
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a7896
mov eax, esi
call fcn.0047fe54
test al, al
je 0x4a7896
mov eax, dword [ebx + 0x84]
call fcn.0047faa8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a7896
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4a788a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047faa8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00476a7c
jmp 0x4a7896
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004a7660
pop esi
pop ebx
ret
Function at 0x4aaa30
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x4aac69
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4aac78
push 0
push 0
call sub.user32.dll_FindWindowExW
mov ebx, eax
test ebx, ebx
je 0x4aaac1
push 0x1fe
lea eax, [ebp - 0x206]
push eax
push ebx
call sub.user32.dll_GetWindowTextW
lea edi, [ebp - 0x206]
lea edx, [ebp - 4]
mov eax, edi
call fcn.004124e0
mov edx, dword [ebp - 4]
mov eax, 0x4aaca0
call fcn.004177e8
mov esi, eax
test esi, esi
je 0x4aaaa2
mov dword [0x4ba2bc], ebx
jmp 0x4aaac1
push 0
push 0x4aac78
push ebx
push 0
call sub.user32.dll_FindWindowExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4aaac1
mov ebx, dword [ebp - 8]
test ebx, ebx
jne 0x4aaa65
push 0
push 0x4aaca8
push 0
mov eax, dword [0x4ba2bc]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2c0], eax
push 0
push 0x4aacd8
push 0
mov eax, dword [0x4ba2c0]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2c4], eax
push 0
push 0x4aacd8
push 0
mov eax, dword [0x4ba2c4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2c8], eax
push 0
push 0x4aacd8
push 0
mov eax, dword [0x4ba2c8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2cc], eax
push 0
push 0x4aacfc
push 0
mov eax, dword [0x4ba2cc]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2d0], eax
push 0
push 0x4aad24
push 0
mov eax, dword [0x4ba2d0]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2d4], eax
push 0x4aad34
push 0x4aad40
push 0
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2d8], eax
push 0
push 0x4aad68
push 0
mov eax, dword [0x4ba2d8]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2dc], eax
mov eax, dword [0x4ba2dc]
mov dword [0x4ba2ec], eax
push 0x4aad34
push 0x4aad74
push 0
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e0], eax
push 0
push 0x4aad68
push 0
mov eax, dword [0x4ba2e0]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e4], eax
mov eax, dword [0x4ba2e4]
mov dword [0x4ba2f0], eax
push 0
push 0x4aad90
mov eax, dword [0x4ba2e0]
push eax
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e8], eax
push 0
push 0x4aad90
mov eax, dword [0x4ba2e8]
push eax
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e8], eax
push 0
push 0x4aad90
mov eax, dword [0x4ba2e8]
push eax
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e8], eax
push 0
push 0x4aad90
mov eax, dword [0x4ba2e8]
push eax
mov eax, dword [0x4ba2d4]
push eax
call sub.user32.dll_FindWindowExW
mov dword [0x4ba2e8], eax
mov eax, dword [0x4ba2e8]
mov dword [0x4ba2f4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aac70
lea eax, [ebp - 4]
call fcn.004070c8
ret
Function at 0x401029
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.0041db9e
xor ebp, ebp
pop ecx
test eax, eax
je 0x401076
push str.Windows_original_main_args:_n
call fcn.00401108
pop ecx
mov esi, ebp
call fcn.0040e5ef
cmp dword [eax], ebp
jle 0x401076
call fcn.0040e5f5
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401108
add esp, 0xc
inc esi
call fcn.0040e5ef
cmp esi, dword [eax]
jl 0x401054
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00401213
call fcn.0040127b
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.0040112b
pop ecx
pop ecx
mov esi, eax
call fcn.00401281
mov edx, ebp
test ebx, ebx
jle 0x4010b4
mov edi, esi
mov ecx, dword [eax + edx*8]
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x4010a7
mov edi, dword [0x433004]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010c3
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010cf
mov edx, dword [esi]
mov ecx, dword [0x433a90]
test ecx, ecx
push ebp
push ebp
push 1
setne al
movzx eax, al
push eax
push edi
push edx
push 0x42627c
push 0x426280
push dword [0x433a94]
push 1
push ecx
push 1
push esi
push ebx
call fcn.00401d61
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x404329
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.0041db9e
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x40449c
jg 0x404358
test esi, esi
jb 0x40449c
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.0041757a
add esp, 0xc
test eax, eax
js 0x40449c
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x4043ba
push edi
call fcn.004048ab
pop ecx
test eax, eax
je 0x4043b1
push ebx
push esi
push edi
push ebp
call fcn.0041db9e
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x4044a1
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.0041db9e
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x40449c
jg 0x4043e3
cmp ebp, ebx
jb 0x40449c
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043f8
jl 0x4043f2
cmp ebp, ecx
jae 0x4043f8
mov esi, ebp
mov ecx, eax
jmp 0x4043fc
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.0041db9e
add esp, 0x10
cmp edx, ebx
jl 0x40449c
jg 0x404422
cmp eax, ebx
jb 0x40449c
push 0x10015
call fcn.0041db9e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40449c
push esi
push ebx
push dword [esp + 0x24]
call fcn.0041757a
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404495
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x404491
cmp byte [esi], 0x50
jne 0x404490
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x404490
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x4044a8
dec esi
cmp esi, ebx
jae 0x404451
push ebx
call fcn.0041db9e
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.00409ff0
push ebx
call fcn.0041db9e
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.004048ab
add esp, 0x14
test eax, eax
je 0x4044e8
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.0041db9e
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x4044a1