joyce8/EMBER2024-capa huggingface dataset:
Function at 0x788075f1
Capabilities:
Get thread local storage value

Disassembly:
shr eax, 3
jmp 0x78807630
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov ebx, dword [esi]
cmp ebx, 0xffffffff
je 0x78809ea5
test bl, 4
je 0x78809ea5
test bl, 1
jne 0x78807fa5
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push ebx
mov ecx, edi
call fcn.78807fb1
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
add ebx, 8
mov dword [esi], ebx
mov eax, ebx
jmp 0x788075ec
push eax
mov ecx, edi
call fcn.78809e71
cmp eax, 0xffffffff
jne 0x788075ec
push esi
call fcn.78809da8
jmp 0x78809e94

Function at 0x78807713
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x2000000c
push dword [ebp + 8]
call fcn.78807346
mov esi, eax
test esi, esi
je 0x78807748
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 4
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x78808160
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x78918194], 0
push esi
je 0x788940aa
mov ecx, dword [ebp + 0xc]
call fcn.7880829a
mov esi, eax
test esi, esi
je 0x788940bc
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 4
mov dword [esi + 4], eax
mov eax, esi
pop esi
pop ebp
ret 8
push 0x2000000c
push dword [ebp + 8]
call fcn.78807346
jmp 0x7880817b
call fcn.788b10d1
pop ebp
jmp fcn.7880992e

Function at 0x78809964
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x7891e1e4]
jne 0x788b001d
test ecx, 0xffff0000
jne 0x788b001d
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x7892cdd8], eax
mov dword [0x7892cdd4], ecx
mov dword [0x7892cdd0], edx
mov dword [0x7892cdcc], ebx
mov dword [0x7892cdc8], esi
mov dword [0x7892cdc4], edi
mov word [0x7892cdf0], ss
mov word [0x7892cde4], cs
mov word [0x7892cdc0], ds
mov word [0x7892cdbc], es
mov word [0x7892cdb8], fs
mov word [0x7892cdb4], gs
pushfd
pop dword [0x7892cde8]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x7892cdec], ecx
mov dword [0x7892cde0], eax
mov dword [0x7892cd28], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x7892cce4], eax
mov eax, dword [0x7891e1e4]
mov dword [ebp - 4], eax
mov eax, dword [0x789245f8]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x7892cddc], ecx
mov dword [0x7892ccd8], 0xc0000409
mov dword [0x7892ccdc], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x788b0100
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
Function at 0x7880997d
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and eax, 0xfffff000
mov esi, dword [eax]
and esi, 0xfffffffe
lea edi, [esi - 4]
mov eax, edi
sub eax, ecx
sub eax, 0x10
cdq
mov ebx, 0x2264
idiv ebx
mov ebx, eax
test ebx, ebx
jl 0x78809a56
cmp ebx, dword [ecx]
jge 0x78809a56
imul eax, eax, 0x2264
lea eax, [eax + ecx + 0x14]
cmp esi, eax
jne 0x78809a56
lea ecx, [edi + 0x2030]
mov dword [ebp + 8], ecx
call fcn.78801218
test eax, eax
je 0x7888fc26
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
push esi
call fcn.788165cc
add esp, 0x10
test eax, eax
je 0x7888fc1e
mov ecx, dword [ebp - 4]
inc dword [edi + 0x2054]
test ecx, ecx
je 0x78809a1b
mov dword [ecx + 0x60], ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call fcn.78816648
mov ecx, dword [ebp + 8]
add esp, 0x10
call fcn.7880123e
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
push dword [ebp - 4]
push dword [ebp + 0xc]
push ecx
call fcn.78809a64
jmp 0x78809a36
mov ecx, dword [ebp + 8]
call fcn.7880123e
mov eax, dword [ebp + 0xc]
push eax
mov ecx, edi
mov dword [eax + 4], 0xffffffe
call fcn.788b0f03
jmp 0x78809a33

Function at 0x78809e71
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test bl, 1
push esi
mov esi, ecx
je 0x788146ee
add ebx, 8
mov dword [esi + 4], ebx
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 4
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, ebx
shr ecx, 3
cmp ecx, 0x100
jae 0x788206ca
and dword [eax + ecx*4 + 0x70], 0
and ebx, 2
or ebx, 9
mov dword [esi + 4], ebx
push 8
pop ebx
jmp 0x78809e8c
push eax
push ebx
mov ecx, esi
call fcn.7882067b
test al, 1
mov dword [esi + 4], eax
je 0x7888f33f
jmp 0x78814719
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
jmp 0x78809e8e

