joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.00414e30
lea ecx, [ebp - 8]
push ecx
push eax
call fcn.00405370
mov esi, eax
add esp, 8
test esi, esi
jne 0x415bd0
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push edi
mov edi, 0x400
cmp eax, edi
mov dword [ebp - 8], eax
jae 0x415be1
mov edi, eax
wait
fnstcw word [0x4c58b8]
mov eax, dword [0x4c58b8]
test ah, 3
jne 0x415c01
mov dl, al
and dl, 0x3f
cmp dl, 0x3f
jne 0x415c01
test ah, 0xc
je 0x415c24
mov ax, word [0x4c58b8]
and ax, 0xfcff
or ax, 0x3f
and ax, 0xf3ff
mov word [ebp - 2], ax
fldcw word [ebp - 2]
mov dword [0x4c7d08], 1
xor ecx, ecx
test edi, edi
jle 0x415c57
mov eax, ecx
cdq
mov ebx, 0xb4
idiv ebx
mov bl, byte [esi + ecx + 4]
sub edx, 0x5a
mov dword [ebp - 4], edx
fild dword [ebp - 4]
fsin
fstp dword [ebp - 4]
mov al, byte [ebp - 4]
xor bl, al
mov byte [esi + ecx + 4], bl
inc ecx
cmp ecx, edi
jl 0x415c2a
mov ebx, dword [ebp + 8]
mov eax, dword [0x4c7d08]
test eax, eax
je 0x415c70
mov dword [0x4c7d08], 0
fldcw word [0x4c58b8]
mov ecx, dword [ebp - 8]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esi + 4]
mov edi, eax
push edx
push edi
call fcn.00409af0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, edi
mov ecx, ebx
call fcn.004148e0
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.004148e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415dd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov ecx, dword [esp + 0x11c]
push esi
call fcn.00414e30
mov dword [esp + 0x10], eax
mov al, byte [0x13b51a8]
xor esi, esi
test al, al
mov dword [esp + 4], esi
je 0x415eba
mov ecx, dword [reloc.DSOUND.dll_DirectSoundCreate]
lea eax, [esp + 8]
push eax
push 0x20019
push esi
push 0x13b51a8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415eba
push ebp
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push esi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
push edx
mov dword [esp + 0x34], 0x104
call edi
cmp eax, 0x103
je 0x415ea1
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x415ea1
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
call ebp
test eax, eax
je 0x415e99
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x34]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x34], 0x104
call edi
cmp eax, 0x103
jne 0x415e56
jmp 0x415ea1
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
pop edi
pop ebp
je 0x415eba
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x120]
call fcn.004148e0
xor eax, eax
pop esi
add esp, 0x118
ret
Function at 0x415ee0
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
lea ebx, [esi + 0x10]
push edi
mov edx, ebx
mov ecx, esi
call fcn.00414ca0
mov ecx, dword [esi + 0x34]
mov dword [esi + ecx*4 + 0x38], eax
mov ecx, esi
call fcn.00414e30
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov di, word [eax]
add eax, 2
mov dword [ebx], eax
mov edx, dword [esi + 0x34]
add edx, edi
test edi, edi
mov dword [esi + edx*4 + 0x3c], edi
mov ebp, edi
jle 0x415f36
mov ecx, esi
call fcn.00414e30
mov ecx, dword [esi + 0x34]
add ecx, ebp
dec ebp
test ebp, ebp
mov dword [esi + ecx*4 + 0x38], eax
jg 0x415f21
mov edx, dword [esi + 0x34]
mov eax, dword [esi]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
add edi, 2
add edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x34], edx
mov ecx, dword [eax*4 + 0xbce34c]
mov edx, dword [esi + 4]
dec ecx
mov dword [eax*4 + 0xbce34c], ecx
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [eax*4 + 0xbce34c]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov dword [ecx*4 + 0xbcf6f0], edx
mov edx, dword [esi]
mov eax, dword [edx*4 + 0xbce34c]
test eax, eax
jne 0x415fa2
push str.Not_Enough_Stack_Area.
call edi
mov eax, dword [0x13b43c4]
push 0x30
push 0
push str.Not_Enough_Stack_Area.
push eax
call ebp
mov eax, dword [esi]
mov ecx, dword [eax*4 + 0xbce34c]
mov edx, dword [ebx]
dec ecx
mov dword [eax*4 + 0xbce34c], ecx
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [eax*4 + 0xbce34c]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov dword [ecx*4 + 0xbcf6f0], edx
mov edx, dword [esi]
mov eax, dword [edx*4 + 0xbce34c]
test eax, eax
jne 0x416003
push str.Not_Enough_Stack_Area.
call edi
mov eax, dword [0x13b43c4]
push 0x30
push 0
push str.Not_Enough_Stack_Area.
push eax
call ebp
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword [ebx], edx
xor eax, eax
pop ebx
ret
Function at 0x416010
Capabilities:
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
lea ebx, [esi + 0x10]
push edi
mov edx, ebx
mov ecx, esi
call fcn.00414ca0
mov ecx, dword [esi + 0x34]
mov dword [esi + ecx*4 + 0x38], eax
mov ecx, esi
call fcn.00414e30
xor edi, edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx]
mov di, word [eax]
add eax, 2
mov dword [ebx], eax
mov edx, dword [esi + 0x34]
add edx, edi
test edi, edi
mov dword [esi + edx*4 + 0x3c], edi
mov ebp, edi
jle 0x416066
mov ecx, esi
call fcn.00414e30
mov ecx, dword [esi + 0x34]
add ecx, ebp
dec ebp
test ebp, ebp
mov dword [esi + ecx*4 + 0x38], eax
jg 0x416051
mov edx, dword [esi + 0x34]
mov eax, dword [esi]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
add edi, 2
add edx, edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x34], edx
mov ecx, dword [eax*4 + 0xbce34c]
mov edx, dword [esi + 4]
dec ecx
mov dword [eax*4 + 0xbce34c], ecx
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [eax*4 + 0xbce34c]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov dword [ecx*4 + 0xbcf6f0], edx
mov edx, dword [esi]
mov eax, dword [edx*4 + 0xbce34c]
test eax, eax
jne 0x4160d2
push str.Not_Enough_Stack_Area.
call edi
mov eax, dword [0x13b43c4]
push 0x30
push 0
push str.Not_Enough_Stack_Area.
push eax
call ebp
mov eax, dword [esi]
mov ecx, dword [eax*4 + 0xbce34c]
mov edx, dword [ebx]
dec ecx
mov dword [eax*4 + 0xbce34c], ecx
mov eax, dword [esi]
lea ecx, [eax + eax*4]
mov eax, dword [eax*4 + 0xbce34c]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*8]
mov dword [ecx*4 + 0xbcf6f0], edx
mov edx, dword [esi]
mov eax, dword [edx*4 + 0xbce34c]
test eax, eax
jne 0x416126
push str.Not_Enough_Stack_Area.
call edi
mov eax, dword [0x13b43c4]
push 0x30
push 0
push str.Not_Enough_Stack_Area.
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov eax, ecx
shl eax, 7
add eax, ecx
shl eax, 3
sub eax, ecx
shl eax, 2
mov ecx, dword [eax + 0xfc4044]
pop edi
mov dword [esi + 4], ecx
mov edx, dword [eax + 0xfc404c]
pop esi
pop ebp
mov dword [ebx], edx
xor eax, eax
pop ebx
ret
Function at 0x4204d0
Capabilities:
Get common file path
Set current directory

Disassembly:
mov ecx, dword [esp + 4]
call fcn.00414e30
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4204ea
mov eax, 2
ret
push 0x13b461c
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x4b3e14
push 0x13b461c
call fcn.004139c0
add esp, 8
xor eax, eax
ret

Function at 0x420900
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
mov ecx, esi
call fcn.00414e30
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, esi
call fcn.00414e30
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004139c0
add esp, 8
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x420950
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push ebx
push esi
mov esi, dword [esp + 0x214]
push edi
mov ecx, esi
call fcn.00414e30
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, eax
push edi
lea eax, [esp + 0x114]
push eax
call ebx
mov ecx, esi
call fcn.00414e30
push eax
lea ecx, [esp + 0x114]
push ecx
call fcn.004139c0
add esp, 8
mov ecx, esi
call fcn.00414e30
push edi
lea edx, [esp + 0x10]
push edx
mov esi, eax
call ebx
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004139c0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x208
ret

Function at 0x4209d0
Capabilities:
Delete directory

Disassembly:
mov ecx, dword [esp + 4]
call fcn.00414e30
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 2
ret
Function at 0x44fad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [0x4982e4]
test eax, eax
push esi
push edi
mov edi, dword [esp + 0xc]
je 0x44fb0d
xor edx, edx
mov ecx, 0x4982e4
mov eax, edx
mov esi, 8
test al, 1
je 0x44fafa
shr eax, 1
xor eax, 0xedb88320
jmp 0x44fafc
shr eax, 1
dec esi
jne 0x44faed
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x4986e4
jb 0x44fae6
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
mov edx, ecx
dec ecx
test edx, edx
je 0x44fb3a
inc ecx
xor edx, edx
mov dl, byte [edi]
mov esi, eax
and esi, 0xff
shr eax, 8
xor edx, esi
mov edx, dword [edx*4 + 0x4982e4]
xor eax, edx
inc edi
dec ecx
jne 0x44fb1c
pop edi
not eax
pop esi
ret
Function at 0x44ff00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, eax
push esi
jne 0x44ff13
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
je 0x44ff23
push 0x66e8158b
cmp eax, dword [ecx]
mov edx, dword [0x13b66e8]
push DirectSoundCreate
xor edx, 0xffffffff
push dword [ebp + 8]
call edx
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
cmp esi, 0xffffffff
jne 0x44ff52
mov dword [0x15767b8], 2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x44ff78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x15767b8], 2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44ff81
mov dword [ecx], eax
push 0
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.0044fc90
add esp, 0x14
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4505a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push edi
xor eax, eax
mov ecx, 0x410
mov edi, 0x13b56a4
rep stosd dword es:[edi], eax
mov ecx, 0x10
mov edi, 0x1576770
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x100]
push 0x498768
push eax
call fcn.0044fb40
add esp, 8
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [ebp - 0x100]
push 0x498758
push edx
mov dword [0x15767b0], eax
call fcn.0044fb40
mov ecx, dword [0x15767b0]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ecx
call esi
lea edx, [ebp - 0x100]
push 0x498740
push edx
mov dword [0x15767b4], eax
call fcn.0044fb70
mov ecx, dword [0x15767b0]
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ecx
call esi
lea edx, [ebp - 0x100]
push 0x49872c
push edx
mov dword [0x13b66e8], eax
call fcn.0044fb70
mov ecx, dword [0x15767b0]
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ecx
call esi
lea edx, [ebp - 0x100]
push 0x498714
push edx
mov dword [0x13b66e4], eax
call fcn.0044fb70
mov ecx, dword [0x15767b0]
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ecx
call esi
lea edx, [ebp - 0x100]
push 0x4986f4
push edx
mov dword [0x13b66ec], eax
call fcn.0044fb70
mov ecx, dword [0x15767b0]
add esp, 8
lea eax, [ebp - 0x100]
push eax
push ecx
call esi
mov dword [0x13b56a0], eax
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x100]
rep stosd dword es:[edi], eax
lea eax, [0x4506d6]
push eax
ret
Function at 0x451a90
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x100c
call fcn.00445440
mov ecx, dword [esp + 0x1020]
test ecx, ecx
push ebp
mov ebp, dword [esp + 0x1014]
push esi
mov esi, dword [esp + 0x101c]
push edi
mov eax, esi
je 0x451ad8
mov edx, dword [esp + 0x1024]
shr edx, 2
xor ecx, 0x6393528e
mov edi, edx
dec edx
test edi, edi
je 0x451ad8
inc edx
xor dword [eax], ecx
add eax, 4
dec edx
jne 0x451ad0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], 0x100
call fcn.00451a20
mov ecx, dword [esp + 0x102c]
add esp, 4
test ecx, ecx
jbe 0x451b77
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x14]
push ebx
cmp eax, 0x100
mov ebx, eax
jl 0x451b67
dec ecx
mov dword [esp + 0x18], ecx
js 0x451b30
mov edx, 1
shl edx, cl
and edx, esi
jmp 0x451b4e
mov ecx, 0x1f
mov dword [esp + 0x18], ecx
mov esi, dword [edi]
add edi, 4
mov edx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], edi
and edx, 0x80000000
test edx, edx
je 0x451b5b
mov ebx, dword [esp + ebx*4 + 0x820]
jmp 0x451b5f
mov ebx, dword [esp + ebx*4 + 0x24]
cmp ebx, 0x100
jge 0x451b1e
mov edx, dword [esp + 0x10]
mov byte [ebp], bl
inc ebp
dec edx
mov dword [esp + 0x10], edx
jne 0x451b15
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x100c
ret

Function at 0x451b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0x14]
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x451bcc
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
shl eax, 0x10
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 0x14]
mov edx, ecx
not eax
shr ecx, 2
je 0x451bc1
xor dword [esi], eax
add esi, 4
dec ecx
jne 0x451bb9
and edx, 3
je 0x451bcc
xor byte [esi], al
inc esi
dec edx
jne 0x451bc6
push 0x38
lea eax, [ebp - 0x38]
push str.1.2.3
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.0045e2d0
add esp, 0xc
test eax, eax
je 0x451bfa
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
mov ecx, dword [esi]
lea edx, [ebp - 0x38]
push edi
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
call fcn.0045e2f0
add esp, 8
cmp eax, 1
je 0x451c2e
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
push eax
call fcn.0045fb30
add esp, 4
test eax, eax
je 0x451c46
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
mov dword [esi], eax
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x451c60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x498ae4]
test eax, eax
push esi
push edi
mov edi, dword [esp + 0xc]
je 0x451c99
xor edx, edx
mov ecx, 0x498ae4
mov eax, edx
mov esi, 8
test al, 1
je 0x451c86
xor eax, 0x10810
shr eax, 1
dec esi
jne 0x451c7d
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x498ee4
jb 0x451c76
mov ecx, dword [esp + 0x10]
mov edx, ecx
dec ecx
test edx, edx
mov eax, 0xffff
je 0x451cc8
inc ecx
xor edx, edx
mov dl, byte [edi]
mov esi, eax
and esi, 0xff
shr eax, 8
xor edx, esi
mov edx, dword [edx*4 + 0x498ae4]
xor eax, edx
inc edi
dec ecx
jne 0x451caa
pop edi
xor eax, 0xffff
pop esi
ret
Function at 0x454c20
Capabilities:
Create thread

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [esp + 0x110]
mov eax, dword [esi + 0x20]
xor ebx, ebx
test eax, eax
push edi
je 0x454d09
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
push ebx
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov ecx, dword [0x4a15d8]
xor eax, eax
test ecx, ecx
jle 0x454c80
lea ecx, [esi + 0x44]
mov edx, dword [esi + 0x24]
inc eax
imul edx, eax
mov dword [ecx - 4], edx
mov edx, dword [esi + 0x34]
mov dword [ecx], edx
mov edx, dword [0x4a15d8]
add ecx, 8
cmp eax, edx
jl 0x454c64
mov ecx, dword [esi + eax*8 + 0x38]
lea edx, [esi + 0xc8]
push edx
push 0
push esi
dec ecx
mov dword [esi + eax*8 + 0x38], ecx
push 0x455970
mov dword [esi + eax*8 + 0x40], 0xffffffff
mov ecx, dword [esi + 0x38]
push 0
push 0
mov dword [esi + eax*8 + 0x44], ecx
call fcn.004452ce
add esp, 0x18
test eax, eax
mov dword [esi + 0x30], eax
je 0x454d6b
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
lea edx, [esi + 0x40]
push edx
mov edx, dword [0x4a15d8]
inc edx
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
je 0x454d6b
mov eax, dword [esi + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esi + 0x38]
push ecx
call edi
pop edi
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
pop esi
mov eax, ebx
pop ebx
add esp, 0x104
ret
push esi
lea edx, [esp + 0x10]
push str.SynthiaPCM:_.8x
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x454d44
pop edi
pop esi
mov eax, 0x80004001
pop ebx
add esp, 0x104
ret
lea ecx, [esi + 0xc8]
push ecx
push 0
push esi
push 0x455b50
push 0
push 0
call fcn.004452ce
add esp, 0x18
test eax, eax
mov dword [esi + 0x30], eax
jne 0x454d6b
mov ebx, 0x80004001
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x104
ret

Function at 0x455800
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x45580d
xor eax, eax
pop esi
ret
lea eax, [esi + 0xd0]
push eax
push 0
push esi
push 0x455880
push 0
push 0
call fcn.004452ce
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esi + 0xcc], eax
pop esi
mov eax, ecx
ret
Function at 0x468bb0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x131c
call fcn.00445440
mov eax, dword [esp + 0x1320]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.00468a80
sub esp, 8
mov edi, esp
mov eax, 0x468ae0
mov dword [edi], eax
push 0
lea edx, [esp + 0x58]
mov ecx, 0x468b40
mov dword [edi + 4], ecx
mov dword [esp + 0x28], edx
push 0
lea eax, [esp + 0x74]
mov edx, fcn.00421370
push eax
lea ecx, [esp + 0x30]
mov dword [edi + 8], edx
mov esi, 0x468ba0
push ecx
mov dword [edi + 0xc], esi
call fcn.00476d90
add esp, 0x20
test eax, eax
jge 0x468c23
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x131c
ret
lea edx, [esp + 0x5c]
push 0xffffffffffffffff
push edx
call fcn.00478fc0
mov esi, eax
lea eax, [esp + 0x64]
push 0xffffffffffffffff
push eax
call fcn.00477cc0
mov ecx, eax
imul ecx, dword [esi + 4]
shl ecx, 1
lea edx, [ecx + 0x24]
mov dword [esp + 0x2c], edx
mov dx, word [esi + 4]
mov esi, dword [esi + 8]
mov eax, 0x10
mov dword [esp + 0x38], eax
mov word [esp + 0x4a], ax
mov word [esp + 0x3e], dx
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x3e]
and eax, 0xffff
shl eax, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [esp + 0x48], ax
mov eax, dword [esp + 0x48]
and eax, 0xffff
imul eax, esi
add esp, 0x10
mov dword [esp + 0x40], ecx
add ecx, 0x2c
push ecx
push 0
mov dword [esp + 0x20], 0x46464952
mov dword [esp + 0x28], 0x45564157
mov dword [esp + 0x2c], 0x20746d66
mov word [esp + 0x34], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], 0x61746164
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x468cdf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x131c
ret
mov ecx, 0xb
lea esi, [esp + 0x18]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 1
push 2
push 0
push 0x1000
lea edx, [esp + 0x340]
push edx
lea eax, [esp + 0x74]
push eax
lea ebx, [ebp + 0x2c]
call fcn.00479040
add esp, 0x1c
test eax, eax
je 0x468d5c
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebx
lea esi, [esp + 0x32c]
rep movsd dword es:[edi], dword [esi]
add ebx, eax
lea eax, [esp + 0x10]
push eax
push 1
mov ecx, edx
push 2
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push 0x1000
lea ecx, [esp + 0x340]
push ecx
lea edx, [esp + 0x74]
push edx
call fcn.00479040
add esp, 0x1c
test eax, eax
jne 0x468d18
lea eax, [esp + 0x5c]
push eax
call fcn.00476c90
add esp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x131c
ret
Function at 0x4694e0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x469580
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
push edi
mov edi, dword [ecx + 4]
xor eax, eax
xor esi, esi
cmp edi, edx
jle 0x469532
mov ebp, dword [ecx]
xor edx, edx
mov dl, byte [esi + ebp]
mov ebx, eax
shr ebx, 0x18
shl eax, 8
xor edx, ebx
mov edx, dword [edx*4 + 0x47fa54]
xor eax, edx
inc esi
cmp esi, edi
jl 0x469513
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x46955b
mov ebp, dword [ecx + 8]
xor edx, edx
mov dl, byte [esi + ebp]
mov ebx, eax
shr ebx, 0x18
shl eax, 8
xor edx, ebx
mov edx, dword [edx*4 + 0x47fa54]
xor eax, edx
inc esi
cmp esi, edi
jl 0x46953e
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret