joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49eab4
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_SetCurrentDirectoryA
dec eax
je 0x49ead0
call fcn.0049f498
jmp 0x49eb3f
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
jne 0x49eaec
call fcn.0049f498
jmp 0x49eb3f
cmp dword [0x4d301c], 1
je 0x49eb3d
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.004a4f10
pop ecx
cmp al, 0x41
jl 0x49eb3d
cmp al, 0x5a
jg 0x49eb3d
cmp byte [ebp - 0x107], 0x3a
jne 0x49eb3d
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.dll_SetEnvironmentVariableA
dec eax
je 0x49eb3d
call fcn.0049f498
jmp 0x49eb3f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x49eb44
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x49eb60
call fcn.0049f498
jmp 0x49eb81
test byte [ebp + 0xc], 0x80
jne 0x49eb6b
or ebx, 1
jmp 0x49eb6e
and ebx, 0xfffffffe
push ebx
push esi
call sub.KERNEL32.dll_SetFileAttributesA
dec eax
je 0x49eb7f
call fcn.0049f498
jmp 0x49eb81
xor eax, eax
pop esi
pop ebx
pop ebp
ret

Function at 0x49eb88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x49ebb7
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x49ebc1
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x49ebcc
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.dll_GetEnvironmentVariableA
test eax, eax
jne 0x49ec32
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.dll_SetEnvironmentVariableA
dec eax
je 0x49ec32
call fcn.0049f498
jmp 0x49ec6d
push edi
call sub.KERNEL32.dll_SetCurrentDirectoryA
dec eax
je 0x49ec42
call fcn.0049f498
jmp 0x49ec6d
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x49ec68
push edi
call sub.KERNEL32.dll_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x49ec66
cmp ebx, 1
je 0x49ec66
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x49ec53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49edc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x104
call fcn.004a5af4
pop ecx
mov ebx, eax
test eax, eax
jne 0x49ede4
xor eax, eax
jmp 0x49ee8d
lea edx, [ebp - 4]
push edx
push ebx
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
mov esi, eax
test esi, esi
je 0x49ee05
cmp esi, 0x104
jb 0x49ee10
push ebx
call fcn.004a59e0
pop ecx
xor eax, eax
jmp 0x49ee8d
cmp byte [ebx + 1], 0x3a
jne 0x49ee40
mov dl, byte [ebx]
lea ecx, [ebp - 8]
mov byte [ebp - 8], dl
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x5c
mov byte [ebp - 5], 0
push ecx
call sub.KERNEL32.dll_GetDriveTypeA
cmp eax, 2
jae 0x49ee40
push ebx
call fcn.004a59e0
pop ecx
xor eax, eax
jmp 0x49ee8d
inc esi
test edi, edi
je 0x49ee83
cmp esi, dword [ebp + 0x10]
jbe 0x49ee55
push ebx
call fcn.004a59e0
pop ecx
xor eax, eax
jmp 0x49ee8d
push edi
mov esi, edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
push ebx
call fcn.004a59e0
pop ecx
mov eax, edi
jmp 0x49ee8d
push esi
push ebx
call fcn.004a5fc4
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x49ee94
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x49eeda
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x49eec8
cmp eax, dword [ebp + 0x10]
jle 0x49ef63
call fcn.004a6224
mov dword [eax], 8
xor eax, eax
jmp 0x49efd0
cmp dword [0x4d301c], 1
jne 0x49ef1f
mov eax, ebx
lea ecx, [ebp - 0x10c]
mov edx, eax
add dl, 0x40
add ecx, 3
mov byte [ebp - 0x10c], dl
mov dl, al
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x5c
mov byte [ebp - 0x109], 0
mov ah, 0x47
mov esi, ecx
int 0x21
jae 0x49ef63
xor eax, eax
jmp 0x49efd0
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x49ef5f
add bl, 0x40
lea eax, [ebp - 8]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x10c]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x2e
mov byte [ebp - 1], 0
push eax
push edx
lea ecx, [ebp - 4]
push 0x103
push ecx
call sub.KERNEL32.dll_GetFullPathNameA
jmp 0x49ef63
xor eax, eax
jmp 0x49efd0
lea edx, [ebp - 0x10c]
push edx
call fcn.004987e8
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x49ef84
call fcn.004a6224
mov dword [eax], 0x22
xor eax, eax
jmp 0x49efd0
test edi, edi
jne 0x49efa7
mov edx, dword [ebp + 0x10]
push edx
call fcn.004a5af4
pop ecx
mov edi, eax
test eax, eax
jne 0x49efa7
call fcn.004a6224
mov dword [eax], 8
xor eax, eax
jmp 0x49efd0
push edi
mov esi, edi
xor eax, eax
lea edi, [ebp - 0x10c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49efd8
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
test al, al
jne 0x49efed
xor eax, eax
jmp 0x49f001
add al, 0x40
mov byte [ebp - 4], al
lea eax, [ebp - 4]
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push edx
lea edx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push edx
push ecx
push eax
call sub.KERNEL32.dll_GetDiskFreeSpaceA
dec eax
je 0x49f023
mov dword [ebx + 0xc], 0xffffffff
jmp 0x49f03a
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov edx, dword [ebp - 8]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 8], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49f6c8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
cmp dword [ebp + 0xc], 1
mov esi, dword [ebp + 8]
jne 0x49f6f3
lea eax, [ebp + 0x10]
add eax, 4
mov ebx, dword [eax - 4]
push ebx
push esi
call sub.KERNEL32.dll_SetFileAttributesA
test eax, eax
jne 0x49f707
call fcn.0049f498
jmp 0x49f709
push esi
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x49f707
call fcn.0049f498
jmp 0x49f709
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x49fad8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0049f06c
test byte [ebp + 0xd], 0xc0
jne 0x49fafc
mov eax, dword [0x4ce8f8]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x49fb09
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x49fb36
je 0x49fb48
sub ecx, 0x100
je 0x49fb56
sub ecx, 0x100
je 0x49fb5d
sub ecx, 0x100
je 0x49fb4f
jmp 0x49fb64
sub ecx, 0x600
je 0x49fb5d
sub ecx, 0x100
je 0x49fb48
jmp 0x49fb64
mov edi, 1
jmp 0x49fb69
mov edi, 2
jmp 0x49fb69
mov edi, 4
jmp 0x49fb69
mov edi, 5
jmp 0x49fb69
mov edi, 3
test byte [ebp + 0xd], 1
je 0x49fb90
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4ceed4]
test al, 0x80
je 0x49fb89
mov ebx, 0x80
jmp 0x49fba2
mov ebx, 1
jmp 0x49fba2
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x49fba2
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x49fbb4
je 0x49fbbd
dec eax
je 0x49fbc6
jmp 0x49fbcf
mov dword [ebp - 4], 0x80000000
jmp 0x49fbde
mov dword [ebp - 4], 0x40000000
jmp 0x49fbde
mov dword [ebp - 4], 0xc0000000
jmp 0x49fbde
push 1
call fcn.0049f42c
pop ecx
mov ebx, eax
jmp 0x49fcca
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x49fbfa
sub eax, 0x10
je 0x49fc01
sub eax, 0x10
je 0x49fc0a
sub eax, 0x10
je 0x49fc13
jmp 0x49fc13
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x49fc1a
mov dword [ebp - 8], 1
jmp 0x49fc1a
mov dword [ebp - 8], 2
jmp 0x49fc1a
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x49fc83
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x49fc78
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x49fc78
add ebx, 0xffffffb2
push ebx
call fcn.0049f42c
pop ecx
mov ebx, eax
jmp 0x49fcca
mov edi, esi
push edi
call fcn.0049fa3c
pop ecx
test eax, eax
je 0x49fc97
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x49fca3
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0049f16c
add esp, 8
mov ebx, eax
inc eax
jne 0x49fcca
push 4
call fcn.0049f42c
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.0049f0a0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a5df4
Capabilities:
Get memory capacity

