joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ae70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x318
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0x314], eax
mov eax, dword [0x5a118c]
push ebx
push esi
test eax, eax
je 0x48aeac
push eax
push 0x561f8c
lea eax, [esp + 0x14]
push eax
push 0xe6
call fcn.0048ada0
add esp, 0x10
jmp 0x48af51
call fcn.00479c10
test eax, eax
je 0x48aef6
lea ecx, [esp + 0x114]
push ecx
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [esp + 0x114]
call fcn.00479cd0
mov esi, eax
test esi, esi
jne 0x48af33
pop esi
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.005139d8
add esp, 0x318
ret
lea eax, [esp + 0x114]
push eax
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x114]
push ecx
call fcn.00479d30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48aeda
call fcn.00479cd0
push ebx
mov esi, eax
call fcn.00513cca
add esp, 4
test esi, esi
je 0x48aeda
push esi
push 0x561f8c
lea edx, [esp + 0x14]
push edx
push 0xe6
call fcn.0048ada0
push esi
call fcn.00513cca
add esp, 0x14
cmp byte [esp + 0xc], 0
lea eax, [esp + 0xc]
je 0x48af66
lea esp, [esp]
inc eax
cmp byte [eax], 0
jne 0x48af60
lea ecx, [esp + 0xc]
sub eax, ecx
and eax, 0x3fffffff
jbe 0x48af7f
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x48af7f
sub eax, 1
jne 0x48af74
lea edx, [esp + 0xc]
push edx
mov byte [esp + eax + 0x10], 0
mov eax, dword [esp + 0x328]
push 0x561f80
add eax, 0xffffffe2
push edi
push eax
call fcn.0048ada0
add esp, 0x10
mov eax, edi
test edi, edi
je 0x48afbd
cmp byte [edi], 0
je 0x48afb6
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x48afb0
sub eax, edi
and eax, 0x3fffffff
cmp dword [0x598f2c], 0
push ebp
mov esi, eax
mov ebx, 0x14
lea ebp, [edi + eax]
jne 0x48afdb
mov dword [esp + 0xc], 0
jmp 0x48b000
push 5
call dword [0x598f68]
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x48b000
mov ecx, eax
push ecx
call dword [0x598f70]
add esp, 4
lea ebx, [ebx]
dec ebx
call fcn.00483ab0
mov byte [ebp], al
inc ebp
test ebx, ebx
jne 0x48b000
mov eax, dword [esp + 0xc]
pop ebp
test eax, eax
je 0x48b021
push eax
call dword [0x598f78]
add esp, 4
mov ecx, 0x14
jmp 0x48b030
movzx eax, byte [edi + esi]
xor edx, edx
mov ebx, 0x3e
div ebx
inc esi
sub ecx, 1
mov dl, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi - 1], dl
jne 0x48b030
mov byte [edi + esi], cl
mov ecx, dword [esp + 0x31c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005139d8
add esp, 0x318
ret
Function at 0x48b190
Capabilities:
Get disk size

Disassembly:
sub esp, 0x114
mov eax, dword [0x59b364]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
lea ecx, [esp + 8]
push ecx
push 0x104
push eax
push edx
mov dword [esp + 0x14], 0x200
call fcn.0048b070
add esp, 0x10
test eax, eax
jne 0x48b2bf
push ebx
push esi
push edi
call fcn.00479c10
lea ebx, [esp + 0x14]
test eax, eax
je 0x48b1e8
call fcn.00479c70
mov esi, eax
jmp 0x48b208
call fcn.00479c70
mov edi, eax
test edi, edi
je 0x48b286
push edi
call fcn.00479da0
push edi
mov esi, eax
call fcn.00513cca
add esp, 8
test esi, esi
je 0x48b286
call fcn.00479c10
test eax, eax
mov eax, esi
je 0x48b24d
cmp word [esi], 0
je 0x48b236
lea ecx, [ecx]
cmp word [eax], 0x5c
je 0x48b231
add eax, 2
cmp word [eax], 0
jne 0x48b220
jmp 0x48b236
xor ecx, ecx
mov word [eax], cx
lea edx, [esp + 0xc]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x18]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x48b277
cmp byte [esi], 0
je 0x48b262
cmp byte [eax], 0x5c
je 0x48b25f
inc eax
cmp byte [eax], 0
jne 0x48b252
jmp 0x48b262
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.00513cca
add esp, 4
test edi, edi
jne 0x48b2a3
pop edi
pop esi
mov eax, 0x200
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005139d8
add esp, 0x114
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.005139d8
add esp, 0x114
ret
mov ecx, dword [esp + 0x110]
mov eax, dword [esp + 4]
xor ecx, esp
call fcn.005139d8
add esp, 0x114
ret
Function at 0x48ce40
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x48ce4d
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, 0x44
call fcn.00483790
mov edi, eax
test edi, edi
jne 0x48ce67
pop edi
pop esi
pop ebx
ret
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push eax
push esi
call fcn.00486f50
mov dword [edi], eax
mov ecx, dword [ebx + 8]
push ebp
push ecx
push esi
call fcn.0048cbf0
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ebp
push eax
push esi
call fcn.00493a40
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x10]
push ebp
push edx
push esi
call fcn.00486f50
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ebp
push eax
push esi
call fcn.00493a40
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push ebp
push eax
push esi
call fcn.00486f50
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov edx, dword [ebx + 0x1c]
push ebp
push edx
push esi
call fcn.0048ce40
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ebp
push eax
push esi
call fcn.00493a40
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push ebp
push eax
push esi
call fcn.00493a40
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
add esp, 0x38
mov edx, 0xfff7
mov dword [edi + 0x24], eax
and cx, dx
or eax, 0xffffffff
pop ebp
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov word [edi + 6], cx
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x495330
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esi]
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
jmp 0x495350
mov al, byte [ebp + 0x55f1d0]
mov byte [esp + 0x10], al
test edi, edi
je 0x4953d5
cmp byte [edi], 0
mov eax, edi
je 0x49536b
inc eax
cmp byte [eax], 0
jne 0x495365
mov ecx, dword [esp + 0x20]
sub eax, edi
and eax, 0x3fffffff
add ecx, 0x17c
cmp dword [ecx + 0xc], 0
mov ebx, eax
je 0x4953bd
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x4953b3
mov edi, edi
movzx edi, byte [edx]
movzx edi, byte [edi + 0x55eaa8]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x495390
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
xor edx, edx
div dword [ecx]
jmp 0x4953bf
xor edx, edx
push edi
call fcn.00479b30
add esp, 4
test eax, eax
je 0x4953d1
mov eax, dword [eax + 8]
jmp 0x4953dc
xor eax, eax
jmp 0x4953dc
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x4953ec
movzx ecx, byte [esp + 0x10]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4 - 0x14]
cmp dword [eax + 0xc], 0
jne 0x49540d
inc ebp
cmp ebp, 3
mov dword [esp + 0x14], ebp
jl 0x495350
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [eax + 0x10]
pop edi
mov dword [esi + 0x10], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x4ab0f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b4
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + 4]
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [edx]
xor ebx, ebx
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x38], edi
jle 0x4ab130
add edx, 4
lea esp, [esp]
cmp dword [edx], edi
je 0x4ab1ec
inc ecx
add edx, 4
cmp ecx, eax
jl 0x4ab120
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], edi
cmp edi, eax
jae 0x4ab2e9
mov ebx, dword [ebp + 0x18]
jmp 0x4ab160
fldz
mov edx, 0x100
cmp word [edi + 0x10], dx
jne 0x4ab2d6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
not eax
and eax, dword [edi + 0x20]
not ecx
and ecx, dword [edi + 0x24]
and eax, dword [ebp + 0x14]
and ecx, ebx
or eax, ecx
jne 0x4ab2d6
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 0x160]
mov edx, dword [ecx + 0x164]
and eax, dword [esp + 0x10]
and edx, dword [esp + 0x14]
or eax, edx
je 0x4ab2d6
mov esi, dword [ecx + 0x1c]
fld st(0)
mov ecx, dword [ecx + 0x14]
fst qword [esp + 0x30]
lea eax, [ecx + ecx*4]
fxch st(1)
lea eax, [esi + eax*8]
fst qword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp esi, eax
jae 0x4ab28e
mov ecx, 0x200
cmp word [esi + 0x10], cx
jne 0x4ab205
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edi, dword [esi + 0xc]
push ebx
push edx
push eax
jmp 0x4ab23f
mov eax, 1
xor edx, edx
call fcn.005192d0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x4ab138
mov ecx, dword [esp + 0x38]
cmp dword [esi + 8], ecx
jne 0x4ab283
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 4]
push ebx
mov dword [esp + 0x64], edx
mov edx, dword [ebp + 8]
push ecx
mov dword [esp + 0x6c], eax
mov byte [esp + 0x78], 0x43
mov dword [esp + 0x84], esi
mov dword [esp + 0x7c], 1
push edx
lea edi, [esp + 0x6c]
mov eax, dword [ebp + 0x10]
fstp st(1)
lea ecx, [esp + 0x4c]
fstp st(0)
xor edx, edx
call fcn.004a3a90
fld qword [esp + 0x5c]
fadd qword [esp + 0x3c]
mov ecx, dword [ebp + 0x20]
mov edi, dword [esp + 0x28]
add esp, 0xc
fst qword [esp + 0x30]
fld qword [esp + 0x58]
fadd qword [esp + 0x20]
fst qword [esp + 0x20]
fld qword [ecx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jnp 0x4ab291
mov eax, dword [esp + 0x2c]
add esi, 0x28
cmp esi, eax
jb 0x4ab1d3
mov ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0
je 0x4ab2b5
fstp st(1)
sub esp, 8
fstp qword [esp]
call fcn.00481260
fld qword [esp + 0x28]
add esp, 8
fmul st(1), st(0)
fxch st(1)
fadd qword [esp + 0x30]
fxch st(1)
fld qword [ecx + 0x10]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x4ab2d4
fxch st(1)
mov dword [ecx], 0x10000000
fstp qword [ecx + 0x10]
mov dword [ecx + 8], edi
fstp qword [ecx + 0x18]
jmp 0x4ab2d8
fstp st(1)
fstp st(0)
add edi, 0x28
mov dword [esp + 0x1c], edi
cmp edi, dword [esp + 0x3c]
jb 0x4ab160
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca1f0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x5a1198]
push esi
test eax, eax
je 0x4ca22a
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x4ca22a
mov eax, dword [0x5a1198]
test eax, eax
je 0x4ca213
push eax
call esi
mov eax, dword [eax + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4ca22a
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4ca430
Capabilities:
Get thread local storage value

Disassembly:
push ecx
mov eax, dword [0x5a1198]
test eax, eax
je 0x4ca4b8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
test eax, eax
je 0x4ca4b7
mov ecx, dword [0x5a1198]
test ecx, ecx
jne 0x4ca456
xor eax, eax
jmp 0x4ca45f
push ecx
call esi
mov ecx, dword [0x5a1198]
cmp byte [eax + 0x18], 0
je 0x4ca4b7
test ecx, ecx
je 0x4ca4b7
push ecx
call esi
test eax, eax
je 0x4ca4b7
mov eax, dword [0x5a1198]
test eax, eax
je 0x4ca47c
push eax
call esi
mov eax, dword [eax + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4ca4b7
mov eax, dword [0x5a1198]
test eax, eax
je 0x4ca498
push eax
call esi
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x589f34
lea ecx, [esp + 0xb]
xor al, al
push ecx
mov byte [esp + 0xf], al
call fcn.005135a6
pop esi
pop ecx
ret

Function at 0x4cabe0
Capabilities:
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x549a78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x4ca1d0
push 0x5a1190
call fcn.004ca520
mov eax, dword [0x5a1198]
add esp, 8
test eax, eax
je 0x4cac3a
mov ecx, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
add esp, 0x1c
ret
lea ecx, [esp + 4]
call fcn.0051186b
mov dword [esp + 0x10], 0
mov dword [esp + 4], vtable.boost::thread_resource_error.0
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], 0
call fcn.00466940
int3
Function at 0x4cac70
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x549aa8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5a1198]
test eax, eax
jne 0x4caca2
xor esi, esi
jmp 0x4cacab
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x20], 0
test esi, esi
je 0x4cacd7
cmp dword [esi + 0x14], 0
jne 0x4cad19
cmp dword [esi + 0x10], 0
jne 0x4cad20
push 0
call fcn.004cabe0
add esp, 4
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4cad05
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cad05
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp dword [esi + 0x10], 0
je 0x4cad60
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x4cad4e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x4cad20
cmp dword [esi + 0x14], 0
je 0x4cacc7
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4cad85
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4cadb6
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4cadb6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4cadb6
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x4cad6a
jmp 0x4cacc1
Function at 0x4cae50
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x549af8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x59b364]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x4cadd0
push 0
push 0
call fcn.005198c2
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4caebb
lea ecx, [esp + 0x10]
call fcn.0051186b
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.00466940
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x4caee1
cmp eax, 0xffffffff
je 0x4caee1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x4ccc71
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x44]
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x4cccde
call fcn.004ca910
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 4]
call fcn.004cc75d
push ebx
push ebx
push 3
push ebx
push ebx
call fcn.00421c2e
mov ecx, dword [esi]
mov dword [ebp - 8], eax
add esp, 0x14
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], edx
call fcn.004ccc3c
test al, al
jne 0x4cccce
mov ecx, dword [esi]
push ebx
call fcn.004ca9a0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.004cbc9a
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi], ebx
pop edi
pop esi
sete al
pop ebx
leave
ret

