joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453c40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x453c73
push esi
call fcn.00461ff0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x453c6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x453cf9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x453ce2
mov eax, dword [esi + 8]
test eax, eax
je 0x453c97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x453cde
cmp eax, 2
je 0x453ce2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x453c8a
cmp eax, 3
je 0x453cbd
cmp eax, 1
jne 0x453c8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x453c8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x453c8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00453d20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x453d08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00453d20
add esp, 4
pop esi
ret

Function at 0x454590
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4545b1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4545b1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4545b1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x470350
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4703f3
test eax, eax
jbe 0x4703f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4703f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x47039e
xor esi, esi
jmp 0x4703a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4703cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040da80
add esi, eax
push esi
mov ebx, esi
call fcn.0040da80
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4703b0
pop ebp
test edi, edi
pop edi
jne 0x4703f3
test ebx, ebx
je 0x4703f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004856f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x470555
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x47066d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47066d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004974ef
mov esi, eax
test esi, esi
je 0x47066d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x47066d
mov ecx, esi
call fcn.004704e0
cmp edi, eax
jge 0x47066d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4705f3
mov dword [esp + 0x34], 1
jmp 0x47064e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x47066d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046ed00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x474a70
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x474ab9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x474f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4f50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00474ae0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00474b60
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00474b60
lea ecx, [esi + 0xc]
call fcn.00495a50
lea ecx, [esi + 0x10]
call fcn.00495a50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004760f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004760f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004760f0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00495ac5
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00495ac5
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4762e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x476346
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x476346
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x476327
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x497e93
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x497ecb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00495f20
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00495ef8
jmp 0x497ed7
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49958d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4995cf
call fcn.0049f0f8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4995cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4995c6
xor eax, eax
jmp 0x4995d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004995dd
pop edi
pop esi
pop ebx
ret 4

Function at 0x49f628
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49f656
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49f674
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049f58e
jmp 0x49f674
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49f674
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049f58e
test edi, edi
mov eax, edi
jne 0x49f65e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4012c0
Capabilities:
Enumerate disk volumes
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x458080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1a2f9e0]
xorps xmm0, xmm0
push ebx
push esi
movlpd qword [ebp - 0x2b8], xmm0
mov eax, dword [eax + 0x1c]
mov ebx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
push edi
mov edi, dword [ebp - 0x2b4]
test eax, eax
je 0x40130d
nop
add ebx, dword [eax + 8]
adc edi, dword [eax + 0xc]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x401300
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x2b4], eax
test eax, eax
je 0x4014e4
nop dword [eax]
cmp eax, 0xffffffff
je 0x4014e4
push 0x90
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x214], 0
xorps xmm0, xmm0
mov dword [ebp - 0x218], 0
push 0
push eax
movq qword [ebp - 0x220], xmm0
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x210]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401377
sub eax, edx
sar eax, 1
cmp eax, 1
jb 0x4013a0
cmp word [ebp + eax*2 - 0x212], 0x5c
jne 0x4013a0
xor ecx, ecx
mov word [ebp + eax*2 - 0x212], cx
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401465
push 0
lea eax, [ebp - 0x214]
push eax
push 0xc
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40145e
mov eax, dword [ebp - 0x220]
sub eax, 7
je 0x401402
sub eax, 1
je 0x401402
sub eax, 1
jne 0x40145e
mov eax, dword [ebp - 0x2bc]
cmp dword [ebp - 0x21c], eax
jne 0x40145e
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x90
push eax
push 0x90
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0
push 0x70048
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40145e
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [ebp - 0x2a4]
shrd eax, ecx, 9
sar ecx, 9
cmp ebx, eax
jne 0x40145e
cmp edi, ecx
je 0x40148c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x4014e4
mov eax, dword [ebp - 0x2b4]
jmp 0x401330
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0
push 0
push 0
push 0
push 0x90020
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4014de
push str.Failed_to_lock_volume_n
call fcn.00402250
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419bef
mov esp, ebp
pop ebp
ret
mov dword [0x1a2f9f0], esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419bef
mov esp, ebp
pop ebp
ret
Function at 0x402760
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12a4
call fcn.00419ba0
mov eax, dword [0x458080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.msvcrt.dll_wcstoul]
push edi
push 0xa
push 0
push ecx
mov edi, edx
mov dword [ebp - 0x129c], eax
call esi
add esp, 0xc
mov dword [ebp - 0x12a0], eax
push 0xa
push 0
push edi
call esi
mov esi, dword [ebp - 0x12a0]
add esp, 0xc
mov edi, eax
mov ecx, esi
mov edx, edi
call fcn.00401500
test al, al
jne 0x4027df
push edi
push esi
push str.Failed_to_open_disk__lu_part__lu_n
call fcn.00402250
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419bef
mov esp, ebp
pop ebp
ret
push ecx
lea ecx, [ebp - 0x1298]
call fcn.00408640
add esp, 4
lea eax, [ebp - 0x240]
push eax
push ebx
call fcn.004200d0
add esp, 8
cmp eax, 0xffffffff
jne 0x402891
push ebx
push str.open__s_failed_n
call fcn.00401010
add esp, 8
xor bl, bl
push ecx
xor ecx, ecx
call fcn.00408640
mov ecx, dword [0x1a2f9e0]
add esp, 4
test ecx, ecx
je 0x402831
call fcn.00414d50
mov eax, dword [0x1a2f9f4]
xorps xmm0, xmm0
mov dword [0x1a2f9e0], 0
movlpd qword [0x1a2f9e8], xmm0
test eax, eax
je 0x402859
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov eax, dword [0x1a2f9f0]
mov dword [0x1a2f9f4], 0
test eax, eax
je 0x402878
cmp eax, 0xffffffff
je 0x402878
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419bef
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x23a]
mov ecx, 0x4000
and eax, 0xf000
cmp ax, cx
jne 0x4028ba
mov edx, dword [ebp - 0x129c]
mov ecx, ebx
call fcn.00404250
mov bl, al
jmp 0x402817
mov ecx, 0x8000
cmp ax, cx
jne 0x402815
mov edi, dword [ebp - 0x129c]
mov ecx, 0x42a6b4
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4028fb
test dx, dx
je 0x4028f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4028fb
add eax, 4
add ecx, 4
test dx, dx
jne 0x4028d5
xor eax, eax
jmp 0x402900
sbb eax, eax
or eax, 1
mov esi, dword [sym.imp.msvcrt.dll_wcsrchr]
push 0x2f
push ebx
test eax, eax
jne 0x402961
call esi
add esp, 8
test eax, eax
jne 0x402926
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x402926
mov eax, ebx
jmp 0x402929
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wcsdup]
add esp, 4
push eax
push 0x42a6b8
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004015e0
add esp, 0x10
lea edx, [ebp - 0x210]
mov ecx, ebx
call fcn.00403fa0
mov bl, al
jmp 0x402817
call esi
add esp, 8
test eax, eax
jne 0x40297a
push 0x5c
push ebx
call esi
add esp, 8
test eax, eax
jne 0x40297a
mov eax, ebx
jmp 0x40297d
add eax, 2
push eax
call dword [sym.imp.msvcrt.dll__wcsdup]
add esp, 4
push eax
push edi
push str._ls_ls
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004015e0
add esp, 0x14
lea edx, [ebp - 0x210]
mov ecx, ebx
call fcn.00403fa0
mov bl, al
jmp 0x402817
Function at 0x403db0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x403f78
mov eax, dword [edi + 0x478]
cmp eax, 0xffffffff
je 0x403f78
cmp dword [edi + 0x47c], 0
je 0x403f78
cmp dword [edi + 0x474], 0
push esi
jne 0x403f66
cmp dword [edi + 0x470], 0
lea esi, [edi + 0x220]
je 0x403e07
mov dword [edi + 0x470], 0
jmp 0x403e17
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403f66
test esi, esi
je 0x403f66
xor edx, edx
lea ecx, [ebx + 0x16]
lea eax, [esi + 0x2e]
movzx esi, word [eax - 2]
test si, si
je 0x403e89
mov word [ecx - 2], si
movzx esi, word [eax]
test si, si
je 0x403e88
mov word [ecx], si
movzx esi, word [eax + 2]
test si, si
je 0x403e83
mov word [ecx + 2], si
movzx esi, word [eax + 4]
test si, si
je 0x403e7e
mov word [ecx + 4], si
movzx esi, word [eax + 6]
test si, si
je 0x403e79
mov word [ecx + 6], si
add edx, 5
add eax, 0xa
add ecx, 0xa
cmp edx, 0x104
jb 0x403e27
jmp 0x403e89
add edx, 4
jmp 0x403e89
add edx, 3
jmp 0x403e89
add edx, 2
jmp 0x403e89
inc edx
xor eax, eax
lea esi, [edi + 0x220]
mov word [ebx + edx*2 + 0x14], ax
mov dword [ebx + 0xc], edx
mov eax, dword [esi]
test al, 0x40
je 0x403ea8
mov dword [ebx + 0x10], 0x2000
jmp 0x403eca
test eax, 0x400
je 0x403eb8
mov dword [ebx + 0x10], 0xc000
jmp 0x403eca
test al, 0x10
mov ecx, 0x4000
mov eax, 0x8000
cmovne eax, ecx
mov dword [ebx + 0x10], eax
cmp dword [edi + 0x474], 0
jne 0x403f42
cmp dword [edi + 0x470], 0
je 0x403ee8
mov dword [edi + 0x470], 0
jmp 0x403ef9
push esi
push dword [edi + 0x478]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x403f42
lea edx, [esi + 0x2c]
mov ecx, 0x1505
lea eax, [esi + 0x234]
cmp edx, eax
je 0x403f2d
nop dword [eax + eax]
movzx esi, word [edx]
add edx, 2
test esi, esi
je 0x403f2d
mov eax, ecx
shl ecx, 5
add ecx, esi
add ecx, eax
lea eax, [edi + 0x454]
cmp edx, eax
jne 0x403f10
and ecx, 0x7fffffff
mov dword [ebx + 4], ecx
mov dword [edi + 0x470], 1
jmp 0x403f49
mov dword [ebx + 4], 0x7fffffff
mov eax, 0x220
mov dword [ebx], 0
mov word [ebx + 8], ax
mov eax, dword [ebp + 8]
pop esi
pop edi
mov dword [eax], ebx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
mov dword [eax], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
push 9
call fcn.00420150
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], 0
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404820
Capabilities:
Decompress data using quicklz

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x458080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x10]
push esi
push eax
call dword [sym.imp.msvcrt.dll__time64]
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00420760
add esp, 8
test eax, eax
jne 0x40487a
mov eax, dword [ebp - 0x20]
mov dl, byte [ebp - 0x28]
add eax, 0x76c
mov bl, byte [ebp - 0x2c]
mov bh, byte [ebp - 0x30]
movzx ecx, ax
mov al, byte [ebp - 0x24]
mov ah, byte [ebp - 0x34]
inc al
mov byte [ebp - 0x35], ah
jmp 0x404887
xor al, al
xor ecx, ecx
xor dl, dl
mov byte [ebp - 0x35], al
xor bl, bl
xor bh, bh
movzx esi, cx
sub esi, 0x3c
movzx eax, al
shl esi, 4
or esi, eax
movzx ecx, bh
movzx eax, dl
shl esi, 5
or esi, eax
movzx edx, bl
movzx eax, byte [ebp - 0x35]
shl edx, 6
or edx, ecx
shl esi, 0xb
mov ecx, dword [ebp - 4]
and edx, 0x7ff
or esi, edx
shr eax, 1
shl esi, 5
xor ecx, ebp
or eax, esi
pop esi
pop ebx
call fcn.00419bef
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [ebp - 0xc], esi
cmp dword [esi], 0x20494645
jne 0x407747
cmp dword [esi + 4], 0x54524150
jne 0x407747
cmp dword [esi + 8], 0x10000
jne 0x407747
movzx edi, byte [esi + 0xf]
movzx eax, byte [esi + 0xe]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xd]
shl edi, 8
or edi, eax
movzx eax, byte [esi + 0xc]
shl edi, 8
or edi, eax
lea eax, [edi - 0x5c]
cmp eax, 0x1a4
ja 0x407747
or eax, 0xffffffff
test edi, edi
je 0x4076c9
mov ecx, 0xfffffff0
mov edx, esi
sub ecx, esi
mov dword [ebp - 4], edx
mov esi, ecx
push ebx
lea ecx, [esi + edx]
cmp ecx, 4
jae 0x407692
xor bh, bh
jmp 0x407694
mov bh, byte [edx]
mov bl, 1
test bl, bh
mov ecx, 0
setne cl
xor eax, ecx
mov edx, eax
mov ecx, eax
shr edx, 1
mov eax, edx
xor eax, 0xedb88320
test cl, 1
cmove eax, edx
add bl, bl
jne 0x407696
mov edx, dword [ebp - 4]
inc edx
mov dword [ebp - 4], edx
sub edi, 1
jne 0x407686
mov esi, dword [ebp - 0xc]
pop ebx
movzx edx, byte [esi + 0x13]
not eax
movzx ecx, byte [esi + 0x12]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x11]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 0x10]
shl edx, 8
or edx, ecx
cmp eax, edx
jne 0x407747
movzx ecx, byte [esi + 0x57]
movzx eax, byte [esi + 0x56]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x55]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x54]
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jne 0x407747
movzx ecx, byte [esi + 0x53]
movzx eax, byte [esi + 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x51]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x50]
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
ja 0x407747
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407750
Capabilities:
Encode data using xor

Disassembly:
push esi
test ecx, ecx
mov eax, 1
push edi
mov esi, edx
mov edi, 0x10
cmovne eax, ecx
mov ecx, eax
lea esi, [esi + 1]
shr ecx, 1
mov edx, ecx
xor edx, 0xa3000000
test al, 1
cmove edx, ecx
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
test cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xa3000000
test dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xa3000000
test cl, 1
cmove edx, eax
mov ecx, edx
shr ecx, 1
mov eax, ecx
xor eax, 0xa3000000
test dl, 1
cmove eax, ecx
mov byte [esi - 1], al
sub edi, 1
jne 0x407763
pop edi
pop esi
ret
Function at 0x41a349
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41a388
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41a388
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41a388
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41a388
cmp dword [ecx + 0x74], 0xe
jbe 0x41a388
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41a840
Capabilities:
Get process heap force flags

Disassembly:
call fcn.0041a770
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x41a86a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x41a876
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x41a880
Capabilities:
Get process heap force flags

Disassembly:
call fcn.0041a770
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x41a8aa
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x41f800
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x41f82a
mov eax, 2
pop ebp
ret
push esi
call fcn.0041a770
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x41f84a
jmp dword [eax*4 + 0x41f880]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.00420f00
or eax, 0xffffffff
pop esi
pop ebp
ret