joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3e30
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x52e060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x18]
call fcn.0051483c
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebx
call fcn.0051483c
mov eax, dword [ebp + 0x28]
mov byte [esp + 0x50], 1
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005148de
mov esi, eax
cmp esi, ebx
jne 0x4a3eb3
lea ecx, [esp + 0x38]
mov byte [esp + 0x50], bl
call fcn.00514971
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call fcn.00514971
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov ecx, dword [esi + 4]
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ecx
call edi
push eax
lea ecx, [esp + 0x20]
call fcn.005148f3
mov edx, dword [esi + 4]
push edx
call edi
push eax
lea ecx, [esp + 0x40]
call fcn.005148f3
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x18]
call fcn.00515361
mov eax, dword [esi + 4]
push 0x2e
push 0x100
push eax
mov byte [esp + 0x60], 2
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
cmp edi, ebx
je 0x4a3f16
mov ecx, dword [esp + 0x20]
push edi
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], 0x2e
call fcn.004a77c0
test eax, eax
jne 0x4a3f5a
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x4a3f83
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push 0xf9f8f8
push 0xfdfbfb
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x24], 1
call fcn.004aee70
add esp, 0x14
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, ebp
call fcn.004a4040
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0
push 0
push eax
mov eax, dword [esi + 4]
push 0x2e
push 0x100
push 3
push 0x14
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test ebx, ebx
je 0x4a3fd1
mov ecx, dword [esp + 0x20]
push ebx
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [ebp + 0x28]
mov edx, dword [esi + 4]
push edx
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x14], vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 3
call fcn.005152fb
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00514971
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
call fcn.00514971
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x4a4440
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x254
xor eax, eax
push esi
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0x264]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x30]
push 0xc
push edx
push eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x274]
push 0x2d1080
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4a4496
mov dword [esi], 0xffffffff
pop esi
add esp, 0x254
ret
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x54]
push edx
push 0x102
mov dword [esp + 0x1c], ecx
call dword [0x671a64]
mov ecx, dword [str..A:]
mov edx, dword [0x63f034]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x63f038]
mov dword [esp + 0x1c], edx
mov dx, word [0x63f03c]
test eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], dx
mov dword [esi], 0
jle 0x4a45d5
push ebx
push ebp
push edi
xor ebp, ebp
lea ebx, [esp + 0x60]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp ax, 0x41
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
je 0x4a45c0
cmp ax, 0x42
je 0x4a45c0
lea edx, [esp + 0x10]
push edx
call dword [0x671a4c]
cmp eax, 2
jb 0x4a45c0
cmp eax, 3
ja 0x4a45c0
mov ax, word [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
lea ecx, [esp + 0x38]
push 0x80000000
push ecx
mov word [esp + 0x48], ax
call dword [0x671a1c]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a45c0
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x40]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
push eax
push edx
lea eax, [esp + 0x48]
push 0x20
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4a45c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jne 0x4a45b7
mov eax, dword [esp + 0x270]
mov edi, dword [esp + 0x26c]
mov cx, word [esp + 0x10]
mov edx, dword [eax]
mov word [edi + edx*2], cx
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
push esi
call fcn.004b6a60
add esp, 4
mov eax, dword [esp + 0x18]
add ebp, 4
add ebx, 8
cmp ebp, eax
jl 0x4a44f3
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x254
ret
Function at 0x4a45e0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x248
mov eax, dword [0x6634b0]
mov ecx, dword [0x6634b4]
mov edx, dword [0x6634b8]
mov dword [esp + 4], eax
mov ax, word [0x6634bc]
push esi
mov esi, dword [esp + 0x254]
push edi
mov dword [esp + 0x10], ecx
mov word [esp + 0x18], ax
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
mov di, word [esp + 0x254]
mov dword [esp + 8], 0
test esi, esi
mov dword [esp + 0x2c], 0x227
mov word [esp + 0x14], di
jne 0x4a4663
push esi
push esi
push 3
push esi
push 3
lea ecx, [esp + 0x20]
push 0x80000000
push ecx
call dword [0x671a1c]
mov esi, eax
cmp esi, 0xffffffff
je 0x4a46c2
mov eax, dword [esp + 0x2c]
push ebx
lea edx, [esp + 0xc]
push 0
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x30]
push 0xc
push edx
push 0x2d1400
push esi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test di, di
mov ebx, eax
je 0x4a46a8
push esi
call fcn.004b6a60
add esp, 4
test ebx, ebx
pop ebx
je 0x4a46c2
cmp dword [esp + 0x44], 7
jne 0x4a46c2
pop edi
mov eax, 1
pop esi
add esp, 0x248
ret
pop edi
xor eax, eax
pop esi
add esp, 0x248
ret
Function at 0x4a5370
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x52e110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x66f704]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x44]
mov byte [esp + 0x30], 1
cmp eax, 1
mov dword [esp + 0x18], esi
jne 0x4a53e8
push str.Homepage
push 0x672
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0050e13f
mov eax, dword [ebp + 0x88]
lea ecx, [esp + 0x10]
push eax
call fcn.0050e13f
add ebp, 0x68
jmp 0x4a5417
push str.Email
push 0x67c
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0x14]
push eax
call fcn.0050e13f
mov ecx, dword [ebp + 0x8c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0050e13f
add ebp, 0x78
mov eax, dword [0x717d00]
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp eax, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x20], edi
je 0x4a543f
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push 0
mov ecx, esi
mov dword [eax + 0x90], edi
mov edx, dword [esi]
call dword [edx + 0x30]
push 1
mov ecx, esi
call fcn.00514afc
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
push edi
call dword [edx + 0x5c]
mov edx, dword [esi]
push 0xff0000
mov ecx, esi
add edi, 0x64
call dword [edx + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push ebx
push edi
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x3c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [0x6719f4]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [ebp], edi
mov dword [ebp + 4], ebx
lea edx, [ecx + edi - 1]
lea ecx, [eax + ebx - 1]
mov eax, dword [esp + 0x18]
mov dword [ebp + 8], edx
test eax, eax
mov dword [ebp + 0xc], ecx
je 0x4a54d9
mov edx, dword [esi + 4]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call fcn.0050dfa8
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
Function at 0x4a5820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x66f704]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
push str.Version
push 0x690
mov dword [esp + 0x30], 0
xor edi, edi
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0xc]
push eax
call fcn.0050e13f
push 0x613ad0
lea ecx, [esp + 0x10]
call fcn.0050e399
push 0x662bec
lea ecx, [esp + 0x10]
call fcn.0050e399
push 0x61645c
lea ecx, [esp + 0x10]
call fcn.0050e399
push str.32_bit
push 0x25d3
call fcn.004dd120
add esp, 8
lea ecx, [esp + 0xc]
push eax
call fcn.0050e399
push 0x61644c
lea ecx, [esp + 0x10]
call fcn.0050e399
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
lea eax, [esp + 0x14]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [0x717d00]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x4a5901
mov edx, dword [esi + 4]
push eax
push edx
call ebx
mov edi, eax
mov eax, dword [esi]
push ebp
push 0
mov ecx, esi
call dword [eax + 0x30]
push 1
mov ecx, esi
call fcn.00514afc
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
lea ebp, [esp + 0x14]
push 2
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
test edi, edi
pop ebp
je 0x4a5937
mov eax, dword [esi + 4]
push edi
push eax
call ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4aaa30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52e710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x66f704]
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 8], eax
fild qword [esi + 0x30]
fild qword [esi + 0x28]
mov byte [esp + 0x1c], 1
fdivp st(1)
fmul dword [0x5da050]
fcom dword [0x5da050]
fnstsw ax
test ah, 0x41
jne 0x4aaa89
fstp st(0)
fld dword [0x5da050]
call fcn.004f866c
mov edi, eax
push edi
push str._d__
push 0x6c88ec
call fcn.004f5dd2
lea eax, [esi + 0x6c]
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s__d__
push ecx
call fcn.0050b108
mov ecx, dword [esi + 8]
add esp, 0x1c
lea edx, [esp + 0xc]
push edx
call fcn.00510276
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call fcn.004f6135
add esp, 8
test eax, eax
je 0x4aab11
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050dd15
mov eax, dword [esi + 0x1080]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.004a8c60
mov ecx, dword [0x6c889c]
add esp, 0xc
test ecx, ecx
je 0x4aab11
push 0
push 2
call fcn.004a8040
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.0050dfa8
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret
Function at 0x4aec80
Capabilities:
Terminate process