Function at 0x4cd8be
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x24]
mov ecx, dword [ebx]
push edi
xor edi, edi
cmp ecx, edi
jne 0x4cd8db
mov al, 1
jmp 0x4cd990
call fcn.004ca910
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
push edi
push 3
push edi
push edi
call fcn.00421c2e
mov ecx, dword [ebx]
mov dword [ebp - 0x10], eax
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0xc], edx
call fcn.004ccc3c
test al, al
jne 0x4cd91b
mov ecx, dword [ebx]
push edi
call fcn.004ca9a0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, ebx
call fcn.004cbc9a
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x64], edi
lea edi, [esi + 4]
mov eax, dword [edi + 0x18]
push edi
push dword [eax]
lea ecx, [ebp - 8]
call fcn.004cbd24
push edi
push dword [edi + 0x18]
jmp 0x4cd962
lea ecx, [ebp - 8]
call fcn.0040ecb1
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 8]
call fcn.00452b9d
push edi
push dword [edi + 0x18]
lea ecx, [ebp - 0x10]
call fcn.004cbd24
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00451895
test al, al
je 0x4cd945
mov ecx, edi
call fcn.00452c1e
lea ecx, [esi + 0x74]
call fcn.004cbc9a
xor eax, eax
cmp dword [ebx], eax
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4ce643
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
push dword [ebp + 8]
call fcn.004ce607
pop ecx
pop ecx
test al, al
je 0x4ce6b6
push 1
push dword [ebp + 0xc]
call fcn.004ce607
pop ecx
pop ecx
test al, al
je 0x4ce6b6
mov esi, dword [ebp + 0x10]
push 1
push esi
call fcn.004ce607
pop ecx
pop ecx
test al, al
je 0x4ce6b6
mov edi, dword [ebp + 0x14]
push ebx
shr edi, 2
xor ebx, ebx
test edi, edi
jbe 0x4ce6a2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
sub ecx, esi
mov eax, esi
sub edx, esi
mov ebx, edi
mov esi, dword [ecx + eax]
xor esi, dword [eax]
mov dword [edx + eax], esi
add eax, 4
dec edi
jne 0x4ce694
mov eax, ebx
shl eax, 2
sub dword [ebp + 0x14], eax
pop ebx
je 0x4ce6d8
add dword [ebp + 8], eax
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], eax
cmp dword [ebp + 0x14], 0
jbe 0x4ce6d8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
sub ecx, eax
sub esi, eax
mov dl, byte [eax + ecx]
xor dl, byte [eax]
mov byte [eax + esi], dl
inc eax
dec edi
jne 0x4ce6cc
pop edi
pop esi
pop ebp
ret

Function at 0x4ce6dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push ebx
push esi
mov esi, dword [ecx + 0x64]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x1074]
mov ecx, dword [esi]
xor ecx, dword [edx]
push edi
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x4ce703
mov edx, dword [esi + 0x44]
xor edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov dword [eax], edx
mov dword [eax + 4], ecx
pop ebx
leave
ret 8
Function at 0x4ce78e
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x48
mov esi, ecx
xor edi, edi
push 0x565040
push dword [esi + 0x64]
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.00514d40
push 0x1000
push 0x565088
push dword [esi + 0x1074]
call fcn.00514d40
add esp, 0x18
push 4
xor ecx, ecx
pop ebx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
shl ecx, 8
movzx eax, byte [edx + eax]
or ecx, eax
inc dword [ebp - 4]
dec ebx
jne 0x4ce7d0
mov eax, dword [esi + 0x64]
add eax, edi
xor dword [eax], ecx
add edi, 4
cmp edi, 0x48
jb 0x4ce7cb
push dword [esi + 0x64]
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.004ce6dc
xor ecx, ecx
mov eax, dword [esi + 0x64]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.004ce6dc
mov ecx, edi
cmp ecx, 0x40
jb 0x4ce809
mov eax, dword [esi + 0x64]
push dword [esi + 0x1074]
add eax, 0x40
push eax
mov ecx, esi
call fcn.004ce6dc
xor ecx, ecx
mov eax, dword [esi + 0x1074]
lea edi, [ecx + 8]
lea edx, [edi + eax]
add ecx, eax
push edx
push ecx
mov ecx, esi
call fcn.004ce6dc
mov ecx, edi
cmp ecx, 0xff8
jb 0x4ce83a
lea ecx, [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test al, al
jne 0x4ce888
push 0x44
xor edi, edi
pop ebx
mov eax, dword [esi + 0x64]
lea ecx, [ebx + eax]
push ecx
add eax, edi
push eax
call fcn.0046d490
add edi, 4
pop ecx
sub ebx, 4
pop ecx
cmp edi, 0x24
jb 0x4ce86c
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4ce8d8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
mov esi, ecx
push eax
lea ecx, [ebp - 4]
call fcn.004ce88f
mov ecx, eax
call fcn.004ce88f
mov eax, dword [esi + 0x1070]
mov esi, dword [esi + 0x60]
mov ecx, dword [ebp - 8]
xor ecx, dword [esi]
lea edi, [esi + 8]
mov dword [ebp - 4], 8
mov edx, ecx
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
mov ebx, ecx
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, cl
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi - 4]
xor dword [ebp + 8], edx
mov edx, dword [ebp + 8]
mov ebx, dword [ebp + 8]
shr edx, 0x10
movzx edx, dl
mov edx, dword [eax + edx*4 + 0x400]
shr ebx, 0x18
add edx, dword [eax + ebx*4]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor edx, dword [eax + ebx*4 + 0x800]
movzx ebx, byte [ebp + 8]
add edx, dword [eax + ebx*4 + 0xc00]
xor edx, dword [edi]
add edi, 8
xor ecx, edx
dec dword [ebp - 4]
jne 0x4ce918
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, dword [esi + 0x44]
push ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], edx
call fcn.004ce8ab
mov ecx, eax
call fcn.004ce8ab
pop edi
pop esi
pop ebx
leave
ret 0xc