joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5aac3a
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x6a71ec
call fcn.00664608
sub esp, 0x240
push ebx
xor ebx, ebx
cmp byte [ebp + 0xc], bl
je 0x5aac82
call fcn.00487f0f
push eax
lea eax, [ebp - 0x24]
push str._s_Updater
push eax
call fcn.004577d4
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x5aac71
mov eax, dword [eax]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
lea ecx, [ebp - 0x24]
call fcn.00410858
push 0x104
lea eax, [ebp - 0x24c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push ebx
push 0x79a63c
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x5aace4
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp + 0xc], ebx
je 0x5aace4
push esi
push dword [ebp + 0xc]
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x5aace3
push 0x1d4c0
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x5aace3
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
call fcn.00487ecd
push eax
lea eax, [ebp - 0x24]
push str._s__BRINGTOFRONT
push eax
call fcn.004577f2
add esp, 0xc
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x5aad06
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.005afea2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00427afc
test bl, bl
je 0x5aad2a
mov bl, 1
jmp 0x5aad5f
call fcn.0058ad45
test al, al
jne 0x5aad5d
push 0x6e9de8
push 0x812
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 0x10
call fcn.00599084
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00599ee6
add esp, 0xc
xor ebx, ebx
call fcn.005abf33
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x5afeba
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.006678b0
mov edi, dword [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0x54], esi
test edi, edi
je 0x5aff16
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp + 0x14]
push 2
push 1
push ebx
push eax
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
neg eax
mov dword [ebp - 0x18], edi
sbb eax, eax
or dword [ebp - 0x28], 0x101
and eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 0x10]
xor eax, eax
test edi, edi
push ebx
push ebx
setne al
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x5aff5d
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x5aff53
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
jmp 0x5aff58
push dword [ebp - 0x10]
call esi
push dword [ebp - 0xc]
call esi
test edi, edi
je 0x5aff66
push dword [ebp - 0x14]
call esi
pop edi
test ebx, ebx
pop esi
setne al
pop ebx
leave
ret 0x14

Function at 0x5b0332
Capabilities:
Get process heap force flags

Disassembly:
mov eax, 0x6ab14e
call fcn.00664608
push ecx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.00427a37
push dword [ebp + 8]
lea ecx, [esi + 0x18]
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
call fcn.00427a37
mov al, byte [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x30], al
mov al, byte [ebp + 0x14]
mov byte [esi + 0x32], al
mov eax, esi
mov byte [esi + 0x31], bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x5b7745
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x6bdd29
call fcn.00664608
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x7210b4
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x14], al
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov byte [ebp - 4], 1
call fcn.005b8165
mov ecx, esi
call fcn.005b9b28
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x5b79eb
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a71ec
call fcn.00664608
sub esp, 0x18
push ebx
push esi
push str.updates_
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
call fcn.00466765
xor ebx, ebx
lea ecx, [ebp - 0x24]
push str.sua_pmr
mov dword [ebp - 4], ebx
call fcn.00437714
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5b7a28
mov eax, dword [ebp - 0x24]
push ebx
push ebx
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp byte [esi + 0x29], bl
jne 0x5b7a44
cmp eax, 0xffffffff
je 0x5b7a65
mov bl, 1
cmp eax, 0xffffffff
je 0x5b7a65
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5b7a5e
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x24]
mov byte [esi + 0x29], 0
call fcn.00427afc
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x5b8165
Capabilities:
Create directory

