joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427d50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x52278c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0042dd20
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0042ddc0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004bfcf2
add esp, 0x68
ret

Function at 0x427dc0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x52278c]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0042dd20
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.0042ddc0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004bfcf2
add esp, 0x68
ret

Function at 0x428660
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x52278c]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.0042bc60
add esp, 8
test eax, eax
jne 0x4286cb
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004bfcf2
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x4286e0
push esi
lea ecx, [esp + 0x14]
call fcn.0042dd20
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.0042ddc0
test edi, edi
je 0x4286fe
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004bfcf2
add esp, 0x6c
ret

Function at 0x428760
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x52278c]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0042be50
add esp, 4
test eax, eax
jne 0x4287be
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004bfcf2
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.0042ddc0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.004bfcf2
add esp, 0x64
ret
Function at 0x4287e0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x52278c]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.0042bf30
add esp, 8
test eax, eax
jne 0x42885f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004bfcf2
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.0042d430
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004bfcf2
add esp, 0x74
ret
Function at 0x436c20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4fca60
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.004c4429
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x436ceb
push 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.004c42c7
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.004c41cf
add esp, 4
mov dword [ebp - 4], eax
push 2
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004c42c7
add esp, 0xc
cmp dword [ebp - 4], 0x6400000
ja 0x436cdf
mov edx, dword [ebp - 4]
push edx
call fcn.004c3f68
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x436cdf
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.004c3e82
add esp, 0x10
cmp dword [ebp - 4], eax
je 0x436cd7
mov eax, dword [ebp - 0xc]
push eax
call fcn.004c3b37
add esp, 4
mov dword [ebp - 0xc], 0
jmp 0x436cdf
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
push eax
call fcn.004c3abb
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x486a00
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7eb2
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x52278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x3c
call fcn.00487880
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00487880
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00487880
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00487880
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00487880
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00487880
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00487880
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00487880
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00487880
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00487880
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00487880
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.00487880
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00487880
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00487880
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.00487880
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00487880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4aea20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret
Function at 0x4b8090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fad2b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x52278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
add eax, 8
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.0043d3c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
mov edx, dword [ebp - 0x10]
add edx, 0x14
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x28], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x2c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp + 8]
add edx, 0x34
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0043d3c0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x401078
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402040
push 0x4011b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x403050], 0xffffffff
or dword [0x403054], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x40304c]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x403048]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x403058], eax
call fcn.004011a9
cmp dword [0x403034], 0
jne 0x4010fb
push 0x4011a6
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00401194
push 0x40300c
push 0x403008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x403044]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x403040]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x403004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call section..text
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x100031d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7975
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10107f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.100030b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003263
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 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 8
cmp dword [edi + 8], 0xccccccc
je 0x100033bf
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100acd4c
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e2700]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e2700]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003361
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100be040
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100ad100
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003343
cmp ebx, 0x200
jae 0x10003341
shl ebx, 3
cmp ebx, ecx
jae 0x10003343
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10005a80
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100030b0
mov edx, dword [eax]
jmp 0x10003364
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x1000338f
mov dword [ecx + eax*8], esi
jmp 0x1000339e
cmp edi, edx
jne 0x10003398
mov dword [ecx + eax*8], esi
jmp 0x100033a2
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100033a2
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.10095821
int3
Function at 0x10003c00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1f4
xorps xmm0, xmm0
mov dword [ebp - 0x204], 0
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x200], 0xf
push 0
movups xmmword [ebp - 0x214], xmm0
push eax
mov byte [ebp - 0x214], 0
mov dword [ebp - 0x1fc], 0
call fcn.100ae560
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100b94e6
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003cab
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003ca1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d03
push ecx
push edx
call fcn.100acd7c
add esp, 8
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.10006aa0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100bdf71
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x1010d0a8
push 0x1f8
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad0a4
mov esp, ebp
pop ebp
ret
call fcn.100b8f1f
int3

Function at 0x10003d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x1010d08c]
push edi
push eax
push ecx
push esi
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10003dec
xorps xmm0, xmm0
mov eax, ebx
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], 0
pop edi
mov dword [ebx + 0x14], 0xf
pop esi
mov byte [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ad0a4
mov esp, ebp
pop ebp
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10003db4
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
push esi
call fcn.100ae880
add esp, 0xc
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
movups xmmword [ebp - 0x1c], xmm0
push dword [ebp - 0x20]
push esi
call fcn.10003020
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 4]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0
mov eax, ebx
movups xmm0, xmmword [ebp - 0x1c]
mov dword [ebx + 0x14], 0
xor ecx, ebp
pop edi
movups xmmword [ebx], xmm0
pop esi
movq xmm0, qword [ebp - 0xc]
movq qword [ebx + 0x10], xmm0
pop ebx
call fcn.100ad0a4
mov esp, ebp
pop ebp
ret
Function at 0x10004490
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10107f80]
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, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov eax, dword [esi + 0x5f8]
test eax, eax
je 0x100044e3
push dword [esi]
push eax
push str._p____p
call fcn.10003c00
add esp, 0xc
mov eax, dword [0x1010d09c]
inc eax
mov dword [0x1010d09c], eax
cmp eax, 0x9c4
jl 0x10004509
push str.too_many_hooks:_cant_insert
call fcn.10003c00
add esp, 4
xor al, al
jmp 0x10004681
test edi, edi
je 0x10004526
cmp byte [edi], 0
je 0x10004526
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100b94e6
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x28]
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10076170
mov ecx, eax
add esp, 0xa10
cmp dword [ecx + 0x14], 7
jbe 0x10004555
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x43c]
push ecx
push 0x1f4
lea eax, [esi + 0x20c]
push eax
call fcn.100b9020
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100038e0
imul eax, dword [0x1010d09c], 0xac8
sub esp, 0xa08
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x1010d098]
mov ecx, eax
call fcn.100070b0
test al, al
jne 0x1000461c
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x28]
add eax, 0x20c
push eax
call fcn.10003500
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10074810
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x100045de
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10003c00
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003890
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100038e0
imul ecx, dword [0x1010d09c], 0xac8
add ecx, dword [0x1010d098]
call fcn.10006e60
xor al, al
jmp 0x10004681
mov esi, dword [ebp - 0x43c]
lea edx, [ebp - 0x428]
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x42c], 0
mov eax, dword [esi]
lea ecx, [esi + 0x20c]
mov dword [ebp - 0x430], eax
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x10004650
push 0
push 0x1010d0a8
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
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.100ad0a4
mov esp, ebp
pop ebp
ret
Function at 0x100046a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe18
mov eax, dword [0x10107f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xa10]
push esi
push edi
mov dword [ebp - 0xe18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0xa08
lea eax, [ebp - 0x1c]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10076170
add esp, 0xa10
cmp dword [eax + 0x14], 7
jbe 0x100046f1
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x214]
push 0x1f4
push eax
call fcn.100b9020
mov ecx, dword [ebp - 8]
add esp, 0xc
cmp ecx, 7
jbe 0x10004740
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004736
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100047bb
push ecx
push edx
call fcn.100acd7c
add esp, 8
push 0x3e8
lea eax, [ebp - 0x404]
mov dword [ebp - 0xe14], 2
mov ecx, 0x282
lea esi, [ebp + 8]
lea edi, [ebp - 0xe0c]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.100ae560
push 0x1f3
push dword [ebp - 0xe18]
lea eax, [ebp - 0x404]
push 0x1f4
push eax
call fcn.100b9152
add esp, 0x1c
lea eax, [ebp - 0xe14]
push 0
push 0x1010d0a8
push 0xdf8
push eax
push dword [0x10107278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ad0a4
mov esp, ebp
pop ebp
ret
call fcn.100b8f1f
int3

Function at 0x100047d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
test eax, eax
je 0x100047eb
push eax
push str.removing_hook:__s
call fcn.10003c00
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x1010d0a8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [0x10107278]
mov dword [ebp - 0x10], 3
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret