joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139d50
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.101157fb
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.101128b0
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003aac0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x1003aaf5
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x1003ab33
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x1003ab33
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1003abff
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x1003ab5d
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003ab6a
push dword [esi + 0x4c]
push edi
jmp 0x1003aba8
movzx eax, di
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1003abd2
sub eax, 1
je 0x1003abd2
sub eax, 2
jne 0x1003abff
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.10123ae6
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x1003ac04
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x1003abef
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.1011b59b
add esp, 0x10
cmp ebx, eax
jne 0x1003abff
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x1003ab1d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.101157bc
mov esp, ebp
pop ebp
ret 4
Function at 0x1003b070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003b134
cmp byte [esi + 0x3e], 0
je 0x1003b134
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x1003b122
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x1003b0ea
sub eax, 1
je 0x1003b0ee
sub eax, 2
jne 0x1003b122
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003b10b
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1011b59b
add esp, 0x10
cmp edi, eax
jne 0x1003b122
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.101157bc
mov esp, ebp
pop ebp
ret
Function at 0x1003c060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov al, byte [edi + 0x1c]
mov byte [ebx + 0x1c], al
lea eax, [edi + 0x20]
cmp byte [eax + 0x40], 0
mov cl, byte [ebx + 0x60]
mov dword [ebp - 4], eax
je 0x1003c0d3
test cl, cl
lea ecx, [ebx + 0x20]
push eax
je 0x1003c0c8
call fcn.10012010
mov edi, dword [ebp - 4]
lea ecx, [ebx + 0x40]
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x38], eax
movzx eax, byte [edi + 0x1c]
add edi, 0x20
push edi
mov byte [ebx + 0x3c], al
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x58], eax
movzx eax, byte [edi + 0x1c]
mov edi, dword [ebp + 8]
mov byte [ebx + 0x5c], al
jmp 0x1003c0e3
call fcn.10042ba0
mov byte [ebx + 0x60], 1
jmp 0x1003c0e3
test cl, cl
je 0x1003c0e3
lea ecx, [ebx + 0x20]
call fcn.1002e900
mov byte [ebx + 0x60], 0
movups xmm0, xmmword [edi + 0x68]
lea esi, [ebx + 0x80]
movups xmmword [ebx + 0x68], xmm0
movq xmm0, qword [edi + 0x78]
sub edi, 0xffffff80
movq qword [ebx + 0x78], xmm0
cmp byte [edi + 0x20], 0
je 0x1003c179
cmp byte [esi + 0x20], 0
je 0x1003c129
push edi
mov ecx, esi
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov al, byte [edi + 0x1c]
pop edi
mov byte [esi + 0x1c], al
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov al, byte [edi + 0x1c]
pop edi
mov byte [esi + 0x1c], al
mov eax, ebx
mov byte [esi + 0x20], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.1004f390
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003cc10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push esi
call fcn.10012010
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x20]
mov dword [ebx + 0x18], eax
lea ecx, [ebx + 0x20]
movzx eax, byte [esi + 0x1c]
push edi
mov byte [ebx + 0x1c], al
call fcn.10012010
mov eax, dword [edi + 0x18]
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x38], eax
movzx eax, byte [edi + 0x1c]
mov edi, esi
add edi, 0x40
mov byte [ebx + 0x3c], al
push edi
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x58], eax
movzx eax, byte [edi + 0x1c]
mov edi, esi
add edi, 0x60
mov byte [ebx + 0x5c], al
cmp byte [edi + 0x20], 0
je 0x1003ccd9
cmp byte [ebx + 0x80], 0
je 0x1003cc8d
push edi
lea ecx, [ebx + 0x60]
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x78], eax
mov al, byte [edi + 0x1c]
mov byte [ebx + 0x7c], al
jmp 0x1003cce1
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x70], 0
mov dword [ebx + 0x74], 0
movups xmm0, xmmword [edi]
movups xmmword [ebx + 0x60], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebx + 0x70], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x78], eax
mov al, byte [edi + 0x1c]
mov byte [ebx + 0x7c], al
mov byte [ebx + 0x80], 1
jmp 0x1003cce1
lea ecx, [ebx + 0x60]
call fcn.1004f390
mov edi, esi
lea ecx, [ebx + 0x84]
add edi, 0x84
push edi
call fcn.10012010
mov eax, dword [edi + 0x18]
mov ecx, esi
mov dword [ebx + 0x9c], eax
lea esi, [ebx + 0xbc]
movzx eax, byte [edi + 0x1c]
lea edi, [ecx + 0xbc]
mov byte [ebx + 0xa0], al
movups xmm0, xmmword [ecx + 0xa8]
movups xmmword [ebx + 0xa8], xmm0
movzx eax, byte [ecx + 0xb8]
mov byte [ebx + 0xb8], al
cmp byte [edi + 0x20], 0
je 0x1003cda8
cmp byte [esi + 0x20], 0
je 0x1003cd5a
push edi
mov ecx, esi
call fcn.10012010
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov al, byte [edi + 0x1c]
pop edi
mov byte [esi + 0x1c], al
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov al, byte [edi + 0x1c]
pop edi
mov byte [esi + 0x1c], al
mov eax, ebx
mov byte [esi + 0x20], 1
pop esi
pop ebx
pop ebp
ret 4
mov ecx, esi
call fcn.1004f390
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x1003e500
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013f38b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 7
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x6c]
push 0x101677a4
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
call fcn.10002c70
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.100114e0
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, eax
call fcn.10016970
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 3
mov dword [ebp - 0x54], 0
push 0x10164f70
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.10002c70
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.100114e0
lea ecx, [ebp - 0x8c]
push ecx
mov ecx, eax
call fcn.10016970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push 5
mov dword [ebp - 0x3c], 0
push str.count
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.10002c70
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.100114e0
mov ecx, eax
call fcn.10016830
push 0xa
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x24]
push str.last_error
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
call fcn.10002c70
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.100114e0
mov ecx, eax
call fcn.10022d80
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
call fcn.10012010
lea eax, [ebp - 0x8c]
push eax
lea ecx, [edi + 0x18]
call fcn.10012010
mov eax, dword [ebp - 0x74]
lea ecx, [ebp - 0xa4]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [edi + 0x34], eax
call fcn.1000da00
mov edx, dword [ebp - 0x10]
cmp edx, 0x10
jb 0x1003e6ad
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e6a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e74e
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x28]
cmp edx, 0x10
jb 0x1003e6dd
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e6d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e74e
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x1003e70d
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e74e
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x1003e73d
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e733
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e74e
push edx
push ecx
call fcn.101157ed
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1011a6bf
int3
Function at 0x10043510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013fc60
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
push dword [ebp + 8]
call fcn.10002780
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x18], eax
mov al, byte [ecx + 0x1c]
mov byte [esi + 0x1c], al
lea edi, [esi + 0x20]
mov dword [ebp - 4], 0
lea eax, [ecx + 0x20]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov byte [edi + 0x40], 0
mov byte [ebp - 4], 1
cmp byte [eax + 0x40], 0
je 0x100435b8
push eax
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.10002780
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
add esi, 0x20
mov byte [ebp - 4], 2
push esi
lea ecx, [edi + 0x20]
call fcn.10002780
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x38], eax
movzx eax, byte [esi + 0x1c]
mov esi, dword [ebp - 0x18]
mov byte [edi + 0x3c], al
mov eax, edi
mov byte [eax + 0x40], 1
movups xmm0, xmmword [ecx + 0x68]
lea edi, [esi + 0x80]
lea eax, [ecx + 0x80]
mov dword [ebp - 0x1c], edi
movups xmmword [esi + 0x68], xmm0
mov dword [ebp + 8], eax
movq xmm0, qword [ecx + 0x78]
movq qword [esi + 0x78], xmm0
mov byte [edi + 0x20], 0
mov byte [ebp - 4], 4
cmp byte [eax + 0x20], 0
je 0x10043605
push eax
mov ecx, edi
call fcn.10002780
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x18], eax
mov al, byte [ecx + 0x1c]
mov byte [edi + 0x1c], al
mov byte [edi + 0x20], 1
mov eax, esi
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 0x1004d640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10140c6c
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 0x10]
push 0x18
call fcn.101157fb
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1005d380
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov eax, dword [eax]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], eax
lea esi, [ebx + 4]
mov dword [ebp - 4], 1
push esi
push 0
push edi
push 0x10054bf0
push 0
push 0
call fcn.101236ea
add esp, 0x18
mov dword [ebx], eax
test eax, eax
je 0x1004d6ec
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [esi], 0
call fcn.10113718
int3
Function at 0x1004ee20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [edx]
movups xmmword [ecx], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
movzx eax, byte [edx + 0x1c]
mov byte [ecx + 0x1c], al
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
movups xmm0, xmmword [edx + 0x20]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [edx + 0x30]
movq qword [ecx + 0x30], xmm0
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0xf
mov byte [edx + 0x20], 0
mov eax, dword [edx + 0x38]
mov dword [ecx + 0x38], eax
movzx eax, byte [edx + 0x3c]
mov byte [ecx + 0x3c], al
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x50], 0
mov dword [ecx + 0x54], 0
movups xmm0, xmmword [edx + 0x40]
movups xmmword [ecx + 0x40], xmm0
movq xmm0, qword [edx + 0x50]
movq qword [ecx + 0x50], xmm0
mov dword [edx + 0x50], 0
mov dword [edx + 0x54], 0xf
mov byte [edx + 0x40], 0
mov eax, dword [edx + 0x58]
mov dword [ecx + 0x58], eax
movzx eax, byte [edx + 0x5c]
mov byte [ecx + 0x5c], al
mov byte [ecx + 0x80], 0
cmp byte [edx + 0x80], 0
je 0x1004ef50
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
movups xmm0, xmmword [edx + 0x60]
movups xmmword [ecx + 0x60], xmm0
movq xmm0, qword [edx + 0x70]
movq qword [ecx + 0x70], xmm0
mov dword [edx + 0x70], 0
mov dword [edx + 0x74], 0xf
mov byte [edx + 0x60], 0
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov al, byte [edx + 0x7c]
mov byte [ecx + 0x7c], al
mov byte [ecx + 0x80], 1
mov dword [ecx + 0x84], 0
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0
movups xmm0, xmmword [edx + 0x84]
movups xmmword [ecx + 0x84], xmm0
movq xmm0, qword [edx + 0x94]
movq qword [ecx + 0x94], xmm0
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0xf
mov byte [edx + 0x84], 0
mov eax, dword [edx + 0x9c]
mov dword [ecx + 0x9c], eax
movzx eax, byte [edx + 0xa0]
mov byte [ecx + 0xa0], al
movups xmm0, xmmword [edx + 0xa8]
movups xmmword [ecx + 0xa8], xmm0
movzx eax, byte [edx + 0xb8]
mov byte [ecx + 0xb8], al
mov byte [ecx + 0xdc], 0
cmp byte [edx + 0xdc], 0
je 0x1004f061
mov dword [ecx + 0xbc], 0
mov dword [ecx + 0xcc], 0
mov dword [ecx + 0xd0], 0
movups xmm0, xmmword [edx + 0xbc]
movups xmmword [ecx + 0xbc], xmm0
movq xmm0, qword [edx + 0xcc]
movq qword [ecx + 0xcc], xmm0
mov dword [edx + 0xcc], 0
mov dword [edx + 0xd0], 0xf
mov byte [edx + 0xbc], 0
mov eax, dword [edx + 0xd4]
mov dword [ecx + 0xd4], eax
mov al, byte [edx + 0xd8]
mov byte [ecx + 0xd8], al
mov byte [ecx + 0xdc], 1
mov eax, ecx
pop ebp
ret 4
Function at 0x10053ff0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10141478
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1019a128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 8]
lea edi, [ecx + 0xc]
movq xmm0, qword [ebx]
lea esi, [ebx + 0xc]
movq qword [ecx], xmm0
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
mov ecx, edi
push esi
call fcn.10002780
mov eax, dword [esi + 0x18]
mov dword [edi + 0x18], eax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
movzx eax, byte [esi + 0x1e]
mov byte [edi + 0x1e], al
mov dword [ebp - 4], 0
add ebx, 0x30
mov esi, dword [ebp - 0x10]
lea edi, [esi + 0x30]
mov byte [edi + 0x10], 0
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
cmp byte [ebx + 0x10], 0
je 0x1005407b
push ebx
mov ecx, edi
call fcn.10011990
mov byte [edi + 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1005e130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10142354
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
cmp esi, dword [ebp + 0xc]
je 0x1005e2b6
add esi, 0x58
nop dword [eax + eax]
lea eax, [esi - 0x58]
mov dword [ebp - 0x24], edi
push eax
mov ecx, edi
call fcn.10002780
mov eax, dword [esi - 0x40]
mov dword [edi + 0x18], eax
movzx eax, byte [esi - 0x3c]
mov byte [edi + 0x1c], al
lea eax, [esi - 0x38]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x20]
call fcn.10002780
mov eax, dword [esi - 0x20]
mov dword [edi + 0x38], eax
movzx eax, byte [esi - 0x1c]
mov byte [edi + 0x3c], al
mov edi, dword [ebp + 0x10]
lea eax, [esi - 0x18]
push eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x40]
call fcn.10002780
mov eax, dword [esi]
mov dword [edi + 0x58], eax
movzx eax, byte [esi + 4]
mov byte [edi + 0x5c], al
lea ecx, [edi + 0x60]
mov byte [ecx + 0x20], 0
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 4
cmp byte [esi + 0x28], 0
je 0x1005e217
lea eax, [esi + 8]
push eax
call fcn.10002780
mov eax, dword [esi + 0x20]
mov dword [edi + 0x78], eax
mov al, byte [esi + 0x24]
mov byte [edi + 0x7c], al
mov byte [edi + 0x80], 1
lea eax, [esi + 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [edi + 0x84]
call fcn.10002780
mov eax, dword [esi + 0x44]
mov dword [edi + 0x9c], eax
movzx eax, byte [esi + 0x48]
mov byte [edi + 0xa0], al
mov edi, dword [ebp + 0x10]
movups xmm0, xmmword [esi + 0x50]
lea ecx, [edi + 0xbc]
mov dword [ebp - 0x20], ecx
movups xmmword [edi + 0xa8], xmm0
movzx eax, byte [esi + 0x60]
mov byte [edi + 0xb8], al
mov byte [ecx + 0x20], 0
mov byte [ebp - 4], 7
cmp byte [esi + 0x84], 0
je 0x1005e294
lea eax, [esi + 0x64]
push eax
call fcn.10002780
mov eax, dword [esi + 0x7c]
mov dword [edi + 0xd4], eax
mov al, byte [esi + 0x80]
mov byte [edi + 0xd8], al
mov byte [edi + 0xdc], 1
add esi, 0xe0
mov byte [ebp - 4], 0
add edi, 0xe0
mov dword [ebp + 0x10], edi
mov dword [ebp - 0x18], edi
lea ecx, [esi - 0x58]
cmp ecx, dword [ebp + 0xc]
jne 0x1005e190
mov eax, edi
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.101157bc
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005fa50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x1019a128]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
mov dword [esp + 0xc], eax
push edi
test esi, esi
je 0x1005faeb
mov edi, dword [ebp + 8]
nop word [eax + eax]
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 0
push ecx
push esi
push edi
push dword [eax + 0xb8]
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1005fabb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov ebx, 0x1019abc0
xor ecx, ecx
jmp 0x1005fac8
mov ecx, dword [esp + 0x28]
mov ebx, 0x1019ab88
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + 4]
cmp eax, dword [0x1019ab8c]
jne 0x1005fadb
test edx, edx
jne 0x1005fadb
mov al, 1
jmp 0x1005fadd
xor al, al
test al, al
je 0x1005faff
mov eax, dword [esp + 0x10]
add edi, ecx
sub esi, ecx
jne 0x1005fa80
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101157bc
mov esp, ebp
pop ebp
ret 8
push ebx
push edx
mov edx, str.WriteFile_failed
lea ecx, [esp + 0x1c]
call fcn.1002dfd0
add esp, 8
lea eax, [esp + 0x14]
push 0x10197920
push eax
call fcn.101179f2
int3

Function at 0x1005fe70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014271d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1019a128]
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
push 8
call fcn.101157fb
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx + 4], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x100600f0
push 0
push 0
call fcn.101236ea
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1005fefb
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.101157bc
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.10113718
int3