joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ff0
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b0a5
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x420], ax
call fcn.00525e90
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00525e90
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x57cbb0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00523249
lea ecx, [ebp - 0x218]
add esp, 0xc
push ecx
call fcn.00523c87
add esp, 4
push str.GameLogin
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.00523c87
add esp, 4
lea ecx, [ebp - 0x420]
push 0x5c
push ecx
call fcn.0052321b
push eax
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
add esp, 0x14
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.005239c1
add esp, 8
test eax, eax
je 0x402132
push 0
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x218]
call fcn.0040bb60
push str._QshaogamerD
lea edx, [ebp - 0x218]
mov ecx, 0x57cbdc
call fcn.0040bda0
push str._uninst
lea edx, [ebp - 0x218]
mov ecx, 0x57cc10
call fcn.0040bda0
lea ecx, [ebp - 0x218]
call fcn.00403670
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4021a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarehaogamerGameLoginQshaogamer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x4021ef
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 6]
mov dword [ebp - 0x1c], eax
call fcn.00523cb9
mov ecx, 7
sub ecx, dword [ebp - 0x1c]
xor edx, edx
add eax, ecx
mov ecx, 7
div ecx
mov byte [ebp - 0x15], dl
call fcn.00523cb9
mov ecx, dword [ebp - 0x1c]
mov edx, 7
sub edx, ecx
add eax, edx
xor edx, edx
mov esi, 7
div esi
mov eax, ecx
mov ecx, esi
and eax, 0xffffff
movzx esi, byte [ebp - 0x15]
mov bl, dl
xor edx, edx
div ecx
mov ecx, edx
cmp ecx, esi
jne 0x402263
lea eax, [ecx + 6]
mov ecx, 7
xor edx, edx
div ecx
mov ecx, edx
cmp byte [ebp - 0x15], bl
jne 0x402276
movzx eax, bl
inc eax
cdq
mov edi, 7
idiv edi
mov bl, dl
shl ecx, 8
push 4
or ecx, esi
lea eax, [ebp - 0x1c]
push eax
movzx edx, bl
shl ecx, 8
push 3
or ecx, edx
push 0
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x20]
push str.DisableDays
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4022c0
Capabilities:
Create thread
Delete registry key
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.SoftwarehaogamerGameLoginQshaogamer
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
call fcn.00402480
call fcn.00402580
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x28e]
push ecx
mov word [ebp - 0x290], ax
call fcn.00525e90
add esp, 0xc
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x86]
push eax
mov word [ebp - 0x88], dx
call fcn.00525e90
add esp, 0xc
xor ecx, ecx
push 0x3e
push ecx
lea edx, [ebp - 0x46]
push edx
mov word [ebp - 0x48], cx
call fcn.00525e90
add esp, 0xc
push str.UnInst
lea eax, [ebp - 0x88]
push 0x20
push eax
call fcn.005231b8
add esp, 0xc
lea ecx, [ebp - 0x290]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.haogamerGameLoginStatistic.ini
lea edx, [ebp - 0x290]
push 0x104
push edx
call fcn.00523249
add esp, 0xc
lea eax, [ebp - 0x290]
push eax
push 0x20
lea ecx, [ebp - 0x48]
push ecx
push 0x57ce04
lea edx, [ebp - 0x88]
push edx
push 0x57ce08
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x48]
push eax
call fcn.00523a4c
add esp, 4
lea esi, [eax + 1]
push esi
push 0x57ce20
lea ecx, [ebp - 0x48]
push 0x20
push ecx
call fcn.0052350d
add esp, 0x10
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x88]
push ecx
push 0x57ce08
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
push str.http:__client.5054399.com_uninstall.htm_tagqshaogamerver3.0.0.1
push str._scount_u
lea edx, [ebp - 0x690]
push 0x200
push edx
call fcn.0052350d
add esp, 0x14
lea ecx, [ebp - 0x69c]
push ecx
push 0
lea edx, [ebp - 0x698]
push edx
push 0x4033c0
push 0
lea eax, [ebp - 0x690]
push 0
mov dword [ebp - 0x698], eax
mov dword [ebp - 0x694], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [edi + 0x1030]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x1030]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov edi, 0x57c8e8
mov edx, str.haogamer__
xor ecx, ecx
call fcn.00403760
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x402480
Capabilities:
Delete directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b075
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
mov dword [ebp - 4], 0
cmp eax, 0x57cbdc
je 0x4024d3
mov esi, 0x57cbdc
call fcn.0040bd00
call fcn.0040bee0
xor ecx, ecx
cmp ecx, 0x57cc10
je 0x4024e7
mov esi, 0x57cc10
call fcn.0040bee0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call fcn.00525e90
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x57ce28
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00523249
lea eax, [ebp - 0x218]
add esp, 0xc
push eax
call fcn.0040a470
add esp, 4
test eax, eax
jne 0x402553
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4027a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 4
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4027cb
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4027d1
push ebx
push edi
push 2
push 0
push 0
sub eax, edx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x402816
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x402816
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40284e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebx
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x402a50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.SoftwarehaogamerGameLoginQshaogamer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402b1f
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
xor edx, edx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
push ecx
mov word [ebp - 0x14], dx
lea edx, [ebp - 0x2c]
push edx
push 0
push 0x57cf38
push eax
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ax, word [ebp - 0x14]
cmp ax, word [ebp - 0x24]
jne 0x402afe
mov cx, word [ebp - 0x12]
cmp cx, word [ebp - 0x22]
jne 0x402afe
mov dx, word [ebp - 0xe]
cmp dx, word [ebp - 0x1e]
je 0x402b1f
movzx esi, word [ebp - 0x20]
call fcn.00402b30
test eax, eax
jne 0x402b1f
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x402b30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push str.SoftwarehaogamerGameLoginQshaogamer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x402b65
xor eax, eax
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.DisableDays
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x402b5f
movzx ecx, al
cmp esi, ecx
je 0x402bc5
mov edx, eax
shr edx, 8
movzx ecx, dl
cmp esi, ecx
je 0x402bc5
shr eax, 0x10
movzx edx, al
cmp esi, edx
jne 0x402b5f
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4031e0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, str.NewQshaogamer.exe
lea edi, [ebp - 0x20c]
mov esi, ecx
call fcn.0040a3d0
lea edi, [esi + 0xb8]
add esi, 0xc30
push esi
lea eax, [edi + 0x550]
push 0x200
push eax
call fcn.005231b8
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [edi + 0x950]
push 0x104
push edx
call fcn.005231b8
mov eax, dword [edi]
mov edx, dword [eax + 0x170]
add esp, 0x18
mov ecx, edi
call edx
cmp eax, 1
je 0x403276
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
mov ebx, str.OldQshaogamer.exe
lea edi, [ebp - 0x61c]
call fcn.0040a3d0
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
mov edx, edi
push edx
lea eax, [ebp - 0x414]
push eax
call esi
push 1
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x20c]
push edx
call esi
push 4
push 0
mov eax, edi
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x4032e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwarehaogamerGameLoginQshaogamer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403329
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [ebp - 0x18]
push 0x10
lea eax, [ebp - 0x14]
push eax
push 3
push 0
push 0x57cf38
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x403370
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 4]
push ecx
push 0
lea edx, [ebp - 0xc]
push edx
push 0x4033c0
push 0
push 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [esi + 0x1030]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x1030]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x403470
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
push 0x206
mov esi, ecx
lea edx, [ebp - 0x20a]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x618], eax
mov ebx, 0x50
mov dword [ebp - 0x614], edi
mov word [ebp - 0x20c], cx
call fcn.00525e90
push 0x3fe
lea ecx, [ebp - 0x60a]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x60c], ax
call fcn.00525e90
push 7
push str.http:__
push esi
mov dword [ebp - 0x610], edi
call fcn.005242f5
add esp, 0x24
test eax, eax
je 0x403501
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00523022
mov esp, ebp
pop ebp
ret
add esi, 0xe
push 0x2f
push esi
call fcn.00523e32
mov edi, eax
add esp, 8
test edi, edi
je 0x403538
mov edx, edi
sub edx, esi
sar edx, 1
inc edx
push edx
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
add edi, 2
push edi
lea ecx, [ebp - 0x60c]
push ecx
jmp 0x403540
push esi
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x20c]
push 0x3a
push eax
call fcn.00523e32
add esp, 8
test eax, eax
je 0x40356f
xor ecx, ecx
mov word [eax], cx
add eax, 2
push eax
call fcn.00523a62
add esp, 4
movzx ebx, ax
push 0
push 0
push 0
push 0
push 0x57d090
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
mov dword [ebp - 0x61c], edi
test edi, edi
je 0x40364c
push 0
push 0
push 3
push 0
push 0
push ebx
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
test ebx, ebx
jne 0x4035c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x610], eax
jmp 0x403645
push 0
push SysReAllocStringLen
push 0
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x60c]
push eax
push 0x57d0ac
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
je 0x40363e
mov edx, dword [ebp - 0x618]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4035f6
sub eax, edi
sar eax, 1
push eax
push edx
push 0x4a
push str.Accept_Language:_zh_cn__r_nContent_Type:_application_x_www_form_urlencoded_r_n
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x403627
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x610], eax
jmp 0x403631
mov dword [ebp - 0x614], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x61c]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x610]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x614]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x405460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f4
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x23e
push eax
lea ecx, [ebp - 0x296]
push ecx
mov word [ebp - 0x298], ax
call fcn.00525e90
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x56]
push eax
mov word [ebp - 0x58], dx
call fcn.00525e90
add esp, 0x18
xor eax, eax
push 0x104
lea edx, [ebp - 0x298]
push edx
xor ecx, ecx
push eax
mov word [ebp - 0x14], cx
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x57d580
lea eax, [ebp - 0x298]
push 0x120
push eax
call fcn.00523249
mov edx, dword [esi + 0x20]
push 0xa
push 0x20
lea ecx, [ebp - 0x58]
push ecx
push edx
call fcn.00524786
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x298]
push 0x120
push ecx
call fcn.00523249
mov eax, dword [esi + 0x1f1c]
push 0xa
push 8
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.00524786
push 0x57d594
lea ecx, [ebp - 0x298]
push 0x120
push ecx
call fcn.00523249
add esp, 0x44
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x298]
push 0x120
push eax
call fcn.00523249
push 0x44
lea ecx, [ebp - 0x2f0]
push 0
push ecx
call fcn.00525e90
add esp, 0x18
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
push 0
mov edx, 1
push 0
mov dword [ebp - 0x2c4], 1
mov word [ebp - 0x2c0], dx
push 0x40
push 0
push 0
push 0
lea edx, [ebp - 0x298]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4055c4
mov eax, dword [ebp - 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x1f10]
push ecx
call edi
mov edx, dword [ebp - 0x2a8]
mov dword [esi + 0x1f10], edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00523022
mov esp, ebp
pop ebp
ret

