joyce8/EMBER2024-capa huggingface dataset:
Function at 0x514600
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3111
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], 0
push ecx
push str.shell32.dll
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00581310
test eax, eax
jne 0x5146b9
push eax
push str.CommandLineToArgvW
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00581290
test eax, eax
je 0x51466b
mov esi, 0x90
mov edi, str.STGetProcAddress
jmp 0x5146c3
mov eax, dword [edi + 0x10]
test eax, eax
je 0x514679
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push eax
call dword [0x5c3794]
call esi
mov dword [edi + 0x10], eax
test eax, eax
jne 0x5146aa
mov esi, 0xa5
mov edi, str.CommandLineToArgvW
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x5146c3
push eax
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00514700
mov esi, eax
jmp 0x5146e3
mov esi, 0x96
mov edi, str.CHModuleMgr::STLoadLibrary
push 0
push 0
push eax
push edi
push 0x45
push esi
push str.C:drone_srcGUIWindowsCommandLineArgs.cpp
push str.CommandLineArgs::ParseCommandLine
call fcn.00573980
add esp, 0x20
mov esi, 0xfe000009
lea ecx, [ebp - 0x10]
call fcn.005813f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x515ab0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push 0
mov ebx, ecx
push 0xffffffffffffffff
push 0xc1
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c5d8d
add esp, 4
mov edi, eax
push 0
push 0xffffffffffffffff
push 0xc1
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
inc eax
push eax
push edi
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor esi, esi
push esi
push 0xffffffffffffffff
push 0xc1
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x515b58
nop dword [eax + eax]
movzx eax, word [edi + esi*2]
cmp eax, 0x30
jb 0x515b2e
cmp eax, 0x39
jbe 0x515b41
cmp eax, 0x61
jb 0x515b38
cmp eax, 0x66
jbe 0x515b41
add eax, 0xffffffbf
cmp ax, 5
ja 0x515b67
push 0
push 0xffffffffffffffff
push 0xc1
push dword [ebx + 0x34]
inc esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, eax
jl 0x515b20
push edi
call fcn.004c59d6
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
ret
push edi
call fcn.004c59d6
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
ret
Function at 0x51bec0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3850
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x53c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x2c]
push dword [ebx + 0x70]
mov esi, dword [eax]
mov ecx, esi
call dword [0x5c3794]
lea ecx, [ebx + 0x2c]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x60], vtable.CInstanceSmartPtr_class_CMainFrame_.0
call fcn.00546620
mov edi, eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 4], 0
test edi, edi
jne 0x51bf6c
push eax
push eax
push 0xfe00000a
push str.CInstanceSmartPtr_CMainFrame_
push 0x45
push 0x40
push str.C:drone_srcGUIWindowsCustomPopupDialog.cpp
push str.CCustomPopupDialog::OnInitDialog
call fcn.00573980
add esp, 0x10
mov ecx, ebx
call fcn.0055e9d0
jmp 0x51c064
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
mov dword [edi + 0x5a4], eax
call fcn.005734f0
push 0x66fea8
mov byte [ebp - 4], 1
call fcn.00443fb0
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x51bfa6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004459d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
mov eax, dword [ebx + 0x20]
push ecx
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebx + 0x24]
call fcn.0054c1c0
mov esi, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 0x20]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + ebx + 0x24]
call fcn.0054ba70
push ecx
lea ecx, [ebp - 0x28]
push ecx
push esi
push eax
mov ecx, edi
call fcn.00545f60
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x51c014
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.00446620
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
cmp eax, 8
jb 0x51c047
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
sub esp, 0x10
mov ecx, ebx
call fcn.0055e9d0
lea ecx, [ebp - 0x58]
mov esi, eax
call fcn.005734b0
mov ecx, edi
call fcn.005465d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x51c250
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push 0
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp + 8]
test esi, esi
je 0x51c446
push ebx
push edi
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004d40c0
mov edi, eax
lea eax, [edi + 1]
push eax
mov dword [ebp - 0x1c], eax
call fcn.004c5d8d
mov dword [ebp - 0x18], eax
lea ecx, [edi + esi]
mov edi, dword [ebp - 0x18]
xor edx, edx
add esp, 8
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], ecx
test edi, edi
mov dword [ebp - 0xc], eax
sete dl
mov dword [ebp - 8], edx
cmp esi, ecx
jae 0x51c3c9
nop dword [eax + eax]
cmp byte [esi], 0
je 0x51c3c3
mov ebx, dword [ebp - 0x14]
xor eax, eax
xor edi, edi
mov dword [ebp - 4], eax
xor edx, edx
cmp esi, ebx
jae 0x51c35a
movsx ecx, byte [esi]
lea eax, [ecx - 0x41]
cmp eax, 0x19
ja 0x51c2f9
add ecx, 0xffffffbf
jmp 0x51c311
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x51c306
add ecx, 0xffffffb9
jmp 0x51c311
lea eax, [ecx - 0x30]
cmp eax, 9
ja 0x51c319
add ecx, 4
inc esi
cmp ecx, 0xffffffff
jne 0x51c33f
jmp 0x51c350
cmp ecx, 0x2b
jne 0x51c334
mov eax, dword [ebp - 4]
mov ecx, 0x3e
shl edi, 6
inc esi
or edi, ecx
add eax, 6
mov dword [ebp - 4], eax
jmp 0x51c354
cmp ecx, 0x2f
jne 0x51c34f
mov ecx, 0x3f
inc esi
mov eax, dword [ebp - 4]
shl edi, 6
or edi, ecx
add eax, 6
mov dword [ebp - 4], eax
jmp 0x51c354
inc esi
mov eax, dword [ebp - 4]
dec edx
inc edx
cmp edx, 4
jl 0x51c2e5
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
test edx, edx
jne 0x51c383
mov eax, eax
test eax, eax
jns 0x51c36d
add eax, 7
sar eax, 3
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, 1
cmp ecx, dword [ebp - 0x1c]
cmovg edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, 0x18
sub ecx, eax
cdq
and edx, 7
shl edi, cl
lea ecx, [edx + eax]
mov edx, dword [ebp - 8]
sar ecx, 3
test ecx, ecx
jle 0x51c3ba
add dword [ebp - 0xc], ecx
test edx, edx
jne 0x51c3af
mov eax, edi
shr eax, 0x10
mov byte [ebx], al
inc ebx
shl edi, 8
sub ecx, 1
jne 0x51c3a3
mov dword [ebp - 0x10], ebx
cmp esi, dword [ebp - 0x14]
jb 0x51c2d0
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
test edx, edx
jne 0x51c432
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
push 4
push edx
push edx
push edx
push edx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push eax
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x51c432
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov ebx, dword [ebp - 0x20]
inc eax
mov edx, 2
mov dword [ebx + 4], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c5d8d
mov ecx, dword [ebx + 4]
add esp, 4
add ecx, ecx
mov dword [ebx], eax
push ecx
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebx]
xor edx, edx
mov word [ecx + eax*2], dx
push edi
call fcn.004c59d6
add esp, 4
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51c450
Capabilities:
Open clipboard

Disassembly:
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x51c485
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e48ac
push 0x57
push 0x17e
push str.C:drone_srcGUIWindowsEditCtrl.cpp
push str.CEditCtrl::clearClipboard
call fcn.00573980
add esp, 0x20
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x51c4b6
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e4910
push 0x57
push 0x187
push str.C:drone_srcGUIWindowsEditCtrl.cpp
push str.CEditCtrl::clearClipboard
call fcn.00573980
add esp, 0x20
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x51c4e7
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5e48e4
push 0x57
push 0x18c
push str.C:drone_srcGUIWindowsEditCtrl.cpp
push str.CEditCtrl::clearClipboard
call fcn.00573980
add esp, 0x20
ret

Function at 0x51c820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
mov eax, dword [edi - 0x20]
test eax, eax
je case.0x51c86b.28
mov esi, dword [ebp + 8]
cmp dword [esi], eax
je 0x51c840
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi], eax
jne case.0x51c86b.28
cmp dword [esi + 4], 0x100
jne case.0x51c86b.28
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae case.0x51c86b.28
movzx eax, word [esi + 8]
add eax, 0xffffffe5
cmp eax, 0x48
ja case.0x51c86b.28
movzx eax, byte [eax + 0x51c8c8]
jmp dword [eax*4 + 0x51c8b8]
lea ecx, [edi - 0x24]
call fcn.0051c9d0
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
push 0
lea ecx, [edi - 0x24]
call fcn.0051c960
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
lea ecx, [edi - 0x24]
call fcn.0051c990
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x51e130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je case.0x51e1be.28
mov edi, dword [ebp + 8]
cmp dword [edi], eax
je 0x51e15b
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [edi], eax
jne case.0x51e1be.28
cmp dword [edi + 4], 0x100
jne case.0x51e1be.28
mov eax, dword [edi + 8]
cmp eax, 0x22
je 0x51e203
cmp eax, 0x21
je 0x51e203
cmp byte [esi + 0x2c], 0
movzx edi, ax
jne 0x51e19a
mov eax, edi
sub eax, 0x26
je 0x51e251
sub eax, 2
je 0x51e251
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je case.0x51e1be.28
lea eax, [edi - 0x1b]
cmp eax, 0x48
ja case.0x51e1be.28
movzx eax, byte [eax + 0x51e278]
jmp dword [eax*4 + 0x51e268]
mov ecx, esi
call fcn.0051f060
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, esi
call fcn.0051e420
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0051efd0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0x105d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
cmp edi, 0xffffffff
je 0x51e24d
push 1
push edi
mov ecx, esi
call fcn.0051e340
mov ecx, esi
test eax, eax
jne 0x51e245
push 1
push edi
call fcn.0051e2d0
mov byte [esi + 0x74], 1
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0
push edi
call fcn.0051e2d0
mov byte [esi + 0x74], 1
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x51f3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3bdf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6340c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 4], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], eax
mov dword [ebp - 4], 0
lea edi, [ebx + 0x24]
mov dword [ebx], vtable.CGroupListViewCtrl.0
push 0x2c
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00446660
mov esi, eax
lea edx, [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x10], esi
mov ecx, esi
call fcn.00446a40
lea ecx, [esi + 4]
call fcn.00446a40
lea ecx, [esi + 8]
call fcn.00446a40
mov word [esi + 0xc], 0x101
mov eax, ebx
mov dword [edi], esi
mov word [ebx + 0x2c], 1
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0xf
mov byte [ebx + 0x44], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0xf
mov byte [ebx + 0x5c], 0
mov byte [ebx + 0x74], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x520a30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
mov esi, ecx
call fcn.004c76f0
push 0x10
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004c76f0
add esp, 0x18
mov dword [ebp - 0x58], 0x44
cmp dword [esi + 0x14], 8
jb 0x520a66
mov esi, dword [esi]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x520a9a
push 0x3e8
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x520aa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x521870
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ecx, ecx
mov edx, 2
lea ebx, [eax + 1]
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c5d8d
add esp, 4
mov edi, eax
push ebx
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5218b1
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 4]
push edi
call fcn.004459d0
lea ecx, [ebx + ebx]
mov eax, edi
test ecx, ecx
je 0x5218de
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x5218d3
push edi
call fcn.004c59d6
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5229b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push 0
mov esi, ecx
xorps xmm0, xmm0
push 0
push 0x31
movups xmmword [ebp - 0x18], xmm0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov bl, byte [ebp + 8]
mov eax, dword [ebp - 0xc]
test bl, bl
je 0x5229f6
add eax, 0x39
jmp 0x5229f9
sub eax, 0x39
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push 0
mov dword [ebp - 0xc], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x522a45
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
test bl, bl
je 0x522a57
add edx, 0x39
add eax, 0x39
jmp 0x522a5d
sub edx, 0x39
sub eax, 0x39
mov ecx, dword [ebp - 0x18]
push 1
mov dword [ebp - 0xc], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 0x14], edx
push eax
push edx
push ecx
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x522aa7
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
test bl, bl
je 0x522ab9
add edx, 0x39
add eax, 0x39
jmp 0x522abf
sub edx, 0x39
sub eax, 0x39
mov ecx, dword [ebp - 0x18]
push 1
mov dword [ebp - 0xc], eax
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 0x14], edx
push eax
push edx
push ecx
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0x40]
test bl, bl
je 0x522b13
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
jmp 0x522b3f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.004c59c5
mov esp, ebp
pop ebp
ret 4
Function at 0x5241f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a43bd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x81], 0
je 0x52429e
push 0
push dword [esi + 0x1f4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x78], 1
mov eax, dword [esi + 4]
push 0x520
push eax
jne 0x524271
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x524302
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x524302
lea ecx, [ebp - 0x28]
call fcn.005734f0
push 0
mov dword [ebp - 4], 0
push dword [esi + 0x1d4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x520
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x1f4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6734a8
lea ecx, [ebp - 0x28]
call fcn.00443fb0
push eax
push dword [esi + 0x1f4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x28]
call fcn.005734b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
Function at 0x524360
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a43f1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x28]
call fcn.005734f0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x64]
push 1
call fcn.00532ad0
cmp eax, 4
ja case.0x5243ad.15
jmp dword [eax*4 + 0x5245bc]
push 5
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0x7d], al
setne al
push eax
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x671690
lea ecx, [ebp - 0x28]
mov dword [esi + 0x270], 0x8021
call fcn.00443fb0
push eax
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esi + 0x7f], 1
jmp case.0x5243ad.15
push 5
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0x7d], al
setne al
push eax
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x672e18
jmp 0x524472
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x66fe48
jmp 0x524472
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x66fe60
lea ecx, [ebp - 0x28]
mov dword [esi + 0x270], 0x8022
call fcn.00443fb0
push eax
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esi + 0x7f], 0
mov ecx, dword [esi + 0x64]
push 2
call fcn.00532ad0
cmp eax, 4
ja case.0x5244a8.3
jmp dword [eax*4 + 0x5245d0]
push 5
mov ecx, esi
call fcn.005241b0
push 5
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0x7e], al
setne al
push eax
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x671690
lea ecx, [ebp - 0x28]
mov dword [esi + 0x2b4], 0x8025
call fcn.00443fb0
push eax
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [esi + 0x80], 1
jmp case.0x5244a8.3
push 5
mov ecx, esi
call fcn.005241b0
push 5
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp byte [esi + 0x7e], al
setne al
push eax
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x672e18
lea ecx, [ebp - 0x28]
mov dword [esi + 0x2b4], 0x8026
call fcn.00443fb0
push eax
push dword [esi + 0x284]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x524592
push 5
mov ecx, esi
call fcn.005241b0
push 0
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x28c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x66fe30
jmp 0x52453c
push 0
mov ecx, esi
call fcn.005241b0
mov byte [esi + 0x80], 0
lea ecx, [ebp - 0x28]
call fcn.005734b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret