joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fe30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44ff45
sub esp, 0x2c
mov ecx, dword [esp + 0x30]
test ecx, ecx
setne dl
mov ebx, dword [esp + 0x34]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x44ff3e
mov edx, dword [0xa8b19c]
cmp ebx, edx
setl dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp dword [0xa8b198], ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and ebp, esi
or edx, ebp
test dl, dl
je 0x44ff3e
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x4c]
mov ebx, dword [edx + 0x78]
add ebx, 1
mov ebp, dword [edx + 0x7c]
mov dword [edx + 0x78], ebx
adc ebp, 0
mov dword [edx + 0x7c], ebp
mov ebx, dword [edx + 0x18]
mov ebx, dword [ebx + 0x54]
mov dword [edx + 0x80], ebx
lea edi, [esp + 0x14]
mov ebx, eax
xor eax, eax
call fcn.0045ff8a
mov ecx, dword [edx + 0x50]
mov ebp, dword [edx + 0x54]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
mov ecx, dword [edx + 0x78]
mov edx, dword [edx + 0x7c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x30]
shr ecx, 6
mov edx, ebx
shl ebx, 0x1a
or ecx, ebx
mov dword [esp + 0x24], ecx
shr edx, 6
mov dword [esp + 0x28], edx
mov byte [esp], 0x1d
mov dword [esp + 4], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.0044eb00
add esp, 0x2c
ret
mov eax, ebx
jmp 0x44fe9a
call fcn.0045e790
jmp fcn.0044fe30
Function at 0x450160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x450318
sub esp, 0x70
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045ff85
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x14]
jmp 0x450196
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x18]
xor eax, eax
test ecx, ecx
je 0x450292
mov dword [esp + 0x28], ecx
mov ebx, dword [ecx + 0x10]
test ebx, ebx
jne 0x450205
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x78]
mov ebx, dword [edx]
call ebx
movzx eax, byte [esp + 8]
test al, al
jne 0x45018d
add esp, 0x70
ret
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
call fcn.0044b170
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x450296
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx]
test ebp, ebp
jne 0x45028c
xor edx, edx
mov dword [esp + 0x64], edx
mov ebp, dword [ecx + 8]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], 0
cmp ebp, 0x80000000
jne 0x4501d9
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
call fcn.00451e30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x28]
jmp 0x4501d9
nop
lea edx, [ebx + 0x28]
jmp 0x450237
add esp, 0x70
ret
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0045ff8a
lea ecx, [0x7739a0]
mov dword [esp + 0x2c], ecx
lea edx, [0x835ad8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 0
lea edx, [0x7736a0]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
lea ecx, [0x835ae0]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call fcn.00408350
lea ecx, [0x7c8ae4]
mov dword [esp], ecx
mov dword [esp + 4], 0xa
call fcn.004333f0
nop
call fcn.0045e790
jmp fcn.00450160
Function at 0x4522d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x45251a
sub esp, 0x90
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.0044b920
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x58]
mov edx, eax
xor eax, eax
call fcn.0045ff8a
lea ecx, [0x7739a0]
mov dword [esp + 0x58], ecx
lea ebx, [0x835c08]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x40]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
lea edx, [0x835c10]
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 3
mov dword [esp + 8], 3
call fcn.00408350
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
cmp dword [ecx], eax
jae 0x452513
lea edx, [eax - 1]
mov dword [esp], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov byte [esp + 0xc], 1
call fcn.0044ba20
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
lea edi, [esp + 0x70]
mov ebx, eax
xor eax, eax
call fcn.0045ff88
lea eax, [0x7739a0]
mov dword [esp + 0x70], eax
lea ecx, [0x835c18]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea ecx, [0x835c28]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x24], edx
lea ecx, [0x773020]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 4
call fcn.00408350
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
cmp dword [ecx], eax
jb 0x45249c
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
lea eax, [0x7739a0]
mov dword [esp + 0x30], eax
lea eax, [0x835c38]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00408350
add esp, 0x90
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea edx, [0x7739a0]
mov dword [esp + 0x48], edx
lea ebx, [0x835c30]
mov dword [esp + 0x4c], ebx
mov ecx, dword [ecx]
sub eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
lea eax, [0x7736a0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.00408350
jmp 0x452455
mov edx, eax
jmp 0x452392
call fcn.0045e790
jmp fcn.004522d0
Function at 0x452e80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452f1f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045ff87
lea ecx, [0x45a290]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045e670
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045e790
jmp fcn.00452e80
Function at 0x453880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x453a9d
sub esp, 0x88
mov ecx, dword [esp + 0x94]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
test ebx, ebx
je 0x453a94
cmp edx, ebx
jbe 0x453a92
test ebx, ebx
mov eax, ebx
je 0x453a8b
cmp edx, eax
jae 0x453a8b
add ebx, 0xffffff80
lea ebp, [edx - 0x400]
cmp ebx, ebp
jae 0x453a84
lea ebx, [eax + 0x80]
add edx, 0x400
cmp ebx, edx
jbe 0x453a7d
mov ebx, dword [esp + 0x8c]
cmp ebx, ebp
jbe 0x453a74
mov eax, ebx
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x90]
cmp ebp, edx
jae 0x453a69
mov edx, ebp
mov dword [esp + 0x10], ebp
lea edi, [esp + 0x40]
mov ebx, eax
xor eax, eax
call fcn.0045ff7e
lea ecx, [0x7739a0]
mov dword [esp + 0x40], ecx
lea esi, [0x835ce8]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x94]
mov ebp, dword [esi + 0x14]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0
lea ebp, [0x7736a0]
mov dword [esp + 0x48], ebp
mov edi, edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
lea edx, [0x835cf0]
mov dword [esp + 0x54], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ecx
lea edx, [0x835cf8]
mov dword [esp + 0x64], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x68], ebp
lea edx, [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ecx
lea edx, [0x835d00]
mov dword [esp + 0x74], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x78], ebp
lea edx, [esp + 0x14]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
lea ecx, [0x835d08]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], 9
call fcn.00408350
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [0x45a320]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.00435720
add esp, 0x88
ret
mov esi, edx
mov edx, ebp
mov ebp, esi
jmp 0x45391a
mov eax, ebx
mov ebx, ebp
jmp 0x453905
mov edx, ebx
jmp 0x4538f4
mov ebp, ebx
jmp 0x4538e0
mov eax, edx
jmp 0x4538cf
test ebx, ebx
mov eax, ebx
mov ebx, edx
jmp 0x4538c1
call fcn.0045e790
jmp fcn.00453880
Function at 0x45fb90
Capabilities:
Encrypt data using aes via x86 extensions
Hash data using murmur3

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0xa93640]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45e21b
je 0x45e26a
cmp ebx, 0x20
jbe 0x45e270
cmp ebx, 0x40
jbe 0x45e2ae
jmp 0x45e33f
test ebx, ebx
je 0x45e260
add eax, 0x10
test ax, 0xff0
je 0x45e24c
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x841680]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x841780]
jmp 0x45e238
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45e238
pxor xmm1, xmmword [0xa93650]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xa93650]
pxor xmm2, xmmword [0xa93660]
pxor xmm3, xmmword [0xa93670]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xa93650]
pxor xmm2, xmmword [0xa93660]
pxor xmm3, xmmword [0xa93670]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45e39e
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0xa93241], 0
je 0x45fbaa
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45e1e0
jmp fcn.004085a0
Function at 0x45fc10
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x408860
mov eax, dword [0xa93580]
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [esp + 8]
lea eax, [ebx + eax*8]
xor eax, edx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
xor ecx, eax
imul eax, ecx, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, eax
shr eax, 0x11
xor eax, ecx
imul eax, eax, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x8b421a21
mov ecx, eax
shr eax, 0x10
xor eax, ecx
mov dword [esp + 0xc], eax
ret
call fcn.0045e790
jmp 0x4087f0
cmp byte [0xa93241], 0
je 0x45fc4b
mov eax, dword [esp + 4]
movq xmm0, qword [eax]
pinsrd xmm0, dword [esp + 8], 2
aesenc xmm0, xmmword [0xa93640]
aesenc xmm0, xmmword [0xa93650]
aesenc xmm0, xmmword [0xa93660]
movd dword [esp + 0xc], xmm0
ret
jmp 0x4087f0

Function at 0x460b00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x21c
mov dword [esp], esp
mov dword [esp + 4], 0x21c
call fcn.004604b0
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.004604b0
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xba0
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100032d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db335
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1010cfc0]
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.100031b0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10003363
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 0x100034bf
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.100b0718
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 + 0x100e6720]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100e6720]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10003461
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.100c1a10
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.100b0ad0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10003443
cmp ebx, 0x200
jae 0x10003441
shl ebx, 3
cmp ebx, ecx
jae 0x10003443
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.10005b80
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100031b0
mov edx, dword [eax]
jmp 0x10003464
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 0x1000348f
mov dword [ecx + eax*8], esi
jmp 0x1000349e
cmp edi, edx
jne 0x10003498
mov dword [ecx + eax*8], esi
jmp 0x100034a2
cmp dword [ecx + eax*8 + 4], ebx
jne 0x100034a2
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.100991f1
int3
Function at 0x10003d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010cfc0]
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.100b1f30
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.100bceb6
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003dab
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003da1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003e03
push ecx
push edx
call fcn.100b0748
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.10006ba0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100c1941
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x10112338
push 0x1f8
push eax
push dword [0x1010c278]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b0a70
mov esp, ebp
pop ebp
ret
call fcn.100bc8ef
int3

Function at 0x10003e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1010cfc0]
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 [0x1011231c]
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 0x10003eec
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.100b0a70
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 0x10003eb4
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.100b2250
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.10003120
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.100b0a70
mov esp, ebp
pop ebp
ret
Function at 0x10004590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db475
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x1010cfc0]
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 0x100045e3
push dword [esi]
push eax
push str._p____p
call fcn.10003d00
add esp, 0xc
mov eax, dword [0x1011232c]
inc eax
mov dword [0x1011232c], eax
cmp eax, 0x9c4
jl 0x10004609
push str.too_many_hooks:_cant_insert
call fcn.10003d00
add esp, 4
xor al, al
jmp 0x10004781
test edi, edi
je 0x10004626
cmp byte [edi], 0
je 0x10004626
push 0x3b
push edi
lea eax, [esi + 0x1d0]
push 0x3c
push eax
call fcn.100bceb6
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.10079940
mov ecx, eax
add esp, 0xa10
cmp dword [ecx + 0x14], 7
jbe 0x10004655
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x43c]
push ecx
push 0x1f4
lea eax, [esi + 0x20c]
push eax
call fcn.100bc9f0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.100039e0
imul eax, dword [0x1011232c], 0xac8
sub esp, 0xa08
mov edi, esp
mov ecx, 0x282
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x10112328]
mov ecx, eax
call fcn.100071b0
test al, al
jne 0x1000471c
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x28]
add eax, 0x20c
push eax
call fcn.10003600
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10077fe0
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x100046de
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.10003d00
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003990
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100039e0
imul ecx, dword [0x1011232c], 0xac8
add ecx, dword [0x10112328]
call fcn.10006f60
xor al, al
jmp 0x10004781
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 0x10004750
push 0
push 0x10112338
push 0x3f8
lea eax, [ebp - 0x438]
push eax
push dword [0x1010c278]
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.100b0a70
mov esp, ebp
pop ebp
ret