joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a5ee
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a86d8
push 0x40a5b0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x4ac554]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x42a640
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x42a653
and dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x54]
jmp 0x42a76e
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x4550
je 0x42a67d
and dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x58]
jmp 0x42a76e
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x2c], ecx
and dword [ebp - 0x3c], 0
jmp 0x42a6c6
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax + 0x18]
jae 0x42a755
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x48], edx
push dword [ebp + 0xc]
push dword [ebp - 0x48]
call dword [0x4480d4]
test eax, eax
je 0x42a6f6
jmp 0x42a6bf
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x40], ax
movzx eax, word [ebp - 0x40]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x3c]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x1c]
movzx eax, word [ebp - 0x44]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x5c]
jmp 0x42a76e
mov dword [ebp - 4], 0xfffffffe
jmp 0x42a76c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42ee75
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a88a0
push 0x40a5b0
mov eax, dword fs:[0]
push eax
push ecx
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ac554]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
and dword [ebp - 0x24], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
test eax, eax
je 0x42ef55
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
je 0x42ef55
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
test eax, eax
je 0x42ef26
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
je 0x42ef26
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
push eax
call fcn.004047d1
pop ecx
movzx esi, ax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
push eax
call fcn.004047d1
pop ecx
movzx eax, ax
cmp esi, eax
jne 0x42ef26
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
inc eax
inc eax
mov dword [ebp - 0x20], eax
jmp 0x42eedc
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
test eax, eax
jne 0x42ef42
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x30]
jmp 0x42ef6e
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
jmp 0x42eebe
mov dword [ebp - 4], 0xfffffffe
jmp 0x42ef6c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4304ae
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446101
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ac554]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
call fcn.0040423f
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
call fcn.0040423f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.0040423f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
add ecx, 0x30
call fcn.0040423f
mov byte [ebp - 4], 3
push 0x18
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x40
push eax
call fcn.00408030
add esp, 0xc
push 0x2c00
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x5c
push eax
call fcn.00408030
add esp, 0xc
push 0x300
push 0
mov eax, dword [ebp - 0x24]
add eax, 0x2c74
push eax
call fcn.00408030
add esp, 0xc
call dword [fcn.00448260]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x58], eax
mov eax, dword [ebp - 0x24]
add eax, 0x2c5c
push eax
call dword [fcn.0044823c]
mov byte [ebp - 4], 4
call dword [fcn.00448260]
push eax
call fcn.004084f1
pop ecx
and dword [ebp - 0x1c], 0
jmp 0x430590
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x18
jge 0x4305b3
push 0x7f
push 0x21
mov ecx, dword [ebp - 0x24]
call fcn.0042f4cf
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x1d]
mov byte [eax + 0x40], cl
jmp 0x430589
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov ecx, dword [0x4b0b64]
call fcn.00428834
mov byte [ebp - 0x25], al
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x430658
mov eax, dword [ebp - 0x14]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x14]
add eax, 8
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add eax, 0x2c74
push eax
call fcn.0042ea30
add esp, 0x10
mov eax, dword [ebp - 0x18]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov eax, dword [ebp - 0x24]
add eax, 0x2c74
push eax
call fcn.0042e968
add esp, 0x10
cmp dword [ebp + 0xc], 0x63
jge 0x43063f
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
sub eax, 0x18
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x24]
call fcn.004300d1
push 0x400
push 0
call dword [fcn.0044826c]
push eax
push dword [ebp - 0x14]
call fcn.00429f45
add esp, 0xc
jmp 0x430667
mov dword [ebp - 4], 3
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41dbe7
Capabilities:
Parse pe header

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

Function at 0x429b45
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d770
push 0x43d768
push str.FlsAlloc
push 0x1f
call fcn.004299b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x429b79
push dword [ebp + 8]
mov ecx, esi
call dword [0x439134]
call esi
jmp 0x429b7f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x429bc3
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d780
push 0x43d778
push str.FlsGetValue
push 0x21
call fcn.004299b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x429bfa
push dword [ebp + 8]
mov ecx, esi
call dword [0x439134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x429c02
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x43d788
push 0x43d780
push str.FlsSetValue
push 0x22
call fcn.004299b0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x429c3c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x439134]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x430b89
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x445040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00429230
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00429230
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x430c00
cmp word [ecx], dx
je 0x430c00
mov eax, dword [0x43de54]
push edi
dec eax
push eax
push 0x43dd40
call fcn.00430b28
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x430c73
cmp word [eax], dx
je 0x430c73
mov eax, dword [edi]
test eax, eax
je 0x430c24
cmp word [eax], dx
je 0x430c24
lea eax, [ebp - 0x10]
push eax
call fcn.0043050b
jmp 0x430c2d
lea eax, [ebp - 0x10]
push eax
call fcn.004305a6
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x430c9d
mov eax, dword [0x43dd3c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x43da30
call fcn.00430b28
add esp, 0xc
test al, al
je 0x430c9d
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x430c68
cmp word [eax], di
je 0x430c68
lea eax, [ebp - 0x10]
push eax
call fcn.0043050b
pop ecx
jmp 0x430c9f
lea eax, [ebp - 0x10]
push eax
call fcn.004305a6
jmp 0x430c65
mov eax, dword [edi]
test eax, eax
je 0x430c8a
cmp word [eax], dx
je 0x430c8a
lea eax, [ebp - 0x10]
push eax
call fcn.004304c0
pop ecx
jmp 0x430c9d
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x430d68
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.004309ad
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x430d68
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x430d68
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x430d68
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x430cf5
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00429d42
test ebx, ebx
je 0x430d63
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00429d42
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x430d68
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x430d68
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.00434bc8
add esp, 0x10
xor eax, eax
inc eax
jmp 0x430d6a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d4b0
leave
ret
Function at 0x436cb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x436cdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x436cdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001b70
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x212a4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x21280]
test eax, eax
je 0x10001bc0
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10001ba9
mov ecx, dword [esi + 0x21280]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x21280]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x21280], 0
cmp dword [esi + 0x4b4], 0
je 0x10001bf7
lea esp, [esp]
mov ecx, dword [esi + 0x4b4]
test ecx, ecx
mov eax, dword [ecx + 0xb4]
mov dword [esi + 0x4b4], eax
je 0x10001bee
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
cmp dword [esi + 0x4b4], 0
jne 0x10001bd0
cmp byte [esi + 4], 0
je 0x10001c03
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, esi
call fcn.100015f0
mov dword [0x1000e244], 0
pop esi
ret
Function at 0x10004420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebx
push esi
mov ebx, ecx
xor esi, esi
mov dword [esp + 8], esi
lea eax, [ebx + 0x530]
cmp dword [eax], 0
je 0x100044c6
add esi, 1
add eax, 0x20dc
cmp esi, 0x10
jl 0x10004433
mov dword [esp + 8], esi
cmp esi, 0x10
je 0x100044f0
imul esi, esi, 0x20dc
cmp dword [esi + ebx + 0x534], 0
push edi
lea edi, [esi + ebx + 0x4c0]
je 0x10004478
movzx eax, word [ebx + 0x22]
shr eax, 3
mov dword [edi + 0x6c], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
movzx eax, word [ebx + 0x22]
push ebp
mov ebp, dword [edi]
movzx esi, word [ebp + 2]
imul esi, eax
mov eax, dword [ebp + 4]
sar esi, 3
imul eax, esi
lea ecx, [eax + eax*2]
shr ecx, 4
mov eax, ecx
cdq
idiv esi
sub ecx, edx
shl ecx, 4
mov dword [esp + 0x14], ecx
cmp word [ebp], 0x55
jne 0x100044fa
movzx eax, word [ebx + 0x22]
mov dword [esp + 0x18], eax
jmp 0x10004502
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, esi
imul edx, edx, 0x20dc
push eax
push ecx
lea ecx, [edx + ebx + 0x4c0]
mov dword [esp + 0x10], esi
call fcn.100035c0
test eax, eax
jne 0x1000444d
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 0x14
movzx ecx, word [ebp + 0xe]
mov dword [esp + 0x18], ecx
movzx edx, word [ebp + 2]
mov dword [esp + 0x1c], edx
mov eax, dword [ebp + 4]
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x74]
test eax, eax
je 0x100045fb
mov edx, dword [ebx + 0xa4]
push 0x10000
push 0x12
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push ebp
mov dword [esp + 0x34], eax
mov word [esp + 0x44], ax
push edx
lea esi, [edi + 0x78]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov word [esp + 0x48], 0x12
mov word [esp + 0x38], 1
call sub.MSACM32.dll_acmFormatSuggest
mov ecx, dword [edi]
mov edx, dword [ebx + 0xa4]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call sub.MSACM32.dll_acmStreamOpen
test eax, eax
jne 0x100045e8
mov eax, dword [esp + 0x40]
push 1
lea ecx, [esp + 0x40]
push ecx
push 0x2000
push eax
mov dword [edi + 0xcc], eax
call sub.MSACM32.dll_acmStreamSize
mov ebp, dword [esp + 0x3c]
push 0x54
push 0
push esi
mov dword [edi + 0xd0], ebp
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x4c]
add esp, 0xc
mov dword [esi], 0x54
mov edx, dword [ebx + 0x4b8]
push 0
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebp
mov eax, dword [ebx + 0x4bc]
push esi
push ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0x2000
call sub.MSACM32.dll_acmStreamPrepareHeader
test eax, eax
je 0x100045fb
mov ecx, edi
call fcn.10001370
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 0x14
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
mov edx, dword [edx + 0x1a0]
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call edx
mov esi, eax
test esi, esi
jne 0x1000461f
mov ecx, edi
call fcn.10001370
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x28
ret 0x14
Function at 0x100047a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1000a1b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1000e1f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.C3DListener.0
mov dword [esp + 0x14], 0
call fcn.10003c50
fldz
fst dword [esi + 4]
mov dword [esi], vtable.I3DObject.0
fst dword [esi + 8]
fst dword [esi + 0xc]
fst dword [esi + 0x10]
fst dword [esi + 0x14]
fst dword [esi + 0x18]
fst dword [esi + 0x1c]
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x28]
fst dword [esi + 0x2c]
fstp dword [esi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x10004c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000a1f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1000e1f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.C3DSample.0
mov dword [esp + 0x14], 1
call fcn.10003f60
lea ecx, [esi + 0x68]
mov byte [esp + 0x14], 0
mov dword [ecx], vtable.CSample.0
call fcn.10003db0
fldz
fst dword [esi + 4]
mov dword [esi], vtable.I3DObject.0
fst dword [esi + 8]
fst dword [esi + 0xc]
fst dword [esi + 0x10]
fst dword [esi + 0x14]
fst dword [esi + 0x18]
fst dword [esi + 0x1c]
fst dword [esi + 0x20]
fst dword [esi + 0x24]
fst dword [esi + 0x28]
fst dword [esi + 0x2c]
fstp dword [esi + 0x30]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x100075c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
mov dword [esi + 0x88], eax
je 0x100075e0
cmp eax, 1
je 0x100075e4
xor al, al
pop esi
pop ecx
ret
mov byte [esi + 4], 1
push edi
lea edi, [esi + 8]
push edi
push 0x1000b924
push 1
mov eax, 0x1002f524
push 0
push 0x1000b934
mov dword [0x1002f528], eax
mov dword [0x1002f524], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esi + 0x88], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
jne 0x10007654
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push 0
push eax
call edx
mov dword [esi + 0x88], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
je 0x10007663
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
pop edi
xor al, al
pop esi
pop ecx
ret
push ebx
push 0
push 0x1000b8b8
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov ecx, dword [edi]
push 2
je 0x10007682
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x18]
push ecx
jmp 0x10007691
mov ebx, dword [ecx]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edx, dword [edi]
push eax
mov eax, dword [ebx + 0x18]
push edx
call eax
mov edx, dword [esi]
mov dword [esi + 0x88], eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
jne 0x10007781
push 0x60
lea ebx, [esi + 0x28]
push 0
push ebx
call sub.MSVCR80.dll_memset
mov edi, dword [edi]
add esp, 0xc
mov dword [ebx], 0x60
mov ecx, dword [edi]
mov edx, dword [ecx + 0x10]
push ebx
push edi
call edx
mov dword [esi + 0x88], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
jne 0x10007732
push 0xc0
call fcn.100094fe
add esp, 4
test eax, eax
je 0x10007712
push 0
push 0
mov ecx, eax
call fcn.10004da0
jmp 0x10007714
xor eax, eax
mov dword [esi + 0x4b4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
je 0x10007742
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x100075b0
push 0
push 0
mov dword [esi + 0x212c0], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi]
mov dword [esi + 0x21280], eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
cmp dword [esi + 0x88], 0
mov dword [esi + 0x8c], eax
je 0x10007791
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
pop ebx
pop edi
xor al, al
pop esi
pop ecx
ret
pop ebx
pop edi
mov dword [0x1000e244], esi
mov al, 1
pop esi
pop ecx
ret