Function at 0x4055e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x23e
push eax
lea ecx, [ebp - 0x246]
push ecx
mov word [ebp - 0x248], ax
call fcn.00525e90
add esp, 0xc
push 0x104
lea edx, [ebp - 0x248]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.__update
lea eax, [ebp - 0x248]
push 0x120
push eax
call fcn.00523249
push 0x44
lea ecx, [ebp - 0x2a0]
push 0
push ecx
call fcn.00525e90
add esp, 0x18
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
push 0
push 0
push 0x40
push 0
push 0
mov edx, 1
mov word [ebp - 0x270], dx
push 0
lea edx, [ebp - 0x248]
push edx
push 0
mov dword [ebp - 0x274], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4056aa
mov eax, dword [ebp - 0x254]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x258]
push ecx
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00523022
mov esp, ebp
pop ebp
ret
Function at 0x4079d0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c0
mov eax, dword [0x5a4e60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1f10]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebx + 0x1f10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x5ad230]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
xor edi, edi
cmp dword [ebx + 0x1f1c], edi
jle 0x407a64
push esi
test edi, edi
js 0x407af3
cmp edi, dword [ebx + 0x1f1c]
jge 0x407af3
mov eax, dword [ebx + 0x1f18]
mov esi, dword [eax + edi*4]
push 0
push esi
call dword [sym.imp.USER32.dll_SetParent]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
inc edi
cmp edi, dword [ebx + 0x1f1c]
jl 0x407a18
pop esi
push 0x3b8
lea ecx, [ebp - 0x3bc]
push 0
push ecx
call fcn.00525e90
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x4ac]
push 0x57c8e8
lea ecx, [ebp - 0x3a8]
push 0x80
push ecx
mov dword [ebp - 0x3b0], 0x401
mov dword [ebp - 0x3c0], 0x3bc
mov dword [ebp - 0x3bc], edx
mov dword [ebp - 0x3b8], 1
mov dword [ebp - 0x3b4], 7
mov dword [ebp - 0x3ac], eax
call fcn.005231b8
add esp, 0x18
lea edx, [ebp - 0x3c0]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00523022
mov esp, ebp
pop ebp
ret
call fcn.0041b5ef
int3