joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4188d1
Capabilities:
Set environment variable

Disassembly:
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
test esi, esi
je 0x418abc
push 0x3d
push esi
call fcn.0041175e
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x418abc
cmp ebp, esi
je 0x418abc
cmp byte [ebp + 1], 1
sbb eax, eax
mov ecx, dword [0x441650]
neg eax
mov dword [esp + 0x10], eax
cmp dword [0x441654], ecx
jne 0x418929
push ecx
call fcn.00418b26
add esp, 4
mov dword [0x441650], eax
cmp dword [0x441650], 0
jne 0x4189b8
cmp dword [esp + 0x1c], 0
je 0x418954
cmp dword [0x441658], 0
je 0x418954
call fcn.004182e6
test eax, eax
je 0x4189b8
jmp 0x418abc
cmp dword [esp + 0x10], 0
je 0x418962
xor eax, eax
jmp 0x418ac1
cmp dword [0x441650], 0
jne 0x41898d
push 4
call fcn.00411ced
add esp, 4
mov dword [0x441650], eax
test eax, eax
je 0x418abc
mov eax, dword [0x441650]
mov dword [eax], 0
cmp dword [0x441658], 0
jne 0x4189b8
push 4
call fcn.00411ced
add esp, 4
mov dword [0x441658], eax
test eax, eax
je 0x418abc
mov eax, dword [0x441658]
mov dword [eax], 0
mov edi, dword [0x441650]
sub ebp, esi
push ebp
push esi
call fcn.00418ac9
add esp, 8
mov ebx, eax
test ebx, ebx
jl 0x418a0e
cmp dword [edi], 0
je 0x418a0e
cmp dword [esp + 0x10], 0
je 0x418a09
lea eax, [edi + ebx*4]
cmp dword [eax], 0
je 0x4189f2
mov ecx, dword [eax + 4]
inc ebx
mov dword [eax], ecx
add eax, 4
cmp dword [eax], 0
jne 0x4189e4
lea eax, [ebx*4]
push eax
push edi
call fcn.00411e60
add esp, 8
test eax, eax
je 0x418a49
jmp 0x418a44
mov dword [edi + ebx*4], esi
jmp 0x418a49
cmp dword [esp + 0x10], 0
jne 0x418ab8
test ebx, ebx
jge 0x418a1f
neg ebx
lea eax, [ebx*4 + 8]
push eax
push edi
call fcn.00411e60
add esp, 8
test eax, eax
je 0x418abc
lea ecx, [eax + ebx*4]
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [0x441650], eax
cmp dword [esp + 0x1c], 0
je 0x418ab4
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.00411ced
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x418ab4
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x10], 1
sbb eax, eax
lea ecx, [ebp + ebx]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov byte [ecx], 0
lea ecx, [ecx + 1]
and eax, ecx
push eax
push ebx
call ebp
push ebx
call fcn.004110e4
add esp, 4
xor eax, eax
jmp 0x418ac1
xor eax, eax
jmp 0x418ac1
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x41b1ef
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, esi
push dword [esi + 0x34]
call fcn.0041d8e7
test eax, eax
jne 0x41b204
xor eax, eax
jmp 0x41b25c
push 0
mov ecx, esi
call fcn.0041d62c
test eax, eax
jne 0x41b220
push 3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
jmp 0x41b25c
push 0xe145
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b83a
mov esi, eax
test esi, esi
je 0x41b257
call fcn.0041b18b
cmp eax, 1
mov eax, 0
adc eax, 0xffffffff
and eax, 5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
ret

Function at 0x41c093
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [ecx + 0x1c]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
mov edi, dword [esp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.0041e571
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041e550
pop edi
pop esi
ret 4

Function at 0x41d86b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, dword [ecx + 0x34]
test edi, edi
jne 0x41d882
cmp dword [ecx + 0x38], 0
jne 0x41d882
mov eax, 1
jmp 0x41d8e3
mov esi, dword [ecx + 0x38]
test edi, edi
je 0x41d8b2
mov esi, dword [0x4344a0]
push 5
push edi
push esi
call fcn.00423956
test eax, eax
jne 0x41d8a0
xor eax, eax
jmp 0x41d8e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41d8b2
xor eax, eax
jmp 0x41d8e3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test byte [eax], 1
jne 0x41d8c5
cmp word [eax + 0xa], 0
je 0x41d8d1
cmp word [eax + 0xc], 0
mov ebx, 0
jne 0x41d8d6
mov ebx, 1
test edi, edi
je 0x41d8e1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x41d8e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 4
mov eax, dword [esp + 8]
push ebx
push esi
test eax, eax
push edi
mov esi, 1
push ebp
mov edi, ecx
je 0x41d9a3
mov ebx, dword [0x4344a0]
push 0xf0
push eax
push ebx
call fcn.00423956
test eax, eax
je 0x41d9a3
push eax
mov ebp, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
call ebp
mov ebx, eax
test ebx, ebx
je 0x41d9a3
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov cx, word [eax]
test cx, cx
je 0x41d99c
add dword [esp + 0x10], 2
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
mov dx, word [eax]
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
cmp dx, 0x401
mov ebp, dword [eax]
jne 0x41d96b
mov dx, 0x180
jmp 0x41d976
cmp dx, 0x403
jne 0x41d976
mov dx, 0x143
push dword [esp + 0x10]
push 0
movzx edx, dx
movzx ecx, cx
push edx
push ecx
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 0xffffffff
jne 0x41d994
xor esi, esi
add dword [esp + 0x10], ebp
test esi, esi
jne 0x41d936
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
test esi, esi
je 0x41d9bc
push 0
push 0
push 0
push 0
push 0x364
push dword [edi + 0x1c]
call fcn.0041cda7
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 4

Function at 0x41eacd
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
cmp dword [eax + 4], 0x100
jne 0x41eb12
cmp dword [eax + 8], 0x70
jne 0x41eb12
mov eax, dword [eax + 0xc]
shr eax, 0x10
test ah, 0x40
jne 0x41eb12
push 0x10
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
call esi
test ax, ax
jl 0x41eb12
push 0x11
call esi
test ax, ax
jl 0x41eb12
push 0x12
call esi
test ax, ax
mov eax, 1
jge 0x41eb14
xor eax, eax
pop esi
ret 4
Function at 0x41f3f3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
lea eax, [ebp - 8]
push edi
mov esi, dword [ebp + 8]
push eax
mov edi, dword [ebp + 0xc]
push esi
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push 0x104
test eax, eax
jne 0x41f42c
push edi
push esi
call fcn.00423916
xor eax, eax
jmp 0x41f589
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004116e0
add esp, 0xc
lea eax, [ebp - 0x110]
lea edi, [ebp - 0x110]
push 0x104
push esi
push eax
call fcn.00423916
cmp byte [ebp - 0x110], 0
je 0x41f494
mov ecx, 0x5c
mov edx, 0x2f
mov al, byte [edi]
cmp al, cl
jne 0x41f47c
cmp byte [edi + 1], cl
je 0x41f494
cmp al, cl
jne 0x41f47c
cmp byte [edi + 1], dl
je 0x41f494
cmp al, dl
jne 0x41f48e
cmp byte [edi + 1], cl
je 0x41f494
cmp al, dl
jne 0x41f48e
cmp byte [edi + 1], dl
je 0x41f494
inc edi
cmp byte [edi], 0
jne 0x41f468
cmp byte [edi], 0
je 0x41f4d7
add edi, 2
cmp byte [edi], 0
je 0x41f4b7
mov al, byte [edi]
cmp al, 0x5c
je 0x41f4b1
cmp al, 0x2f
je 0x41f4b1
inc edi
cmp byte [edi], 0
jne 0x41f4a1
cmp byte [edi], 0
je 0x41f4cc
inc edi
cmp byte [edi], 0
je 0x41f501
mov al, byte [edi]
cmp al, 0x5c
je 0x41f4cc
cmp al, 0x2f
je 0x41f4cc
inc edi
cmp byte [edi], 0
jne 0x41f4bc
cmp byte [edi], 0
je 0x41f501
mov byte [edi + 1], 0
jmp 0x41f501
cmp byte [ebp - 0x110], 0
lea eax, [ebp - 0x110]
je 0x41f4f8
mov cl, byte [eax]
cmp cl, 0x5c
je 0x41f4f8
cmp cl, 0x2f
je 0x41f4f8
inc eax
cmp byte [eax], 0
jne 0x41f4e6
cmp byte [eax], 0
je 0x41f501
mov byte [eax + 1], 0
push 0
lea eax, [ebp - 4]
push 0
lea ecx, [ebp - 0xc]
push eax
lea edx, [ebp - 0x110]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41f528
xor eax, eax
jmp 0x41f589
test byte [ebp - 4], 4
jne 0x41f577
test byte [ebp - 4], 2
jne 0x41f53b
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.USER32.dll_CharToOemA]
cmp dword [0x43475c], 0
jne 0x41f567
test byte [ebp - 4], 2
jne 0x41f567
lea eax, [ebp - 0x214]
push eax
call fcn.00411a1e
add esp, 4
push esi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
jmp 0x41f584
test byte [ebp - 4], 2
jne 0x41f584
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x423a5f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x100
mov edi, eax
ja 0x423aa8
push 0x100
lea eax, [ebp - 0x100]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, edi
jne 0x423aa8
push esi
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x423ab2
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x423bb1
Capabilities:
Allocate thread local storage

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
je 0x423bd9
cmp al, 3
ja 0x423bd9
cmp esi, 2
ja 0x423bd9
call edi
mov esi, eax
jmp 0x423bce
mov eax, esi
pop edi
pop esi
ret

Function at 0x4247ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004246a3
mov edi, eax
cmp dword [esi], 0
je 0x424800
push 0x20
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp + 0x18]
lea edx, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push edx
call fcn.0042471f
test eax, eax
jne 0x42481b
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.004255da
mov ecx, esi
call fcn.004246ea
jmp 0x42481b
lea eax, [ebp + 0x18]
lea edx, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea ecx, [ebp - 0x20]
push ecx
push edi
call fcn.00423a5f
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42535d
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov eax, dword [ecx + 0x1c]
mov esi, ecx
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [esi + 0x1c]
push dword [ecx + 0x1c]
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [esi + 0x1c]
mov edx, 0x4343b8
mov eax, 0
test edx, edx
je 0x425392
mov eax, dword [0x4343d4]
push 0x13
push 0
push 0
push 0
push 0
push eax
push dword [ecx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
ret

Function at 0x42571b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
cmp dword [ecx + 0x74], 0
mov esi, ecx
je 0x425765
push dword [ebp + 8]
mov ecx, esi
call fcn.0042e7d2
mov esi, eax
test esi, esi
jne 0x42573f
xor eax, eax
jmp 0x425790
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 1
sbb eax, eax
neg eax
jmp 0x425790
push dword [ebp + 0x10]
push 0x43fe60
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
push dword [esi + 0x84]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4267c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4267e3
xor eax, eax
jmp 0x426924
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x4267fa
xor eax, eax
jmp 0x426924
mov ecx, dword [ebp - 0xc]
mov esi, dword [ecx]
add esi, 0x40
push esi
call fcn.00411ced
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x426819
xor eax, eax
jmp 0x426924
push esi
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.0040f108
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], 0x10
mov esi, dword [edx]
add esi, edx
xor edx, edx
mov eax, 0x43b368
mov ecx, dword [esi]
cmp dword [eax], ecx
je 0x426850
add eax, 8
inc edx
cmp eax, 0x43b388
jb 0x42683f
jmp 0x426884
mov ebx, dword [edx*8 + 0x43b36c]
push ebx
call dword [sym.imp.USER32.dll_GetSysColor]
movzx edi, ah
shl edi, 8
push ebx
call dword [sym.imp.USER32.dll_GetSysColor]
movzx eax, al
shl eax, 0x10
push ebx
or edi, eax
call dword [sym.imp.USER32.dll_GetSysColor]
shr eax, 0x10
movzx ecx, al
or edi, ecx
mov dword [esi], edi
add esi, 4
dec dword [ebp - 8]
jne 0x426836
mov edx, dword [ebp - 4]
push 0
mov edi, dword [edx + 4]
mov ebx, dword [edx + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push ebx
push edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
mov dword [ebp - 8], eax
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 8], 0
je 0x42690d
push dword [ebp - 8]
push dword [0x4405c0]
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, 1
push 0xcc0020
mov cl, byte [edx + 0xe]
push 0
shl eax, cl
mov ecx, dword [ebp - 0xc]
push edx
lea eax, [ecx + eax*4 + 0x28]
push eax
push ebx
push edi
push 0
push 0
mov eax, dword [0x4405c0]
push ebx
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
push esi
mov eax, dword [0x4405c0]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
call fcn.004110e4
add esp, 4
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x429783
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
lea ebx, [ecx + 0x6c]
push edi
push dword [esp + 0x14]
push dword [esp + 0x14]
mov esi, ecx
call fcn.00429cd2
mov edi, eax
push 1
push edi
mov ecx, ebx
call fcn.0041a432
mov eax, dword [esi + 0x70]
lea eax, [eax + edi*4]
cmp dword [eax - 4], 0
jne 0x4297bf
cmp dword [eax], 0
jne 0x4297bf
push 1
mov ecx, ebx
push edi
call fcn.0041a432
mov ecx, esi
call fcn.00428852
cmp dword [esi + 0x68], 0
mov edi, eax
je 0x4297f8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
jne 0x4297f8
cmp dword [esi + 0x74], 1
jne 0x4297eb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
jmp 0x4297ff
push 0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4297ff
or byte [edi + 0xbc], 0xc
pop edi
pop esi
pop ebx
ret 8

Function at 0x42a34e
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a460
push eax
mov dword fs:[0], esp
sub esp, 4
mov dword [ebp - 0x10], ecx
push ebx
push edi
call fcn.0041b315
xor edi, edi
push 0xa
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00419f27
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.0041e05c
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [eax], 0x43af80
mov dword [eax + 0x98], edi
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], edi
mov dword [eax + 0x88], edi
mov dword [eax + 0x8c], edi
mov dword [eax + 0x90], edi
mov dword [eax + 0x94], edi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edi
mov dword [eax + 0x80], edi
mov dword [eax + 0x60], edi
mov dword [eax + 0xa4], edi
mov dword [eax + 0xbc], edi
mov dword [eax + 0x34], 0xffffffff
mov dword [eax + 0x30], 1
add eax, 0x50
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], edi
mov dword [eax + 0x40], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0xb4], edi
mov ecx, eax
mov dword [eax + 0x48], edi
mov dword [eax + 0x84], 0xffffffff
mov dword [eax + 0xb8], edi
call fcn.0042a4fb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a95c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push ebp
push 5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x42a9fc
mov esi, dword [esp + 0x14]
push edi
call fcn.0041b852
mov ebp, eax
test ebp, ebp
je 0x42a9ed
mov eax, dword [ebx + 0x1c]
cmp edi, eax
je 0x42a9ed
push edi
push eax
call fcn.0042a785
test eax, eax
je 0x42a9ed
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test esi, esi
jne 0x42a9d0
mov ecx, eax
and ecx, 0x18000000
cmp ecx, 0x10000000
jne 0x42a9cc
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x28], 1
jmp 0x42a9ed
test esi, esi
je 0x42a9ed
test eax, 0x18000000
jne 0x42a9ed
cmp dword [ebp + 0x28], 0
je 0x42a9ed
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp + 0x28], 0
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x42a97f
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x42b694
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
push edi
push ebp
mov ecx, ebx
call fcn.00428852
mov edi, eax
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
test esi, esi
je 0x42b6c2
push ebp
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
or byte [edi + 0xbc], 0xc
jmp 0x42b706
cmp ebp, 1
sbb eax, eax
and eax, 0x40
add eax, 0x40
or al, 0x17
push eax
push 0
push 0
push 0
push 0
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
test ebp, ebp
jne 0x42b6fa
mov ecx, ebx
call fcn.00428129
test eax, eax
jne 0x42b706
push 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.00428129
test eax, eax
je 0x42b797
mov ecx, dword [ebx + 0x60]
test ecx, ecx
je 0x42b726
mov eax, dword [ecx]
call dword [eax + 0x98]
jmp 0x42b72c
cmp ebp, 1
sbb eax, eax
inc eax
cmp eax, 1
jne 0x42b75c
test ebp, ebp
je 0x42b75c
mov dword [edi + 0x84], 0xffffffff
test esi, esi
je 0x42b74f
mov dword [edi + 0x84], 8
jmp 0x42b78b
push 8
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42b797
test eax, eax
jne 0x42b787
mov dword [edi + 0x84], 0xffffffff
test esi, esi
je 0x42b77a
mov dword [edi + 0x84], 0
jmp 0x42b797
push 0
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42b797
test esi, esi
jne 0x42b797
push 0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x42cae7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5c], 0
je 0x42cb44
mov ebx, dword [edi + 0x60]
test ebx, ebx
je 0x42cb44
cmp dword [ebx + 0x68], 0
je 0x42cb44
mov ecx, ebx
call fcn.004294f8
cmp eax, 1
jne 0x42cb44
mov eax, dword [ebx + 0x54]
and eax, dword [ebp + 0x14]
test ah, 0xf0
je 0x42cb44
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0041b83a
push 0x15
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x42cbb1
push dword [ebp + 0x14]
mov ecx, esi
call fcn.0042ca55
mov esi, eax
push 0x15
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esi + 0x20], 0
jne 0x42cb73
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x20], eax
push 0xe81f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0041b83a
push 0
mov ecx, eax
push edi
call fcn.00429546
push 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
push 8
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x42e820
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x74], 0
push esi
push edi
je 0x42e877
push dword [ebp + 8]
call fcn.0042e7d2
mov esi, eax
test esi, esi
jne 0x42e841
mov eax, dword [ebp + 0x10]
jmp 0x42e88c
lea eax, [ebp - 8]
lea ecx, [ebp - 4]
push eax
lea edx, [ebp - 0xc]
mov dword [ebp - 8], 4
push ecx
push edx
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42e872
mov eax, dword [ebp - 4]
jmp 0x42e88c
mov eax, dword [ebp + 0x10]
jmp 0x42e88c
push dword [ecx + 0x84]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42e894
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42e9d3
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov dword [ebp - 0x10], 0
cmp dword [ecx + 0x74], 0
push ebx
push esi
push edi
je 0x42e99c
push dword [ebp + 0xc]
call fcn.0042e7d2
mov esi, eax
test esi, esi
jne 0x42e8f9
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0041e115
or byte [ebp - 0x10], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x24]
call fcn.0041e05c
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
push ecx
push 0
push dword [ebp + 0x10]
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x42e94e
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x24]
push eax
push dword [ebp - 0x14]
call fcn.0041e50f
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [ebp + 0x10]
push esi
call ebx
mov edi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0041e550
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42e977
lea eax, [ebp - 0x24]
mov ecx, dword [ebp + 8]
push eax
call fcn.0041e068
or byte [ebp - 0x10], 1
mov byte [ebp - 4], 0
call fcn.0042e994
jmp 0x42e8e3
push dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0041e115
or byte [ebp - 0x10], 1
mov byte [ebp - 4], 0
call fcn.0042e994
jmp 0x42e8e3
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x42e9a8
mov edx, 0x43fe68
push dword [ecx + 0x84]
push 0x104
lea ecx, [ebp - 0x128]
push ecx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x128]
push ecx
jmp 0x42e8d7