Disassembly:
add esp, 0xffffffe0
mov dword [esp], 0x20
push esp
call sub.KERNEL32.dll_GlobalMemoryStatus
mov eax, dword [esp + 0xc]
add esp, 0x20
ret
Function at 0x4a64d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x4d005c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x4a6588
cmp byte [0x4ab1de], 0
je 0x4a6542
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.004a4eb8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a652b
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.004a4eb8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4a652b
lea ebx, [ebp - 0x54]
jmp 0x4a652c
inc ebx
call fcn.004a6488
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x4a65a9
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4d0060
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004987e8
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4d0063
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x4a65a9
cmp dword [0x4d005c], 0xffffffff
je 0x4a65a9
mov eax, dword [0x4d005c]
test eax, eax
je 0x4a65a9
cmp byte [eax], 0
je 0x4a65a9
push esi
push eax
call fcn.004a6638
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a6bf8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4d30ac], 0
jne 0x4a6c79
cmp dword [0x4d30c8], 0
jne 0x4a6c28
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x4d30c8], eax
test eax, eax
jne 0x4a6c28
push str.GetEnvironmentStrings_failed
call fcn.004a65c0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4d30c8]
jmp 0x4a6c3c
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004987e8
pop ecx
mov edi, eax
test eax, eax
jne 0x4a6c34
lea edi, [ebp + 1]
push edi
call fcn.004a5af4
pop ecx
mov ebx, eax
mov dword [0x4d30b0], ebx
test ebx, ebx
jne 0x4a6c66
xor eax, eax
jmp 0x4a6d3c
push edi
mov edx, dword [0x4d30c8]
push edx
push ebx
call fcn.004985c0
add esp, 0xc
jmp 0x4a6c99
xor esi, esi
mov ebx, dword [0x4d30ac]
jmp 0x4a6c93
push eax
call fcn.004987e8
pop ecx
test eax, eax
jne 0x4a6c8f
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4a6c83
lea ebx, [esi + 4]
push 4
mov dword [0x4d30b4], ebx
inc ebx
push ebx
call fcn.004a4f2c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4a6cbc
xor eax, eax
jmp 0x4a6d3c
cmp dword [0x4d30ac], 0
jne 0x4a6ced
xor esi, esi
mov ebx, dword [0x4d30b0]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4a6cde
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004987e8
pop ecx
mov edi, eax
test eax, eax
jne 0x4a6cd4
jmp 0x4a6d1e
xor esi, esi
mov ebx, dword [0x4d30ac]
mov eax, dword [esp]
mov edi, eax
jmp 0x4a6d18
push eax
call fcn.004987e8
pop ecx
test eax, eax
je 0x4a6d0d
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x4a6d11
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x4a6cfc
mov eax, dword [0x4d30ac]
test eax, eax
je 0x4a6d2e
push eax
call fcn.004a59e0
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4d30ac], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a8f00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
jge 0x4a8f26
test esi, esi
je 0x4a8f26
call fcn.004a6224
mov dword [eax], 0x13
or eax, 0xffffffff
jmp 0x4a8f92
call fcn.004a8cdc
mov ebx, eax
test eax, eax
jne 0x4a8f41
call fcn.004a6224
mov dword [eax], 8
or eax, 0xffffffff
jmp 0x4a8f92
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebx + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x14], ecx
push eax
mov edx, dword [ebp + 0x18]
push edx
push ebx
push 0x4a8e70
push esi
mov ecx, dword [ebp + 0x14]
push ecx
call sub.KERNEL32.dll_CreateThread
test eax, eax
jne 0x4a8f86
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x718
jne 0x4a8f7f
push 0x59
call fcn.0049f42c
pop ecx
jmp 0x4a8f92
call fcn.0049f498
jmp 0x4a8f92
mov dword [ebx + 8], eax
test edi, edi
je 0x4a8f92
mov edx, dword [ebp - 4]
mov dword [edi], edx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461fb6
Capabilities:
Encode data using xor

Disassembly:
and al, 0x3c
dec edx
jecxz 0x461fc7
xchg ebp, eax
pop es
fcom dword [esi - 0x2e]
jb 0x461fc2
mov byte [esi], al
push esp
arpl word [edx + 0x36515dbf], sp
xor eax, 0x23cad92b
sub byte [ebx - 1], 0x9c
movsb byte es:[edi], byte [esi]
out dx, al
mov edi, 0x3536515d
sub ebx, ecx
retf 0x8223
aaa
das
cmpsd dword [esi], dword es:[edi]
lodsd eax, dword [esi]
call dword [eax]
xor dword [edi - 0x25], eax
mov bh, 0x7b
xchg esp, eax
pop ebp
push edx
in al, dx
jp 0x461fd6
sub dword [edx + 0x55da0468], edi
neg byte [esi + 0x3c81217f]
cmp dword [esi - 0x3e], edx
das
mov cl, 0x1b
out 0x3e, al
sub dword [ebx - 0x36102ccd], esp
out dx, al
adc byte [esi - 0x612c60c3], cl
lahf
rcr dword [esi + 0x2b34aab1], cl
Function at 0x100014b0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
xor ebx, ebx
push 0x1003d52c
mov dword [esp + 8], ebx
call fcn.10001330
push eax
lea eax, [esp + 0xc]
push eax
call fcn.10023b54
mov eax, dword [esp + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x10001569
push 2
push ebx
push eax
call fcn.10023a0b
add esp, 0xc
test eax, eax
je 0x10001502
mov ecx, dword [esp + 4]
push ecx
call fcn.10023905
add esp, 4
mov al, bl
pop ebx
pop ecx
ret
mov edx, dword [esp + 4]
push esi
push edi
push edx
call fcn.10023820
mov edi, dword [esp + 0x20]
mov esi, eax
add esp, 4
cmp dword [edi], esi
jge 0x10001531
mov eax, dword [esp + 0xc]
push eax
call fcn.10023905
add esp, 4
mov dword [edi], esi
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0xc]
push ebx
push ebx
push ecx
call fcn.10023a0b
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push edx
push esi
push 1
push eax
mov dword [edi], esi
call fcn.10023666
add esp, 0x1c
cmp eax, esi
jne 0x1000155a
mov bl, 1
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10023905
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
pop ecx
ret

Function at 0x100025c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10039572
mov eax, dword fs:[0]
push eax
sub esp, 0x40c
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10048ff4]
xor eax, esp
push eax
lea eax, [esp + 0x420]
mov dword fs:[0], eax
mov esi, dword [esp + 0x430]
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea ebp, [esi + 4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x18], esi
mov byte [ebp], bl
push 0x3ff
lea eax, [esp + 0x21]
push ebx
push eax
mov dword [esp + 0x434], ebx
mov dword [esp + 0x20], 1
mov byte [esp + 0x28], bl
call fcn.10024120
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 1
push ebx
push 0x1a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jl 0x100026ea
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10002662
sub eax, edx
push eax
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.10002020
mov eax, dword [esi + 0x14]
cmp eax, ebx
jbe 0x100026f7
lea edi, [eax - 1]
cmp edi, eax
jbe 0x1000268b
call fcn.10023113
mov ebx, 0x10
cmp dword [esi + 0x18], ebx
jb 0x1000269a
mov eax, dword [ebp]
jmp 0x1000269c
mov eax, ebp
cmp byte [eax + edi], 0x5c
je 0x100026cc
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x100026b1
call fcn.10023113
cmp dword [esi + 0x18], ebx
jb 0x100026bb
mov eax, dword [ebp]
jmp 0x100026bd
mov eax, ebp
cmp byte [eax + edi], 0x2f
je 0x100026cc
push 0x14
push str.IQIYI_VideoLStyle_
jmp 0x100026d3
push 0x13
push 0x1003d578
mov ecx, esi
call fcn.10002020
push 0x1d
push str.browseradapter_web_config.dat
mov ecx, esi
call fcn.10002020
jmp 0x100026f7
push ebx
push 0x1003d554
mov ecx, esi
call fcn.10001f40
mov eax, esi
mov ecx, dword [esp + 0x420]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x408]
xor ecx, esp
call fcn.100233b7
add esp, 0x418
ret
Function at 0x100028d0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
mov ebp, dword [esp + 0x78]
xor ebx, ebx
push ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x10048094]
push 0x1003d554
push eax
push ebx
mov ecx, 0x10048080
call fcn.10001340
test eax, eax
jne 0x10002a16
lea ecx, [esp + 8]
push ecx
push ebx
mov dword [esp + 0x10], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10002a16
mov edx, dword [esp + 8]
push edi
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
cmp edi, ebx
je 0x10002a15
lea eax, [esp + 0xc]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10002a0e
push 0x63
lea ecx, [esp + 0x15]
push ebx
push ecx
mov byte [esp + 0x1c], bl
call fcn.10024120
movzx edx, byte [edi + 0x199]
movzx eax, byte [edi + 0x198]
movzx ecx, byte [edi + 0x197]
push edx
movzx edx, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push ecx
movzx ecx, byte [edi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push str._02x__02x__02x__02x__02x__02x
push edx
call fcn.100241a5
lea eax, [esp + 0x3c]
add esp, 0x2c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100029a6
sub eax, edx
push eax
call fcn.10006e30
add esp, 4
cmp eax, ebx
je 0x10002a01
inc eax
push esi
push eax
call fcn.1002419a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10002a00
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100029d4
sub eax, edx
push esi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10006e70
add esp, 0xc
push esi
mov ecx, 0x10048080
call fcn.10002590
push esi
call fcn.10023123
add esp, 4
pop esi
push 0x10048080
call fcn.100013e0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
push 0xffffffffffffffff
push ebx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
push 0x10048080
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.10001e60
mov ecx, dword [esp + 0x70]
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.100233b7
add esp, 0x6c
ret
Function at 0x10007b30
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10048ff4]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x58]
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x54]
mov dword [ebx], vtable.CBlowFish.0
mov edx, dword [eax]
mov dword [ebx + 4], edx
mov edx, dword [eax + 4]
mov dword [ebx + 8], edx
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0x5c]
mov dword [ebx + 0xc], edx
mov eax, dword [eax + 4]
mov dword [ebx + 0x10], eax
cmp ebp, 1
jae 0x10007b94
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], str.Incorrect_key_length
call fcn.10022bda
push 0x10044944
lea edx, [esp + 0x10]
push edx
call fcn.10022f6a
cmp ebp, 0x38
jbe 0x10007b9e
mov ebp, 0x38
push esi
push edi
push ebp
push ecx
lea eax, [esp + 0x28]
push eax
call fcn.10024520
push 0x1000
lea eax, [ebx + 0x5c]
push 0x1003d870
lea edi, [ebx + 0x14]
mov ecx, 0x12
mov esi, 0x1003d828
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10024520
lea edx, [ebx + 0x14]
add esp, 0x18
lea ecx, [esp + 0x20]
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0x12
xor edx, edx
mov esi, 4
lea ecx, [ecx]
movzx edi, byte [ecx]
shl edx, 8
inc eax
dec esi
or edx, edi
inc ecx
cmp eax, ebp
jne 0x10007c05
xor eax, eax
lea ecx, [esp + 0x20]
test esi, esi
jne 0x10007bf0
mov esi, dword [esp + 0x14]
xor dword [esi], edx
add esi, 4
sub dword [esp + 0x10], 1
mov dword [esp + 0x14], esi
jne 0x10007be6
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
lea esi, [ebx + 0x14]
lea ebx, [ebx]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10006f20
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x12
jb 0x10007c30
lea eax, [ebx + 0x5c]
mov ebp, eax
mov dword [esp + 0x10], 4
xor edi, edi
mov esi, ebp
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10006f20
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], edx
add esi, 4
inc edi
mov dword [esi], eax
inc edi
add esi, 4
cmp edi, 0x100
jl 0x10007c66
add ebp, 0x400
sub dword [esp + 0x10], 1
jne 0x10007c62
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.100233b7
add esp, 0x4c
ret 0xc