joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3d0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push str.360se_iecompat_filter
push ebx
mov esi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebp, eax
mov dword [esp + 0x10], ebx
cmp ebp, ebx
jne 0x40d46b
cmp word [esi], bx
je 0x40d504
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d504
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x14
jb 0x40d448
push str.360se_iecompat_filter
push ebx
push 0
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0x208], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esi + 0x208]
mov dword [esi + 0x20c], ebx
test ebp, ebp
mov dword [esp + 0x10], 1
je 0x40d504
push 0
push 0
push 0
push 0xf001f
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x40d4f5
push edi
mov ecx, esi
call fcn.0040d950
test eax, eax
je 0x40d4ee
test ebx, ebx
jne 0x40d4a8
mov eax, dword [edi + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
lea ebx, [ecx*8 + 0x14]
cmp ebx, dword [esi + 0x214]
jbe 0x40d4cc
mov ecx, esi
call fcn.0040d3a0
push ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x210], eax
mov dword [esi + 0x214], ebx
mov eax, dword [esi + 0x210]
test eax, eax
je 0x40d4ee
mov ecx, ebx
mov esi, edi
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40d504
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40d610
Capabilities:
Parse url

Disassembly:
sub esp, 0x144
push ebx
push ebp
push esi
mov esi, dword [esp + 0x154]
test esi, esi
push edi
mov ebx, ecx
je 0x40d831
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 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 + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x54]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x24], 0x3c
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40d831
mov ebp, dword [esp + 0x15c]
mov eax, dword [ebx + 0x210]
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffe
add ebp, 2
test eax, eax
je 0x40d70f
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40d76a
lea edx, [edi + 8]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x40d6f1
mov edx, dword [esp + 0x10]
add edi, 0x108
add edx, 0x108
inc esi
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0x210]
cmp esi, dword [edx + 4]
jb 0x40d6b8
jmp 0x40d76a
cmp dword [edi], ebp
je 0x40d831
mov ecx, ebx
mov dword [edi], ebp
call fcn.0040d510
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
push 0x6734
mov dword [ebx + 0x214], 0x6734
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov ecx, dword [ebx + 0x210]
mov eax, dword [ebx + 0x214]
mov ecx, dword [ecx + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea ecx, [edx*8 + 0x11c]
cmp eax, ecx
jae 0x40d7d8
add eax, 0x6720
push eax
mov dword [esp + 0x18], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040d3a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov eax, dword [ebx + 0x210]
lea esi, [esp + 0x54]
mov ecx, dword [eax + 4]
mov edx, ecx
shl edx, 5
add edx, ecx
lea eax, [eax + edx*8 + 0x14]
mov edx, 0x100
mov dword [eax], ebp
add eax, 8
sub esi, eax
lea ecx, [edx + 0x7ffffefe]
test ecx, ecx
je 0x40d815
mov cl, byte [esi + eax]
test cl, cl
je 0x40d815
mov byte [eax], cl
inc eax
dec edx
jne 0x40d7fc
jmp 0x40d819
test edx, edx
jne 0x40d81a
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040d510
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret 8
Function at 0x40d840
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 esi, dword [esp + 0x150]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40d8b5
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8
mov al, byte [esp + 0x4c]
xor edi, edi
test al, al
push ebx
mov dword [esp + 0x10], edi
je 0x40d938
mov eax, dword [ebp + 0x210]
cmp eax, edi
je 0x40d938
mov ecx, dword [eax + 4]
lea ebx, [eax + 0x14]
cmp ecx, edi
jbe 0x40d938
lea esi, [ebx + 8]
cmp esi, 8
je 0x40d8f5
cmp byte [esi], 0
je 0x40d8f5
lea edx, [esp + 0x50]
push esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test eax, eax
jne 0x40d91e
mov eax, dword [ebp + 0x210]
add ebx, 0x108
add esi, 0x108
inc edi
cmp edi, dword [eax + 4]
jb 0x40d8db
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8
mov eax, dword [ebx]
mov edx, dword [esp + 0x158]
xor ecx, ecx
mov dword [esp + 0x10], 1
test eax, eax
sete cl
mov dword [edx], ecx
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x140
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x4f47d8
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.004edfd0
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.004a9f60
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x36e0], al
mov dword [esi + 0x36e4], edi
mov dword [esi + 0x36e8], edi
mov dword [esi + 0x36ec], edi
xor ecx, ecx
mov dword [esi], 0x4f9d14
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 + 0x36dc], 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 0x40dae0
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 + 0x36dc], eax
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x53ae08]
cmp eax, 0xffffffff
je 0x40db16
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 0x40db3a
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.004ee0e0
mov eax, dword [esi + 4]
test eax, eax
je 0x40db8a
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40db8a
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40db8a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40db8a
push 1
push 0
push 9
mov ecx, esi
call fcn.0040ed30
mov eax, dword [esi + 4]
pop edi
pop esi
ret 0x14

Function at 0x40dba0
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 0x40f000
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x28]
test eax, eax
je 0x40f08b
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x50]
test eax, eax
je 0x40f08b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
jne 0x40f035
push 0
push eax
push 0x12d
call fcn.004b8560
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 0x40f06f
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.0040f150
pop edi
pop esi
test eax, eax
pop ebp
jne 0x40f08b
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x413430
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.00412b60
cmp dword [esi + 0x569c], 2
jne 0x413455
mov eax, dword [esi + 0x5630]
push 0
push eax
jmp 0x4134de
mov eax, dword [esi + 0x5638]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x4134aa
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x4134aa
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 0x4134a1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4134ae
test bl, bl
je 0x4134e4
cmp dword [esi + 0x569c], 1
jne 0x4134d1
mov eax, dword [esi + 0x5634]
mov ecx, dword [esi + 0x5690]
push eax
push ecx
call fcn.00497390
mov ecx, eax
call fcn.004977d0
test bl, bl
je 0x4134e4
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.00413060
pop edi
pop esi
pop ebx
ret 8
Function at 0x415e30
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 0x415f42
push ebx
push ebp
push edi
mov edi, dword [esi + 0x562c]
xor ebx, ebx
test edi, edi
jne 0x415e63
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x415e61
call fcn.00415f50
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x415e75
mov ebx, 1
jmp 0x415efd
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x415e87
mov ebx, 2
jmp 0x415efd
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x415ef6
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x415ee3
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 0x415edc
mov edx, dword [esi + 0x5620]
mov ecx, dword [esi + 0x5618]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x415edc
mov ebx, 3
jmp 0x415ee8
mov ebx, 4
jmp 0x415ee8
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x415efd
call ebp
mov dword [esi + 0x44], eax
jmp 0x415efd
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x415f30
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x415f30
mov eax, dword [esi + 0x5640]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x415f30
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 0x415f42
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x4173f0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x53f06c
call fcn.00417730
push 0x40
push 0x4f9da8
push 0x53f06c
push 0x53f06c
call fcn.00417650
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x41747b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x50d000]
mov ecx, 8
mov esi, eax
mov edi, 0x53f04c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417590
mov ecx, dword [0x50cffc]
mov edx, dword [0x50d000]
push 0x20
push ecx
push edx
call fcn.004176a0
mov edi, dword [0x50cffc]
add esp, 0x14
mov ecx, 8
mov esi, 0x53f04c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41742f
jmp 0x4174d4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x50cffc]
mov ecx, 8
mov esi, eax
mov edi, 0x53f04c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417590
mov ecx, dword [0x50d000]
mov edx, dword [0x50cffc]
push 0x20
push ecx
push edx
call fcn.004176a0
mov edi, dword [0x50d000]
add esp, 0x14
mov ecx, 8
mov esi, 0x53f04c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x41748a
push 0x40
push 0x4f9de8
push 0x53f06c
push 0x53f06c
call fcn.00417650
mov eax, dword [esp + 0x24]
push 0x40
push 0x53f06c
push eax
call fcn.00417770
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x417510
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x53f00c
call fcn.00417730
push 0x38
push str.91__
push 0x53f00c
push 0x53f00c
call fcn.00417650
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4f9ee0]
mov edx, dword [0x50d004]
push ecx
push 0x1c
push edx
call fcn.004176d0
movsx eax, byte [esi + 0x4f9ee0]
mov ecx, dword [0x50d008]
push eax
push 0x1c
push ecx
call fcn.004176d0
push 0x30
push 0x4f9eb0
push 0x53f00c
push edi
call fcn.00417650
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x417542
pop edi
pop esi
ret

Function at 0x417590
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4f9e28
push esi
push 0x53efdc
call fcn.00417650
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x53efdc
call fcn.004176a0
push 0x53efdc
push esi
call fcn.004175e0
push 0x20
push 0x4f9e58
push esi
push esi
call fcn.00417650
add esp, 0x34
pop esi
ret

Function at 0x4176a0
Capabilities:
Encode data using xor

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

Function at 0x4177f0
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 0x417828
push edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
call fcn.004177c0
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 0x417809
pop edi
pop esi
pop ebx
ret
Function at 0x419b40
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4f4a8b
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.004832d0
xor ebx, ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esi + 0x258]
mov dword [esi], 0x4fa108
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 0x50cc44
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.00427dd0
push 0xc
mov dword [esi + 0x870], 0xc
mov dword [esi + 0x874], ebx
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
cmp edi, ebx
je 0x419c3d
lea eax, [esp + 0xc]
mov dword [edi + 8], 6
push eax
push 0xff000000
mov dword [edi], 0x4f9c18
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 0x41a5f0
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 [0x4fa130]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fmul qword [0x4fa130]
call sub.MSVCRT.dll__ftol
mov dword [esp + 4], eax
mov dword [esp + 8], 0
fild qword [esp + 4]
fadd qword [0x4fa128]
call sub.MSVCRT.dll__ftol
cmp eax, 0x400
pop edi
ja 0x41a67a
mov eax, 1
add esp, 0x48
ret
cmp eax, 0x800
ja 0x41a68a
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 0x41a6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f4afe
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.004edfd0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004de0e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00458140
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00458140
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], 0x4fa13c
mov eax, esi
pop edi
mov dword [ebx], 0x4fa138
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4f4afe
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.004edfd0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004de0e0
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00458140
lea ecx, [esi + 0x2ac]
mov byte [esp + 0x18], 2
call fcn.00458140
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], 0x4fa13c
mov eax, esi
pop edi
mov dword [ebx], 0x4fa138
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4f4b4a
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], 0x4fa13c
mov dword [edi], 0x4fa138
lea ecx, [esi + 0x2ac]
mov dword [esp + 0x18], 2
call fcn.00458240
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00458240
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004de110
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004ee010
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41aac0
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 0x53ada0
push str.XWnd
push 0
mov ecx, esi
call fcn.004ee0e0
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.0048bf20
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.004582e0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.004587f0
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.0048bf20
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.004582e0
mov ecx, dword [esi + 4]
push 0xc7
push ecx
mov ecx, edi
call fcn.004587f0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x41ac70
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x41ac90
call fcn.0041abf0
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 0x41acb0
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 0x41ace0
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 + 0x50d18c]
xor eax, edx
inc ecx
dec esi
jne 0x41acc1
pop ebx
not eax
pop esi
ret

Function at 0x41bdf0
Capabilities:
Create thread
Resume thread

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