Function at 0x1000941e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e1f8]
jne 0x10009428
repz ret
jmp fcn.10009a34
Function at 0x6c4c1e02
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x6c4c1e1c
mov dword [esp], edx
call sym._strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sym._fwrite
mov dword [esp], esi
call sym._fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x6c4c44c8
Capabilities:
Write file on windows

Disassembly:
cmp dword [0x6c4e3048], 0
jne 0x6c4c44d3
jmp sym._writeToStdErr__system_u3961_8
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
call sym._cstrToNimstr_4
mov dword [esp + 4], edx
mov ebx, edx
mov dword [esp], eax
call dword [0x6c4e3048]
push edx
push edx
test ebx, ebx
je 0x6c4c4502
bt dword [ebx], 0x1e
jb 0x6c4c4502
mov dword [esp], ebx
call sym._deallocImpl__system_u1765
mov dword [esp], 0x6c4da124
call sym.___emutls_get_address
cmp byte [eax], 0
je 0x6c4c4536
mov byte [eax], 0
mov dword [esp], 0x6c4da0a4
call sym.___emutls_get_address
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov dword [esp], 0
call sym._eqcopy___stdZtypedthreads_u171_12
push eax
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x6c4c459d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 4], sym._signalHandler
mov dword [esp], 2
call sym._signal
mov dword [esp + 4], sym._signalHandler
mov dword [esp], 0xb
call sym._signal
mov dword [esp + 4], sym._signalHandler
mov dword [esp], 0x16
call sym._signal
mov dword [esp + 4], sym._signalHandler
mov dword [esp], 8
call sym._signal
mov dword [esp + 4], sym._signalHandler
mov dword [esp], 4
call sym._signal
leave
ret

Function at 0x6c4c7980
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
test ecx, ecx
je 0x6c4c79be
cmp word [ecx], 0x5a4d
jne 0x6c4c79be
xor eax, eax
add ecx, dword [ecx + 0x3c]
seto al
jno 0x6c4c79aa
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], eax
call sym._raiseOverflow
mov eax, dword [ebp - 0xc]
leave
ret
cmp dword [ecx], 0x4550
jne 0x6c4c79be
mov ax, word [ecx + 0x16]
shr ax, 0xd
and eax, 1
ret
ret