joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e12a
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esi + 0x18], 1
je 0x44e166
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [esp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44e15f
push 1
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.0044e0af
pop esi
ret 4

Function at 0x45099e
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x4996bc
call fcn.004648f7
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0xc]
mov dword [esi], 0x4a40bc
mov dword [esi + 8], eax
call fcn.004386a1
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
push 0x4a89c8
push edi
push dword [ebp + 0x10]
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.0044f9e0
push edi
push edi
push edi
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 2
call fcn.0044d456
push edi
push edi
push edi
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.0044d456
lea eax, [ebp + 0xc]
push eax
push edi
push esi
push 0x45069c
push edi
push edi
mov byte [ebp - 4], 4
call fcn.00466e8b
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x5c], eax
jne 0x450a54
push str.create_thread_failed
lea ecx, [ebp - 0x2c]
call fcn.00403ffe
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004070af
push eax
mov byte [ebp - 4], 6
call fcn.0044f9c0
mov eax, esi
call fcn.004649cf
ret 0xc

Function at 0x450a5e
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x48]
mov dword [esi], 0x4a40bc
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x450a8d
push 0xff
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x50]
call fcn.0044d4b1
lea ecx, [esi + 0x44]
call fcn.0044d4b1
lea ecx, [esi + 0x3c]
call fcn.0044d4b1
lea ecx, [esi + 0x28]
call fcn.0044ee40
lea ecx, [esi + 0xc]
pop esi
jmp fcn.004386b8
Function at 0x4541d4
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x499b87
call fcn.00464960
mov esi, ecx
mov eax, dword [esi + 0x420]
xor edi, edi
cmp eax, edi
jne 0x454281
lea eax, [esi + 0x210]
push eax
lea eax, [esi + 0x424]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0043005a
add esp, 0xc
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], 7
call fcn.004024b4
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.0043e0b2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x45423e
lea eax, [ebp - 0x28]
push eax
call fcn.00412e56
test al, al
pop ecx
je 0x454265
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x454255
lea eax, [ebp - 0x28]
push edi
push edi
push str.__install
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021c5
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.004020a2
jmp 0x4542d4
cmp eax, 1
jne 0x4542d4
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.00433804
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 2
call fcn.0043374e
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x68], esp
push str.qqdownload_config.xml
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.0040ae6a
add esp, 0xc
lea ecx, [esi + 0x1f4]
call fcn.00409fe0
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.004021c5
mov ecx, esi
call fcn.004539cd
call fcn.004649e3
ret
Function at 0x458a5d
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x49a64d
call fcn.00464960
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004584d4
push 1
push 0x2e
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x458afc
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00402180
mov eax, dword [esi + 0x14]
dec eax
push eax
mov ecx, esi
call fcn.0041b75b
cmp word [eax], 0x5c
je 0x458ab9
push 0x49fa70
mov ecx, esi
call fcn.0040ae4d
push str.TencentQQ_
mov ecx, esi
call fcn.0040ae4d
push 0x4a4a10
lea eax, [ebp - 0x234]
push esi
push eax
call fcn.0040ae6a
add esp, 0xc
and dword [ebp - 4], 0
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004020ed
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.004021c5
xor eax, eax
inc eax
call fcn.004649e3
ret
Function at 0x45b6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45b738
cmp dword [ebp + 0x10], 1
je 0x45b711
cmp dword [ebp + 0x10], 2
je 0x45b711
push 0xd
pop eax
jmp 0x45b738
test edi, edi
mov eax, dword [ebp - 4]
je 0x45b732
test eax, eax
je 0x45b72e
test al, 1
jne 0x45b70c
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x45b732
jmp 0x45b70c
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x45b85e
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
mov esi, ecx
call fcn.00466400
add esp, 0xc
mov word [ebp - 0x20e], bx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 5
pop ecx
xor edx, edx
div ecx
lea edi, [esi + 0x38]
mov esi, 0x103
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
add edx, 0x61
mov word [ebp - 0x210], dx
call fcn.0046ab11
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00466d7b
mov ecx, esi
sub ecx, eax
push ecx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004691c3
lea eax, [ebp - 0x20c]
push eax
call fcn.00466d7b
sub esi, eax
push esi
lea eax, [ebp - 0x20c]
push 0x4a4bd0
push eax
call fcn.004691c3
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45b953
push edi
call esi
test eax, eax
jne 0x45b953
cmp ebx, 2
jge 0x45b94d
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x45b91e
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004648e8
leave
ret
Function at 0x45bf09
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x254]
mov ecx, edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
call fcn.0045bb23
test eax, eax
jne 0x45bf30
inc eax
jmp 0x45c04c
cmp byte [esi + 0x253], 0
push ebx
jne 0x45c007
xor ecx, ecx
push ecx
mov ebx, 0x80
push ebx
push 4
push ecx
push ecx
lea eax, [esi + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, 0x40000000
push edi
push eax
mov dword [ebp - 0x10], eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x45bfad
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x45bfb4
cmp dword [ebp - 0x18], 0
jg 0x45bf86
cmp dword [ebp - 0x1c], 0x1400000
jbe 0x45bfb4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
call fcn.0045b85e
xor eax, eax
push eax
push ebx
push 4
push eax
push eax
push edi
push dword [ebp - 0x10]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x45bfb4
xor eax, eax
jmp 0x45c04b
push 2
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp - 8]
xor esi, esi
call fcn.0045bb23
test eax, eax
jbe 0x45bffb
mov ecx, dword [ebp - 8]
push esi
call fcn.0045bb36
mov eax, dword [eax]
push 0
lea ecx, [ebp - 0x14]
push ecx
push dword [eax]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 8]
inc esi
call fcn.0045bb23
cmp esi, eax
jb 0x45bfd1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
mov ecx, edi
xor esi, esi
call fcn.0045bb23
test eax, eax
jbe 0x45c041
cmp byte [ebp + 8], 0
je 0x45c02a
push esi
mov ecx, edi
call fcn.0045bb36
push dword [eax]
call fcn.0046647f
pop ecx
push esi
mov ecx, edi
call fcn.0045bb36
and dword [eax], 0
mov ecx, edi
inc esi
call fcn.0045bb23
cmp esi, eax
jb 0x45c014
mov ecx, edi
call fcn.0041e7bd
xor eax, eax
inc eax
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x45c0eb
Capabilities:
Get common file path

Disassembly:
push 0x294
mov eax, 0x49a7c5
call fcn.00464960
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, esi
mov dword [esi + 0x2c], eax
call fcn.0045ba86
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0045bacc
xor ebx, ebx
mov dword [esi + 0x34], eax
cmp word [0x4befd0], bx
jne 0x45c18d
push 0x20019
push str.SoftwareTencentTencentDLSettings
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], ebx
call fcn.0040daef
test eax, eax
jne 0x45c179
lea eax, [ebp - 0x284]
push eax
push 0x4befd0
push str.logFile
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x284], 0x105
call fcn.0045b6d0
lea ecx, [ebp - 0x280]
call fcn.0040da8a
lea ecx, [ebp - 0x280]
call fcn.0040da8a
cmp word [0x4befd0], bx
je 0x45c1a8
push 0x104
lea edi, [esi + 0x38]
push 0x4befd0
push edi
call fcn.0046ab11
add esp, 0xc
jmp 0x45c2e2
push 0x208
lea edi, [esi + 0x38]
push ebx
push edi
call fcn.00466400
add esp, 0xc
push edi
push ebx
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, ebx
jl 0x45c286
push edi
call fcn.00466d7b
lea ecx, [ebp - 0x280]
mov dword [esp], 0x4c01ac
call fcn.0045bc84
lea eax, [ebp - 0x2a0]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00433439
push 0x49fa70
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.0040ae6a
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 3
call fcn.004021c5
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x45c22a
lea eax, [ebp - 0x28]
push 0x4a4bd0
push str.TencentDL
push eax
lea eax, [ebp - 0x280]
push str._s_s_s
push eax
call fcn.0045bedc
mov eax, dword [ebp - 0x280]
add esp, 0x14
push dword [eax - 0xc]
lea ecx, [ebp - 0x280]
call fcn.0045bdba
push eax
push edi
call fcn.0046ab11
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004021c5
mov ecx, dword [ebp - 0x280]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0045b73e
jmp 0x45c2e2
push 0x104
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x2e
push edi
call fcn.00468ff3
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x284], eax
je 0x45c2e2
push edi
call fcn.00466d7b
push dword [ebp - 0x284]
mov dword [ebp - 0x280], 0x103
sub dword [ebp - 0x280], eax
call fcn.00466d7b
add eax, dword [ebp - 0x280]
push eax
push 0x4a4bd0
push dword [ebp - 0x284]
call fcn.0046ab11
add esp, 0x14
push str.NoTXLog
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45c302
mov byte [esi + 0x253], 1
jmp 0x45c345
lea eax, [ebp - 0x27c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x45c339
cmp dword [ebp - 0x260], ebx
jne 0x45c32b
cmp dword [ebp - 0x25c], 0x1400000
jbe 0x45c332
mov ecx, esi
call fcn.0045b85e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x45c052
mov ecx, esi
call fcn.0045c996
call fcn.004649e3
ret
Function at 0x45c996
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 4], bl
jne 0x45c9e5
cmp dword [esi + 0xc], ebx
jne 0x45c9e1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [0x4bf204], eax
call edi
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
push eax
push ebx
push esi
push dword [esp + 0x1c]
mov byte [0x4bf200], 1
push ebx
push ebx
call fcn.00466e8b
add esp, 0x18
mov dword [esi + 0xc], eax
pop edi
mov byte [esi + 4], 1
pop esi
mov al, 1
pop ebx
ret 4

Function at 0x45d729
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x45d78a
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
je 0x45d768
push dword [eax + 4]
call ebx
test eax, eax
je 0x45d768
mov eax, dword [esi + 0x2c]
push 0
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x28]
test eax, eax
je 0x45d782
push dword [eax + 4]
call ebx
test eax, eax
je 0x45d782
mov eax, dword [esi + 0x28]
push 0
push dword [eax + 4]
call edi
inc dword [0x4bf24c]
pop edi
pop ebx
xor eax, eax
pop esi
ret 0x10

Function at 0x45d891
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
xor edi, edi
push edi
push 0x49f9e8
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x45d8bc
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x45e1e4
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0xa98]
sub esp, 0xb18
mov eax, dword [0x4bc660]
xor eax, ebp
mov dword [ebp + 0xa94], eax
push ebx
mov ebx, dword [ebp + 0xaa0]
push esi
push edi
push dword [ebp + 0xab4]
mov eax, ecx
lea ecx, [eax + 0x38]
call fcn.0045ddd4
mov esi, eax
mov ecx, 0x18c
lea edi, [ebp - 0x58]
rep movsd dword es:[edi], dword [esi]
push dword [ebp - 0x58]
xor esi, esi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, esi
je 0x45e268
push 0x104
lea eax, [ebp + 0x88c]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [ebp + 0x88c]
push eax
push 0x4a4fa4
call fcn.0046abc4
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100
push 0x2b4
lea eax, [ebp + 0x5d8]
push eax
push esi
lea eax, [ebp + 0x88c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jl 0x45e294
mov eax, dword [ebp + 0x5d8]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x5c], esi
call dword [sym.imp.USER32.dll_GetIconInfo]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.0045d987
push dword [ebx]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebx]
mov esi, dword [sym.imp.GDI32.dll_SaveDC]
mov edi, eax
mov dword [ebp - 0x60], edi
call esi
push edi
call esi
push dword [ebp - 0x5c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a3d2
mov eax, dword [ebp + 0xaa8]
push 3
push 0
push 0
push 0x10
push 0x10
push dword [ebp - 0x64]
add eax, 0xc
push eax
mov eax, dword [ebp + 0xaa4]
add eax, 0xe
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_DrawIconEx]
mov esi, dword [sym.imp.GDI32.dll_RestoreDC]
push 0xffffffffffffffff
push edi
call esi
lea ecx, [ebp - 0x60]
call fcn.0040a281
push 0xffffffffffffffff
push dword [ebx]
call esi
push dword [ebp - 0x68]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [ebp - 0x60], 0
je 0x45e349
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x5c], 0
je 0x45e354
push dword [ebp - 0x5c]
call esi
mov ecx, dword [ebp + 0xa94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004648e8
add ebp, 0xa98
leave
ret 0x18
Function at 0x45ff0c
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49a927
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc660]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x215], bl
jne 0x46004f
cmp dword [esp + 0x34], ebx
je 0x45ffd2
cmp dword [esi + 0x210], 8
jb 0x45ff5d
mov eax, dword [esi + 0x1fc]
jmp 0x45ff63
lea eax, [esi + 0x1fc]
push eax
push ebx
push str.ShownTrayTips
mov ebp, 0x4a50c0
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [esi + 0x30], ebx
mov edi, eax
jne 0x46004f
xor eax, eax
cmp edi, ebx
sete al
mov ecx, esi
push eax
call fcn.0045f6fb
test eax, eax
je 0x46004f
cmp edi, ebx
mov dword [esi + 0x30], 1
jne 0x46004f
cmp dword [esi + 0x210], 8
jb 0x45ffb8
mov esi, dword [esi + 0x1fc]
jmp 0x45ffbe
add esi, 0x1fc
push esi
push 0x4a00f0
push str.ShownTrayTips
push ebp
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x46004f
cmp dword [esi + 0x30], ebx
je 0x46004f
call fcn.0045d6bd
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 4]
call edi
mov eax, dword [esi + 0x28]
cmp eax, ebx
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
je 0x460009
push dword [eax + 4]
call ebp
test eax, eax
je 0x460009
mov eax, dword [esi + 0x28]
add eax, 4
push ebx
push dword [eax]
call edi
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x460024
push dword [eax + 4]
call ebp
test eax, eax
je 0x460024
mov esi, dword [esi + 0x2c]
add esi, 4
push ebx
push dword [esi]
call edi
lea eax, [esp + 0x14]
push eax
call fcn.0042a649
pop ecx
mov ecx, dword [eax]
mov eax, dword [ecx]
push ebx
push 0xe
mov dword [esp + 0x2c], ebx
call dword [eax + 4]
mov ecx, dword [esp + 0x18]
or dword [esp + 0x24], 0xffffffff
cmp ecx, ebx
je 0x46004f
call fcn.0040ef79
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0x10
Function at 0x462447
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10
Function at 0x4631c8
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00462a11
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x465
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x463382
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x18
mov eax, dword [0x4bc660]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
mov ebx, 0xf0
mov esi, ecx
push ebx
push dword [esi + 0x24]
call edi
push ebp
neg eax
push ebp
sbb eax, eax
push ebx
push dword [esi + 0x28]
neg eax
mov dword [esi + 0x78], eax
call edi
push ebp
neg eax
push ebp
sbb eax, eax
push ebx
push dword [esi + 0x30]
neg eax
mov dword [esi + 0x7c], eax
call edi
push ebp
neg eax
push ebp
sbb eax, eax
push ebx
push dword [esi + 0x34]
neg eax
mov dword [esi + 0x80], eax
call edi
neg eax
sbb eax, eax
neg eax
mov dword [esi + 0x88], eax
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x10]
push eax
call fcn.0046abbf
cmp eax, ebp
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
pop ecx
mov dword [esi + 0x84], eax
jg 0x463429
mov dword [esi + 0x84], 1
push 0x4a00f0
jmp 0x46343d
mov ecx, 0x2800
cmp eax, ecx
jle 0x46344f
mov dword [esi + 0x84], ecx
push str.10240
push dword [esi + 0x4c]
call ebx
push 0xffffffffffffffff
push ebp
push 0xb1
push dword [esi + 0x4c]
call edi
push 0xa
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x10]
push eax
call fcn.0046abbf
cmp eax, ebp
pop ecx
mov dword [esi + 0x8c], eax
jg 0x463485
mov dword [esi + 0x8c], 1
push 0x4a00f0
jmp 0x463499
mov ecx, 0x2800
cmp eax, ecx
jle 0x4634ab
mov dword [esi + 0x8c], ecx
push str.10240
push dword [esi + 0x50]
call ebx
push 0xffffffffffffffff
push ebp
push 0xb1
push dword [esi + 0x50]
call edi
mov ecx, esi
call fcn.00462e43
push 1
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004648e8
add esp, 0x18
ret 0x10

Function at 0x4648e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bc660]
jne 0x4648f2
repz ret
jmp fcn.0046c32c
Function at 0x46c541
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4bc708]
je 0x46c55c
inc edi
cmp edi, 0x17
jb 0x46c54d
cmp edi, 0x17
jae 0x46c6dc
push ebp
push 3
call fcn.00477a77
cmp eax, 1
pop ecx
je 0x46c6a8
push 3
call fcn.00477a77
test eax, eax
pop ecx
jne 0x46c590
cmp dword [0x4bc6d0], 1
je 0x46c6a8
cmp ebx, 0xfc
je 0x46c6db
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4bf630
push ebp
call fcn.0046c929
add esp, 0xc
test eax, eax
je 0x46c5c6
push esi
push esi
push esi
push esi
push esi
call fcn.00466667
add esp, 0x14
push 0x104
mov esi, 0x4bf649
push esi
push 0
mov byte [0x4bf74d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x46c60a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0046c929
add esp, 0xc
test eax, eax
je 0x46c60a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00466667
add esp, 0x14
push esi
call fcn.00466310
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x46c64f
push esi
call fcn.00466310
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4bf944
push 0x4a59ec
sub ecx, eax
push ecx
push eax
call fcn.00467d54
add esp, 0x14
test eax, eax
je 0x46c64f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00466667
add esp, 0x14
jmp 0x46c651
xor esi, esi
push 0x4a59e8
push ebx
push ebp
call fcn.00477a06
add esp, 0xc
test eax, eax
je 0x46c671
push esi
push esi
push esi
push esi
push esi
call fcn.00466667
add esp, 0x14
push dword [edi*8 + 0x4bc70c]
push ebx
push ebp
call fcn.00477a06
add esp, 0xc
test eax, eax
je 0x46c693
push esi
push esi
push esi
push esi
push esi
call fcn.00466667
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00477849
add esp, 0xc
jmp 0x46c6db
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x46c6db
cmp ebp, 0xffffffff
je 0x46c6db
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4bc70c]
push dword [esi]
call fcn.00466310
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret