joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100062f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100605a0
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
movss dword [ebp - 0x20], xmm0
jmp 0x1000633a
jmp 0x1000634c
jmp 0x1000635e
jmp 0x10006370
wait
mov dword [ebp - 4], 0
jmp 0x1000638a
jmp 0x1000639c
jmp 0x100063ae
jmp 0x100063c0
mov dl, 0x71
mov dword [ebp - 0x2c], 0x44094171
mov dword [ebp - 0x28], 0x45404141
mov word [ebp - 0x24], 0x40
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 8
jae 0x100063f0
mov al, byte [ebp + ecx - 0x2b]
xor al, dl
mov byte [ebp + ecx - 0x2b], al
inc ecx
mov dl, byte [ebp - 0x2c]
jmp 0x100063d8
mov byte [ebp - 0x23], 0
lea ecx, [ebp - 0x2b]
call fcn.100062a0
add eax, dword [0x1007c558]
add eax, dword [0x1007b350]
push 0
push eax
movss xmm1, dword [ebp - 0x20]
call fcn.1002b170
add esp, 8
jmp 0x1000642a
wait
jmp 0x10006436
mov dword [ebp - 4], 0xfffffffe
jmp 0x1000644f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100605c0
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
movss dword [ebp - 0x20], xmm0
jmp 0x100064ba
jmp 0x100064cc
jmp 0x100064de
jmp 0x100064f0
wait
mov dword [ebp - 4], 0
jmp 0x1000650a
jmp 0x1000651c
jmp 0x1000652e
jmp 0x10006540
mov dl, 0x46
mov dword [ebp - 0x2c], 0x743e7646
mov dword [ebp - 0x28], 0x73777477
mov word [ebp - 0x24], 0x75
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, 8
jae 0x10006570
mov al, byte [ebp + ecx - 0x2b]
xor al, dl
mov byte [ebp + ecx - 0x2b], al
inc ecx
mov dl, byte [ebp - 0x2c]
jmp 0x10006558
mov byte [ebp - 0x23], 0
lea ecx, [ebp - 0x2b]
call fcn.100062a0
add eax, dword [0x1007b278]
push 0
push eax
movss xmm1, dword [ebp - 0x20]
call fcn.1002b170
add esp, 8
jmp 0x100065a4
wait
jmp 0x100065b0
mov dword [ebp - 4], 0xfffffffe
jmp 0x100065c9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cc80
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x10063040]
xor eax, esp
mov dword [esp + 0x6c], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x48]
push 0x2c
push eax
push dword [0x10079fbc]
call dword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [esp + 0x10]
mov ecx, esi
sub ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, edx
sbb eax, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [edi + 0x10], edx
sub edx, dword [esp + 0x28]
mov dword [edi + 0x14], ecx
sbb ecx, dword [esp + 0x2c]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [edi + 0x20], eax
mov eax, edi
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 0x28], esi
mov dword [edi + 0x24], 0
mov dword [edi], edx
mov dword [edi + 0xc], 0
pop edi
pop esi
xor ecx, esp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret 4
Function at 0x1000db70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop dword [eax]
push 9
call edi
shr ax, 0xf
push 0x75
mov byte [0x1007c576], al
call edi
shr ax, 0xf
push 0x76
mov byte [0x1007b220], al
call edi
shr ax, 0xf
push 0x78
mov byte [0x1007b39c], al
call edi
shr ax, 0xf
push 0x7a
mov byte [0x1007b1f3], al
call edi
test ax, ax
jns 0x1000dc10
cmp dword [0x10069470], 6
mov byte [0x1007b222], 1
jg 0x1000dc04
call esi
mov ecx, dword [0x1007c5dc]
add ecx, 0x1f4
test edx, edx
jb 0x1000dc17
ja 0x1000dbf5
cmp eax, ecx
jbe 0x1000dc17
call esi
inc dword [0x10069470]
mov dword [0x1007c5dc], eax
jmp 0x1000dc17
mov dword [0x10069470], 1
jmp 0x1000dc17
mov byte [0x1007b222], 0
call esi
mov ecx, dword [0x1007b200]
add ecx, 0x12c
test edx, edx
jb 0x1000dc78
ja 0x1000dc2f
cmp eax, ecx
jbe 0x1000dc78
call esi
cmp dword [0x1007b250], 1
mov dword [0x1007b200], eax
jne 0x1000dc6b
mov eax, dword [0x1007b25c]
add eax, dword [0x1007b548]
push 0
push eax
call fcn.1002af50
add esp, 8
movzx ecx, al
call fcn.10003570
test eax, eax
je 0x1000dc6b
movss xmm0, dword [0x1005a124]
jmp 0x1000dc73
movss xmm0, dword [0x1005a120]
call fcn.100062f0
call esi
mov ecx, dword [0x1007c5e4]
add ecx, 0x64
test edx, edx
jb 0x1000dca0
ja 0x1000dc8d
cmp eax, ecx
jbe 0x1000dca0
call esi
mov dword [0x1007c5e4], eax
mov byte [0x1007b2da], 0
call fcn.1000d9e0
call esi
mov ecx, dword [0x1007c5e0]
add ecx, 0x3e8
test edx, edx
jb 0x1000dcc4
ja 0x1000dcb8
cmp eax, ecx
jbe 0x1000dcc4
call esi
mov dword [0x1007c5e0], eax
call fcn.10002bd0
push 0xa
call ebx
jmp 0x1000db90
Function at 0x1000e950
Capabilities:
Enumerate threads
Hijack thread execution
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
mov eax, dword [0x10063040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007b2e4]
mov dword [ebp - 0x2f0], eax
mov eax, dword [0x1007c518]
push edi
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x1007c53c]
push 0
mov dword [ebp - 0x2f8], eax
mov eax, dword [0x1007c540]
push 4
mov dword [ebp - 0x2f4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
test edi, edi
je 0x1000ea97
push ebx
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2ec], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1000e9ca
push edi
call ebx
push esi
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x2e0], eax
jne 0x1000ea7c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x2e4]
cmp ecx, eax
je 0x1000ea7c
push ecx
push 0
push 0x1a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x1000ea7c
push esi
mov dword [ebp - 0x2d0], 0x10010
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebp - 0x2d0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000ea72
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2d0]
push eax
push esi
mov dword [ebp - 0x2b8], 0x55
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call ebx
lea eax, [ebp - 0x2ec]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1000e9d0
pop esi
push edi
call ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x1002a580
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050e10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10063040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.1002cea4
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.1002c4b4
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.1002a520
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

Function at 0x1002af50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10060b00
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov bl, byte [edi]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov al, bl
jmp 0x1002afd2
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret

Function at 0x1002aff0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10060b20
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx edi, word [ebx]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov ax, di
jmp 0x1002b074
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x1002b260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10060ba0
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
wait
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss xmm0, dword [edi]
movss dword [ebp - 0x2c], xmm0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
wait
mov dword [ebp - 4], 0xfffffffe
movss xmm0, dword [ebp - 0x2c]
jmp 0x1002b2ee
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret

Function at 0x1002b310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10060bc0
push 0x10030ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10063040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edi, dword [ebx]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x1002b392
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1002cddc
mov esp, ebp
pop ebp
ret
Function at 0x1002de90
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.1002e050
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1002df5d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100630a0]
jb 0x1002deda
mov eax, dword [ebp - 4]
cmp eax, dword [0x100630a4]
ja 0x1002deda
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1002deaa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100316f0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1002df00
jmp 0x1002df5d
cmp dword [ebp - 0x14], 0x10000
jne 0x1002df43
cmp dword [ebp - 0x18], 0x10000
jb 0x1002df43
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002df36
mov eax, dword [ebp - 8]
jmp 0x1002df5f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1002df58
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1002e050
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1002deaa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1002df80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1002e080
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1002e045
mov edx, dword [ebp - 4]
cmp edx, dword [0x100630a0]
jb 0x1002dfc5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100630a4]
ja 0x1002dfc5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1002df95
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100316f0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1002dfeb
jmp 0x1002e045
cmp dword [ebp - 0x14], 0x10000
jne 0x1002e02e
cmp dword [ebp - 0x18], 0x10000
jb 0x1002e02e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1002e021
mov eax, dword [ebp - 8]
jmp 0x1002e047
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1002e040
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1002e080
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1002df95
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1002e0b0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002e4a0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1007aa14], 0
jne 0x1002e0ed
cmp dword [0x1007aa10], 0
je 0x1002e0ed
mov eax, dword [0x1007aa10]
mov dword [0x1007aa14], eax
cmp dword [0x1007aa14], 0
je 0x1002e16a
mov ecx, dword [0x1007aa14]
cmp dword [ecx + 8], 0
je 0x1002e16a
mov edx, dword [0x1007aa14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1002e16a
mov ecx, dword [0x1007aa14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1002e16a
mov eax, dword [0x1007aa14]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1002e139
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1002e140
xor eax, eax
jmp 0x1002e289
mov ecx, dword [0x1007aa14]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.100316f0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1002e289
mov edx, dword [0x1007aa10]
mov dword [0x1007aa14], edx
jmp 0x1002e186
mov eax, dword [0x1007aa14]
mov ecx, dword [eax + 4]
mov dword [0x1007aa14], ecx
cmp dword [0x1007aa14], 0
je 0x1002e1c6
cmp dword [0x1007aa14], 0
je 0x1002e1c4
mov edx, dword [0x1007aa14]
cmp dword [edx + 8], 0
je 0x1002e1c4
mov eax, dword [0x1007aa14]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1002e1c4
mov edx, dword [0x1007aa14]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1002e1c4
jmp 0x1002e11e
jmp 0x1002e178
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1002e290
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002e287
mov eax, dword [ebp - 0x18]
mov dword [0x1007aa14], eax
mov ecx, dword [0x1007aa14]
mov dword [ecx], 0x52727464
mov edx, dword [0x1007aa14]
mov dword [edx + 8], 0
mov eax, dword [0x1007aa14]
mov ecx, dword [0x1007aa10]
mov dword [eax + 4], ecx
mov edx, dword [0x1007aa14]
mov dword [0x1007aa10], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1007aa14]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1002e257
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1002e277
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1002e24e
mov eax, dword [0x1007aa14]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1002e11e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003eac8
Capabilities:
Parse pe header

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

Function at 0x10042602
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100562e4
push 0x100562dc
push str.FlsAlloc
push 0x1f
call fcn.1004248a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10042636
push dword [ebp + 8]
mov ecx, esi
call dword [0x10052264]
call esi
jmp 0x1004263c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10042680
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100562f4
push 0x100562ec
push str.FlsGetValue
push 0x21
call fcn.1004248a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100426b7
push dword [ebp + 8]
mov ecx, esi
call dword [0x10052264]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100426bf
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100562fc
push 0x100562f4
push str.FlsSetValue
push 0x22
call fcn.1004248a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100426f9
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10052264]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10045372
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1007ada8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100453b2
cmp byte [ebx], 0xa
jne 0x100453b2
or byte [edi + eax + 0x28], 4
jmp 0x100453b7
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100454b6
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10045499
inc eax
cmp dl, 0xd
je 0x100453e3
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10045409
cmp eax, ecx
jae 0x10045417
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100453cb
jmp 0x100454b6
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10045494
cmp dword [ebp - 0x10], 0
je 0x10045494
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1007ada8]
test byte [eax + edi + 0x28], 0x48
je 0x1004546e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10045459
mov byte [esi], dl
jmp 0x1004546a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1007ada8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100454b6
cmp byte [ebp - 1], 0xa
jne 0x1004547d
cmp esi, ebx
jne 0x1004547d
mov byte [esi], 0xa
jmp 0x100454b5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10045dc1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100454b6
mov byte [esi], 0xd
jmp 0x100454b5
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1007ada8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100454b3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100454b6
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret