joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10020990
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002c140
push 0x10023732
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x100209f6
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x10020a7f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x10020a1d
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x10020a7f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x10020a58
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x10020a58
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x10020a7f
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x10020a7f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020b60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10036318]
mov dword [ebp - 4], eax
jmp 0x10020b79
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10020b96
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10020b70
mov esp, ebp
pop ebp
ret
Function at 0x10020ba0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x10036328], eax
je 0x10020bbe
mov eax, 0x10dd
jmp 0x10020ca0
mov eax, dword [0x10036338]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10020c3d
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x10020c1b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x10020c1b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.10020d10
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.MSVCR100D.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x10020bc6
mov dword [0x10036338], 0
call fcn.10020cb0
mov ecx, dword [0x10036334]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x10020c8a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MSVCR100D.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x10020c55
mov dword [0x10036334], 0
mov dword [0x10036328], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10021210
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10021225
xor eax, eax
jmp 0x1002129a
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10000
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x10021252
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38d
jae 0x10021295
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x40], 0
je 0x10021293
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x1002128f
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x10021293
xor eax, eax
jmp 0x1002129a
jmp 0x10021249
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10021350
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1003632c], 0
je 0x10021369
mov eax, dword [0x1003632c]
jmp 0x10021409
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1002137b
xor eax, eax
jmp 0x10021409
push 8
call sub.MSVCR100D.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100213d1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100213ba
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100D.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1003632c], eax
mov dword [0x10036330], 0
mov eax, dword [ebp - 8]
jmp 0x10021409
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100213eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1002139b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10036334]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10036334], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x10021c50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10021d20
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10021d0c
cmp dword [ebp - 4], 0x50000000
jb 0x10021c8c
cmp dword [ebp - 4], 0x80000000
ja 0x10021c8c
mov dword [ebp - 4], 0x80010000
jmp 0x10021c65
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR100D.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10021cb2
jmp 0x10021d0c
cmp dword [ebp - 0x10], 0x10000
jne 0x10021cf5
cmp dword [ebp - 0x14], 0x10000
jb 0x10021cf5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10021ce8
mov eax, dword [ebp - 0x24]
jmp 0x10021d0e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10021d07
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.10021d20
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10021c65
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10021d60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10021e30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10021e24
cmp dword [ebp - 4], 0x50000000
jb 0x10021da1
cmp dword [ebp - 4], 0x80000000
ja 0x10021da1
mov dword [ebp - 4], 0x4fff0000
jmp 0x10021d7a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR100D.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10021dc7
jmp 0x10021e24
cmp dword [ebp - 0x10], 0x10000
jne 0x10021e0a
cmp dword [ebp - 0x14], 0x10000
jb 0x10021e0a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10021dfd
mov eax, dword [ebp - 0x24]
jmp 0x10021e26
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10021e1f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.10021e30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10021d7a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10022b80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10033420]
jne 0x10022b8a
repz ret
jmp fcn.10023f50
Function at 0x403d79
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
call fcn.00403d62
push dword [esp + 0xc]
push 0
push 0
push 0
push str.pAppName
call dword [sym.imp.WININET.dll_InternetOpenA]
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 4], eax
pop esi
mov eax, ecx
ret 8

Function at 0x403ff0
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.004458e0
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x404049
lea ecx, [ebp - 4]
push ecx
push 0x1000
lea ecx, [ebp - 0x1004]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x128], eax
call fcn.00403da6
cmp dword [ebp - 4], 0
je 0x404049
push dword [ebp - 4]
lea eax, [ebp - 0x1004]
push eax
lea ecx, [esi + 0x10]
call fcn.00401fbd
xor eax, eax
inc eax
jmp 0x40404b
xor eax, eax
pop esi
leave
ret

Function at 0x404270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404285
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x404297
xor eax, eax
jmp 0x4042c9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4042bb
cmp esi, eax
jae 0x404293
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4042ad
cmp esi, eax
jae 0x404293
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret

Function at 0x406a37
Capabilities:
Hash data using djb2

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [eax]
push edi
mov edi, 0x1505
jmp 0x406a76
cmp eax, 0x2f
je 0x406a50
cmp eax, 0x5c
jne 0x406a61
lea ecx, [esi + 1]
movsx edx, byte [ecx]
cmp eax, edx
jne 0x406a61
mov esi, ecx
movsx eax, byte [esi]
jmp 0x406a46
push eax
call fcn.00447d00
cmp eax, 0x5c
pop ecx
jne 0x406a70
push 0x2f
pop eax
imul edi, edi, 0x21
add edi, eax
inc esi
movsx eax, byte [esi]
test eax, eax
jne 0x406a46
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x406ac9
Capabilities:
Delete file

Disassembly:
mov eax, 0x466c78
call fcn.00446518
sub esp, 0x134
push ebx
push esi
push edi
push dword [ebp + 0xc]
call fcn.0040291d
xor ebx, ebx
pop ecx
mov dword [ebp - 0x10], ebx
mov esi, 0x4af870
push dword [ebp + 0xc]
lea ecx, [ebp - 0x140]
push dword [ebp + 8]
call fcn.004040e8
cmp dword [ebp - 0x13c], ebx
mov dword [ebp - 4], ebx
je 0x406b96
cmp dword [ebp - 0x138], ebx
je 0x406b96
call fcn.00406a84
mov edi, eax
push ebx
mov ecx, esi
add edi, 0xcc
call fcn.00404975
push dword [ebp - 0x14]
mov ecx, esi
push ebx
call fcn.0040494e
jmp 0x406b58
mov eax, dword [ebp - 0x18]
sub eax, ebx
push eax
mov ecx, esi
call fcn.00404997
mov ebx, dword [ebp - 0x18]
push 0
push edi
push dword [0x4af1a8]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [ebp - 0x140]
call fcn.00403ff0
test eax, eax
jne 0x406b39
lea ecx, [ebp - 0x140]
call fcn.00403f7b
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
je 0x406bc5
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00403fa0
xor ebx, ebx
jmp 0x406ba5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00403fa0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 1
jl 0x406aef
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00403fa0
mov al, 1
jmp 0x406bb4

Function at 0x406fbf
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 8]
push esi
push edi
xor esi, esi
xor edi, edi
cmp eax, ecx
je 0x406fec
mov ecx, dword [eax + 0x1c]
add esi, ecx
push eax
adc edi, 0
call fcn.004379d0
cmp eax, dword [ebx + 0x2c]
pop ecx
jne 0x406fd8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 8]
mul dword [ebp - 0xc]
push 0
add esi, section..rsrc
push 2
adc edi, 0
push edi
push esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.00447d30
cmp dword [ebp - 0x14], edx
jg 0x407048
jl 0x407034
cmp dword [ebp - 0x18], eax
jae 0x407048
push 0
push 0
push 0x4841bc
mov ecx, ebx
call fcn.004068b2
xor al, al
jmp 0x40704a
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41aa05
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x10], 0x182
je 0x41aa3e
cmp dword [ebp - 0x10], 0x1e6
je 0x41aa3e
push eax
push ebx
push ecx
push edx
mov eax, 1
cpuid
mov dword [ebp - 4], edx
pop edx
pop ecx
pop ebx
pop eax
mov eax, dword [ebp - 4]
pop ebx
shr eax, 0x17
and eax, 1
leave
ret

Function at 0x41ac3d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
mov esi, ecx
je 0x41ad20
mov eax, dword [esi]
cmp eax, ebx
je 0x41ad20
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x6c]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
cmp edi, ebx
jne 0x41ac7e
push str.createcompatible_dc_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x1c]
push eax
push 0x18
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [ebp + 0x14], ebx
jne 0x41aca2
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x18], ebx
jne 0x41acad
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x18], eax
mov eax, dword [esi]
lea edx, [ebp - 0x98]
mov dword [ebp - 0x98], 0x7c
mov dword [ebp - 0x94], 6
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x58]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jne 0x41ad14
push 0xcc0020
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esi]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov al, 1
pop edi
jmp 0x41ad22
xor al, al
pop esi
pop ebx
leave
ret 0x14
Function at 0x422990
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x469ca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword [0x4a6640]
push esi
mov dword [esp + 0x64], eax
push edi
xor edx, edx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0x4894c8
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x58], 0x67452301
mov dword [esp + 0x5c], 0xefcdab89
mov dword [esp + 0x60], 0x98badcfe
mov dword [esp + 0x64], 0x10325476
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], edx
call fcn.00422570
mov esi, dword [esp + 0x7c]
push esi
lea ecx, [esp + 0x10]
call fcn.00422660
mov ecx, dword [esp + 0x6c]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x64]
mov eax, esi
pop esi
call fcn.00448a30
add esp, 0x70
ret

Function at 0x423510
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x108
mov eax, dword [0x4a6640]
push esi
mov esi, dword [esp + 0x110]
push edi
push esi
mov dword [esp + 0x110], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x423556
test al, 0x10
jne 0x423556
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x104]
call fcn.00448a30
add esp, 0x108
ret 4
cmp dword [edi], 0
je 0x4235a4
lea edx, [esp + 8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x423563
lea eax, [esp + 8]
push eax
call fcn.00422b70
mov edx, dword [edi]
lea ecx, [esp + 0xc]
push ecx
push edx
call fcn.00424600
add esp, 0xc
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
mov ecx, dword [esp + 0x104]
call fcn.00448a30
add esp, 0x108
ret 4
mov ecx, dword [esp + 0x10c]
pop edi
xor al, al
pop esi
call fcn.00448a30
add esp, 0x108
ret 4

Function at 0x4239b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x469e68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
xor ebx, ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], ebx
mov dword [esi], vtable.VirtualFileIO.0
mov dword [esi + 4], eax
call fcn.00403ae8
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2d], bl
mov al, 1
mov byte [esi + 0x2c], al
mov dword [esi + 0x30], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0x2c], al
mov dword [esi + 0x28], ebx
mov byte [esi + 0x2d], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x427f10
Capabilities:
Terminate process

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x427f1d
test ebx, ebx
jne 0x427f22
or eax, 0xffffffff
pop edi
ret
movsx ecx, word [edi + 8]
lea edx, [ecx*8 + 8]
mov ecx, dword [0x4f9790]
cmp edx, ecx
jle 0x427f4b
push str.internal_error:_iio_overflow._Too_many_iio_channels.
call fcn.00448ea6
add esp, 4
push 0xffffffffffffffff
call fcn.00446a15
mov edx, dword [esp + 8]
inc edx
imul edx, ecx
push 0
push edx
push eax
call fcn.00448e5d
mov ecx, dword [0x4f9790]
mov eax, dword [edi]
imul ecx, esi
push eax
push ecx
push 1
push ebx
call fcn.0044855d
mov ecx, dword [0x4f9790]
imul ecx, esi
mov edx, eax
add esp, 0x1c
cmp edx, ecx
jge 0x427f98
sub ecx, edx
lea edi, [edx + ebx]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4f9790]
imul eax, esi
pop edi
ret

Function at 0x427fb0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x427fba
test ebx, ebx
jne 0x427fbe
or eax, 0xffffffff
ret
movsx ecx, word [esi + 8]
lea edx, [ecx*8 + 8]
mov ecx, dword [0x4f9790]
cmp edx, ecx
jle 0x427fe7
push str.internal_error:_iio_overflow._Too_many_iio_channels.
call fcn.00448ea6
add esp, 4
push 0xffffffffffffffff
call fcn.00446a15
mov edx, dword [esp + 4]
inc edx
imul edx, ecx
push 0
push edx
push eax
call fcn.00448e5d
mov ecx, dword [0x4f9790]
mov eax, dword [esi]
imul ecx, edi
push eax
push ecx
push 1
push ebx
call fcn.0044886f
mov eax, dword [0x4f9790]
add esp, 0x1c
imul eax, edi
ret

Function at 0x428230
Capabilities:
Terminate process

Disassembly:
push ecx
mov edx, dword [esp + 8]
movsx eax, word [edx + 8]
push ebx
push edi
xor ebx, ebx
xor edi, edi
test eax, eax
jle 0x428312
mov ecx, dword [edx + 0xc]
push ebp
mov ebp, ecx
push esi
sub ebp, ecx
mov dword [esp + 0x10], eax
mov esi, dword [ecx]
mov eax, dword [esi + 4]
cdq
idiv dword [0x4f9790]
inc eax
cdq
idiv dword [esi]
inc eax
cmp eax, ebx
jle 0x42826b
mov ebx, eax
mov eax, dword [ecx + ebp]
mov esi, dword [eax]
mov eax, dword [esp + 0x10]
add edi, esi
add ecx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x428254
test ebx, ebx
jle 0x428310
mov ecx, dword [esp + 0x18]
imul edi, ebx
movsx eax, word [ecx + 8]
lea edx, [eax*8 + 8]
mov eax, dword [0x4f9790]
cmp edx, eax
jle 0x4282b7
push str.internal_error:_iio_overflow._Too_many_iio_channels.
call fcn.00448ea6
add esp, 4
push 0xffffffffffffffff
call fcn.00446a15
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
lea ecx, [edi + 1]
imul ecx, eax
push 0
push ecx
push edx
call fcn.00448e5d
movsx eax, word [esi + 8]
lea ecx, [eax*8 + 8]
mov eax, dword [0x4f9790]
add esp, 0xc
cmp ecx, eax
jle 0x4282f7
push str.internal_error:_iio_overflow._Too_many_iio_channels.
call fcn.00448ea6
add esp, 4
push 0xffffffffffffffff
call fcn.00446a15
mov edx, dword [esi]
inc edi
imul edi, eax
push edi
push edx
call fcn.00454501
add esp, 4
push eax
call fcn.0044dc6c
add esp, 8
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
Function at 0x428350
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [0x4f9794]
lea eax, [esp + 4]
inc esi
push eax
mov dword [0x4f9794], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 8]
cmp eax, 0x100
mov dword [0x4f9790], eax
jge 0x428386
mov dword [0x4f9790], 0x100
push 0x10
call fcn.00445619
mov esi, eax
add esp, 4
test esi, esi
jne 0x42839b
pop esi
add esp, 0x24
ret
push edi
mov edi, dword [esp + 0x30]
mov eax, edi
mov word [esi + 8], 0
mov dword [esi + 0xc], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4283b2
sub eax, edx
add eax, 8
push eax
call fcn.00445619
add esp, 4
test eax, eax
mov dword [esi + 4], eax
jne 0x4283d6
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
mov ecx, edi
mov edx, eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4283e0
push 0x48991c
push edi
call fcn.00447f7a
add esp, 8
test eax, eax
mov dword [esi], eax
je 0x4283ce
call fcn.004281a0
pop edi
mov eax, esi
pop esi
add esp, 0x24
ret