joyce8/EMBER2024-capa huggingface dataset:
Function at 0x546d59
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x546d85
test ecx, ecx
jne 0x546d8f
test esi, esi
jne 0x546d8f
mov eax, edx
jmp 0x546e00
cmp eax, 0xffffffff
jne 0x546d8f
push 0xfffffffffffffffe
pop eax
jmp 0x546e00
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x546e00
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x546dc5
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x546de4
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x546ead
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x546e25
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x546e2f
xor ecx, ecx
jmp 0x546e6e
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x546e51
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.0056d3c3
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x546e99
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x546ead
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x546d67
pop edi
pop esi
leave
ret
Function at 0x575d74
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x575e21
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x575dcb
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x598f80]
inc ebx
cmp ebx, ebp
jl 0x575dab
jmp 0x575dd1
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x575dff
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x598f80]
inc esi
cmp esi, edi
jl 0x575de0
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x1000125c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetEnvironmentStringsA
mov ebx, eax
mov dword [ebp - 0x10], ebx
jmp 0x10001299
cmp byte [ebx], 0x3d
je 0x10001285
inc dword [ebp - 0xc]
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
lea ebx, [ebx + edi]
cmp byte [ebx], 0
jne 0x10001278
mov edi, dword [ebp - 0xc]
inc edi
lea edi, [edi*4]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x14]
call sub.CRTDLL.DLL_malloc
pop ecx
mov dword [ebp - 8], eax
mov dword [0x10003010], eax
cmp dword [ebp - 8], 0
jne 0x100012cc
xor eax, eax
jmp 0x10001342
mov ebx, dword [ebp - 0x10]
jmp 0x10001325
mov edi, ebx
xor eax, eax
stc
sbb ecx, ecx
repne scasb al, byte es:[edi]
neg ecx
lea eax, [ecx - 2]
mov edi, eax
inc edi
mov dword [ebp - 4], edi
cmp byte [ebx], 0x3d
je 0x1000131f
push dword [ebp - 4]
call sub.CRTDLL.DLL_malloc
pop ecx
mov esi, dword [ebp - 8]
mov dword [esi], eax
or eax, eax
jne 0x10001308
jmp 0x10001342
push ebx
mov edi, dword [ebp - 8]
push dword [edi]
call sub.CRTDLL.DLL_strcpy
add esp, 8
add dword [ebp - 8], 4
mov edx, dword [ebp - 4]
lea ebx, [ebx + edx]
cmp byte [ebx], 0
jne 0x100012d1
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov eax, 1
pop edi
pop esi
pop ebx
leave
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 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0xb2fe94e9
add eax, 0x4d41877d
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x228719c0
add dword [ebp - 0x50], 0x2bcb2b8b
mov dword [ebp - 0x4c], 0xd3c3c088
sub dword [ebp - 0x4c], 0xa1907443
mov dword [ebp - 0x48], 0x5760c37f
add dword [ebp - 0x48], 0xf4eb80af
mov dword [ebp - 0x44], 0x3155a8dc
add dword [ebp - 0x44], 0xceaa5724
lea eax, [ebp - 0x50]
push eax
mov eax, 0x2af0da82
sub eax, 0x2ab0aa2e
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3cd226b4
sub dword [ebp - 0x50], 0xc85fbd5e
mov dword [ebp - 0x4c], 0xf3584366
add dword [ebp - 0x4c], 0x4e141e0f
mov dword [ebp - 0x48], 0x79f347ec
add dword [ebp - 0x48], 0xe97c2480
mov dword [ebp - 0x44], 0x8795290e
sub dword [ebp - 0x44], 0x8795290e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x388a2
push 0
call eax
mov ecx, 0xb9407008
add ecx, 0x46bfe034
xor edi, edi
add edi, eax
mov esi, 0x407000
add esi, dword [ebp - 0x40]
mov ebx, 0x64addb50
xor dword [ebp - 0x3c], ebx
mov edx, dword [esi]
xor dword [ebp - 0x28], 0x3f785e51
xor edx, ebx
mov dword [edi], edx
add dword [ebp - 0x3c], eax
add edi, 4
add esi, 4
loop 0x401d79
add eax, 0xaac3d8b4
add eax, 0x553d5b0f
xor ebx, ebx
add ebx, eax
add eax, 0x214fe905
sub eax, 0x214fe900
mov ecx, 0x8603f7ee
sub ecx, 0x85c3f7ee
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x403be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x403c09
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403c1f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403c16
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x403c52
nop
cmp esi, ecx
jae 0x403c16
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403c40
cmp esi, ecx
jae 0x403c16
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40aaa0
Capabilities:
Load windows common language runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a895
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push str.mscoree.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x40ab22
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020a0
mov esi, dword [eax]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x40
push esi
push eax
call fcn.004279c0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ab22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CorBindToRuntimeEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x40ab86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020a0
push 0x49
push dword [eax]
mov dword [ebp - 4], 1
push esi
call fcn.004279c0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ab86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 8
push esi
push 0x59cbc4
push 0x59cbb4
push 2
push 0
push str.v4.0.30319
call ebx
test eax, eax
jns 0x40ac12
push esi
push 0x59cbc4
push 0x59cbb4
push 2
push 0
push str.v2.0.50727
call ebx
mov ebx, eax
test ebx, ebx
jns 0x40ac0c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x14]
call fcn.004020a0
push 0x57
push dword [eax]
mov dword [ebp - 4], 2
push ebx
call fcn.004279c0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ac0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov byte [eax], 1
mov eax, dword [esi]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, eax
test ebx, ebx
jns 0x40ac71
mov ecx, dword [esi]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.D:_apreltechSibSiblSiblClrHost.cpp
lea ecx, [ebp - 0x10]
call fcn.004020a0
push 0x64
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.004279c0
mov edx, dword [ebp - 0x10]
add esp, 0xc
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ac71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
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 0x40c4a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ac80
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
call fcn.0042b4c7
mov byte [ebp - 4], 0
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov dword [ebp - 4], 3
call fcn.0042b4c7
mov byte [ebp - 4], 2
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [ebp - 4], 5
call fcn.0042b4c7
mov byte [ebp - 4], 4
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov dword [ebp - 4], 7
call fcn.0042b4c7
mov byte [ebp - 4], 6
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 9
call fcn.0042b4c7
mov byte [ebp - 4], 8
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 0xb
call fcn.0042b4c7
mov byte [ebp - 4], 0xa
test eax, eax
je 0x40c5fa
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov eax, esi
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403c70
int3
Function at 0x415970
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b23d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4159b6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
call fcn.004154d0
mov ebx, eax
mov dword [ebp - 4], 1
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 0
test ecx, ecx
je 0x415aaa
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
mov dword [ebp - 4], 2
jge 0x415a0e
push 0x104
lea ecx, [ebp + 8]
call fcn.00408b40
mov esi, dword [ebp + 8]
cmp dword [esi - 8], 0x104
jl 0x415aa0
push 0x104
mov dword [esi - 0xc], 0x104
xor eax, eax
push esi
mov word [esi + 0x208], ax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x415a6b
push dword [esi - 8]
push esi
call fcn.00566c08
add esp, 8
test eax, eax
js 0x415aa0
cmp eax, dword [esi - 8]
jg 0x415aa0
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00402490
mov ebx, 1
mov ecx, edi
call fcn.0040a060
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415a8a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403c70
push 0x80004005
call fcn.00403c70
int3
Function at 0x415ac0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b28e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 2
call fcn.0042b4c7
mov ecx, eax
mov byte [ebp - 4], 1
test ecx, ecx
je 0x415c63
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov ecx, 1
mov dword [ebp - 4], 0
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
mov dword [ebp - 0x10], 1
or eax, ecx
jge 0x415b44
push 0x104
mov ecx, esi
call fcn.00408b40
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x415c59
mov dword [ecx - 0xc], 0x104
xor edx, edx
mov eax, dword [esi]
push 0x104
push ecx
push 0x59c928
mov word [eax + 0x208], dx
call fcn.0055f4dc
mov ecx, dword [esi]
mov ebx, eax
test ecx, ecx
je 0x415b93
push dword [ecx - 8]
push ecx
call fcn.00566c08
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x415c59
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x415c59
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
or edi, 0xffffffff
mov word [eax + ecx*2], dx
test ebx, ebx
je 0x415bf2
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.004020a0
push 0x11e
push dword [eax]
mov dword [ebp - 4], 3
push ebx
call fcn.004279c0
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415bf2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push dword [esi]
call fcn.0055f9d8
mov ebx, eax
test ebx, ebx
je 0x415c45
push str.D:_apreltechSibSiblSiblEnvTools.cpp
lea ecx, [ebp - 0x14]
call fcn.004020a0
push 0x123
push dword [eax]
mov dword [ebp - 4], 4
push ebx
call fcn.004279c0
mov eax, dword [ebp - 0x14]
add esp, 0xc
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x415c45
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403c70
push 0x80004005
call fcn.00403c70
int3
Function at 0x417270
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b0cd
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov edi, dword [eax - 0xc]
lea eax, [edi + 1]
push eax
call fcn.0042a3e7
mov ecx, dword [ebp + 8]
add esp, 4
mov esi, eax
cmp dword [ecx - 4], 1
mov ebx, dword [ecx - 0xc]
jle 0x4172c8
push ebx
lea ecx, [ebp + 8]
call fcn.004046b0
mov ecx, dword [ebp + 8]
push ebx
push ecx
push esi
call fcn.005630b0
add esp, 0xc
mov byte [esi + edi], 0
push 0
push 0
push esi
push 0x417320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417306
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 0x4179e0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, ecx
push 0
push dword [edi]
call esi
push 0
push dword [edi + 4]
call esi
push 0
push dword [edi + 8]
call esi
push 0
push dword [edi + 0xc]
call esi
pop edi
pop esi
ret
Function at 0x426ad0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c6ed
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f31c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00426540
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x426b18
lea esi, [eax + 1]
jmp 0x426c41
mov eax, dword [ebp + 0xc]
mov esi, dword [eax - 0xc]
test esi, esi
jne 0x426b44
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xb1
push ebx
call esi
push 0
push 0
push 0x303
push ebx
call esi
jmp 0x426c3f
push 0
mov byte [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x426c19
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea edi, [esi + esi]
lea eax, [edi + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x426bd1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ecx - 4], 1
jle 0x426b9a
push dword [ecx - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404760
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
push edi
push ecx
push eax
call fcn.005630b0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor ecx, ecx
push esi
mov word [edi + eax], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, dword [ebp - 0x10]
test eax, eax
movzx ecx, cl
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x10], ecx
mov edi, dword [sym.imp.USER32.dll_CloseClipboard]
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebx
call esi
push 0
push 0
push 0x303
push ebx
call esi
push 0
push 0
push 0x302
push ebx
call esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
call edi
cmp byte [ebp - 0x10], 0
jne 0x426c3f
mov eax, dword [ebp + 0xc]
cmp dword [eax - 4], 1
jle 0x426c30
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00404760
mov eax, dword [ebp + 0xc]
push eax
push 0x103
push 0xc
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
xor esi, esi
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x426c5c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret