joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4125c0
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
xor edi, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x158]
cmp eax, edi
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x24], esi
je 0x4126cd
mov edx, dword [esp + 0x150]
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x4c]
sub edx, ecx
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x412641
mov cl, byte [edx + eax]
test cl, cl
je 0x412641
mov byte [eax], cl
inc eax
dec esi
jne 0x412628
jmp 0x412645
cmp esi, edi
jne 0x412646
dec eax
mov byte [eax], 0
mov al, byte [esp + 0x4c]
push ebx
test al, al
mov dword [esp + 0x10], edi
je 0x41271b
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x41271b
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
test ecx, ecx
jbe 0x41271b
lea esi, [ebx + 8]
cmp esi, 8
je 0x4126a4
cmp byte [esi], 0
je 0x4126a4
lea eax, [esp + 0x50]
mov ecx, ebp
push eax
push esi
call fcn.00412570
test eax, eax
jne 0x412701
lea ecx, [esp + 0x50]
push esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x412701
mov edx, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [edx + 4]
jb 0x412679
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov esi, dword [esp + 0x150]
lea edx, [esp + 0x10]
push edx
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x412649
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x158]
mov dword [esp + 0x10], 1
sete al
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 0xc
Function at 0x412760
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x51e3ab
push eax
mov eax, 0x229f4
mov dword fs:[0], esp
call fcn.0051d7f0
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 0x41283e
push str.mostvisit
push esi
call ebx
test eax, eax
je 0x41283e
push str.oftenUrls
push esi
call ebx
test eax, eax
je 0x41283e
push str.preset
push esi
call ebx
test eax, eax
jne 0x41283a
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.00413570
add esp, 0x18
jmp 0x4128bb
xor eax, eax
jmp 0x4128bb
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 0x41286e
xor edi, edi
push edi
lea edx, [esp + 0x430]
push 0x1e
push edx
call fcn.004b9620
push esi
push eax
lea eax, [esp + 0x440]
push eax
call fcn.004f1d70
mov esi, eax
add esp, 0x18
cmp esi, ebp
je 0x4128aa
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 0x413090
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, 0x56e210
call fcn.0040c500
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x53a4a4
push 0x104
push 0x5cd364
call esi
add esp, 0x10
mov ecx, 0x56e210
push 0
push str.Blankdata.ini
call fcn.0040c500
push eax
push 0x104
push 0x5ccf44
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push 0x5ccf44
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp eax, 0xffffffff
je 0x413102
and al, 0xfe
push eax
push 0x5ccf44
call ebx
push 0
push str.Exinclude.dat
mov ecx, 0x56e210
call fcn.0040c500
push eax
push 0x104
push 0x5cd154
call esi
add esp, 0xc
push 0x5cd154
call edi
cmp eax, 0xffffffff
je 0x413139
and al, 0xfe
push eax
push 0x5cd154
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0x5ccf40
call esi
push 0x5cd150
call esi
push 0x5cd360
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x413160
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 0x413570
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x51e438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x56e1d0
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 0x4135d0
push esi
call fcn.004f1ae0
mov esi, eax
add esp, 4
test esi, esi
je 0x4135d0
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 0x4144f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51e478
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.0050b490
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.004c6450
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x36ec], al
mov dword [esi + 0x36f0], edi
mov dword [esi + 0x36f4], edi
mov dword [esi + 0x36f8], edi
xor ecx, ecx
mov dword [esi], 0x524e34
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 + 0x36e8], 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 0x414650
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 + 0x36e8], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x56e258]
cmp eax, 0xffffffff
je 0x414686
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 0x4146aa
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.0050b5a0
mov eax, dword [esi + 4]
test eax, eax
je 0x4146fa
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x4146fa
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x4146fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4146fa
push 1
push 0
push 9
mov ecx, esi
call fcn.004158a0
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x414710
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 0x415b60
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x28]
test eax, eax
je 0x415beb
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
je 0x415beb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jne 0x415b95
push 0
push eax
push 0x12d
call fcn.004d7a80
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 0x415bcf
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.00415cb0
pop edi
pop esi
test eax, eax
pop ebp
jne 0x415beb
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x41a200
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004197f0
cmp dword [esi + 0x569c], 2
jne 0x41a225
mov eax, dword [esi + 0x5630]
push 0
push eax
jmp 0x41a2ae
mov eax, dword [esi + 0x5638]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x41a27a
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x41a27a
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 0x41a271
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41a27e
test bl, bl
je 0x41a2b4
cmp dword [esi + 0x569c], 1
jne 0x41a2a1
mov eax, dword [esi + 0x5634]
mov ecx, dword [esi + 0x5690]
push eax
push ecx
call fcn.004a8aa0
mov ecx, eax
call fcn.004a8f10
test bl, bl
je 0x41a2b4
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.00419e30
pop edi
pop esi
pop ebx
ret 8
Function at 0x41ccf0
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 0x41ce02
push ebx
push ebp
push edi
mov edi, dword [esi + 0x562c]
xor ebx, ebx
test edi, edi
jne 0x41cd23
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x41cd21
call fcn.0041ce10
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x41cd35
mov ebx, 1
jmp 0x41cdbd
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x41cd47
mov ebx, 2
jmp 0x41cdbd
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x41cdb6
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41cda3
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 0x41cd9c
mov edx, dword [esi + 0x5620]
mov ecx, dword [esi + 0x5618]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x41cd9c
mov ebx, 3
jmp 0x41cda8
mov ebx, 4
jmp 0x41cda8
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x41cdbd
call ebp
mov dword [esi + 0x44], eax
jmp 0x41cdbd
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x41cdf0
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x41cdf0
mov eax, dword [esi + 0x5640]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x41cdf0
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 0x41ce02
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x41e150
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x5724d4
call fcn.0041e490
push 0x40
push 0x524ec8
push 0x5724d4
push 0x5724d4
call fcn.0041e3b0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41e1db
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x53b79c]
mov ecx, 8
mov esi, eax
mov edi, 0x5724b4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041e2f0
mov ecx, dword [0x53b798]
mov edx, dword [0x53b79c]
push 0x20
push ecx
push edx
call fcn.0041e400
mov edi, dword [0x53b798]
add esp, 0x14
mov ecx, 8
mov esi, 0x5724b4
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41e18f
jmp 0x41e234
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x53b798]
mov ecx, 8
mov esi, eax
mov edi, 0x5724b4
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0041e2f0
mov ecx, dword [0x53b79c]
mov edx, dword [0x53b798]
push 0x20
push ecx
push edx
call fcn.0041e400
mov edi, dword [0x53b79c]
add esp, 0x14
mov ecx, 8
mov esi, 0x5724b4
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41e1ea
push 0x40
push 0x524f08
push 0x5724d4
push 0x5724d4
call fcn.0041e3b0
mov eax, dword [esp + 0x24]
push 0x40
push 0x5724d4
push eax
call fcn.0041e4d0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x41e270
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x572474
call fcn.0041e490
push 0x38
push str.91__
push 0x572474
push 0x572474
call fcn.0041e3b0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x525000]
mov edx, dword [0x53b7a0]
push ecx
push 0x1c
push edx
call fcn.0041e430
movsx eax, byte [esi + 0x525000]
mov ecx, dword [0x53b7a4]
push eax
push 0x1c
push ecx
call fcn.0041e430
push 0x30
push 0x524fd0
push 0x572474
push edi
call fcn.0041e3b0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x41e2a2
pop edi
pop esi
ret

Function at 0x41e2f0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x524f48
push esi
push 0x572444
call fcn.0041e3b0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x572444
call fcn.0041e400
push 0x572444
push esi
call fcn.0041e340
push 0x20
push 0x524f78
push esi
push esi
call fcn.0041e3b0
add esp, 0x34
pop esi
ret

Function at 0x41e400
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x41e422
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 0x41e414
pop ebx
pop esi
ret

Function at 0x41e550
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 0x41e588
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
call fcn.0041e520
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 0x41e569
pop edi
pop esi
pop ebx
ret
Function at 0x4207f0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x51e74b
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.00493020
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x258]
mov dword [esi], 0x525228
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 0x53b1d4
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.00519a30
push 0xc
mov dword [esi + 0x870], 0xc
mov dword [esi + 0x874], ebx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x4208ed
lea eax, [esp + 0xc]
mov dword [edi + 8], 6
push eax
push 0xff000000
mov dword [edi], 0x524d20
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 0x421280
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 [0x525250]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fmul qword [0x525250]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fadd qword [0x525248]
call sub.MSVCRT.dll__ftol
cmp eax, 0x400
pop edi
ja 0x42130a
mov eax, 1
add esp, 0x48
ret
cmp eax, 0x800
ja 0x42131a
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 0x421330
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x51e7be
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.0050b490
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f8b10
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462b80
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462b80
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], 0x52525c
mov eax, esi
pop edi
mov dword [ebx], 0x525258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51e7be
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.0050b490
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004f8b10
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462b80
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00462b80
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], 0x52525c
mov eax, esi
pop edi
mov dword [ebx], 0x525258
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x51e80a
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], 0x52525c
mov dword [edi], 0x525258
lea ecx, [esi + 0x2ac]
mov dword [esp + 0x18], 2
call fcn.00462c80
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00462c80
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004f8b40
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.0050b4d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x421750
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 0x56e1d0
push str.XWnd
push 0
mov ecx, esi
call fcn.0050b5a0
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.0049bcd0
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.00462d20
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00463230
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.0049bcd0
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.00462d20
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.00463230
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x421900
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x421920
call fcn.00421880
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 0x421940
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 0x421970
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 + 0x53b918]
xor eax, edx
inc ecx
dec esi
jne 0x421951
pop ebx
not eax
pop esi
ret

Function at 0x422b40
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
test ebp, ebp
mov esi, ecx
je 0x422bdd
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x422bdd
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x422b80
push eax
push 0x53a4a4
lea eax, [esi + 0x28]
push 0x103
push eax
call edi
add esp, 0x10
push ebp
push 0x53a4a4
lea ecx, [esi + 0x230]
push 0x103
push ecx
call edi
add esp, 0x10
lea edx, [esi + 0x438]
push ebx
push 0x53a4a4
push 0x103
push edx
call edi
push 0
push 4
push esi
push 0x422ee0
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 0x422bdd
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