Disassembly:
mov eax, 0x6a71ec
call fcn.00664608
sub esp, 0x18
push ebx
push str.updates_
lea eax, [ebp - 0x24]
push eax
call fcn.00466765
xor ebx, ebx
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], 8
mov dword [ebp - 4], ebx
jb 0x5b8192
mov eax, dword [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x5b81c6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x5b81c6
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x5b81b7
mov eax, dword [ebp - 0x24]
push eax
push str.Failed_to_create_directory:__S_n
call fcn.0040fa51
pop ecx
pop ecx
jmp 0x5b81c8
mov bl, 1
lea ecx, [ebp - 0x24]
call fcn.00427afc
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x5ba63c
Capabilities:
Delete file

Disassembly:
mov eax, 0x6be16b
call fcn.00664608
sub esp, 0x1c
push esi
push edi
mov edi, ecx
mov byte [ebp - 0xd], 1
call fcn.0046bca7
and dword [ebp - 4], 0
mov esi, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
cmp esi, edx
je 0x5ba6ef
mov ecx, dword [ebp + 8]
and ecx, 0x1ffeffff
mov dword [ebp + 8], ecx
push ebx
mov ebx, dword [esi]
mov eax, dword [ebx + 0x30]
and eax, 0x1ffeffff
sub eax, ecx
test eax, eax
jle 0x5ba6e7
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.005b873a
push eax
mov byte [ebp - 4], 1
call fcn.004526fa
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
mov bl, al
call fcn.00427afc
test bl, bl
je 0x5ba6ce
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
push eax
call fcn.005b873a
cmp dword [eax + 0x14], 8
jb 0x5ba6bf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.00427afc
push esi
push dword [edi + 0x50]
lea eax, [esi + 4]
push eax
call fcn.00440243
add dword [edi + 0x50], 0xfffffffc
mov edx, dword [edi + 0x50]
mov ecx, dword [ebp + 8]
jmp 0x5ba6ea
add esi, 4
cmp esi, edx
jne 0x5ba675
pop ebx
mov ecx, edi
call fcn.005bb644
mov dword [ebp - 4], 2
call fcn.0046bce8
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5ba714
Capabilities:
Delete file

Disassembly:
mov eax, 0x6a71ec
call fcn.00664608
mov eax, dword [ebp + 8]
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
test eax, eax
je 0x5ba752
mov esi, dword [edi + 0x4c]
cmp esi, dword [edi + 0x50]
je 0x5ba752
mov ecx, dword [eax + 0x30]
mov ebx, 0x1ffeffff
and ecx, ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
and eax, ebx
sub eax, ecx
je 0x5ba765
add esi, 4
cmp esi, dword [edi + 0x50]
jne 0x5ba73f
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
lea eax, [ebp - 0x24]
mov ecx, edx
push eax
call fcn.005b873a
and dword [ebp - 4], 0
push eax
call fcn.004526fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov bl, al
call fcn.00427afc
test bl, bl
je 0x5ba7ae
mov ecx, dword [esi]
lea eax, [ebp - 0x3c]
push eax
call fcn.005b873a
cmp dword [eax + 0x14], 8
jb 0x5ba79f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea ecx, [ebp - 0x3c]
call fcn.00427afc
push esi
push dword [edi + 0x50]
add esi, 4
push esi
call fcn.00440243
add dword [edi + 0x50], 0xfffffffc
mov ecx, edi
call fcn.005bb644
mov al, 1
jmp 0x5ba754

Function at 0x5bee56
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x5bee63
mov eax, dword [eax]
push eax
call fcn.0047acc0
test al, al
jne 0x5bee7f
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x5bee78
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov ecx, esi
pop esi
jmp fcn.005bc638
Function at 0x5c58c0
Capabilities:
Read file on windows

Disassembly:
push ebp
sub esp, 0x3c
mov eax, 0x6bef17
call fcn.00664608
sub esp, 0x58
xor eax, eax
push ebx
push esi
push edi
push 8
pop ecx
xor esi, esi
lea edi, [ebp]
push esi
rep stosd dword es:[edi], eax
push 0x80
push 3
lea edi, [ebp + 0x20]
stosd dword es:[edi], eax
push esi
push 3
push SysReAllocString
push dword [ebp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
or edi, 0xffffffff
cmp ebx, edi
je 0x5c5a4d
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x48]
push eax
push 0x20
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5c5a46
mov dword [ebp + 0x2c], esi
cmp dword [ebp + 8], esi
jbe 0x5c5a44
push 0
push 0
push dword [ebp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
add dword [ebp + 0x38], 0xc
lea eax, [ebp + 0x48]
push 0
push eax
push 0xc
lea eax, [ebp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5c5a46
cmp dword [ebp + 0x20], 5
jne 0x5c5a37
xor esi, esi
push esi
push esi
push dword [ebp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push esi
lea eax, [ebp + 0x48]
push eax
push 4
lea eax, [ebp + 0x3c]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5c5a46
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
call fcn.004513b4
mov esi, eax
lea eax, [ebp + 0x48]
push 0
push eax
mov eax, dword [ebp + 0x3c]
shl eax, 4
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5c5a7c
mov ecx, dword [ebp + 0x3c]
xor edx, edx
mov dword [ebp + 0x34], edx
test ecx, ecx
je 0x5c5a1e
lea eax, [esi + 0xc]
mov dword [ebp + 0x30], eax
cmp dword [eax - 4], 0x58
jb 0x5c5a10
push 0
push 0
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push 0
lea eax, [ebp + 0x48]
push eax
push 0x58
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x5c5a6f
cmp dword [ebp - 0x64], 0x464e4956
je 0x5c5a63
mov ecx, dword [ebp + 0x3c]
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp + 0x34]
inc edx
add eax, 0x10
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x30], eax
cmp edx, ecx
jb 0x5c59d4
mov dword [ebp - 4], 3
test esi, esi
je 0x5c5a31
push 1
push esi
call fcn.004513a7
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 4], edi
inc esi
mov dword [ebp + 0x2c], esi
cmp esi, dword [ebp + 8]
jb 0x5c5938
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x40
leave
ret 4
mov edi, dword [ebp - 0x58]
mov dword [ebp - 4], 2
jmp 0x5c5a80
xor eax, eax
inc eax
mov dword [ebp - 4], eax
test esi, esi
je 0x5c5a46
push eax
jmp 0x5c5a86
and dword [ebp - 4], 0
test esi, esi
je 0x5c5a46
push 1
push esi
call fcn.004513a7
jmp 0x5c5a46
Function at 0x5cff4e
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6bfa8d
call fcn.00664608
sub esp, 0x250
push esi
push 1
push 0x1a
lea eax, [ebp - 0x25c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0047181f
and dword [ebp - 4], 0
mov esi, 0x6d3794
push 1
push esi
mov ecx, eax
call fcn.004105af
push eax
lea ecx, [ebp - 0x3c]
call fcn.0041048f
push 8
push str.utorrent
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004105af
push eax
lea ecx, [ebp - 0x24]
call fcn.0041048f
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push dword [ebp + 8]
call fcn.00428014
lea ecx, [ebp - 0x24]
call fcn.00410858
lea ecx, [ebp - 0x3c]
call fcn.00410858
lea ecx, [ebp - 0x54]
call fcn.00410858
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5d14b1
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x7ed5b4]
test ecx, ecx
je 0x5d14d8
call fcn.005717ae
test eax, eax
je 0x5d14d8
mov ecx, dword [0x7ed5b4]
push 0
call fcn.005717ae
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x5d8783
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x5d885b
cmp edi, dword [esi + 0x214]
je 0x5d885b
mov ecx, dword [esi + 0x1f4]
xor eax, eax
push ebx
cmp edi, ecx
push 0
sete al
push eax
push 0x809a
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x1f8]
xor eax, eax
cmp edi, ecx
push 0
sete al
push eax
push 0x809c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x214]
cmp eax, dword [esi + 0x218]
jne 0x5d880b
lea ebx, [esi + 0x1a0]
mov ecx, dword [ebx]
test ecx, ecx
je 0x5d880b
call fcn.005717ae
cmp eax, edi
je 0x5d880b
mov ecx, dword [ebx]
call fcn.00576b72
mov ecx, ebx
call fcn.004e1ec3
jmp 0x5d884b
mov eax, dword [esi + 0x1f0]
cmp dword [esi + 0x214], eax
jne 0x5d883d
cmp edi, eax
je 0x5d883d
call fcn.00614299
test al, al
je 0x5d883d
push 0
push 0
push 0x8078
push dword [esi + 0x1f0]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5d884b
push 0
push dword [esi + 0x214]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x214], edi
pop ebx
pop edi
pop esi
ret 4
Function at 0x5d99e1
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1a0]
test ecx, ecx
je 0x5d9a16
call fcn.0057609c
mov eax, dword [esi + 0x214]
cmp eax, dword [esi + 0x218]
je 0x5d9a16
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x218]
mov dword [esi + 0x214], eax
pop esi
ret
Function at 0x5dba44
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [0x7ed5b8]
test ecx, ecx
je 0x5dba73
call fcn.005717ae
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x5dba73
mov ecx, dword [0x7ed5b8]
push 0x6ce190
call fcn.00572711
jmp fcn.005d1467
ret

Function at 0x5dc2de
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push edi
mov edi, ecx
call fcn.005dc0d3
push 1
push 0
push dword [edi + 0x1d8]
call fcn.0059e241
push eax
mov ebx, 0x423
push ebx
push dword [edi + 0x1d8]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5c
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.006678b0
add esp, 0xc
mov dword [ebp - 0x64], 0x64
lea eax, [ebp - 0x64]
mov dword [ebp - 0x60], 0x10
push eax
push 2
push dword [edi + 0x1d8]
call fcn.0059e241
push eax
push 0x41c
push dword [edi + 0x1d8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, edi
call fcn.005d96a8
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
cmp dword [0x7ec2b8], eax
setne al
push eax
push 1
push dword [edi + 0x1d8]
call fcn.0059e241
push eax
push ebx
push dword [edi + 0x1d8]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop ebx
leave
ret

Function at 0x5e6d9b
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, ecx
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x338], 1
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push eax
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x1b
push dword [edi + 4]
mov esi, eax
and esi, 0xffffbfff
call ebx
push esi
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov esi, dword [edi + 0x250]
mov ecx, esi
call fcn.005dd4fc
test al, al
je 0x5e6e10
push 0
push dword [esi + 8]
mov ecx, esi
call fcn.005a5850
mov esi, dword [edi + 0x250]
mov byte [esi + 0x54], 0
mov ecx, dword [edi + 0x250]
push 1
call fcn.005a4b8d
mov ecx, dword [edi + 0x250]
call fcn.005a4a15
push 0xd
push 0x71
push 0x42b
push dword [edi + 0x550]
call ebp
push 0x1b
push dword [edi + 4]
call ebx
push 0
push 1
push 0xb
push eax
call ebp
push 0
push dword [edi + 0x1d8]
call fcn.0059f91c
mov ecx, edi
call fcn.005d8b41
push 0x1b
push dword [edi + 4]
mov byte [edi + 0x338], 0
call ebx
mov ecx, dword [edi + 0x214]
cmp ecx, eax
jne 0x5e6e82
mov ecx, edi
call fcn.005d62f4
jmp 0x5e6e91
cmp ecx, dword [edi + 0x1e8]
jne 0x5e6e91
mov ecx, edi
call fcn.005dc444
mov ecx, edi
call fcn.005d344a
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x5ea055
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6c13af
call fcn.00664608
push ecx
push esi
push 0xcc
call fcn.00664379
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5ea08e
push dword [ebp + 0x14]
mov ecx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005e863a
mov esi, eax
jmp 0x5ea090
xor esi, esi
or dword [ebp - 4], 0xffffffff
cmp byte [ebp + 0x18], 0
je 0x5ea0a1
call fcn.005bda9c
jmp 0x5ea0a3
xor al, al
push dword [ebp + 0x1c]
mov ecx, esi
mov byte [esi + 0x97], al
call fcn.005e9f0e
push 0
push 0x29
mov ecx, esi
call fcn.0059b660
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7ec268
mov ecx, esi
call fcn.0059b3aa
push 0x7ec270
mov ecx, esi
call fcn.0059b375
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x5f0767
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
lea eax, [ebp - 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
push eax
push esi
lea ecx, [edi + 0x38]
call fcn.0059b04b
mov edx, dword [edi + 0x88]
mov eax, dword [ebp + 8]
mov ebx, dword [edx + eax*4]
movzx eax, si
push eax
push dword [edi + 0x3c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfe
lea ecx, [ebp - 0x228]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push str._A_HREF__s___s__A_
push eax
call fcn.004577f2
mov ecx, eax
add esp, 0x10
cmp dword [ecx + 0x14], 8
jb 0x5f07d6
mov ecx, dword [ecx]
mov eax, dword [ebp - 4]
xor edx, edx
sub eax, dword [ebp - 0xc]
push edx
push dword [0x7ebde0]
push edx
push ebx
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x50010000
push ecx
push 0x6cfdec
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
lea ecx, [ebp - 0x28]
call fcn.00427afc
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x5f2668
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6c1ccd
call fcn.00664608
push ecx
mov eax, dword [0x7ed79c]
push esi
test eax, eax
je 0x5f268e
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [0x7ed79c]
jmp 0x5f26d1
push 0x220
call fcn.00664379
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x5f26af
mov ecx, eax
call fcn.005f0522
mov esi, eax
jmp 0x5f26b1
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
push 0
push 0x13
call fcn.0059b660
push esi
call fcn.005f165d
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0xffffffff
je 0x5f26e1
push dword [ebp + 8]
mov ecx, esi
call fcn.005f31e4
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x5f6df3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x84], 0
jne 0x5f6e19
push dword [esp + 8]
call fcn.005f7732
push 0
mov dword [esi + 0x84], eax
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x5fcbab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 8]
push dword [esp + 0x18]
push dword [esp + 0x18]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x5fccaa
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x5fccaa
push ebx
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
je 0x5fccaa
push edi
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov dword [esi + 0x10], eax
test eax, eax
je 0x5fccaa
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
xor ebp, ebp
test eax, eax
je 0x5fcc9e
push edi
push ebx
push eax
call fcn.006661f0
add esp, 0xc
mov dword [esp + 0x1c], ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push dword [esi + 0x10]
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x5fcc95
push ebp
push dword [esp + 0x20]
call fcn.005fcad9
mov dword [esi + 4], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x5fcc95
mov eax, dword [ecx + 8]
mov dword [ecx + 8], ebp
mov ecx, dword [esi + 4]
test eax, eax
jne 0x5fcc88
call fcn.005d10ed
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
call fcn.005d02ce
mov dword [esi + 0xc], eax
mov al, 1
jmp 0x5fccac
test ecx, ecx
je 0x5fcc92
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], ebp
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov dword [esi + 0x10], ebp
xor al, al
pop edi
pop esi
pop ebp
pop ebx
ret 0xc