joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411bd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xe000]
push edi
or ebp, 0xffffffff
jmp 0x411bf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411be8
mov eax, 1
add ebx, ebx
jne 0x411c0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411c00
jne 0x411c1c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411c00
xor ecx, ecx
sub eax, 3
jb 0x411c30
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411ca2
mov ebp, eax
add ebx, ebx
jne 0x411c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411c48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x411c6c
inc ecx
add ebx, ebx
jne 0x411c58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411c4d
jne 0x411c69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411c4d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x411c8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x411c7d
jmp 0x411bee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411c8c
add edi, ecx
jmp 0x411bee
pop esi
mov edi, esi
mov ecx, 0x112
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x411caa
cmp byte [edi], 7
jne 0x411caa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x411caf
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411d27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12ef4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12f94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411cdc
mov ecx, edi
jns 0x411d0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12f98]
or eax, eax
je 0x411d21
mov dword [ebx], eax
add ebx, 4
jmp 0x411cf9
call dword [esi + 0x12f9c]
popal
jmp 0x40128f

Function at 0x10001090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
jne 0x100010b7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push 0
push section..text
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x401000
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00430040
mov eax, dword [0x439018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1008]
push esi
push edi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x40107c
mov edi, dword [ebp - 0x1008]
xor esi, esi
shr edi, 2
test edi, edi
je 0x40107c
nop word [eax + eax]
push 0xc
lea eax, [ebp - 0x1014]
push eax
push dword [ebp + esi*4 - 0x1004]
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x401077
cmp dword [ebp - 0x1010], 0x54db000
je 0x401097
inc esi
cmp esi, edi
jl 0x401050
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042f1a3
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1014]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0042f1a3
mov esp, ebp
pop ebp
ret 8
Function at 0x40d670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
lea edx, [esp + 0x10]
mov esi, 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [edi + 0xec]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x431878]
sub esi, 1
jne 0x40d690
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3e94], ebx
jne 0x40d6c6
push esi
push dword [esp + 0x14]
push 4
push ebx
call fcn.0040b710
add esp, 0x10
pop edi
pop esi
mov eax, ebx
pop ebx
ret 4

Function at 0x40d730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x431878]
sub edi, 1
jne 0x40d7a1
pop edi
not edx
pop esi
mov eax, edx
add esp, 0x10
ret 4

Function at 0x40e120
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x40e182
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40e166
cmp edi, 2
jb 0x40e166
cmp byte [esi], cl
jne 0x40e166
cmp byte [esi + 1], cl
jne 0x40e166
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431878]
jmp 0x40e137
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x431878]
test edi, edi
jne 0x40e137
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40e1b8
nop dword [eax]
cmp cl, 0x23
jne 0x40e19f
cmp byte [esi], cl
jne 0x40e19f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x431878]
test cl, cl
jne 0x40e190
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x40fa80
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x5ae8], 0
lea esi, [edi + 0x5aec]
je 0x40fafa
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x40fab4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041c460
push dword [esp + 0x14]
mov ecx, esi
mov dword [esi], 0
push dword [esp + 0x14]
call fcn.0041bf50
mov edx, dword [esi]
mov ecx, 0x439054
push dword [edi + 0x5ae8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5af4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
ret
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.0041bf50
pop edi
pop esi
ret
Function at 0x416e50
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x439050]
push esi
mov esi, dword [esp + 8]
mov dword [eax + 0x5a7c], 0
test esi, esi
je 0x416eaa
lea eax, [esp + 8]
mov dword [esp + 8], 0
push edi
push eax
call fcn.00416eb0
push 0x432e10
push esi
mov edi, eax
call fcn.0040deb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x416ea9
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
ret

Function at 0x41ab20
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [0x439050]
cmp byte [edi + 0x5a78], 0
lea eax, [edi + 0x20]
jne 0x41ac3d
mov ecx, dword [eax]
push ebx
push ebp
test ecx, ecx
je 0x41ac34
push esi
push 0x432e0c
push ecx
call fcn.0040deb0
mov esi, eax
add esp, 8
test esi, esi
je 0x41ac30
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x41ac26
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41ac26
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x41ac26
push 0
push ebp
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41ac26
mov eax, dword [0x439050]
test eax, eax
je 0x41abba
inc dword [eax + 0xb0]
push dword [0x439058]
push ebx
call dword [0x439008]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41ac26
push esi
push ebx
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x41ac0d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, dword [0x439050]
test eax, eax
je 0x41abfb
dec dword [eax + 0xb0]
push dword [0x439058]
push ebp
call dword [0x43900c]
add esp, 8
jmp 0x41ac30
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x41abec
push ebx
push ebp
call fcn.0040f640
add esp, 8
jmp 0x41abec
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
lea eax, [edi + 0x20]
pop esi
pop ebp
mov byte [edi + 0x5a78], 1
pop ebx
movss xmm0, dword [edi + 0x5a7c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41ac8b
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5a7c], xmm0
jb 0x41ac8b
mov eax, dword [eax]
test eax, eax
je 0x41ac7a
push eax
call fcn.00416e50
add esp, 4
mov dword [edi + 0x5a7c], 0
pop edi
ret
mov byte [edi + 0x96], 1
mov dword [edi + 0x5a7c], 0
pop edi
ret
Function at 0x421990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4305e0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x439018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x54]
mov edi, dword [esi + 0x5c]
shl edx, 4
sub edx, dword [esi + 0x54]
lea ebx, [edi + edx*8]
cmp edi, ebx
je 0x4219f2
nop dword [eax + eax]
mov eax, dword [edi]
test eax, eax
je 0x4219eb
cmp byte [edi + 8], 0
je 0x4219eb
push eax
call fcn.0040fbe0
add esp, 4
mov dword [edi], 0
add edi, 0x78
cmp edi, ebx
jne 0x4219d0
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x10], eax
cmp edx, eax
je 0x421a33
mov edi, dword [edx]
mov eax, dword [esi + 0x5c]
mov ebx, dword [edi + 0x34]
cmp ebx, eax
jb 0x421a2b
mov ecx, dword [esi + 0x54]
shl ecx, 4
sub ecx, dword [esi + 0x54]
lea eax, [eax + ecx*8]
cmp ebx, eax
jae 0x421a2b
xor eax, eax
mov dword [edi + 0x34], 0
mov word [edi + 0x38], ax
add edx, 4
cmp edx, dword [ebp - 0x10]
jne 0x421a02
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x421a58
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x5c], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x421a7d
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x46c], 0xffffffff
mov dword [esi + 0x468], 0xffffffff
test eax, eax
je 0x421aa1
push eax
call fcn.0040fbe0
add esp, 4
mov eax, dword [esi + 0x20]
test eax, eax
je 0x421ab1
push eax
call fcn.0040fbe0
add esp, 4
xor ebx, ebx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x19], 0
cmp dword [esi + 0x3c], ebx
jle 0x421b3a
nop word [eax + eax]
mov eax, dword [esi + 0x44]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x421b34
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00421c40
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x421afc
push eax
call fcn.0040fbe0
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x421b10
push eax
call fcn.0040fbe0
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x421b24
push eax
call fcn.0040fbe0
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040fbe0
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x3c]
jl 0x421ad0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x421b5f
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x44], 0
mov byte [esi + 0x18], 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 0x421cf0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 8
ja 0x421dff
test byte [edi], 2
jne 0x421dff
mov eax, dword [edi + 0x468]
lea esi, [esi + esi*2]
mov ecx, dword [edi + 0x50]
movss xmm2, dword [esi*8 + 0x433e98]
movss xmm4, dword [esi*8 + 0x433e9c]
lea edx, [eax*8]
sub edx, eax
movzx eax, word [ecx + edx*4 + 4]
movd xmm5, eax
movzx eax, word [ecx + edx*4 + 6]
cvtdq2ps xmm5, xmm5
movd xmm3, eax
addss xmm5, dword [esi*8 + 0x433e90]
mov eax, dword [esp + 0x14]
cvtdq2ps xmm3, xmm3
movaps xmm1, xmm5
addss xmm3, dword [esi*8 + 0x433e94]
movss dword [eax + 4], xmm4
movss dword [eax], xmm2
mov ecx, dword [esi*8 + 0x433ea0]
mov edx, dword [esi*8 + 0x433ea4]
mov eax, dword [esp + 0x10]
addss xmm4, xmm3
movaps xmm0, xmm3
mov dword [eax], ecx
mov dword [eax + 4], edx
mulss xmm1, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mulss xmm0, dword [edi + 0x30]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
addss xmm1, xmm5
addss xmm5, dword [0x436ed0]
movaps xmm0, xmm4
mulss xmm0, dword [edi + 0x30]
mulss xmm1, dword [edi + 0x2c]
movss dword [eax + 0xc], xmm0
movaps xmm0, xmm5
addss xmm5, xmm2
movss dword [eax + 8], xmm1
mulss xmm0, dword [edi + 0x2c]
mov eax, dword [esp + 0x1c]
mulss xmm3, dword [edi + 0x30]
movss dword [eax], xmm0
movss dword [eax + 4], xmm3
mulss xmm5, dword [edi + 0x2c]
mulss xmm4, dword [edi + 0x30]
pop edi
movss dword [eax + 8], xmm5
pop esi
movss dword [eax + 0xc], xmm4
mov al, 1
ret 0x14
pop edi
xor al, al
pop esi
ret 0x14

