joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424560
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0xff
mov eax, dword [ebp + 8]
push eax
push 0x486b00
call fcn.00427244
add esp, 0xc
lea edx, [ebp - 8]
push 0
push 0
push 0
push edx
push 0x486b00
call fcn.004247d0
add esp, 0x14
push 0x437f88
lea ecx, [ebp - 8]
push ecx
call fcn.0042114c
add esp, 8
mov byte [0x486b00], 0
push 0
push 0
push 0
push 0
push 0
push 0xff
push 0x486b00
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.dll_GetVolumeInformationA
test eax, eax
je 0x4245d3
mov eax, 0x486b00
jmp 0x4245d5
xor eax, eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x4245dc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
test byte [ebx + 8], 8
je 0x424601
cmp dword [ebx + 4], 0xfffffffe
jne 0x424601
or eax, 0xffffffff
jmp 0x424739
test byte [ebx + 8], 8
je 0x42466e
cmp dword [ebx + 4], 0xffffffff
jne 0x42466e
mov dword [esi + 8], 8
mov edx, dword [ebx + 0xc]
push edx
call fcn.00424560
pop ecx
mov edi, eax
test edi, edi
je 0x424656
add esi, 0x10
xor eax, eax
push esi
push edi
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
pop esi
mov dword [ebx + 4], 0xfffffffe
xor eax, eax
jmp 0x424739
call fcn.0042776c
test eax, eax
jne 0x424666
xor eax, eax
jmp 0x424739
or eax, 0xffffffff
jmp 0x424739
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x42467b
cmp eax, 0xfffffffe
jne 0x4246a2
mov dword [ebx + 4], 0xffffffff
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 0xc]
push ecx
call sub.KERNEL32.dll_FindFirstFileA
mov edi, eax
mov dword [ebx + 4], edi
cmp edi, 0xffffffff
setne al
and eax, 1
jmp 0x4246b2
lea edx, [ebp - 0x148]
push edx
mov ecx, dword [ebx + 4]
push ecx
call sub.KERNEL32.dll_FindNextFileA
test eax, eax
jne 0x4246c8
call fcn.0042776c
test eax, eax
jne 0x4246c3
xor eax, eax
jmp 0x424739
or eax, 0xffffffff
jmp 0x424739
mov eax, dword [ebp - 0x148]
test al, 0x16
je 0x4246dc
mov edx, dword [ebx + 8]
and edx, eax
test dl, 0x16
je 0x42466e
mov ecx, dword [ebp - 0x148]
mov dword [esi + 8], ecx
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x134]
push edx
call sub.KERNEL32.dll_FileTimeToLocalFileTime
lea ecx, [esi + 0xc]
push ecx
lea eax, [esi + 0xe]
push eax
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.dll_FileTimeToDosDateTime
mov ecx, dword [ebp - 0x128]
xor eax, eax
mov dword [esi + 4], ecx
add esi, 0x10
push esi
lea edi, [ebp - 0x11c]
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 esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426f8c
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 0x426fa8
call fcn.0042778c
jmp 0x427017
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
jne 0x426fc4
call fcn.0042778c
jmp 0x427017
cmp dword [0x486e40], 1
je 0x427015
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.0042b0c0
pop ecx
cmp al, 0x41
jl 0x427015
cmp al, 0x5a
jg 0x427015
cmp byte [ebp - 0x107], 0x3a
jne 0x427015
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 0x427015
call fcn.0042778c
jmp 0x427017
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42701c
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 0x42704b
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x427055
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 0x427060
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 0x4270c6
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 0x4270c6
call fcn.0042778c
jmp 0x427101
push edi
call sub.KERNEL32.dll_SetCurrentDirectoryA
dec eax
je 0x4270d6
call fcn.0042778c
jmp 0x427101
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x4270fc
push edi
call sub.KERNEL32.dll_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x4270fa
cmp ebx, 1
je 0x4270fa
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x4270e7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427244
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.0042bb3c
pop ecx
mov ebx, eax
test eax, eax
jne 0x427268
xor eax, eax
jmp 0x427311
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 0x427289
cmp esi, 0x104
jb 0x427294
push ebx
call fcn.0042ba34
pop ecx
xor eax, eax
jmp 0x427311
cmp byte [ebx + 1], 0x3a
jne 0x4272c4
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 0x4272c4
push ebx
call fcn.0042ba34
pop ecx
xor eax, eax
jmp 0x427311
inc esi
test edi, edi
je 0x427307
cmp esi, dword [ebp + 0x10]
jbe 0x4272d9
push ebx
call fcn.0042ba34
pop ecx
xor eax, eax
jmp 0x427311
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.0042ba34
pop ecx
mov eax, edi
jmp 0x427311
push esi
push ebx
call fcn.0042bfd0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x427318
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 0x42735d
lea eax, [ebp - 0x10c]
push eax
push 0x103
call sub.KERNEL32.dll_GetCurrentDirectoryA
test eax, eax
je 0x42734c
cmp eax, dword [ebp + 0x10]
jle 0x4273e6
mov dword [0x4390c8], 8
xor eax, eax
jmp 0x427451
cmp dword [0x486e40], 1
jne 0x4273a2
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 0x4273e6
xor eax, eax
jmp 0x427451
call sub.KERNEL32.dll_GetLogicalDrives
lea ecx, [ebx - 1]
mov edx, 1
shl edx, cl
test edx, eax
je 0x4273e2
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 0x4273e6
xor eax, eax
jmp 0x427451
lea edx, [ebp - 0x10c]
push edx
call fcn.00421258
pop ecx
cmp eax, dword [ebp + 0x10]
jl 0x427406
mov dword [0x4390c8], 0x22
xor eax, eax
jmp 0x427451
test edi, edi
jne 0x427428
mov edx, dword [ebp + 0x10]
push edx
call fcn.0042bb3c
pop ecx
mov edi, eax
test eax, eax
jne 0x427428
mov dword [0x4390c8], 8
xor eax, eax
jmp 0x427451
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 0x4277d4
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 0x4277ff
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 0x427813
call fcn.0042778c
jmp 0x427815
push esi
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x427813
call fcn.0042778c
jmp 0x427815
mov eax, ebx
pop esi
pop ebx
pop ebp
ret
Function at 0x427b98
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
test byte [ebp + 0xd], 0xc0
jne 0x427bb7
mov eax, dword [0x437f90]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x427bc4
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x427bf1
je 0x427c03
sub ecx, 0x100
je 0x427c11
sub ecx, 0x100
je 0x427c18
sub ecx, 0x100
je 0x427c0a
jmp 0x427c1f
sub ecx, 0x600
je 0x427c18
sub ecx, 0x100
je 0x427c03
jmp 0x427c1f
mov edi, 1
jmp 0x427c24
mov edi, 2
jmp 0x427c24
mov edi, 4
jmp 0x427c24
mov edi, 5
jmp 0x427c24
mov edi, 3
test byte [ebp + 0xd], 1
je 0x427c4b
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x438518]
test al, 0x80
je 0x427c44
mov ebx, 0x80
jmp 0x427c5d
mov ebx, 1
jmp 0x427c5d
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x427c5d
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x427c6f
je 0x427c78
dec eax
je 0x427c81
jmp 0x427c8a
mov dword [ebp - 4], 0x80000000
jmp 0x427c99
mov dword [ebp - 4], 0x40000000
jmp 0x427c99
mov dword [ebp - 4], 0xc0000000
jmp 0x427c99
push 1
call fcn.00427728
pop ecx
mov ebx, eax
jmp 0x427d85
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x427cb5
sub eax, 0x10
je 0x427cbc
sub eax, 0x10
je 0x427cc5
sub eax, 0x10
je 0x427cce
jmp 0x427cce
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x427cd5
mov dword [ebp - 8], 1
jmp 0x427cd5
mov dword [ebp - 8], 2
jmp 0x427cd5
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 0x427d3e
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x427d33
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x427d33
add ebx, 0xffffffb2
push ebx
call fcn.00427728
pop ecx
mov ebx, eax
jmp 0x427d85
mov edi, esi
push edi
call fcn.00427b08
pop ecx
test eax, eax
je 0x427d52
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x427d5e
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.00427484
add esp, 8
mov ebx, eax
inc eax
jne 0x427d85
push 4
call fcn.00427728
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42be18
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 0x42c280
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x4390ec], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x42c338
cmp byte [0x430136], 0
je 0x42c2f2
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.0042b068
add esp, 8
mov ebx, eax
test eax, eax
jne 0x42c2db
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0042b068
add esp, 8
mov ebx, eax
test eax, eax
jne 0x42c2db
lea ebx, [ebp - 0x54]
jmp 0x42c2dc
inc ebx
call fcn.0042c238
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x42c359
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4390f0
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00421258
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4390f3
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x42c359
cmp dword [0x4390ec], 0xffffffff
je 0x42c359
mov eax, dword [0x4390ec]
test eax, eax
je 0x42c359
cmp byte [eax], 0
je 0x42c359
push esi
push eax
call fcn.0042c3e8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c960
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x486ed0], 0
jne 0x42c9e1
cmp dword [0x486eec], 0
jne 0x42c990
call sub.KERNEL32.dll_GetEnvironmentStrings
mov dword [0x486eec], eax
test eax, eax
jne 0x42c990
push str.GetEnvironmentStrings_failed
call fcn.0042c370
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x486eec]
jmp 0x42c9a4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00421258
pop ecx
mov edi, eax
test eax, eax
jne 0x42c99c
lea edi, [ebp + 1]
push edi
call fcn.0042bb3c
pop ecx
mov ebx, eax
mov dword [0x486ed4], ebx
test ebx, ebx
jne 0x42c9ce
xor eax, eax
jmp 0x42caa4
push edi
mov edx, dword [0x486eec]
push edx
push ebx
call fcn.00421038
add esp, 0xc
jmp 0x42ca01
xor esi, esi
mov ebx, dword [0x486ed0]
jmp 0x42c9fb
push eax
call fcn.00421258
pop ecx
test eax, eax
jne 0x42c9f7
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x42c9eb
lea ebx, [esi + 4]
push 4
mov dword [0x486ed8], ebx
inc ebx
push ebx
call fcn.0042b0dc
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x42ca24
xor eax, eax
jmp 0x42caa4
cmp dword [0x486ed0], 0
jne 0x42ca55
xor esi, esi
mov ebx, dword [0x486ed4]
mov eax, dword [esp]
mov ebp, eax
jmp 0x42ca46
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00421258
pop ecx
mov edi, eax
test eax, eax
jne 0x42ca3c
jmp 0x42ca86
xor esi, esi
mov ebx, dword [0x486ed0]
mov eax, dword [esp]
mov edi, eax
jmp 0x42ca80
push eax
call fcn.00421258
pop ecx
test eax, eax
je 0x42ca75
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x42ca79
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x42ca64
mov eax, dword [0x486ed0]
test eax, eax
je 0x42ca96
push eax
call fcn.0042ba34
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x486ed0], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x448ce0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e7030]
xor edx, edx
cmp eax, edx
jne 0x448d06
xor eax, eax
mov byte [eax + 0x4e6f30], al
inc eax
cmp eax, 0x100
jl 0x448cee
mov dword [0x4e7030], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e6f30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x448d97
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x448d6a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x448d38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x448e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x448e63
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x448e4a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x44d321
cmp eax, 8
jg 0x44d321
cmp dword [esp + 0x8c], 2
jl 0x44d321
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x44d321
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x44d321
mov eax, dword [esp + 0x80]
test eax, eax
je 0x44d187
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x44d30a
mov ebp, dword [0x4a85b4]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x44d1b9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x44d2f1
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x44d1d9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
nop
nop
nop
nop
nop
nop
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x44d218
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
nop
nop
nop
nop
nop
nop
lea ecx, [esp + 0x28]
push ecx
nop
nop
nop
nop
nop
nop
test eax, eax
jne 0x44d2d8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.0044c710
cmp eax, 1
jne 0x44d302
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0044cfc0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x44d1cd
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x44d30a
jmp 0x44d1a4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0044c310
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x44f8a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x44fa38
cmp ebp, ebx
jle 0x44fa38
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x44f8fe
dec eax
or eax, 0xfffffff8
inc eax
je 0x44f905
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x44f914
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44f91b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00498167
add esp, 4
cmp eax, ebx
je 0x44f93c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00498167
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x44fa2e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x44fa15
mov al, byte [edx]
cmp al, 0xc0
jbe 0x44fa01
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x44f9f6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x44fa04
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x44fa04
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x44f9a0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x44f991
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret