joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009ab1c
Capabilities:
Move file

Disassembly:
mov eax, 0x100c2eb2
call fcn.100a0664
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0x20]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push edi
mov dword [ebp - 0x24], ebx
test eax, 0xfffffffc
je 0x1009ace7
push 0x1010dc04
lea ecx, [ebp - 0x20]
call fcn.1005d077
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor edi, edi
sar eax, 2
mov dword [ebp - 4], edi
test eax, eax
jbe 0x1009abe1
push edi
mov ecx, esi
call fcn.1000b27e
push eax
lea ecx, [ebp - 0x10]
call fcn.100033f5
push 0x104
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10003413
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029b7
push 0x100c65c4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c4dd
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.1000c714
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.10001ccd
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc edi
sar eax, 2
cmp edi, eax
jb 0x1009ab64
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, ebx
call fcn.1009a851
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
and dword [ebp - 0x18], 0
sar eax, 2
test eax, eax
jbe 0x1009acdc
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.1000b27e
push eax
lea ecx, [ebp - 0x10]
call fcn.100033f5
mov byte [ebp - 4], 3
jmp 0x1009ac7f
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.100033f5
push 0x104
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.10003413
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.100029b7
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x28], esp
mov ecx, esp
push eax
call fcn.100033f5
mov ecx, dword [ebp - 0x24]
call fcn.1009a851
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001ccd
push str..new
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000c4dd
mov eax, dword [eax]
add esp, 0xc
push 9
push dword [ebp - 0x10]
push eax
call edi
mov ecx, dword [ebp - 0x1c]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.10001ccd
test bl, bl
jne 0x1009ac2b
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001ccd
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc dword [ebp - 0x18]
sar eax, 2
cmp dword [ebp - 0x18], eax
jb 0x1009ac12
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x1009acf6
Capabilities:
Delete file

Disassembly:
mov eax, 0x100c2ed4
call fcn.100a0664
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x10]
call fcn.100033f5
mov eax, dword [ebp + 8]
push ecx
add eax, 0x2c
mov dword [ebp - 0x18], esp
mov ecx, esp
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.100033f5
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10099676
push dword [eax]
lea ecx, [ebp - 0x10]
push 0x104
mov byte [ebp - 4], 1
call fcn.10003413
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10001ccd
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100029b7
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.100449b3
pop ecx
pop ecx
mov edi, dword [ebp - 0x10]
push esi
push 0x1009a6c5
push ebx
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
jne 0x1009addc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x1009addc
xor eax, eax
push 0x7e
mov word [ebp - 0x98], ax
lea eax, [ebp - 0x96]
push ebx
push eax
call fcn.1009f9b0
push dword [ebp + 8]
lea eax, [ebp - 0x98]
push str.InstallUpdate_Failed:__d
push eax
call fcn.100a0114
add esp, 0x18
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
call fcn.10098d1a
jmp 0x1009adea
mov ecx, esi
call fcn.1009ab1c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001ccd
lea ecx, [edi - 0x10]
call fcn.10001ccd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1009b3d9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
xor esi, esi
push 0x228
lea eax, [ebp - 0x228]
push esi
push eax
mov dword [ebp - 0x22c], esi
call fcn.1009f9b0
add esp, 0xc
push esi
push 0xa
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x1009b418
xor eax, eax
pop edi
pop esi
leave
ret 4
lea eax, [ebp - 0x22c]
push eax
push edi
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009b43e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1009b412
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.100a4ea7
pop ecx
pop ecx
test eax, eax
je 0x1009b462
lea eax, [ebp - 0x22c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x1009b42f
push dword [ebp - 0x224]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
jmp 0x1009b433

Function at 0x1009b479
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push dword [ebp + 0xc]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x1009b49a
xor eax, eax
leave
ret 0x10
push esi
lea ecx, [ebp - 0x428]
push ecx
push eax
mov dword [ebp - 0x428], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1009b4c6
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
jmp 0x1009b496
push ebx
push edi
push dword [ebp + 0x10]
call fcn.100a01ca
push dword [ebp + 0x14]
mov esi, eax
call fcn.100a01ca
pop ecx
pop ecx
mov edi, eax
xor ebx, ebx
test esi, esi
jne 0x1009b4f3
test edi, edi
jne 0x1009b510
push dword [ebp + 8]
lea eax, [ebp - 0x408]
jmp 0x1009b519
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call fcn.100a4ea7
neg eax
sbb al, al
inc al
pop ecx
pop ecx
jne 0x1009b540
test edi, edi
je 0x1009b527
push dword [ebp + 0x14]
lea eax, [ebp - 0x208]
push eax
call fcn.100a4ea7
neg eax
sbb al, al
pop ecx
inc al
pop ecx
test al, al
jne 0x1009b540
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0xc]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1009b4e0
jmp 0x1009b543
xor ebx, ebx
inc ebx
pop edi
mov esi, ebx
pop ebx
jmp 0x1009b4b8
Function at 0x1009c6ac
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100c3038
call fcn.100a0664
sub esp, 0x254
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x25c]
push edi
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x260], edi
call fcn.1009f9b0
add esp, 0xc
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x1009c6fe
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
lea ecx, [ebp - 0x260]
push ecx
push eax
mov dword [ebp - 0x260], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009c726
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009c6ef
push ebx
mov dword [ebp - 0x10], edi
push esi
push dword [ebp + 0x10]
mov ebx, dword [ebp - 0x258]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
call fcn.1009b479
mov esi, eax
cmp esi, edi
je 0x1009c777
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000c80c
mov ecx, dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], edi
call fcn.1009c5bc
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.1000bc62
or dword [ebp - 0x10], esi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x14]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009c72b
mov edi, dword [ebp - 0x10]
pop esi
pop ebx
jmp 0x1009c719

Function at 0x1009c794
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x100bd052
call fcn.100a0664
sub esp, 0x24c
push ebx
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x254]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x258], edi
call fcn.1009f9b0
add esp, 0xc
push edi
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x1009c7e7
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
lea ecx, [ebp - 0x258]
push ecx
push eax
mov dword [ebp - 0x258], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x1009c80f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009c7d7
push esi
xor esi, esi
push dword [ebp + 8]
lea eax, [ebp - 0x234]
push eax
call fcn.100a4ea7
pop ecx
pop ecx
test eax, eax
jne 0x1009c85c
mov esi, dword [ebp - 0x250]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000c80c
push esi
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.1009c5bc
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
push edi
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000bc62
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1009c812
mov edi, esi
pop esi
jmp 0x1009c802

Function at 0x1009c983
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
add ecx, 0x38
push 0x1009c874
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
leave
ret 4
Function at 0x1009d47e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, 0x1010db54
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, esi
call fcn.1009d1ee
test eax, eax
je 0x1009d4b1
mov ecx, esi
call fcn.1009d1ee
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
leave
ret
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push 0x1009d3c5
call fcn.100a287e
add esp, 0xc
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1009d49b

Function at 0x1009d7ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.SHELL32.dll_ShellExecuteW]

Function at 0x1009d89e
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x100c3158
call fcn.100a0664
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1009d9e9
cmp dword [ebp + 0x10], ebx
je 0x1009d9e9
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x1009d9e9
cmp eax, 0xffffffff
je 0x1009d9e2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
call fcn.1009e30e
mov edx, dword [eax]
lea ecx, [esi + 1]
push ecx
mov ecx, eax
call dword [edx]
mov edi, eax
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.1009f9b0
add esp, 0xc
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
test eax, eax
je 0x1009d9e3
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x1009d9eb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc

Function at 0x1009d9fc
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100bd4d9
call fcn.100a0664
push esi
push edi
xor edi, edi
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x1009da56
cmp esi, 0xffffffff
je 0x1009da4f
push edi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x1009da58
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 0xc
Function at 0x1009edba
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1010dbec], 0
push esi
jne 0x1009ed2d
call fcn.1009ec53
test eax, eax
je 0x1009ed70
mov eax, dword [0x1010dbec]
cmp eax, 1
jne 0x1009ed4e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1009ed70
pop esi
ret
push eax
call dword [0x1010dbf4]
test eax, eax
jne 0x1009edb8
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1009ed74
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1010dbec]
call dword [0x1010dbf4]
mov edi, eax
test edi, edi
je 0x1009ed99
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x1009edb5
mov edi, esi
add esi, 0xff0
push edi
push dword [0x1010dbec]
call dword [0x1010dbf0]
add edi, 0x10
cmp edi, esi
jb 0x1009eda1
mov eax, edi
pop edi
pop esi
ret
jmp 0x1009ed1a

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x100a40c1
call fcn.100a405a
mov dword [eax], esi
call fcn.100a4047
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.100a0053
add esp, 0x14
push 0x16
pop eax
jmp 0x100a4116
test dword [ebp + 0xc], 0xfffffff9
jne 0x100a409d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100a40ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100a406d
pop ecx
call fcn.100a4047
mov eax, dword [eax]
jmp 0x100a4116
test al, 0x10
jne 0x100a4114
test al, 1
je 0x100a4114
test byte [ebp + 0xc], 2
je 0x100a4114
call fcn.100a405a
mov dword [eax], 5
call fcn.100a4047
mov dword [eax], 0xd
jmp 0x100a40e5
xor eax, eax
pop esi
pop ebp
ret

Function at 0x100a601c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1010a3d0]
jne 0x100a6026
repz ret
jmp fcn.100b0dbf
Function at 0x100b1155
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100a7b73
and dword [ebp - 4], 0
cmp dword [0x1010e778], 0
mov ebx, eax
jne 0x100b1206
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100b12b7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100b12b7
push eax
call fcn.100a7b01
mov dword [esp], 0x100d8464
push edi
mov dword [0x1010e778], eax
call esi
push eax
call fcn.100a7b01
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1010e77c], eax
call esi
push eax
call fcn.100a7b01
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1010e780], eax
call esi
push eax
call fcn.100a7b01
pop ecx
mov dword [0x1010e788], eax
test eax, eax
je 0x100b1206
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100a7b01
pop ecx
mov dword [0x1010e784], eax
mov eax, dword [0x1010e784]
cmp eax, ebx
je 0x100b125e
cmp dword [0x1010e788], ebx
je 0x100b125e
push eax
call fcn.100a7b7c
push dword [0x1010e788]
mov esi, eax
call fcn.100a7b7c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100b125e
test edi, edi
je 0x100b125e
call esi
test eax, eax
je 0x100b1255
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100b1255
test byte [ebp - 0xc], 1
jne 0x100b125e
or dword [ebp + 0x10], 0x200000
jmp 0x100b1297
mov eax, dword [0x1010e77c]
cmp eax, ebx
je 0x100b1297
push eax
call fcn.100a7b7c
pop ecx
test eax, eax
je 0x100b1297
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100b1297
mov eax, dword [0x1010e780]
cmp eax, ebx
je 0x100b1297
push eax
call fcn.100a7b7c
pop ecx
test eax, eax
je 0x100b1297
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1010e778]
call fcn.100a7b7c
pop ecx
test eax, eax
je 0x100b12b7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100b12b9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10013880
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
push esi
mov dword [ebp - 8], esi
call fcn.10081728
add esp, 4
test eax, eax
jne 0x10013929
push 2
push eax
push esi
call fcn.10082392
push esi
call fcn.1007ddf4
push 0
push 0
push esi
mov edi, eax
call fcn.10082392
mov eax, dword [ebx + 4]
add esp, 0x1c
mov edx, dword [ebx]
mov ecx, eax
sub ecx, edx
mov dword [ebp - 4], eax
cmp edi, ecx
jae 0x100138d4
lea eax, [edx + edi]
jmp 0x10013904
jbe 0x10013907
mov eax, dword [ebx + 8]
sub eax, edx
cmp edi, eax
jbe 0x100138ea
push ecx
push edi
mov ecx, ebx
call fcn.1002f2d0
jmp 0x10013907
mov esi, edi
sub esi, ecx
push esi
push 0
push dword [ebp - 4]
call fcn.1007a5e0
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, esi
mov esi, dword [ebp - 8]
mov dword [ebx + 4], eax
push esi
push edi
push 1
push dword [ebx]
call fcn.1008a5ba
add esp, 0x10
cmp eax, edi
jne 0x10013929
push esi
call fcn.10081e47
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.error_reading_from_file
lea ecx, [ebp - 0x14]
call fcn.10001e90
push 0x100eca64
lea eax, [ebp - 0x14]
push eax
call fcn.1007a7ed
int3
Function at 0x10019ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100ee940]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xorps xmm0, xmm0
mov dword [ebp - 8], 0
mov edx, ecx
movq qword [ebp - 0x10], xmm0
push esi
lea ecx, [ebp - 0x10]
xor bl, bl
call fcn.10019d80
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp esi, eax
je 0x10019f00
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi]
call edi
test eax, eax
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
add esi, 4
cmp esi, dword [ebp - 0x14]
jne 0x10019ee1
mov esi, dword [ebp - 0x10]
pop edi
test esi, esi
je 0x10019f30
mov ecx, dword [ebp - 8]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10019f26
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10019f42
push ecx
push esi
call fcn.1007889b
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.10078315
mov esp, ebp
pop ebp
ret
call fcn.1008a8a9
int3
Function at 0x1001ad60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1001ad7e
push 0
push 0
push 0
push 0x1001ad50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1001bf40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
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 0x1001bf72
jl 0x1001bf65
test ecx, ecx
jne 0x1001bf72
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 0x1001c04f
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x2c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1001bfa2
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x1001bfa4
xor eax, eax
cdq
mov dword [esp + 0x1c], edx
mov esi, eax
test edx, edx
jl 0x1001bff8
jg 0x1001bfb5
test esi, esi
je 0x1001bff8
mov eax, dword [esp + 0x10]
cmp eax, edx
jg 0x1001bfc9
jl 0x1001bfc3
cmp ecx, esi
jae 0x1001bfc9
mov esi, ecx
mov dword [esp + 0x1c], eax
push esi
push dword [esp + 0x1c]
push edi
call fcn.1007a060
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
sub ecx, esi
mov eax, dword [eax]
sbb edx, dword [esp + 0x1c]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x14]
jmp 0x1001c01c
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x1001c038
mov ecx, dword [esp + 0xc]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
lea eax, [ebx + 0x2c]
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
test edx, edx
jg 0x1001bf87
jl 0x1001c038
test ecx, ecx
jne 0x1001bf87
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
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 0x1001c08d
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x1001c08d
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push dword [esp + 0x14]
call fcn.1007a060
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 0x1001c0f7
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1001c0b3
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 0x1001c0e2
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.1008a5ba
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x1001c0f7
cmp edi, eax
ja 0x1001c0c0
test edi, edi
je 0x1001c0f7
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.1008a5ba
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