joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4518e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47a4ec]
cmp dword [eax + 0x30], 0
je 0x45198e
cmp dword [ebx + 0x94], 0
jne 0x451988
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451874
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451988
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x45194e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451988
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0040d6e4
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45195d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45246c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4524a1
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0042d938
jmp 0x4524ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042d89c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4533d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453411
mov eax, esi
call fcn.00461930
test al, al
je 0x453411
mov eax, dword [ebx + 0x84]
call fcn.0046162c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x453411
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046162c
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x45518c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0042dce8
xor eax, eax
push ebp
push 0x4552ba
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x45528d
xor eax, eax
push ebp
push 0x455286
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042db00
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45525b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x45524a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042db00
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0042dcf8
mov edx, ebx
pop ecx
call fcn.0042bd64
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455251
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4797bc]
mov dl, 1
mov eax, dword [0x4198c0]
call fcn.0041e300
call fcn.0042d2e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4552c1
lea eax, [ebp - 4]
call fcn.0042d848
ret
Function at 0x4552c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x455479
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0042dee8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x455490
call fcn.0042db4c
mov eax, ebx
call fcn.00416094
mov edi, eax
dec edi
test edi, edi
jl 0x455380
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00416068
mov edx, dword [0x4361f8]
call fcn.0042cca4
test al, al
je 0x45537c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00416068
lea edx, [ebp - 0x14]
call fcn.0045afa8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0042dee8
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0042dbc0
inc esi
dec edi
jne 0x45532e
mov al, byte [0x455494]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4554a0
mov eax, dword [ebp - 0xc]
call fcn.0041f5a8
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0042d8e0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0045afa8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x455490
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0045afa8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x455490
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x455490
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4554ac
call fcn.0041b7fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455480
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0042d86c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0042d86c
lea eax, [ebp - 0x14]
call fcn.0042d848
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0042d86c
ret
Function at 0x458b20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x47a590], 0
je 0x458c6f
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x479724]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x458c6f
mov eax, dword [0x47a594]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47a590]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x458c3e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47a590]
call fcn.0040d6e4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x458c36
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x458c36
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x458c36
mov eax, dword [ebp - 0x14]
call fcn.0046162c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x458c36
push ebp
call fcn.00458adc
pop ecx
test al, al
jne 0x458c36
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x458bf2
mov eax, dword [ebp - 0x14]
call fcn.004601c0
dec eax
jle 0x458c36
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0042cd14
cmp byte [ebp - 1], 0
je 0x458c36
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x458c36
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47a594]
call fcn.004582a4
inc edi
dec ebx
jne 0x458b85
mov eax, dword [0x47a594]
cmp dword [eax + 8], 0
jle 0x458c56
mov eax, dword [0x47a594]
call fcn.00458334
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x458c6f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00458944
pop ecx
test al, al
jne 0x458c6f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c21c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x45c268
mov eax, esi
call fcn.00449a08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45c268
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x45c268
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x45c3a7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x45c2a8
cmp eax, 0x108
ja 0x45c2a8
mov eax, esi
call fcn.00449a08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45c39e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x45c3a7
jmp 0x45c39e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x45c387
cmp eax, 0x20a
ja 0x45c387
test byte [esi + 0x50], 0x80
jne 0x45c2da
sub eax, 0x203
je 0x45c2d7
sub eax, 3
je 0x45c2d7
sub eax, 3
jne 0x45c2da
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45c2ee
dec eax
je 0x45c303
dec eax
je 0x45c320
dec eax
je 0x45c303
jmp 0x45c327
mov ecx, ebx
mov eax, dword [0x479724]
mov eax, dword [eax]
mov edx, esi
call fcn.00453288
jmp 0x45c39e
cmp byte [esi + 0x5d], 1
jne 0x45c319
mov eax, esi
mov si, 0xffed
call fcn.0042cd14
jmp 0x45c3a7
or word [esi + 0x54], 1
jmp 0x45c39e
and word [esi + 0x54], 0xfffe
jmp 0x45c39e
mov eax, dword [0x47a54c]
cmp byte [eax + 0x20], 0
je 0x45c39e
mov eax, dword [0x47a54c]
cmp dword [eax + 0x1c], 0
je 0x45c39e
mov eax, dword [ebx]
mov edx, dword [0x47a54c]
cmp eax, dword [edx + 0x1c]
jne 0x45c39e
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0044994c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.0042cd14
jmp 0x45c3a7
cmp eax, 0xb00b
jne 0x45c39e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0045ab58
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f85c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45f878
cmp dword [esi + 4], 0
je 0x45f8a5
test byte [ebx + 0x55], 1
jne 0x45f897
mov eax, ebx
call fcn.0045e4b4
test eax, eax
jne 0x45f897
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45f9b5
mov edx, esi
mov eax, ebx
call fcn.0045f37c
jmp 0x45f9b5
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f9ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046162c
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045c150
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045f85c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046162c
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f9b5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465e50
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x479554]
cmp byte [eax + 0xc], 0
je 0x465fbd
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x465fb6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47a5a0], 0
jne 0x465ea4
push 0x465fc4
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x465fcc
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5a0], eax
cmp dword [0x475eac], 0
jne 0x465f9f
push 0x465fdc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x475eac], eax
cmp dword [0x475eac], 0
je 0x465f9f
push 0x465fe8
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5a4], eax
push 0x465ff8
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5a8], eax
push 0x46600c
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5ac], eax
push 0x466024
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5b0], eax
push 0x46603c
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5b4], eax
push 0x466050
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5b8], eax
push 0x466068
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5bc], eax
push 0x466080
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5c0], eax
push 0x46609c
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5c4], eax
push 0x4660a8
mov eax, dword [0x475eac]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47a5c8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465fbd
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46c544
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x46c5a6
call fcn.0046c4f4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004674a0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004674a0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46c624
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x477b2c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x46c6fe
cmp dword [0x477b28], 0
jne 0x46c6fe
cmp dword [0x477d0c], 0
je 0x46c6b8
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0046c3f4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46c69e
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0046c3f4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x46c69e
lea ebx, [ebp - 0x84]
jmp 0x46c69f
inc ebx
call fcn.0046c5e0
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x46c739
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x477b30
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004674a0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x477b33
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x46c739
cmp dword [0x477b28], 0
je 0x46c718
cmp dword [0x477b28], 0xffffffff
je 0x46c739
push esi
call dword [0x477b28]
pop ecx
mov eax, dword [0x477b2c]
test eax, eax
je 0x46c739
cmp dword [0x477b2c], 0xffffffff
je 0x46c739
cmp byte [eax], 0
je 0x46c739
push esi
push eax
call fcn.0046c544
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46ced0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x47ae2c], 0
jne 0x46cf51
cmp dword [0x47ae4c], 0
jne 0x46cf00
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x47ae4c], eax
test eax, eax
jne 0x46cf00
push str.GetEnvironmentStrings_failed
call fcn.0046c750
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x47ae4c]
jmp 0x46cf14
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004674a0
pop ecx
mov edi, eax
test eax, eax
jne 0x46cf0c
lea edi, [ebp + 1]
push edi
call fcn.00466da4
pop ecx
mov ebx, eax
mov dword [0x47ae30], ebx
test ebx, ebx
jne 0x46cf3e
xor eax, eax
jmp 0x46d014
push edi
mov edx, dword [0x47ae4c]
push edx
push ebx
call fcn.00467350
add esp, 0xc
jmp 0x46cf71
xor esi, esi
mov ebx, dword [0x47ae2c]
jmp 0x46cf6b
push eax
call fcn.004674a0
pop ecx
test eax, eax
jne 0x46cf67
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46cf5b
lea ebx, [esi + 4]
push 4
mov dword [0x47ae34], ebx
inc ebx
push ebx
call fcn.0046687c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x46cf94
xor eax, eax
jmp 0x46d014
cmp dword [0x47ae2c], 0
jne 0x46cfc5
xor esi, esi
mov ebx, dword [0x47ae30]
mov eax, dword [esp]
mov ebp, eax
jmp 0x46cfb6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004674a0
pop ecx
mov edi, eax
test eax, eax
jne 0x46cfac
jmp 0x46cff6
xor esi, esi
mov ebx, dword [0x47ae2c]
mov eax, dword [esp]
mov edi, eax
jmp 0x46cff0
push eax
call fcn.004674a0
pop ecx
test eax, eax
je 0x46cfe5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x46cfe9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x46cfd4
mov eax, dword [0x47ae2c]
test eax, eax
je 0x46d006
push eax
call fcn.00466db4
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x47ae2c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40894c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.0040896b
add edi, edi
xor dword [ebx], eax
dec edi
add ebx, 1
mov edx, 0xf6703542
cmp ebx, esi
jne fcn.0040894c
ret

Function at 0x450012
Capabilities:
Encode data using xor

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
xor ebx, ebx
push ebx
push ebx
push 0x80000000
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [0x44ff28]
sub edi, edi
sub ecx, ecx
mov cl, 0xe5
inc edi
loop 0x45003a
call 0x450042
pop esi
sub esi, 0xffffffc2
push esi
sub ebx, ebx
or ebx, 0x2394
mov al, byte [esi]
xor ax, di
xchg byte [esi], al
inc esi
sub ebx, 1
cmp ebx, 0
ja 0x450052
pop esi
mov esp, dword fs:[0]
pop dword fs:[0]
pop edi
pop ebp
jmp esi
Function at 0x4028e3
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x390]
sub esp, 0x410
mov eax, dword [0x40e1ec]
xor eax, ebp
mov dword [ebp + 0x38c], eax
mov eax, dword [ebp + 0x398]
push esi
mov esi, dword [ebp + 0x3a0]
push edi
mov edi, dword [ebp + 0x39c]
test edi, edi
mov dword [ebp - 0x78], eax
je 0x40298d
test esi, esi
je 0x40298d
and word [ebp - 0x74], 0
push 0x3fe
lea eax, [ebp - 0x72]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push edi
push dword [ebp - 0x78]
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0x1ff
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x74]
push esi
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x40298d
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
add eax, eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x402990
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x38c]
pop edi
xor ecx, ebp
pop esi
call fcn.00407410
add ebp, 0x390
leave
ret
Function at 0x403d3a
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x28
mov eax, 0x40841a
call fcn.0040741f
lea eax, [ebp - 0x24]
push eax
push 3
xor ebx, ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsUser_AgentPost_Platform
mov dword [ebp - 0x18], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x403c8d
push str.TencentTraveler_4.0
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], ebx
call fcn.0040187a
mov dword [ebp - 4], ebx
push 0x40
pop edi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], ebx
call fcn.00401914
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push ebx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push ebx
jmp 0x403c5c
cmp dword [ebp - 0x28], 1
jne 0x403bf4
push dword [ebp - 0x30]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call fcn.004037bf
mov byte [ebp - 4], 1
or dword [ebp - 0x18], 1
push str.TencentTraveler_4.0
mov ecx, eax
call fcn.00402fab
test eax, eax
mov byte [ebp - 0xd], 1
je 0x403bf7
mov byte [ebp - 0xd], bl
mov dword [ebp - 4], ebx
test byte [ebp - 0x18], 1
je 0x403c0c
and dword [ebp - 0x18], 0xfffffffe
lea ecx, [ebp - 0x34]
call fcn.00403496
cmp byte [ebp - 0xd], bl
je 0x403c24
push dword [ebp - 0x14]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x403c78
dec dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403496
inc dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040187a
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], ebx
call fcn.00401914
push ebx
push ebx
lea ecx, [ebp - 0x28]
push ecx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], eax
call fcn.00401614
cmp dword [ebp - 0x2c], ebx
je 0x403bc3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403496
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.004074f7
ret
xor eax, eax
mov ecx, dword [0x40e22c]
cmp ecx, dword [eax*4 + 0x40f008]
je 0x403d53
inc eax
cmp eax, 0xa
jb 0x403d3c
jmp 0x403d64
shl eax, 2
and dword [eax + 0x40f008], 0
and dword [eax + 0x40f030], 0
call dword [sym.imp.TTUtilWidget.dll_int___cdecl_Util::Module::IsAllowMultiTTIntance_void_]
test eax, eax
je 0x403d77
and dword [section.TT_Share], 0
jmp 0x403d97
xor eax, eax
cmp dword [eax*4 + 0x40f008], 0
jne 0x403d8b
inc eax
cmp eax, 0xa
jb 0x403d79
jmp 0x403d97
mov eax, dword [eax*4 + 0x40f008]
mov dword [section.TT_Share], eax
call dword [sym.imp.TTUtilWidget.dll_void___cdecl_Util::Module::ReleaseTTInstanceObject_void_]
dec dword [0x40f004]
call dword [sym.imp.TTUtilWidget.dll_int___cdecl_Util::Module::IsTTInstanceExsist_void_]
test eax, eax
jne 0x403db2
jmp 0x403b49
ret