joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10079840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x100bc018]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
call ebx
mov dword [esp + 0x18], eax
push 0xe
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
je 0x10079a8d
mov dword [esp + 0x1c], 0x28
mov dword [esp + 0x20], 0x29
mov dword [esp + 0x24], 0x2a
mov dword [esp + 0x28], 0x2b
mov dword [esp + 0x2c], 0x2c
mov dword [esp + 0x30], 0x2d
xor edi, edi
nop
movzx eax, word [esp + edi*4 + 0x1c]
mov ecx, 0x879340c
fild dword [ecx]
movsx ecx, ax
shl ecx, 6
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [ecx + 0x10123dc0]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x1007997d
fld dword [ecx + 0x10123dc8]
fcompp
fnstsw ax
test ah, 5
jnp 0x1007997f
fild dword [0x8793410]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [ecx + 0x10123dc4]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x1007997d
fld dword [ecx + 0x10123dcc]
fcompp
fnstsw ax
test ah, 5
jnp 0x1007997f
mov esi, dword [esp + edi*4 + 0x1c]
shl esi, 6
cmp byte [esi + 0x10123dd5], 0
je 0x1007997f
mov eax, dword [esp + 0x18]
sub eax, dword [esi + 0x10123dd0]
cmp dword [ebp + 8], 0x201
je 0x10079a24
mov byte [esi + 0x10123dd4], 0
cmp eax, 0x1f4
jb 0x10079a8d
call ebx
mov dword [esi + 0x10123dd0], eax
lea eax, [esp + 0x10]
push eax
mov ecx, 8
mov dword [esp + 0x14], 0xebf308c1
mov dword [esp + 0x18], edi
call fcn.1008c360
add esp, 4
jmp 0x1007997f
fstp st(0)
inc edi
cmp edi, 6
jl 0x100798b0
fild dword [0x879340c]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [0x10124940]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10079a8b
fld dword [0x10124948]
fcompp
fnstsw ax
test ah, 5
jnp 0x10079a8d
fild dword [0x8793410]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld dword [0x10124944]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x10079a8b
fld dword [0x1012494c]
fcompp
fnstsw ax
test ah, 5
jnp 0x10079a8d
cmp byte [0x10124955], 0
je 0x10079a8d
cmp dword [ebp + 8], 0x201
jne 0x10079a48
mov byte [0x10124954], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + edi*4 + 0x1c]
shl ecx, 6
mov byte [ecx + 0x10123dd4], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x18]
sub eax, dword [0x10124950]
mov byte [0x10124954], 0
cmp eax, 0x1f4
jb 0x10079a8d
call ebx
lea edx, [esp + 0x10]
push edx
mov ecx, 8
mov dword [0x10124950], eax
mov dword [esp + 0x14], 0xebf308c1
mov dword [esp + 0x18], 6
call fcn.1008c360
add esp, 4
jmp 0x10079a8d
fstp st(0)
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebx
xor ecx, esp
xor al, al
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
Function at 0x1007d7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1007d807
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x18]
push eax
push 6
lea ecx, [ebp - 0x20]
push ecx
push edi
call ebx
mov edx, 0x1112
cmp word [ebp - 0x20], dx
jne 0x1007d91c
cmp dword [ebp - 0x1e], 0x36
jne 0x1007d91c
cmp byte [ebp + 0xc], 0
push esi
mov esi, 0x101494fc
je 0x1007d847
mov esi, 0x1014952c
push 0
lea eax, [ebp - 0x18]
push eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, dword [0x1014955c]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi], edx
mov eax, dword [0x10149560]
xor eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov ecx, dword [0x10149564]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 8], ecx
mov edx, dword [0x10149568]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0xc], edx
call ebx
mov edx, dword [0x1014955c]
xor edx, dword [ebp - 0x14]
push 0
mov dword [esi + 0x10], edx
mov eax, dword [0x10149560]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x14], eax
mov ecx, dword [0x10149564]
xor ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x18]
push eax
mov dword [esi + 0x18], ecx
mov edx, dword [0x10149568]
xor edx, dword [ebp - 8]
push 0x10
lea ecx, [ebp - 0x14]
push ecx
push edi
mov dword [esi + 0x1c], edx
call ebx
mov edx, dword [0x1014955c]
xor edx, dword [ebp - 0x14]
push edi
mov dword [esi + 0x20], edx
mov eax, dword [0x10149560]
xor eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov ecx, dword [0x10149564]
xor ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ecx
mov edx, dword [0x10149568]
xor edx, dword [ebp - 8]
mov dword [esi + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 8
Function at 0x100813d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
xor ebx, ebx
mov edx, eax
cmp byte [0x101277d5], bl
je 0x1008143f
mov eax, 0xed
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x1008143f
cmp dword [ebp + 8], 0x201
jne 0x10081412
mov al, 1
pop esi
mov byte [0x10127914], al
pop ebx
pop ebp
ret 4
sub edx, dword [0x10127910]
mov byte [0x10127914], bl
cmp edx, 0x1f4
jb 0x1008143f
call esi
mov dword [0x10127910], eax
mov byte [0x101277d5], bl
mov dword [0xe8cb3c], ebx
mov byte [0x101277f1], bl
pop esi
xor al, al
pop ebx
pop ebp
ret 4
Function at 0x100821c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebx
cmp byte [0x10127d15], 0
mov esi, eax
mov dword [ebp - 8], esi
je 0x10082426
push edi
mov eax, 0x102
mov ecx, 0x10123c90
call fcn.10051040
mov edi, dword [ebp + 8]
test al, al
je 0x10082237
cmp edi, 0x201
jne 0x10082211
pop edi
pop esi
mov byte [0x10127e54], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
sub eax, dword [0x10127e50]
mov byte [0x10127e54], 0
cmp eax, 0x1f4
jb 0x10082425
call ebx
mov dword [0x10127e50], eax
call fcn.1007ed40
mov eax, 0xfb
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10082293
mov ecx, dword [0x108f27e4]
inc ecx
cmp ecx, 1
jle 0x10082293
cmp edi, 0x201
jne 0x1008226e
pop edi
pop esi
mov byte [0x10127c94], 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, esi
sub edx, dword [0x10127c90]
mov byte [0x10127c94], 0
cmp edx, 0x64
jb 0x10082425
call ebx
dec dword [0x108f27e4]
mov dword [0x10127c90], eax
mov eax, 0xfc
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x100822e5
mov eax, dword [0x108f27e4]
inc eax
cmp eax, dword [0x108f27e8]
jge 0x100822e5
cmp edi, 0x201
je 0x1008241e
mov ecx, esi
sub ecx, dword [0x10127cd0]
mov byte [0x10127cd4], 0
cmp ecx, 0x64
jb 0x10082425
call ebx
inc dword [0x108f27e4]
mov dword [0x10127cd0], eax
xor edi, edi
cmp dword [0x108f27e0], edi
jle 0x10082425
mov dword [ebp - 4], edi
jmp 0x10082300
fild dword [0x106868b4]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcom qword [0x100b7a00]
fnstsw ax
test ah, 5
jnp 0x10082402
fcomp qword [0x100b8188]
fnstsw ax
test ah, 0x41
je 0x10082404
fild dword [0x106868bc]
fstp dword [ebp - 0xc]
fld dword [0x10127d04]
fadd qword [0x100b7a10]
fiadd dword [ebp - 4]
fld dword [ebp - 0xc]
fxch st(1)
fst dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x10082400
fadd qword [0x100b7298]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fcompp
fnstsw ax
test ah, 5
jnp 0x10082404
cmp dword [ebp + 8], 0x201
je 0x1008241e
sub esi, dword [0x10127cd0]
mov byte [0x10127cd4], 0
cmp esi, 0x64
jb 0x10082425
mov eax, dword [0x108f27e4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*2]
imul eax, eax, 0x34
cmp byte [eax + 0x108f13c0], 0
je 0x10082425
call ebx
mov dword [0x10127cd0], eax
mov eax, dword [0x108f27e4]
lea ecx, [eax + eax*4]
lea esi, [edi + ecx*2]
mov edx, esi
imul edx, edx, 0x34
cmp byte [edx + 0x108f13bb], 0
je 0x100823f1
call fcn.1007ed40
mov eax, dword [0x108f27e4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*2]
mov dword [0x108f27ec], ecx
call fcn.1007edc0
mov esi, dword [ebp - 8]
jmp 0x10082404
push 0x108f1390
call fcn.1007fd20
mov esi, dword [ebp - 8]
jmp 0x10082404
fstp st(0)
fstp st(0)
add dword [ebp - 4], 0x14
inc edi
cmp edi, dword [0x108f27e0]
jl 0x10082300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [0x10127cd4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10082a00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x10127f55], 0
je 0x10082aea
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
mov eax, 0x10b
mov ecx, 0x10123c90
call fcn.10051040
test al, al
setne al
mov byte [0x10128096], al
mov eax, 0x10c
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10082a9e
cmp dword [ebp + 8], 0x201
jne 0x10082a5e
pop edi
mov byte [0x101280d4], 1
pop esi
pop ebp
ret 4
mov ecx, edi
sub ecx, dword [0x101280d0]
mov byte [0x101280d4], 0
cmp ecx, 0x1f4
jb 0x10082ae8
push ebx
call esi
mov ebx, dword [0x108f27ec]
push 0x108f1390
mov esi, 0x1012809d
mov dword [0x101280d0], eax
call fcn.1007fd90
call fcn.1007edc0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ebx
mov eax, 0x10a
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10082ae8
cmp dword [ebp + 8], 0x201
jne 0x10082ac7
pop edi
mov byte [0x10128054], 1
pop esi
pop ebp
ret 4
sub edi, dword [0x10128050]
mov byte [0x10128054], 0
cmp edi, 0x1f4
jb 0x10082ae8
call esi
mov dword [0x10128050], eax
call fcn.1007edc0
pop edi
pop esi
pop ebp
ret 4

Function at 0x10082e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [0x10127d15], 0
lea edx, [eax + 0x1388]
je 0x10082ea1
mov eax, 0x10d
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10082ea1
cmp dword [ebp + 8], 0x201
jne 0x10082e63
mov al, 1
mov byte [0x10128114], al
pop esi
pop ebp
ret 4
sub edx, dword [0x10128110]
mov byte [0x10128114], 0
cmp edx, 0x1f4
jb 0x10082ea1
call esi
add eax, 0x1388
mov dword [0x10128110], eax
call fcn.1007ed80
lea eax, [ebp + 8]
mov ecx, 4
push eax
mov dword [ebp + 8], 0x25f304c1
call fcn.1008c360
add esp, 4
xor al, al
pop esi
pop ebp
ret 4

Function at 0x10082eb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [0x10127d15], 0
lea edx, [eax + 0x1388]
je 0x10082f19
mov eax, 0x10e
mov ecx, 0x10123c90
call fcn.10051040
test al, al
je 0x10082f19
cmp dword [ebp + 8], 0x201
jne 0x10082ef3
mov al, 1
mov byte [0x10128154], al
pop esi
pop ebp
ret 4
sub edx, dword [0x10128150]
mov byte [0x10128154], 0
cmp edx, 0x1f4
jb 0x10082f19
call esi
add eax, 0x1388
mov dword [0x10128150], eax
call fcn.1007ee00
xor al, al
pop esi
pop ebp
ret 4
Function at 0x10084a20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x100849a0
push 5
sub eax, 0x836486
xor edi, edi
push 0x836481
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x10084a7f
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, 0x836481
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 5
push 0x836481
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x10084a85
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 4]
push edx
push 0x40
mov ecx, 0x10084910
push 5
sub ecx, 0x7dd309
push 0x7dd304
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], ecx
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x10084ad5
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov eax, 0x7dd304
mov dword [eax], ecx
mov byte [eax + 4], dl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 5
push 0x7dd304
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x10084adb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 4]
push eax
push 0x40
mov edx, 0x10084910
push 5
sub edx, 0x833b0d
push 0x833b08
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], edx
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x10084b2b
mov ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov eax, 0x833b08
mov dword [eax], ecx
mov byte [eax + 4], dl
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
push ecx
push 5
push 0x833b08
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x10084b31
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10086640
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea ecx, [ebp - 4]
push ecx
push 0x40
mov eax, 0x100866c0
push 5
sub eax, 0x80f9b0
xor edi, edi
push 0x80f9ab
mov byte [ebp - 0x10], 0xe8
mov dword [ebp - 0xf], eax
mov dword [ebp - 4], edi
call esi
test eax, eax
je 0x1008669f
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0xc]
mov eax, 0x80f9ab
mov dword [eax], edx
mov byte [eax + 4], cl
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push eax
push 5
push 0x80f9ab
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x100866a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x10686748], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10086c20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x10086cc0
push 0x7dcfd0
mov bl, 0xe9
call fcn.10098b80
push 0x10087180
push 0x7897c7
call fcn.10098b80
push 0x10087330
push 0x78aaa6
call fcn.10098b80
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x599183
call esi
mov eax, 0x90909090
mov ecx, 0x599183
mov dword [ecx], eax
mov word [ecx + 4], ax
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
push edx
push 6
push 0x599183
call esi
push 0x100872a0
push 0x599183
call fcn.10098b80
push 0x10087450
push 0x83b934
call fcn.10098b80
add esp, 0x10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10087470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x108f2a40]
push 7
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 8
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 0xc
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 0xe
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 0xf
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 0x4e
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10087592
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10087592
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edx, dword [0x108f286c]
add edx, 0xfa
cmp eax, edx
jb 0x10087591
xor eax, eax
cmp word [edi], ax
jl 0x10087591
mov cl, byte [edi + 0x43]
mov word [ebp - 3], ax
lea edx, [ebp - 8]
mov dword [ebp - 7], eax
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
push edx
lea ecx, [eax + 8]
mov dword [ebp - 8], 0x17908c1
mov word [ebp - 4], ax
mov byte [ebp - 1], al
call fcn.1008c360
add esp, 4
call esi
mov dword [0x108f286c], eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10088ba0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4868d0]
mov eax, str.DataLocalEffectTRSData.bmd
call fcn.10001140
test al, al
je 0x10088c13
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.DataLocalEffectTRSData.bmd
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10088c13
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xa2b20
je 0x10088c25
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0xa2b20
lea esi, [ebx + 0x2e0b40]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10088c0c
xor eax, eax
mov edx, eax
shr edx, 8
xor dl, 0x85
add dl, byte [esi + eax]
xor dl, al
xor dl, 0xfa
mov byte [esi + eax], dl
inc eax
cmp eax, 0xa2b20
jb 0x10088c51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret

Function at 0x10088c90
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4868d4]
mov eax, str.DataLocalTooltipTRSData.bmd
call fcn.10001140
test al, al
je 0x10088d03
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.DataLocalTooltipTRSData.bmd
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10088d03
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x103140
je 0x10088d15
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x103140
lea esi, [ebx + 0x383660]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10088cfc
xor eax, eax
mov edx, eax
shr edx, 8
xor dl, 0x85
add dl, byte [esi + eax]
xor dl, al
xor dl, 0xfa
mov byte [esi + eax], dl
inc eax
cmp eax, 0x103140
jb 0x10088d41
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
Function at 0x10088d80
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4868d8]
mov eax, str.DataLocalMakeWorldTRSData.bmd
call fcn.10001140
test al, al
je 0x10088df3
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.DataLocalMakeWorldTRSData.bmd
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10088df3
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x12c
je 0x10088e05
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x12c
lea esi, [ebx + 0x4867a0]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10088dec
xor eax, eax
mov edx, eax
shr edx, 8
xor dl, 0x85
add dl, byte [esi + eax]
xor dl, al
xor dl, 0xfa
mov byte [esi + eax], dl
inc eax
cmp eax, 0x12c
jb 0x10088e31
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret

Function at 0x10088e70
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call section..text
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x4868cc]
mov eax, str.Licencia
call fcn.10001140
test al, al
je 0x10088ee3
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.Licencia
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10088ee3
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x2e0b3c
je 0x10088ef5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x2e0b3c
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10088edc
xor eax, eax
mov edi, edi
mov edx, eax
shr edx, 8
xor dl, 0x95
add dl, byte [esi + eax]
xor dl, al
xor dl, 0xda
mov byte [esi + eax], dl
inc eax
cmp eax, 0x2e0b3c
jb 0x10088f20
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret
Function at 0x10088f60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test byte [eax + 4], 2
je 0x10088fbc
add eax, 0x45
push eax
lea eax, [ebp - 0x104]
push str.XTEAM_MAIN_10405__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10088fcc
lea edx, [ebp - 0x104]
push edx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10088fe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [0x100bc018]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [edi + 0x254], 0
push ebx
push esi
je 0x100890f5
cmp word [edi + 0x664], 0
je 0x100890f5
push 0x103
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1008904c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [edi + 0xd3]
push eax
lea esi, [ebp - 0x110]
call fcn.10098cb0
push eax
call dword [sym.imp.MSVCR100.dll__stricmp]
add esp, 8
test eax, eax
je 0x10089074
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
movzx ebx, word [edi + 0x664]
call fcn.10089110
test al, al
je 0x1008908c
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea esi, [ebp - 0x510]
call section..text
mov edx, esi
push edx
lea esi, [ebp - 0x514]
lea eax, [edi + 0xd3]
call fcn.10001140
test al, al
jne 0x100890cb
push 0x10
push str.Error
push str.Main.exe_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [edi + 0x254]
cmp eax, dword [ebp - 0x514]
je 0x100890f5
push 0x10
push str.Error
push str.Main.exe_CRC_error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ab6d6
mov esp, ebp
pop ebp
ret