Function at 0x4260e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x426107
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42612c
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x426151
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x426192
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4261b7
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4261dc
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.0040fbe0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00421b80
Function at 0x42fd32
Capabilities:
Parse pe header

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

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x100029b2
cmp dword [0x100d7bb0], 0
jne 0x100029ab
push ebx
push ebp
push edi
call fcn.10002fe4
mov ebx, eax
test ebx, ebx
jne 0x1000281e
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x1000298c
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x100d7bb0
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x100029ab
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x100d7bb0]
jmp 0x100029b4
xor eax, eax
add esp, 0x74
ret
Function at 0x100039b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100d3cc0]
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 sub.msvcrt.dll_memset
push 0x1f3
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x1f8]
push 0x1f4
push eax
call fcn.1009de50
mov ecx, dword [ebp - 0x200]
add esp, 0x1c
cmp ecx, 0xf
jbe 0x10003a5b
mov edx, dword [ebp - 0x214]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003a51
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003ab3
push ecx
push edx
call fcn.1009c63f
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.100057e0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.100a0ea0
add esp, 0x1c
lea eax, [ebp - 0x1fc]
push 0
push 0x100d7bf0
push 0x1f8
push eax
push dword [0x100d3300]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c64d
mov esp, ebp
pop ebp
ret
call fcn.1009db30
int3
Function at 0x10003ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d3cc0]
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 [0x100d7bd0]
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 0x10003b2b
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b05
sub ecx, edx
push ecx
push 0
mov ecx, ebx
call fcn.10003320
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c64d
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
jne 0x10003b7c
xor ecx, ecx
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b56
sub ecx, edx
push ecx
push 0
mov ecx, ebx
call fcn.10003320
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009c64d
mov esp, ebp
pop ebp
ret
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 sub.msvcrt.dll_memcpy
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.10003320
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.1009c64d
mov esp, ebp
pop ebp
ret
Function at 0x10003c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac4d5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100d3cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x100d7be4]
mov ecx, dword [ebp + 0x608]
inc eax
mov dword [0x100d7be4], eax
cmp eax, 0x9c4
jl 0x10003c76
push str.too_many_hooks:_cant_insert
call fcn.100039b0
add esp, 4
xor al, al
jmp 0x10003dd1
test ecx, ecx
je 0x10003c93
cmp byte [ecx], 0
je 0x10003c93
push 0x3b
push ecx
lea eax, [ebp + 0x1e0]
push 0x3c
push eax
call fcn.1009de50
add esp, 0x10
lea eax, [ebp + 0x1e0]
push eax
push str.inserting_hook:__s
call fcn.100039b0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10004f90
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
sub esp, 0x600
lea eax, [ebp - 0x28]
mov edi, esp
lea esi, [ebp + 8]
mov ecx, 0x180
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10078610
add esp, 0x608
cmp dword [eax + 0x14], 7
jbe 0x10003ce4
mov eax, dword [eax]
push eax
lea eax, [ebp + 0x21c]
push 0x1f4
push eax
call fcn.1009dcc0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10003860
imul eax, dword [0x100d7be4], 0x6b8
lea esi, [ebp + 8]
sub esp, 0x600
mov ecx, 0x180
mov edi, esp
rep movsd dword es:[edi], dword [esi]
add eax, dword [0x100d7be0]
mov ecx, eax
call fcn.10005b10
test al, al
jne 0x10003da3
lea eax, [ebp + 0x21c]
push eax
lea ecx, [ebp - 0x28]
call fcn.100033f0
push 0xfde9
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10077420
add esp, 0xc
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 1
jbe 0x10003d65
mov eax, dword [eax]
push eax
push str.failed_to_insert_hook__s
call fcn.100039b0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10003810
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.10003860
imul ecx, dword [0x100d7be4], 0x6b8
add ecx, dword [0x100d7be0]
call fcn.10005810
xor al, al
jmp 0x10003dd1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push 0
push 0x100d7bf0
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
push 0x10
push eax
push dword [0x100d3300]
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x44], ecx
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.1009c64d
mov esp, ebp
pop ebp
ret