joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4046e1
Capabilities:
Get common file path
Move file
Write file on windows

Disassembly:
sub esp, 0x440
mov eax, dword [0x421050]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push ebp
push esi
xor eax, eax
xor ebx, ebx
push 0x208
mov word [esp + 0x240], ax
mov esi, edx
lea eax, [esp + 0x242]
mov ebp, ecx
push ebx
push eax
call fcn.0040bc00
add esp, 0xc
lea eax, [esp + 0x23c]
push eax
push ebx
push 0x41eec4
push ebp
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40475a
xor eax, eax
jmp 0x404801
push edi
push esi
lea eax, [esp + 0x18]
push str.failed:__d
push eax
call fcn.00406936
lea edi, [esp + 0x20]
add esp, 0xc
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x404775
push 0
lea eax, [esp + 0x14]
sub edi, ecx
push eax
push edi
lea eax, [esp + 0x20]
push eax
push ebx
invalid
invalid

Function at 0x404819
Capabilities:
Query service status

Disassembly:
sub esp, 0x2c
mov eax, dword [0x421050]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push 5
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x404866
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 5
je 0x40485c
xor eax, eax
cmp ecx, 0x429
setne al
add eax, 0xfe
jmp 0x404955
mov eax, 0xfd
jmp 0x404955
push ebp
push esi
push 4
push str.MozillaMaintenance
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, eax
test ebp, ebp
jne 0x4048d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sub esi, 5
je 0x4048c8
dec esi
je 0x4048be
sub esi, 0x75
je 0x4048b4
sub esi, 0x3a9
je 0x4048aa
mov eax, 0xef
jmp 0x404953
mov eax, 0xee
jmp 0x404953
mov eax, 0xed
jmp 0x404953
mov eax, 0xec
jmp 0x404953
mov eax, 0xeb
jmp 0x404953
xor esi, esi
mov dword [esp + 0x14], 0xcf
push edi
lea eax, [esp + 0x10]
push eax
push 0x24
lea eax, [esp + 0x1c]
push eax
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x404924
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7c
jbe 0x404965
cmp eax, 0x41c
je 0x40492d
cmp eax, 0x424
jbe 0x404979
cmp eax, 0x426
jbe 0x40492d
cmp eax, 0x45b
jne 0x404979
mov edi, 0xde
jmp 0x40497e
mov edi, dword [esp + 0x18]
cmp edi, 1
je 0x404944
push 0x32
add esi, 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x7530
jb 0x4048dd
mov edi, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x2c]
pop ebx
xor ecx, esp
call fcn.00404d91
add esp, 0x2c
ret
je 0x4049a0
sub eax, 5
je 0x404999
dec eax
je 0x404992
sub eax, 0x51
je 0x40498b
sub eax, 0x23
je 0x404984
mov edi, 0xdf
mov dword [esp + 0x18], edi
jmp 0x404944
mov edi, 0xdb
jmp 0x40497e
mov edi, 0xdc
jmp 0x40497e
mov edi, 0xd9
jmp 0x40497e
mov edi, 0xda
jmp 0x40497e
mov edi, 0xdd
jmp 0x40497e
Function at 0x4049a7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x421050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4049d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x404a33
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4049fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x404a2a
lea eax, [ebp - 0x20c]
push eax
push 0x41cf24
call fcn.0041300f
pop ecx
pop ecx
test eax, eax
je 0x404a2a
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4049fc
mov edi, 0x490
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00404d91
mov esp, ebp
pop ebp
ret

Function at 0x404a43
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x421050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x208
mov word [ebp - 0x210], ax
mov edi, edx
lea eax, [ebp - 0x20e]
mov esi, ecx
push ebx
push eax
call fcn.0040bc00
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x404a82
sub ecx, edx
mov eax, 0x104
sar ecx, 1
cmp ecx, eax
jbe 0x404a9e
xor eax, eax
jmp 0x404ad6
push eax
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00404da0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 3
neg eax
sbb eax, eax
inc eax
mov dword [edi], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404d91
mov esp, ebp
pop ebp
ret

Function at 0x404b11
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
jne 0x404b67
push esi
push edi
lea edi, [ebx + 4]
push edi
push 0
push 0x41eed8
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push dword [esp + 0x14]
lea esi, [ebx + 0x20c]
push dword [esp + 0x14]
push str._s__s
push 0x104
push esi
call fcn.00404ae7
push 0x41eeec
push edi
call fcn.00405ff5
add esp, 0x1c
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x404b6b
Capabilities:
Delete file
Move file

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x404ba8
push edi
push dword [esi]
call fcn.004068bf
and dword [esi], 0
lea edi, [esi + 0x20c]
push 0
push edi
call fcn.00406dac
add esp, 0xc
test eax, eax
lea eax, [esi + 4]
jne 0x404b9f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x404ba7
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
pop esi
ret
Function at 0x10001680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a728d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100016c6
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10001fe0
push 0xa
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
push 0
cmova eax, dword [ebp - 0x2c]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
je 0x1000172b
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 0x18
mov dword [ebp - 0x14], eax
mov ecx, esp
lea edx, [ebp - 0x14]
push 0x24
push str.ShellExecuteEx_failed_with_error__n
call fcn.10019d50
add esp, 8
call fcn.1001abc0
add esp, 0x18
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000175b
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001751
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001775
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.1002ea49
int3
Function at 0x100052f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a74a3
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov eax, closesocket
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 0x12
jb 0x100054fe
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
push 0x12
cmova eax, dword [ebp + 8]
push str.Suspend_task.dat
push ecx
push eax
push ecx
push dword [ebp - 0x170]
lea ecx, [ebp - 0x28]
call fcn.10007ae0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x168]
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push ecx
cmova eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000541e
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
mov dword [ebp - 0x170], esp
push eax
call fcn.10005fc0
sub esp, 0x18
mov byte [ebp - 4], 3
mov edx, esp
mov dword [ebp - 0x174], esp
xorps xmm0, xmm0
lea eax, [ebp - 0x13c]
lea esi, [eax + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100053c2
sub eax, esi
mov ecx, edx
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.10001fe0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10005fc0
mov byte [ebp - 4], 2
call fcn.10004c50
add esp, 0x48
lea eax, [ebp - 0x168]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10005382
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x169], 1
jmp 0x10005425
mov byte [ebp - 0x169], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10005459
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000544f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005503
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x1000549b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005491
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005503
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x100054dd
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100054d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005503
push ecx
push edx
call fcn.100289c0
add esp, 8
mov al, byte [ebp - 0x169]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.10001290
call fcn.1002ea49
int3
Function at 0x10005510
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a74fe
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], edx
mov esi, ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0
push ecx
mov dword [ebp - 4], 2
call fcn.1001a830
add esp, 4
movsd qword [ebp - 0x40], xmm0
call fcn.100a36c0
push eax
call fcn.1002eac6
call fcn.1002eaa5
cdq
mov ecx, 0x64
idiv ecx
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x30], edx
push eax
lea eax, [ebp - 0x14]
push eax
push 0x2d
push str.Suspend_task_:014.0f____Suspended.dat
lea edx, [ebp - 0x40]
call fcn.100072b0
push esi
push 5
push 0x100e29ac
lea edx, [ebp + 8]
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x2c]
call fcn.10007390
add esp, 0x24
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp + 0x20]
cmova ecx, dword [ebp - 0x2c]
cmp dword [ebp + 0x34], 0xf
push ecx
cmova eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10005607
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100055fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100056a7
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x10005649
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000563f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100056a7
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x1000568b
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005681
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100056a7
push ecx
push edx
call fcn.100289c0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.1002ea49
int3
Function at 0x100136f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7e9a
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x174], esi
mov dword [ebp - 0x154], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp - 0x150]
lea eax, [ebp + 8]
mov dword [ebp - 0x154], 1
cmova eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001386e
nop dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x15c], 0
lea eax, [ebp - 0x124]
mov dword [ebp - 0x158], 0
movups xmmword [ebp - 0x16c], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100137b7
sub eax, edx
lea ecx, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.10001fe0
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x10013808
movups xmm0, xmmword [ebp - 0x16c]
mov ecx, 0xf
mov byte [ebp - 0x16c], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x15c]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x1001381d
lea ecx, [ebp - 0x16c]
push ecx
push eax
mov ecx, esi
call fcn.100192c0
mov ecx, dword [ebp - 0x158]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10013851
mov edx, dword [ebp - 0x16c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013847
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100138bb
push ecx
push edx
call fcn.100289c0
add esp, 8
lea eax, [ebp - 0x150]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10013790
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1001389e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10013894
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100138bb
push ecx
push edx
call fcn.100289c0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
call fcn.1002ea49
int3
Function at 0x10016980
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a83cc
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100ed040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10005fc0
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
lea ecx, [edi + 0x18]
push eax
call fcn.10005fc0
lea eax, [esi + 0x30]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x30]
push eax
call fcn.10005fc0
lea eax, [esi + 0x48]
mov byte [ebp - 4], 2
lea ecx, [edi + 0x48]
push eax
call fcn.10005fc0
lea eax, [esi + 0x60]
mov byte [ebp - 4], 3
lea ecx, [edi + 0x60]
push eax
call fcn.10005fc0
lea eax, [esi + 0x78]
mov byte [ebp - 4], 4
lea ecx, [edi + 0x78]
push eax
call fcn.10005fc0
lea eax, [esi + 0x90]
mov byte [ebp - 4], 5
lea ecx, [edi + 0x90]
push eax
call fcn.10005fc0
lea eax, [esi + 0xa8]
mov byte [ebp - 4], 6
lea ecx, [edi + 0xa8]
push eax
call fcn.10005fc0
lea eax, [esi + 0xc0]
mov byte [ebp - 4], 7
lea ecx, [edi + 0xc0]
push eax
call fcn.10005fc0
lea eax, [esi + 0xd8]
mov byte [ebp - 4], 8
lea ecx, [edi + 0xd8]
push eax
call fcn.10005fc0
lea eax, [esi + 0xf0]
mov byte [ebp - 4], 9
lea ecx, [edi + 0xf0]
push eax
call fcn.10005fc0
lea eax, [esi + 0x108]
mov byte [ebp - 4], 0xa
lea ecx, [edi + 0x108]
push eax
call fcn.10005fc0
lea eax, [esi + 0x120]
mov byte [ebp - 4], 0xb
lea ecx, [edi + 0x120]
push eax
call fcn.10005fc0
lea eax, [esi + 0x138]
mov byte [ebp - 4], 0xc
lea ecx, [edi + 0x138]
push eax
call fcn.10005fc0
lea eax, [esi + 0x150]
mov byte [ebp - 4], 0xd
lea ecx, [edi + 0x150]
push eax
call fcn.10005fc0
lea eax, [esi + 0x168]
mov byte [ebp - 4], 0xe
lea ecx, [edi + 0x168]
push eax
call fcn.10005fc0
lea eax, [esi + 0x180]
mov byte [ebp - 4], 0xf
lea ecx, [edi + 0x180]
push eax
call fcn.10005fc0
lea eax, [esi + 0x198]
mov byte [ebp - 4], 0x10
lea ecx, [edi + 0x198]
push eax
call fcn.10005fc0
lea eax, [esi + 0x1b0]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [edi + 0x1b0]
call fcn.10005fc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100196c0
Capabilities:
Create thread
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a885c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100ed040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x40
mov byte [ebp - 4], 2
call fcn.1002898b
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.10005fc0
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
push eax
call fcn.10005fc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
push 0
push esi
push 0x10019ea0
push 0
push 0
call fcn.1003325e
add esp, 0x18
mov dword [ebp - 0x20], eax
test eax, eax
je 0x10019850
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10019842
push ecx
push eax
call fcn.1002a4cf
add esp, 8
test eax, eax
jne 0x10019849
jmp 0x100197b0
mov ecx, dword [ebp + 0x24]
cmp ecx, 0xf
jbe 0x100197e4
mov edx, dword [ebp + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100197da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001985e
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x20], 0
mov dword [ebp + 0x24], 0xf
mov byte [ebp + 0x10], 0
cmp ecx, 0xf
jbe 0x10019826
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001981c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001985e
push ecx
push edx
call fcn.100289c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002897d
mov esp, ebp
pop ebp
ret
push 1
call fcn.1002a413
push 1
call fcn.1002a413
push 6
mov dword [ebp - 0x1c], 0
call fcn.1002a413
call fcn.1002ea49
int3
Function at 0x1001cb30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x1001cb62
jl 0x1001cb55
test ecx, ecx
jne 0x1001cb62
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1001cc22
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.1001e070
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x1001cbce
jg 0x1001cb8d
test esi, esi
je 0x1001cbce
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x1001cba5
mov eax, dword [esp + 0x10]
jl 0x1001cb9f
cmp eax, esi
jae 0x1001cba5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.1002b670
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x1001cbef
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x1001cc0b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x1001cb74
jl 0x1001cc0b
test ecx, ecx
jne 0x1001cb74
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov esi, dword [ebp + 0x10]
sbb esi, edx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x1001cc60
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1001cc60
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.1002b670
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x1001ccc9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1001cc86
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x1001ccb4
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.10034f8c
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1001ccc9
cmp edi, eax
ja 0x1001cc92
test edi, edi
je 0x1001ccc9
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.10034f8c
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc