joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100208f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, ecx
call fcn.1000f420
mov esi, eax
test esi, esi
jne 0x1002091c
push str.LiveRegOpen_fail_
push 1
push 0x10069158
call fcn.10017d90
add esp, 0xc
pop edi
pop esi
add esp, 8
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.Valid
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 8]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.LogLevel
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.TrafLastDate
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.TrafReport
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x14]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.DnsProxy
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.FWBlock
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.FWTime
push esi
call ebx
lea eax, [esp + 0xc]
push eax
lea ecx, [edi + 0x20]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push str.Intranet
push esi
call ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.UpdateRegistryInfo_sucess_
push 1
push 0x10069158
call fcn.10017d90
add esp, 0xc
pop ebx
mov dword [edi + 0x24], 1
pop edi
pop esi
add esp, 8
ret
Function at 0x10022690
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x3c], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x10022670
push 0
push 0
mov dword [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x40], eax
pop esi
pop ecx
ret

Function at 0x10022a20
Capabilities:
Hash data with crc32

Disassembly:
xor eax, eax
xor ecx, ecx
push esi
jmp 0x10022a30
movzx edx, word [ecx + 0x10055fd6]
mov esi, dword [eax + 0x10055fd8]
shr esi, 8
add edx, esi
mov esi, dword [eax + 0x10055fdc]
mov dword [eax + 0x10069688], edx
movzx edx, word [ecx + 0x10055fd4]
shr esi, 8
add edx, esi
mov esi, dword [eax + 0x10055fe0]
mov dword [eax + 0x1006968c], edx
movzx edx, word [ecx + 0x10055fd2]
shr esi, 8
add edx, esi
mov esi, dword [eax + 0x10055fe4]
mov dword [eax + 0x10069690], edx
movzx edx, word [ecx + 0x10055fd0]
shr esi, 8
add edx, esi
mov dword [eax + 0x10069694], edx
sub ecx, 8
add eax, 0x10
cmp ecx, 0xfffffe00
jg 0x10022a30
pop esi
ret

Function at 0x10022aa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x10069aa8], 0
jne 0x10022ab5
mov byte [0x10069aa8], 1
call fcn.10022a20
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, 0xfffffffe
test edx, edx
jbe 0x10022aef
push esi
push edi
jmp 0x10022ad0
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x10055fd8]
inc ecx
sub edx, 1
jne 0x10022ad0
pop edi
pop esi
ret
Function at 0x10022e50
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x424
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x420], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.10038ae0
add esp, 0xc
push 0x103
lea edx, [esp + 0x21c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x218]
push str.LiveUpdate360.exe
push eax
call fcn.1003a009
add esp, 8
test eax, eax
je 0x10023043
push edi
push 0
push 0x1a
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x220]
push str._s360safe_shis.dat
push eax
call fcn.10009cc0
add esp, 0xc
push 0
push 0
push 2
push 0
push 0
push 0xc0000000
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10023042
push ebp
push esi
call fcn.10022a20
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x10]
push edx
mov esi, 4
push esi
push 0x10062e74
push edi
call ebp
cmp dword [esp + 0xc], esi
jne 0x10022f54
push esi
push 0x10062e74
call fcn.10022aa0
add esp, 8
push 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x1c]
push ecx
push edi
call ebp
cmp dword [esp + 0xc], esi
je 0x10022f73
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10038723
add esp, 0x424
ret
mov edx, dword [0x10069aa0]
mov eax, dword [edx]
mov esi, dword [0x10069a88]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
push ebx
lea ebx, [ebx]
mov ebx, dword [0x10069aa0]
test esi, esi
je 0x10022fa2
cmp esi, dword [0x10069a88]
je 0x10022fa7
call fcn.10039cd0
cmp dword [esp + 0x1c], ebx
je 0x10023038
test esi, esi
jne 0x10023034
call fcn.10039cd0
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esi + 0x18]
jne 0x10022fc8
call fcn.10039cd0
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x28]
test esi, esi
je 0x10023022
mov eax, dword [esi + 0x630]
or eax, dword [esi + 0x634]
jne 0x10022fef
mov ecx, dword [esi + 0x638]
or ecx, dword [esi + 0x63c]
je 0x10023022
push 0
lea edx, [esp + 0x14]
push edx
push 0x660
push esi
push edi
call ebp
push 0x660
push esi
call fcn.10022aa0
add esp, 8
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x20]
push ecx
push edi
call ebp
lea ecx, [esp + 0x18]
call fcn.1000eeb0
mov esi, dword [esp + 0x18]
jmp 0x10022f90
mov esi, dword [esi]
jmp 0x10022fba
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
pop ebp
pop edi
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.10038723
add esp, 0x424
ret
Function at 0x100237a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
call edx
push eax
push str.Handle:_u___history_remove_task
push 1
push 0x10069158
call fcn.10017d90
mov eax, 9
add esp, 0x10
cmp dword [esi + 0x44], eax
je 0x1002381d
cmp dword [esi + 0x40], 1
mov byte [esi + 4], 1
mov dword [esi + 0x44], eax
jne 0x100237eb
mov eax, dword [0x10069644]
test eax, eax
je 0x100237eb
mov ecx, dword [esi + 0x8ec]
push ecx
call eax
add esp, 4
cmp dword [esi + 0x8b8], 0
jne 0x1002381d
push edi
lea edi, [esi + 0x50]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002381c
test al, 0x10
jne 0x1002381c
cmp dword [esi + 0x8b4], 0
je 0x1002381c
push 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov al, 1
pop esi
ret
Function at 0x10023d20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x1005152c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [esp + 0x14], ebp
mov ecx, dword [esp + 0x34]
mov al, byte [esp + 0x30]
mov dword [ebp + 8], ecx
lea edi, [ebp + 0x10]
mov ecx, edi
mov dword [ebp], vtable.CDownloaderHistory.0
mov byte [ebp + 4], al
call fcn.1001bf60
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov dword [ebp + 0x8ec], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x8e0], edx
xor esi, esi
push 0xffffffffffffffff
lea ecx, [ebp + 0x8f0]
mov dword [ebp + 0x8e8], esi
push esi
mov ebx, 7
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
push eax
mov word [ecx + 4], dx
call fcn.10009230
lea edx, [ebp + 0x930]
xor ecx, ecx
mov dword [edx + 0x18], ebx
mov dword [edx + 0x14], esi
mov dword [esp + 0x20], esi
mov word [edx + 4], cx
mov dword [ebp + 0x94c], esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x8c0]
mov dword [ebp + 0x918], eax
mov ecx, dword [esi + 0x8c4]
mov dword [ebp + 0x91c], ecx
mov ebx, dword [esi + 0x20]
mov ecx, eax
mov eax, dword [ebp + 0x91c]
sub ebx, ecx
mov ecx, dword [esi + 0x24]
sbb ecx, eax
mov dword [ebp + 0x914], ecx
mov ecx, dword [ebp + 0x918]
mov dword [ebp + 0x928], ecx
mov ecx, dword [ebp + 0x914]
mov dword [ebp + 0x92c], eax
mov dword [ebp + 0x924], ecx
mov eax, ebx
mov dword [ebp + 0x920], eax
mov ecx, 0x234
mov dword [ebp + 0x910], ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 0x670]
mov eax, ecx
mov byte [esp + 0x20], 1
lea esi, [eax + 2]
lea ecx, [ecx]
mov di, word [eax]
add eax, 2
test di, di
jne 0x10023e40
sub eax, esi
sar eax, 1
push eax
push ecx
mov ecx, edx
call fcn.10009330
cmp dword [esp + 0x3c], 0
je 0x10023e6d
mov ecx, dword [0x10069070]
push 1
push ebp
call fcn.10013720
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x44], 9
mov dword [ebp + 0x8e4], eax
jne 0x10023e83
mov byte [ebp + 4], 1
mov ecx, ebp
call fcn.10023600
push eax
push str.Handle:_u_CDownloaderHistory
push 1
push 0x10069158
call fcn.10017d90
add esp, 0x10
mov eax, 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 0x18

Function at 0x10024230
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
call edx
push eax
push str.Handle:_u_Http_task_will_remove
push 1
push 0x10069158
call fcn.10017d90
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
add esp, 0x10
mov ecx, esi
call edx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x1002426f
mov ecx, dword [0x10069acc]
test ecx, ecx
je 0x1002426f
push eax
call ecx
add esp, 4
mov byte [esi + 0xa8], 1
cmp dword [esi + 0xec], 8
jb 0x10024294
mov esi, dword [esi + 0xd8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
pop esi
ret
add esi, 0xd8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x10026180
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x3c], 0
je 0x10026246
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10026246
mov ecx, dword [0x10069af4]
test ecx, ecx
jne 0x100261a6
xor eax, eax
jmp 0x100261ac
push eax
call ecx
add esp, 4
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10026230
cmp eax, 0xffffffff
je 0x10026230
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esi + 0x3c]
cmp eax, dword [esi + 0x38]
jbe 0x1002622f
cmp dword [esi + 0x34], 6
jne 0x1002622f
push edi
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x34], 3
call ebx
sub eax, dword [esi + 0x3c]
push 0x10056558
lea ecx, [esi + 0x178]
mov dword [esi + 0x68], eax
call fcn.1001e650
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x10069ac8]
pop edi
test eax, eax
je 0x10026216
mov ecx, dword [esi + 0x30]
push ecx
call eax
add esp, 4
mov eax, dword [0x10069acc]
test eax, eax
je 0x10026228
mov edx, dword [esi + 0x30]
push edx
call eax
add esp, 4
mov ecx, esi
call fcn.100251a0
pop ebx
mov ecx, esi
call fcn.100250b0
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 8]
mov dword [ecx], eax
mov al, 1
pop esi
ret 4
xor al, al
pop esi
ret 4
Function at 0x10026ec0
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
xor ebx, ebx
cmp dword [0x10063388], ebx
jne 0x10026efa
mov eax, dword [0x10069b00]
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10038723
add esp, 0x224
ret
push ebp
push 0x206
lea ecx, [esp + 0x26]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2c], ax
call fcn.10038ae0
add esp, 0xc
lea edx, [esp + 8]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.WS2_32.dll_bind
mov dword [esp + 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100270b4
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 0x208
call ebp
test eax, eax
jne 0x100270a9
push esi
lea ecx, [esp + 0x24]
push 0x5c
push ecx
call fcn.100386f7
lea edx, [esp + 0x2c]
push 0x2f
push edx
mov esi, eax
call fcn.100386f7
add esp, 0x10
cmp esi, ebx
jne 0x10026fdc
cmp eax, ebx
jne 0x10026fe2
lea eax, [esp + 0x24]
push eax
push str._IsHaveEntClient_regedit_bad_path:_s
push 1
push 0x10069158
call fcn.10017d90
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
mov dword [0x10069b00], ebx
mov dword [0x10063388], ebx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10038723
add esp, 0x224
ret
cmp esi, eax
jbe 0x10026fe2
mov eax, esi
push edi
xor edx, edx
lea edi, [esp + 0x28]
mov word [eax + 2], dx
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x10026ff0
mov eax, dword [esp + 0x10]
mov ecx, 8
mov esi, str.360EntClient.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10027099
test al, 0x10
jne 0x10027099
call fcn.1000f420
mov esi, eax
cmp esi, ebx
je 0x10027099
mov eax, 4
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.proxytype
push esi
mov dword [esp + 0x2c], ebx
call ebp
test eax, eax
jne 0x10027096
cmp dword [esp + 0x14], 2
jne 0x10027096
push esi
call edi
mov eax, 1
mov dword [0x10069b00], eax
mov dword [0x10063388], ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10038723
add esp, 0x224
ret
push esi
call edi
mov dword [0x10069b00], ebx
mov dword [0x10063388], ebx
xor eax, eax
jmp 0x1002707d
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x228]
pop ebp
mov dword [0x10069b00], ebx
mov dword [0x10063388], ebx
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10038723
add esp, 0x224
ret
Function at 0x10029130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10051b39
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.CPDownloader.0
mov dword [esp + 0x20], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea ecx, [esi + 0x40]
mov byte [esp + 0x20], 4
call fcn.1002f9c0
lea edi, [esi + 0x200]
mov eax, 7
xor ecx, ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], cx
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x104]
mov dword [esi + 0x238], edx
lea ebp, [esi + 0x240]
mov dword [esi + 0x23c], ecx
xor edx, edx
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], dx
mov byte [esp + 0x20], al
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x25c]
call fcn.10013eb0
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
mov dword [esi + 0x320], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esi + 0x324], edx
mov edx, dword [esp + 0x100]
mov dword [esi + 0x328], eax
mov dword [esi + 0x32c], ecx
lea eax, [esi + 0x21c]
mov dword [esi + 0x330], edx
mov dword [esi + 0x334], ebx
push eax
mov byte [esp + 0x24], 8
mov byte [esi + 4], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x10], 7
mov dword [esi + 0xc], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x234], ebx
mov dword [esi + 0x230], ebx
mov dword [esi + 0x22c], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, edi
call fcn.10009230
push ebx
push 0x1005b784
mov ecx, ebp
call fcn.10009330
mov ecx, dword [esi + 0x30]
cmp ecx, ebx
je 0x10029293
mov dword [esi + 0x30], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x30], ebx
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x100292a7
mov dword [esi + 0x2c], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x2c], ebx
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x100292bb
mov dword [esi + 0x34], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi + 0x38]
cmp ecx, ebx
je 0x100292cf
mov dword [esi + 0x38], ebx
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x2c]
mov dword [esi + 0x38], ebx
mov dword [esp + 0x20], 0xffffffff
call fcn.1000dbd0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xe0
Function at 0x1002d3d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x10051f48
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ebp, [esi + 0x50]
push ebp
mov dword [esp + 0x18], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x1c]
add esi, 8
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.1002c5c0
mov edi, dword [esp + 0x18]
mov ebx, dword [esi + 0x18]
mov esi, dword [esi]
test edi, edi
je 0x1002d434
cmp edi, esi
je 0x1002d439
call fcn.10039cd0
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x1002d508
test edi, edi
jne 0x1002d465
call fcn.10039cd0
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x1002d45a
call fcn.10039cd0
cmp dword [esi + 0x4c], 8
jb 0x1002d469
mov eax, dword [esi + 0x38]
jmp 0x1002d46c
mov eax, dword [edi]
jmp 0x1002d450
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1002d508
test al, 0x10
jne 0x1002d508
test edi, edi
jne 0x1002d504
call fcn.10039cd0
cmp esi, dword [edi + 0x18]
jne 0x1002d497
call fcn.10039cd0
movzx edx, word [esp + 0x30]
cmp edx, dword [esi + 0x30]
jne 0x1002d508
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1002d4f5
lea ecx, [esp + 0x18]
call fcn.100195b0
push 0xffffffffffffffff
add eax, 0x24
push 0
push eax
mov ecx, esi
call fcn.10009230
lea ecx, [esp + 0x18]
call fcn.100195b0
mov ecx, dword [esp + 0x3c]
push 0xffffffffffffffff
add eax, 0x4c
push 0
push eax
call fcn.10009230
lea ecx, [esp + 0x18]
call fcn.100195b0
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
add eax, 0x68
push 0
push eax
call fcn.10009230
test ebp, ebp
je 0x1002d500
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x1002d515
mov edi, dword [edi]
jmp 0x1002d48d
test ebp, ebp
je 0x1002d513
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0x14
Function at 0x1002e130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10052074
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0x11]
lea ecx, [esi + 4]
push edx
call fcn.1002cfc0
xor edi, edi
mov dword [esi + 0x24], edi
xor eax, eax
mov dword [esi + 0x28], vtable.CQHSynQueue_struct_CIntraTaskMgr::IntraMsgData_.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esp + 0x1c], edi
mov dword [esi + 0x70], eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 1
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
call fcn.1002ca90
lea eax, [esp + 0xe]
push eax
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esi + 0xb0]
mov byte [esp + 0x24], 2
mov dword [esi + 0xac], edi
call fcn.1002cfc0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1002e770
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
je 0x1002e780
mov eax, 1
pop esi
ret
mov ecx, 0x10069588
call fcn.1001bde0
test eax, eax
jne 0x1002e7a6
push str.IntraTaskMgr_init_failed_exit_IntraTaskMgr
push 1
push 0x10069158
call fcn.10017d90
add esp, 0xc
xor eax, eax
pop esi
ret
push edi
push 0
push 0
push 0
push 0
lea edi, [esi + 0x28]
push 0x2800
mov ecx, edi
call fcn.100107b0
cmp eax, 1
jne 0x1002e7e1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x8c], eax
test eax, eax
jne 0x1002e7e6
mov ecx, edi
call fcn.10010220
pop edi
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x1002e750
push 0
push 0
call fcn.1003a16b
add esp, 0x18
mov dword [esi + 0x88], eax
test eax, eax
je 0x1002e7e1
pop edi
mov dword [esi + 0x24], 1
mov eax, 1
pop esi
ret
Function at 0x1002eed0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x10057778]
dec edx
cmp edx, ecx
je 0x1002eefa
inc eax
cmp eax, 0x20
jl 0x1002eee6
jmp 0x1002eefe
mov byte [esp + ecx + 8], al
inc ecx
cmp ecx, 0x20
jl 0x1002eee4
push ebx
push ebp
push esi
push edi
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x10], 0x10057578
xor esi, esi
mov ebx, eax
lea ebx, [ebx]
mov eax, esi
sar eax, 1
mov ecx, esi
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, esi
and ecx, 0x20
or eax, ecx
mov ecx, dword [esp + 0x10]
movsx eax, byte [ecx + eax]
xor edx, edx
test al, 8
je 0x1002ef58
movsx edx, byte [edi - 1]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
test al, 4
je 0x1002ef6f
movsx ebp, byte [edi]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 2
je 0x1002ef87
movsx ebp, byte [edi + 1]
mov ecx, 0x1f
sub ecx, ebp
mov ebp, 1
shl ebp, cl
or edx, ebp
test al, 1
je 0x1002ef9f
movsx eax, byte [edi + 2]
mov ecx, 0x1f
sub ecx, eax
mov eax, 1
shl eax, cl
or edx, eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [ebx + eax], edx
inc esi
add ebx, 4
cmp esi, 0x40
jl 0x1002ef20
mov ecx, dword [esp + 0x10]
add ecx, 0x40
add edi, 4
cmp ecx, 0x10057778
mov dword [esp + 0x10], ecx
mov eax, ebx
jl 0x1002ef16
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10038723
add esp, 0x2c
ret

Function at 0x1002f0f0
Capabilities:
Encrypt data using des

Disassembly:
push esi
push 0x800
mov esi, ecx
call fcn.1003a5b1
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1002f183
mov ecx, esi
call fcn.1002eed0
cmp dword [esp + 8], 1
je 0x1002f183
push 0x800
call fcn.1003a5b1
add esp, 4
mov dword [esi + 4], eax
test eax, eax
jne 0x1002f13a
mov eax, dword [esi]
push eax
call fcn.1003ab6a
add esp, 4
or eax, 0xffffffff
pop esi
ret 4
push 0x10057480
push eax
mov ecx, esi
call fcn.1002ed60
push 0x800
call fcn.1003a5b1
add esp, 4
mov dword [esi + 8], eax
test eax, eax
jne 0x1002f176
mov ecx, dword [esi]
push ecx
call fcn.1003ab6a
mov edx, dword [esi + 4]
push edx
call fcn.1003ab6a
add esp, 8
or eax, 0xffffffff
pop esi
ret 4
push 0x100574c0
push eax
mov ecx, esi
call fcn.1002ed60
xor eax, eax
pop esi
ret 4