Function at 0x78809ec4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je fcn.78854588
ret
Function at 0x7880f880
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
push edi
mov edi, ecx
lea ecx, [edi + 4]
mov ebx, dword [ecx]
cmp ebx, 0xffffffff
je 0x7880f988
test bl, 4
je 0x7880f988
sub ebx, 8
test ebx, 1
je 0x7888fa46
mov eax, ebx
shr eax, 3
jne 0x7880f9e2
push esi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x78811148
cmp byte [esi + 0x1d], 0
je 0x7880f8e6
push ebx
mov ecx, edi
call fcn.788166bc
test eax, eax
jne 0x78811148
mov eax, dword [esi + 0x48]
cmp eax, 0x200
jae 0x78811148
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x38]
dec dword [esi + 0x48]
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 4], 7
call dword [eax + 0x18]
xor eax, eax
pop esi
pop edi
pop ebx
ret
push ecx
call fcn.78809da8
push eax
mov ecx, edi
call fcn.7880f963
jmp 0x7880f913
mov dword [ecx], ebx
jmp 0x7880f913
push esi
and ebx, 2
push ebx
mov ecx, edi
call fcn.78807f73
jmp 0x7880f910
and dword [0], 0
xor eax, eax
jmp 0x7880f913
Function at 0x7880f927
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
and edi, 8
jne 0x78821378
mov ecx, dword [0x7891e284]
sub ecx, dword [0x7891e288]
mov eax, dword [0x7891e1e8]
cmp ecx, eax
jge 0x78821378
cmp dword [0x7891e28c], eax
jge 0x78821378
pop edi
pop ebp
ret 4
push esi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, dword [0x7891e280]
je 0x78821420
push ebx
xor ebx, ebx
cmp byte [esi + 0x1c], bl
jne 0x7882141f
mov eax, dword [0x7891e294]
cmp dword [eax + 0x20], esi
je 0x7882141f
mov eax, dword [0x7891e290]
cmp dword [eax + 0x20], esi
je 0x7882141f
mov ecx, dword [0x7891e344]
push ebx
call fcn.7882145c
test eax, eax
je 0x7888f92f
cmp byte [0x7891e358], bl
mov edx, dword [0x7891e284]
mov dword [0x7891e288], edx
mov dword [0x7891e28c], ebx
jne 0x788422f7
cmp dword [0x7891e354], ebx
jne 0x7882140f
test byte [ebp + 8], 2
jne 0x788809f8
mov dword [0x7891e354], 1
call fcn.78821555
cmp dword [esi + 0x2c], ebx
je 0x7882cad3
mov ecx, dword [0x7891e344]
mov eax, dword [ecx]
call dword [eax + 0x10]
call fcn.7882142f
pop ebx
pop esi
jmp 0x7880f95e
cmp dword [0x7891e360], ebx
jne 0x7882140f
call fcn.7882170e
jmp 0x7882140f
push dword [ebp + 8]
call fcn.78842006
jmp 0x7882140f
mov ecx, dword [0x7891e540]
cmp ecx, dword [0x7891e348]
jg 0x7888f97e
jmp 0x78841ff9
cmp byte [0x7891a1ac], bl
jne 0x7882140f
mov dword [0x7891e354], 1
jmp 0x78841ff9
cmp edi, ebx
jne 0x7888f96e
mov ecx, dword [0x7891e284]
mov eax, dword [0x7891e1e8]
sub ecx, dword [0x7891e288]
shl eax, 3
cmp ecx, eax
jge 0x7888f96e
cmp dword [0x7891e28c], eax
jge 0x7888f96e
mov ecx, dword [0x7891e344]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x7891e344]
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x7882141f
mov ecx, dword [0x7891e344]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x788213c7
mov eax, dword [0x7891e340]
xor esi, esi
cmp eax, ebx
je 0x78841ff9
cmp dword [eax + 0x2c], ebx
je 0x7888f993
inc esi
mov eax, dword [eax + 0x14]
cmp eax, ebx
jne 0x7888f98d
cmp esi, ebx
jle 0x78841ff9
add dword [0x7891e1e8], edx
mov eax, dword [0x7891e1e8]
cdq
idiv esi
shl eax, 1
cmp eax, ecx
mov dword [0x7891e348], eax
jle 0x78841ff9
mov dword [0x7891e348], ecx
imul ecx, esi
mov dword [0x7891e1e8], ecx
jmp 0x78841ff9
Function at 0x7880f963
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
sub ebx, 8
push esi
mov eax, ebx
shr eax, 3
push edi
mov edi, ecx
je 0x788185ec
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp dword [0x7891e2c4], esi
je 0x78841e9c
and ebx, 2
push ebx
push esi
mov ecx, edi
call fcn.78818628
cmp esi, dword [0x7891e280]
je 0x78818621
push 0
call fcn.7880f927
xor eax, eax
jmp 0x7880f981
push ebx
mov ecx, edi
call fcn.788166bc
test eax, eax
jne 0x78818606
mov eax, dword [esi + 0x48]
cmp eax, 0x200
jae 0x78818606
inc eax
mov dword [esi + 0x48], eax
mov eax, dword [edi]
call dword [eax + 0x38]
dec dword [esi + 0x48]
mov eax, dword [edi]
mov ecx, edi
mov dword [edi + 4], 3
call dword [eax + 0x18]
jmp 0x78818621

Function at 0x7880fb38
Capabilities:
Get thread local storage value

Disassembly:
call fcn.788072a6
test eax, eax
jne fcn.788075f1
push esi
lea esi, [ecx + 4]
push esi
call fcn.78809da8
add eax, 8
mov dword [esi], eax
shr eax, 3
pop esi
ret

Function at 0x7881069d
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push esi
lea esi, [ecx + 4]
cmp dword [esi], 8
jb 0x788a3720
mov eax, dword [esi]
test al, 4
je 0x7881072a
add eax, 0xfffffff8
mov dword [esi], eax
shr eax, 3
pop esi
ret
push 0xfffffffffffffff8
push esi
call dword [0x7891e1e0]
sub eax, 8
jmp 0x788106b7
push 0x788a3738
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
and dword [0], 0
jmp 0x788106ac

Function at 0x78811159
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
push dword [0x78918190]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x28]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
or eax, 8
mov dword [esi + 4], eax
mov eax, esi
pop esi
ret
Function at 0x78811dd0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esi + 0x3c]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x40]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x44]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x4c]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x50]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x54]
call fcn.7880d26c
mov ecx, dword [esi + 0x58]
cmp ecx, ebx
jne 0x788a7350
push ebx
lea ecx, [esi + 0x5c]
mov dword [esi + 0x58], ebx
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x48]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x60]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x64]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x38]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x70]
call fcn.7880d26c
push ebx
lea ecx, [esi + 0x68]
call fcn.7880d26c
lea ecx, [esi + 0xc]
call fcn.78811db7
lea ecx, [esi + 0x1c]
call fcn.78811db7
mov byte [esi + 0x2c], bl
mov byte [esi + 0x2f], bl
mov byte [esi + 0x2d], bl
mov dword [esi + 0x6c], ebx
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov ecx, dword [edi + 0x50]
cmp ecx, ebx
je 0x78811e96
cmp dword [ecx + 0x10], esi
je 0x78862aa1
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x50], ebx
jmp 0x78811e96
push 1
call fcn.78872ac9
jmp 0x78811e1a
Function at 0x788147ff
Capabilities:
Get thread local storage value

Disassembly:
push 0x3c
push 0x788148a0
call fcn.78801330
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x28], eax
xor edi, edi
inc edi
push edi
lea ecx, [ebp - 0x4c]
call fcn.7880fb12
mov dword [ebp - 4], ebx
push dword [ebp - 0x28]
mov ecx, dword [0x7891e294]
call fcn.788147a3
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x788148ac
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x78890ac0
push dword [ebp + 0x10]
push eax
mov ecx, dword [0x7891e29c]
call fcn.78807a8e
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x78814870
mov ecx, dword [0x7891e298]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x7891e294]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x788823ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.7880cf41
mov eax, dword [ebp - 0x20]
call fcn.78801370
ret 0xc
mov ecx, dword [0x7891e29c]
mov dword [ebp - 0x2c], ecx
push esi
call fcn.7880fe3c
jmp 0x78814860
mov eax, dword [esi + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x34], ecx
push eax
push ebx
push ecx
call fcn.78814e27
mov dword [ebp - 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
jmp 0x78882401
cmp esi, ebx
jne 0x788824f4
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.78814e27
mov dword [ebp - 0x24], eax
push 0x18
call fcn.78807713
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov edi, dword [ebp - 0x24]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
push eax
push edi
mov ecx, esi
call fcn.7880ce00
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x28]
mov ecx, dword [0x7891e294]
call fcn.7881498a
mov dword [ebp - 0x1c], 2
push edi
push dword [ebp - 0x24]
mov ecx, dword [0x7891e29c]
call fcn.78882366
mov esi, eax
mov dword [ebp - 0x40], esi
mov eax, dword [0x7891e298]
mov dword [esi + 0xc], eax
mov ecx, dword [0x7891e294]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x78890aca
mov dword [ebp - 0x20], esi
jmp 0x78814887
mov ecx, esi
call fcn.7880cf79
cmp eax, edi
jne 0x78837eb2
mov dword [ebp - 0x24], esi
jmp 0x78882401
mov eax, 0x78811004
jmp 0x78814851
push ebx
lea ecx, [edi + 0x10]
call fcn.7880d26c
mov ecx, edi
call fcn.788b0cb6
jmp 0x7888246f
Function at 0x788148d2
Capabilities:
Get thread local storage value

Disassembly:
push 0x38
push 0x78814970
call fcn.78801330
and dword [ebp - 0x1c], 0
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x20], eax
xor ebx, ebx
inc ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.7880fb12
and dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], esi
push dword [ebp - 0x20]
mov ecx, dword [0x7891e290]
call fcn.788147a3
mov dword [ebp - 0x1c], ebx
push 4
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [0x7891e2a0]
call fcn.78807a8e
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x78814940
mov eax, dword [0x7891e298]
mov dword [ebx + 0xc], eax
mov ecx, dword [0x7891e290]
mov eax, dword [ecx]
call dword [eax + 0x18]
and dword [ebp - 0x1c], 0
test ebx, ebx
je 0x78882477
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.7880cf41
mov eax, ebx
call fcn.78801370
ret 8
push 4
lea eax, [ebp - 0x3c]
push eax
call fcn.78814784
mov dword [ebp - 0x24], eax
push 0x1c
call fcn.78807713
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x24]
push esi
push edi
mov ecx, eax
call fcn.7880ce84
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x20]
mov ecx, dword [0x7891e290]
call fcn.7881498a
mov dword [ebp - 0x1c], 2
push edi
push dword [ebp - 0x24]
mov ecx, dword [0x7891e2a0]
call fcn.78882366
mov esi, eax
mov dword [ebp - 0x34], esi
mov eax, dword [0x7891e298]
mov dword [esi + 0xc], eax
mov ecx, dword [0x7891e290]
mov eax, dword [ecx]
call dword [eax + 0x10]
and dword [ebp - 0x1c], ebx
cmp esi, edi
jne 0x78890583
mov ebx, esi
mov dword [ebp - 0x28], ebx
jmp 0x78814957
push ebx
lea ecx, [edi + 0x18]
call fcn.7880d26c
mov ecx, edi
call fcn.788b0cb6
jmp 0x788824ea

Function at 0x78814af3
Capabilities:
Access peb ldr_data

Disassembly:
push 4
push 0x20
call fcn.78807346
mov ecx, eax
call fcn.78814aa8
cmp dword [eax + 0x14], 0
je 0x7888f193
ret
pushal
mov ebp, esp
add ebp, 0x24
push esp
call fcn.7888cff4
inc eax
fiadd word [esi - 8]

Function at 0x78814b37
Capabilities:
Access peb ldr_data

Disassembly:
push 4
push 0x28
call fcn.78807346
mov ecx, eax
call fcn.78814b14
cmp dword [eax + 0x14], 0
je 0x7888f1a1
ret
inc esi
clc
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x7888f1b8
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.7888cff4
int 0xd4
or dword [edx - 0x75], eax
clc
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
pop edx
and byte [ebx], al
fucompi st(0)
pop ss
fdivp st(7)
invalid
cmp al, 0x9f
jns 0x7888f224
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x7888f1e1
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x7888f1e1
call fcn.7888cff4
jl 0x7888f27b
jle 0x7888f23a
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
jne 0x7888f22a
invalid
invalid
Function at 0x788151cc
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
cmp ecx, edx
mov eax, dword [ebp + 0x10]
jae 0x788151f1
push esi
movzx esi, word [ecx]
imul eax, eax, 0x21
xor eax, esi
inc ecx
inc ecx
cmp ecx, edx
jb 0x788151e2
pop esi
pop ebp
ret 0xc

Function at 0x788152e0
Capabilities:
Get thread local storage value

Disassembly:
call fcn.788072a6
test eax, eax
jne fcn.7880f880
push esi
lea esi, [ecx + 4]
push esi
call fcn.78809da8
sub eax, 8
mov dword [esi], eax
shr eax, 3
pop esi
ret

Function at 0x788162a7
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
mov dword [esi], 0x78807fe8
mov dword [esi + 4], 0x78809f00
je 0x788162d8
cmp byte [esi + 0x58], 0
jne 0x788a4694
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x54], 0xffffffff
mov ecx, esi
pop esi
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x788162cb

Function at 0x78816648
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov ecx, ebx
sub ecx, dword [eax + 0x10]
push edi
push dword [0x78918190]
sar ecx, 0xc
lea esi, [eax + ecx*8 + 0x18]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push ebx
mov dword [edi + 0x64], ebx
call fcn.788166a7
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
add dword [esi], edx
push eax
push ebx
mov byte [ecx], 0
call fcn.78816630
and dword [edi + 0x64], 0
cmp dword [esi], 0xef
pop edi
mov dword [esi + 4], 0xf0
pop esi
pop ebx
je 0x78816bad
pop ebp
ret
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x2024]
inc dword [eax]
cmp dword [eax], 0x20
jne 0x788166a5
push 0x10
push ecx
call fcn.7882198e
pop ecx
pop ecx
jmp 0x788166a5

Function at 0x78817090
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [0x78918194], 0
je 0x788940c1
pop ebp
jmp fcn.78816fcb
Function at 0x78821555
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push esi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push dword [0x7891e34c]
and dword [0x7891e360], 0
mov esi, eax
mov byte [0x7891e358], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
mov dword [0x7891e1f0], 0x788b0c9a
mov dword [0x7891e1ec], 0x78821685
call fcn.78814c2e
mov esi, dword [0x7891e340]
test esi, esi
mov eax, dword [0x7891e348]
mov dword [0x7891e350], esi
mov dword [0x7891e1e8], eax
je 0x788215fa
push edi
cmp byte [esi + 0x44], 0
jne 0x7888f924
lea edi, [esi + 0xc]
push edi
call fcn.78809da8
push esi
call fcn.78821492
cmp dword [esi + 0x2c], 0
mov dword [edi], eax
mov dword [esi + 4], esi
mov byte [esi + 0x18], 1
je 0x788215f2
inc dword [0x7891e360]
mov byte [esi + 0x19], 1
mov eax, dword [0x7891e348]
add dword [0x7891e1e8], eax
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x788215b5
pop edi
push dword [0x7891e34c]
mov dword [0x7891e1f0], 0x78809ed9
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop esi
ret
push esi
call fcn.78814c2e
jmp 0x788215bf

Function at 0x788254c2
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push dword [0x78918190]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [ebp + 8]
push esi
push eax
lea ecx, [ebp - 0x14]
call fcn.78825494
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xa8]
add eax, 0xc8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [ebp - 0x14]
call fcn.78819910
pop esi
leave
ret 4

Function at 0x7882d565
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 4]
xor eax, eax
sub edx, 3
push esi
je 0x788300e3
dec edx
mov esi, dword [ebp + 0x10]
jne 0x7882d5a8
push dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push esi
push edx
push eax
push ebx
call fcn.78831660
cmp byte [ebx + 0x11], 0
jne 0x788a9c0f
mov eax, dword [ebp + 0xc]
fld qword [eax + 4]
push edi
push ecx
fst qword [ebp - 8]
push ecx
fstp qword [esp]
call fcn.788220cc
test al, al
mov esi, dword [ebp + 0x10]
push 8
pop edi
jne 0x7883b8e1
fld qword [ebp - 8]
add esi, edi
fstp qword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
shr eax, 0x1f
and al, 1
neg al
sbb al, al
lea ecx, [ebp - 8]
and eax, 0xff
mov dl, byte [ecx]
dec esi
xor dl, al
inc ecx
dec edi
mov byte [esi], dl
jne 0x78830121
test al, al
jne 0x78830133
or byte [esi], 0x80
push 8
pop eax
pop edi
jmp 0x7882d5a8
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x78830133