Disassembly:
push ecx
mov eax, dword [0x66f704]
push 0x613d00
push 0x2706
mov dword [esp + 8], eax
call fcn.004dd120
add esp, 8
lea ecx, [esp]
push eax
call fcn.0050e13f
mov ecx, dword [esp]
push 0
push 0x10
push ecx
call fcn.005172c3
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4b1200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52ec05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], 0x5ddeb8
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov eax, dword [0x66f704]
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], eax
mov ecx, dword [0x66f704]
mov dword [esi + 0x20], ecx
mov edx, dword [0x66f704]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edi
mov eax, dword [0x66f704]
mov dword [esi + 0x2c], eax
mov ecx, dword [0x66f704]
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 5
call fcn.0050d3df
mov edx, dword [0x66f704]
mov dword [esi + 0x48], edx
lea ecx, [esi + 0x4c]
mov byte [esp + 0x14], 7
call fcn.0050d3df
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x60], 0x5ddeb8
mov dword [esi + 0x64], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x74], edi
mov eax, dword [0x66f704]
mov dword [esi + 0x78], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b4c30
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x10]
xor esi, esi
push eax
push edi
mov dword [esp + 0x1c], esi
xor ebp, ebp
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push str.GetMappedFileNameW
push str.psapi.dll
mov dword [esp + 0x24], eax
call dword [0x671ac4]
push eax
call dword [0x671a7c]
mov ebx, eax
test ebx, ebx
je 0x4b4ce1
push 0x800
call fcn.004b6a20
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4b4ce1
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b4c97
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b4ce1
push 0
push 1
push 0
push 2
push 0
push edi
call dword [0x671a18]
mov esi, eax
test esi, esi
je 0x4b4ce1
push 1
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4b4cf0
push 0x104
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
je 0x4b4ce5
mov dword [esp + 0x14], 1
jmp 0x4b4ce5
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4b4cf0
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call fcn.004b6a60
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
jne 0x4b4d14
push ebp
call fcn.004b6a50
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4b4f50
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push 0
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
ret
Function at 0x4b5f00
Capabilities:
Get disk size

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
lea ecx, [esp]
push 0
push eax
push 8
push ecx
push 0
push 0
push 0x7405c
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4b5f43
mov eax, dword [esp + 4]
mov ecx, dword [esp]
push 0
push 0x200
push eax
push ecx
call fcn.004f5c30
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret

Function at 0x4b6a80
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 8]
push eax
push ecx
push esi
call fcn.004b6ad0
add esp, 0xc
test eax, eax
jne 0x4b6aa1
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 8]
push 0
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b6ac2
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 8]
pop esi
ret

Function at 0x4b6b20
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0xc]
lea edx, [esp]
push edx
push ecx
push eax
call fcn.004b1120
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret

Function at 0x4b6c50
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0xc]
push eax
push ecx
push edi
call fcn.004b6ad0
add esp, 0xc
test eax, eax
jne 0x4b6c70
pop edi
pop esi
ret
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push 0
push edx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b6c8f
pop edi
pop esi
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, esi
pop edi
sete al
pop esi
ret

Function at 0x4b6d90
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
push ebx
mov ebx, dword [esp + 8]
and edx, ecx
push ebp
push esi
cmp edx, 0xffffffff
push edi
je 0x4b6dc0
push ecx
push eax
push ebx
call fcn.004b6ad0
add esp, 0xc
test eax, eax
jne 0x4b6dc0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
push eax
push esi
push edi
push ebx
mov dword [esp + 0x28], 0
call ebp
test eax, eax
jne 0x4b6df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x70
jne 0x4b6db8
cmp dword [esp + 0x14], esi
je 0x4b6e1a
push esi
push ebx
call fcn.004b4e20
add esp, 8
cmp eax, 1
jne 0x4b6e10
mov eax, dword [esp + 0x14]
add edi, eax
sub esi, eax
jmp 0x4b6dce
mov dword [0x760b24], 1
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4b7ff0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x52f206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x910
mov eax, dword [0x66f704]
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x92c]
mov dword [esp + 0x924], ebx
mov edx, dword [ecx]
mov eax, dword [edx - 8]
inc eax
push eax
call fcn.0050e3ed
mov ebp, eax
cmp ebp, ebx
je 0x4b81bb
push 0xc
call fcn.005129c8
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4b80b0
mov eax, dword [0x66f704]
push edi
mov dword [esi + 8], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6c7b30]
mov eax, dword [esp + 0x934]
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x24], str.open
mov edx, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], 1
pop edi
jne 0x4b80b7
lea eax, [esp + 0x14]
mov dword [esp + 0x24], ebp
push eax
call dword [0x671b1c]
jmp 0x4b815b
xor esi, esi
jmp 0x4b8194
cmp eax, 1
jne 0x4b80f6
lea ecx, [esp + 0x54]
push str.shell32.dll_OpenAs_RunDLL
push ecx
call fcn.004f59f2
lea edx, [esp + 0x5c]
push ebp
push edx
call fcn.004f59c8
add esp, 0x10
lea ecx, [esp + 0x14]
lea eax, [esp + 0x54]
mov dword [esp + 0x24], 0x665f70
push ecx
mov dword [esp + 0x2c], eax
call dword [0x671b1c]
jmp 0x4b815b
cmp eax, 2
jne 0x4b815b
lea edx, [esp + 0x10]
push edx
call fcn.004b81f0
add esp, 4
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x928], 1
call fcn.0050e0ef
lea ecx, [esp + 0x10]
mov byte [esp + 0x924], 0
call fcn.0050dfa8
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.0050e3ed
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x2c], ebp
call dword [0x671b1c]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.0050e43d
cmp dword [esp + 0x34], 0x1f
je 0x4b8194
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4b8194
push ebp
lea ecx, [esi + 8]
mov dword [esi], eax
call fcn.0050e13f
lea edx, [esp + 0x50]
push edx
push 0
push esi
push 0x4b7f70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov ebx, 1
mov ecx, dword [esp + 0x92c]
push 0xffffffffffffffff
call fcn.0050e43d
test ebx, ebx
jne 0x4b81bb
test esi, esi
je 0x4b81bb
lea ecx, [esi + 8]
call fcn.0050dfa8
push esi
call fcn.005129f1
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x924], 0xffffffff
call fcn.0050dfa8
mov ecx, dword [esp + 0x91c]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x91c
ret
Function at 0x4bec40
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov ecx, 0x4000
xor eax, eax
mov edi, 0x750380
xor esi, esi
rep stosd dword es:[edi], eax
mov eax, dword [0x6d3814]
mov dword [0x740364], esi
cmp eax, esi
mov dword [0x760388], esi
mov dword [0x6d3804], esi
jne 0x4bec78
mov eax, dword [esp + 0xc]
mov dword [0x6d3810], eax
jmp 0x4becb0
mov eax, dword [0x740368]
push 0x10000
push eax
call fcn.004becf0
add esp, 8
cmp eax, 0x106
mov dword [0x6d3810], eax
jae 0x4becb0
cmp dword [0x6d3804], esi
jne 0x4becb0
call fcn.004bed50
mov eax, dword [0x6d3810]
cmp eax, 0x106
jb 0x4bec97
cmp eax, esi
je 0x4bece6
mov esi, dword [0x740368]
xor ecx, ecx
mov dword [0x6d3800], ecx
xor eax, eax
xor edx, edx
and ecx, 0x3ff
mov dl, byte [esi + eax]
and edx, 0x7fff
shl ecx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [0x6d3800], ecx
jb 0x4becc4
pop edi
pop esi
ret
Function at 0x4c1b10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
je 0x4c1b40
mov ecx, dword [esp + 8]
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 + 0x5dfc6c]
xor eax, edx
inc ecx
dec esi
jne 0x4c1b21
pop ebx
not eax
pop esi
ret

Function at 0x4c2d70
Capabilities:
Check if file exists

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], 1
push edi
call fcn.004c2d10
mov ebp, dword [edi + 0x9c90]
add esp, 4
test ebp, ebp
jne 0x4c2d9f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
jle 0x4c2dbd
lea esi, [edi + 4]
mov ebx, ebp
mov eax, dword [esi]
push eax
call fcn.004b6a50
mov dword [esi], 0
add esp, 4
add esi, 4
dec ebx
jne 0x4c2da6
lea ecx, [ebp*4]
push ecx
call fcn.004b6a20
add esp, 4
mov dword [edi + 0x9c88], eax
test eax, eax
jne 0x4c2de5
call fcn.004aec80
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
xor ebx, ebx
test ebp, ebp
jle 0x4c2e46
mov eax, 0xfffffffc
lea esi, [edi + 4]
sub eax, edi
mov dword [esp + 0x18], eax
push ebx
push edi
call fcn.004c2380
mov edx, dword [esi]
push edx
call fcn.004b6b50
add esp, 0xc
test eax, eax
jne 0x4c2e2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4c2e25
mov eax, dword [esi]
push eax
call fcn.004b43e0
add esp, 4
mov dword [esp + 0x10], 0
jmp 0x4c2e3e
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x9c88]
add ecx, esi
mov dword [ecx + edx], eax
inc ebx
add esi, 4
cmp ebx, ebp
jl 0x4c2df9
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret