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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5136ab
push eax
mov eax, 0x229f4
mov dword fs:[0], esp
call fcn.00512b50
mov eax, dword [esp + 0x22a04]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
push ebp
push esi
push edi
lea esi, [eax + 8]
push str.often
push esi
call ebx
test eax, eax
je 0x41079e
push str.mostvisit
push esi
call ebx
test eax, eax
je 0x41079e
push str.oftenUrls
push esi
call ebx
test eax, eax
je 0x41079e
push str.preset
push esi
call ebx
test eax, eax
jne 0x41079a
xor ebp, ebp
mov ecx, 0x82
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push 0x1a
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x14]
push str.360SE
push edx
push str._s_sdatapreset.dat
lea eax, [esp + 0x22c]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x234]
push ecx
call fcn.004114d0
add esp, 0x18
jmp 0x41081b
xor eax, eax
jmp 0x41081b
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov ecx, 0x8976
xor eax, eax
lea edi, [esp + 0x42c]
push str.oftenUrls
rep stosd dword es:[edi], eax
push esi
mov dword [esp + 0x22a14], ebp
mov edi, 1
call ebx
test eax, eax
jne 0x4107ce
xor edi, edi
push edi
lea edx, [esp + 0x430]
push 0x1e
push edx
call fcn.004b3540
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.004e8290
mov esi, eax
add esp, 0x18
cmp esi, ebp
je 0x41080a
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push esi
call dword [ecx + 0x88]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x10]
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, esi
mov ecx, dword [esp + 0x22a04]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22a00
ret

Function at 0x410ff0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push 1
push str.snapcache_
mov ecx, 0x560ee8
call fcn.0040a620
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x52e450
push 0x104
push 0x622104
call esi
add esp, 0x10
mov ecx, 0x560ee8
push 0
push str.Blankdata.ini
call fcn.0040a620
push eax
push 0x104
push 0x621ce4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x621ce4
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x411062
and al, 0xfe
push eax
push 0x621ce4
call ebx
push 0
push str.Exinclude.dat
mov ecx, 0x560ee8
call fcn.0040a620
push eax
push 0x104
push 0x621ef4
call esi
add esp, 0xc
push 0x621ef4
call edi
cmp eax, 0xffffffff
je 0x411099
and al, 0xfe
push eax
push 0x621ef4
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x621ce0
call esi
push 0x621ef0
call esi
push 0x622100
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x4110c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, dword [esp + 0x21c]
mov esi, dword [esp + 0x218]
lea ecx, [esp + 8]
push str.360SE
push ecx
dec edx
push str._s_sdataurls.dat
push edx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x4114d0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x513738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x560ec0
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 4], eax
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411530
push esi
call fcn.004e8000
mov esi, eax
add esp, 4
test esi, esi
je 0x411530
mov eax, dword [esi]
lea ecx, [esp + 4]
push ecx
push esi
call dword [eax + 0x88]
mov edx, dword [esi]
push esi
call dword [edx + 8]
mov esi, dword [esp + 4]
push 0
mov dword [esp + 8], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x412450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x513778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00500a80
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.004bfa40
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x36e8], al
mov dword [esi + 0x36ec], edi
mov dword [esi + 0x36f0], edi
mov dword [esi + 0x36f4], edi
xor ecx, ecx
mov dword [esi], 0x519df4
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x36e4], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4125b0
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esi + 0x3c]
push edi
push edx
mov dword [esi + 0x36e4], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x560f30]
cmp eax, 0xffffffff
je 0x4125e6
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
mov ebx, dword [esi + 0x6c]
test ebx, ebx
mov ecx, 0x4600004c
mov edx, 0x80
mov eax, 0xfffffffd
pop ebx
je 0x41260a
xor eax, eax
mov ecx, 0x84000000
mov edx, 0x8000080
push 6
push 8
push 0
push eax
mov eax, dword [esp + 0x28]
push edi
push ecx
push eax
push str.Container
push edx
mov ecx, esi
call fcn.00500b90
mov eax, dword [esi + 4]
test eax, eax
je 0x41265a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x41265a
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x41265a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x41265a
push 1
push 0
push 9
mov ecx, esi
call fcn.00413800
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x412670
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x413ad0
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x28]
test eax, eax
je 0x413b5b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
je 0x413b5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jne 0x413b05
push 0
push eax
push 0x12d
call fcn.004cfdf0
add esp, 0xc
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x413b3f
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.00413c20
pop edi
pop esi
test eax, eax
pop ebp
jne 0x413b5b
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x4180a0
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004176d0
cmp dword [esi + 0x569c], 2
jne 0x4180c5
mov eax, dword [esi + 0x5630]
push 0
push eax
jmp 0x41814e
mov eax, dword [esi + 0x5638]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x41811a
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x41811a
mov ecx, dword [esi + 0x562c]
mov edx, dword [esi + 0x5628]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x418111
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41811e
test bl, bl
je 0x418154
cmp dword [esi + 0x569c], 1
jne 0x418141
mov eax, dword [esi + 0x5634]
mov ecx, dword [esi + 0x5690]
push eax
push ecx
call fcn.004a50d0
mov ecx, eax
call fcn.004a5510
test bl, bl
je 0x418154
mov edx, dword [esi + 0x5630]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00417cd0
pop edi
pop esi
pop ebx
ret 8
Function at 0x41ab90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x5680]
test eax, eax
je 0x41aca2
push ebx
push ebp
push edi
mov edi, dword [esi + 0x562c]
xor ebx, ebx
test edi, edi
jne 0x41abc3
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41abc1
call fcn.0041acb0
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x41abd5
mov ebx, 1
jmp 0x41ac5d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41abe7
mov ebx, 2
jmp 0x41ac5d
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x41ac56
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41ac43
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x561c]
mov edx, dword [esi + 0x5614]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x41ac3c
mov edx, dword [esi + 0x5620]
mov ecx, dword [esi + 0x5618]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x41ac3c
mov ebx, 3
jmp 0x41ac48
mov ebx, 4
jmp 0x41ac48
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x41ac5d
call ebp
mov dword [esi + 0x44], eax
jmp 0x41ac5d
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x41ac90
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x41ac90
mov eax, dword [esi + 0x5640]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x41ac90
mov eax, dword [esi + 0x5628]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x41aca2
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x41c370
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x5651a4
call fcn.0041c6b0
push 0x40
push 0x519e88
push 0x5651a4
push 0x5651a4
call fcn.0041c5d0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41c3fb
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x52f524]
mov ecx, 8
mov esi, eax
mov edi, 0x565184
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041c510
mov ecx, dword [0x52f520]
mov edx, dword [0x52f524]
push 0x20
push ecx
push edx
call fcn.0041c620
mov edi, dword [0x52f520]
add esp, 0x14
mov ecx, 8
mov esi, 0x565184
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41c3af
jmp 0x41c454
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x52f520]
mov ecx, 8
mov esi, eax
mov edi, 0x565184
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041c510
mov ecx, dword [0x52f524]
mov edx, dword [0x52f520]
push 0x20
push ecx
push edx
call fcn.0041c620
mov edi, dword [0x52f524]
add esp, 0x14
mov ecx, 8
mov esi, 0x565184
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41c40a
push 0x40
push 0x519ec8
push 0x5651a4
push 0x5651a4
call fcn.0041c5d0
mov eax, dword [esp + 0x24]
push 0x40
push 0x5651a4
push eax
call fcn.0041c6f0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41c490
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x565144
call fcn.0041c6b0
push 0x38
push str.91__
push 0x565144
push 0x565144
call fcn.0041c5d0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x519fc0]
mov edx, dword [0x52f528]
push ecx
push 0x1c
push edx
call fcn.0041c650
movsx eax, byte [esi + 0x519fc0]
mov ecx, dword [0x52f52c]
push eax
push 0x1c
push ecx
call fcn.0041c650
push 0x30
push 0x519f90
push 0x565144
push edi
call fcn.0041c5d0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x41c4c2
pop edi
pop esi
ret

Function at 0x41c510
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x519f08
push esi
push 0x565114
call fcn.0041c5d0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x565114
call fcn.0041c620
push 0x565114
push esi
call fcn.0041c560
push 0x20
push 0x519f38
push esi
push esi
call fcn.0041c5d0
add esp, 0x34
pop esi
ret

Function at 0x41c620
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x41c642
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x41c634
pop ebx
pop esi
ret

Function at 0x41c770
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push esi
xor esi, esi
mov dword [esp + 0x14], eax
test ebx, ebx
jle 0x41c7a8
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
call fcn.0041c740
mov cl, byte [esi + edi]
add al, 0x11
xor al, cl
add esp, 4
xor al, 2
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x41c789
pop edi
pop esi
pop ebx
ret
Function at 0x41eac0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x513a4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x18]
call fcn.00490140
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x258]
mov dword [esi], 0x51a1e8
mov dword [esi + 0x87c], 4
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x254], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esi + 0x460]
push SysReAllocString
push 0x52eed8
rep stosd dword es:[edi], eax
lea eax, [esi + 0x668]
push ebx
push 0x104
push eax
mov dword [esp + 0x30], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], 0xffffffff
call fcn.0041f530
push 0xc
mov dword [esi + 0x870], 0xc
mov dword [esi + 0x874], ebx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x41ebbd
lea eax, [esp + 0xc]
mov dword [edi + 8], 6
push eax
push 0xff000000
mov dword [edi], 0x519ce0
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [esi + 0x878], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x878], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41f5e0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x48
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
fild qword [esp + 4]
fmul qword [0x51a210]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fmul qword [0x51a210]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fadd qword [0x51a208]
call sub.MSVCRT.dll__ftol
cmp eax, 0x400
pop edi
ja 0x41f66a
mov eax, 1
add esp, 0x48
ret
cmp eax, 0x800
ja 0x41f67a
mov eax, 2
add esp, 0x48
ret
mov edx, 0x1000
cmp edx, eax
sbb eax, eax
neg eax
add eax, 3
add esp, 0x48
ret
Function at 0x41f690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x513abe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00500a80
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004ee980
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00460a80
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00460a80
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x51a21c
mov eax, esi
pop edi
mov dword [ebx], 0x51a218
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41f6a7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x513abe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00500a80
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004ee980
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00460a80
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00460a80
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x528], edi
mov dword [esi + 0x52c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x538], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x51a21c
mov eax, esi
pop edi
mov dword [ebx], 0x51a218
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41f740
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x513b0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x51a21c
mov dword [edi], 0x51a218
lea ecx, [esi + 0x2ac]
mov dword [esp + 0x18], 2
call fcn.00460b80
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00460b80
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004ee9b0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00500ac0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41fab0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push 0x2008
push 0x44
lea edx, [esp + 0x18]
push edi
push edx
push 0x44000000
push 0x560ec0
push str.XWnd
push 0
mov ecx, esi
call fcn.00500b90
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.00499730
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x528], eax
call fcn.00460c20
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00461130
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.00499730
add esp, 4
push eax
push str.Button
push 0
call ebx
push 0
push 0
mov dword [esi + 0x52c], eax
lea edi, [esi + 0x2ac]
push 0x5aff
push 0xd0721f
mov ecx, edi
call fcn.00460c20
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.00461130
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x41fc60
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x41fc80
call fcn.0041fbe0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x41fca0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x41fcd0
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x52f6a0]
xor eax, edx
inc ecx
dec esi
jne 0x41fcb1
pop ebx
not eax
pop esi
ret

Function at 0x420e50
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
mov esi, ecx
je 0x420eed
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x420eed
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x420e90
push eax
push 0x52e450
lea eax, [esi + 0x28]
push 0x103
push eax
call edi
add esp, 0x10
push ebp
push 0x52e450
lea ecx, [esi + 0x230]
push 0x103
push ecx
call edi
add esp, 0x10
lea edx, [esi + 0x438]
push ebx
push 0x52e450
push 0x103
push edx
call edi
push 0
push 4
push esi
push 0x4211d0
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x28
mov dword [esi + 0x24], eax
test eax, eax
pop edi
je 0x420eed
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ebp
pop ebx
ret 0xc