joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010f40
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x1009cf88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov ebp, 8
cmp dword [esi + 0x18], ebp
lea edi, [esi + 4]
jb 0x10010f8b
mov ecx, dword [edi]
jmp 0x10010f8d
mov ecx, edi
cmp dword [ebx + 0x18], ebp
jb 0x10010f97
mov eax, dword [ebx + 4]
jmp 0x10010f9a
lea eax, [ebx + 4]
push 0xb
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x10011022
cmp dword [esi + 0x18], ebp
jb 0x10010faf
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10011044
xor edi, edi
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
call fcn.10002490
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], edi
call fcn.100114f0
test al, al
je 0x10011031
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.10010f00
test al, al
je 0x10011031
mov eax, esi
mov ecx, ebx
call fcn.10010f00
test al, al
je 0x10011026
lea eax, [esp + 0x14]
push eax
call fcn.10011070
add esp, 4
lea ecx, [esp + 0x14]
call fcn.10008190
mov al, 1
jmp 0x10011046
mov eax, esi
lea ecx, [esp + 0x14]
call fcn.10010f00
cmp dword [esp + 0x2c], ebp
jb 0x10011044
mov ecx, dword [esp + 0x18]
push ecx
call fcn.10079508
add esp, 4
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x2c
ret

Function at 0x10011070
Capabilities:
Delete file
Set file attributes

Disassembly:
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x18], 8
push esi
push edi
lea edi, [ebp + 4]
jb 0x10011087
mov edx, dword [edi]
jmp 0x10011089
mov edx, edi
push ebx
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100110a2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10004560
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x100110cf
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
sete bl
cmp dword [esp + 0x28], esi
jb 0x100110ef
mov eax, dword [esp + 0x14]
push eax
call fcn.10079508
add esp, 4
test bl, bl
pop ebx
je 0x100110fd
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x1c
ret
cmp dword [ebp + 0x18], esi
jb 0x10011117
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
test eax, eax
pop esi
setne al
pop ebp
add esp, 0x1c
ret
Function at 0x10011130
Capabilities:
Get common file path

Disassembly:
sub esp, 0x624
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x620], eax
push edi
xor edi, edi
cmp dword [0x100ba328], edi
je 0x10011176
push 0xffffffffffffffff
push edi
push 0x100ba314
mov ecx, esi
call fcn.10002490
mov al, 1
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x624
ret
push 0x20a
lea eax, [esp + 0xa]
push edi
push eax
mov word [esp + 0x10], di
call fcn.1007aac0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10011248
push 0x410
lea edx, [esp + 0x216]
push edi
push edx
mov word [esp + 0x21a], di
mov word [esp + 0x21c], di
call fcn.1007aac0
add esp, 0xc
push 0x208
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x10011224
cmp eax, edi
je 0x10011224
lea edx, [esp + 0x210]
push edx
mov ecx, esi
mov word [esp + eax*2 + 0x214], di
call fcn.10004260
mov al, 1
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x624
ret
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.10004260
mov al, 1
pop edi
mov ecx, dword [esp + 0x620]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x624
ret
mov ecx, dword [esp + 0x624]
pop edi
xor ecx, esp
xor al, al
call fcn.1007a1bc
add esp, 0x624
ret

Function at 0x10011260
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push 0x20a
lea eax, [esp + 0x12]
push 0
push eax
mov edi, ecx
mov esi, edx
mov word [esp + 0x18], 0
call fcn.1007aac0
mov eax, 8
add esp, 0xc
cmp dword [esi + 0x18], eax
jb 0x100112ac
mov esi, dword [esi + 4]
jmp 0x100112af
add esi, 4
cmp dword [edi + 0x18], eax
jb 0x100112b9
mov edi, dword [edi + 4]
jmp 0x100112bc
add edi, 4
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jbe 0x10011316
lea eax, [esp + 0xc]
mov word [esp + 0x216], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100112e0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
call fcn.10004560
pop edi
pop esi
mov al, 1
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebp
xor ecx, esp
xor al, al
call fcn.1007a1bc
add esp, 0x210
ret
Function at 0x100114f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1009cf43
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
xor edi, edi
push 0xffffffffffffffff
mov esi, ecx
push edi
mov ebx, 7
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x20], esi
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
call fcn.10002490
mov ecx, esi
lea esi, [esp + 0x50]
mov dword [esp + 0x98], edi
call fcn.10009340
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x100115c1
mov ecx, dword [esp + 0x80]
sub ecx, eax
push ecx
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.10003790
add esp, 0xc
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 2
call fcn.10002490
cmp dword [esp + 0x30], 8
jb 0x100115c1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10079508
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov word [esp + 0x38], di
mov esi, 1
push esi
lea ecx, [esp + 0x38]
lea ebx, [esp + 0x54]
lea edi, [esp + 0x70]
mov byte [esp + 0x9c], 3
call fcn.10011730
add esp, 4
test al, al
je 0x10011628
jmp 0x10011600
add esi, 1
cmp esi, 0x100000
jg 0x100116be
push esi
lea ecx, [esp + 0x38]
lea ebx, [esp + 0x54]
lea edi, [esp + 0x70]
call fcn.10011730
add esp, 4
test al, al
jne 0x10011600
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
xor esi, esi
push esi
lea edx, [esp + 0x3c]
push edx
call fcn.10002490
mov edi, 8
cmp dword [esp + 0x4c], edi
jb 0x10011653
mov eax, dword [esp + 0x38]
push eax
call fcn.10079508
add esp, 4
cmp dword [esp + 0x68], edi
mov ebx, 7
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x10011678
mov ecx, dword [esp + 0x54]
push ecx
call fcn.10079508
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x1001169b
mov edx, dword [esp + 0x70]
push edx
call fcn.10079508
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1007a1bc
mov esp, ebp
pop ebp
ret
mov edi, 8
cmp dword [esp + 0x4c], edi
jb 0x100116d6
mov edx, dword [esp + 0x38]
push edx
call fcn.10079508
add esp, 4
xor esi, esi
cmp dword [esp + 0x68], edi
mov ebx, 7
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x100116fd
mov eax, dword [esp + 0x54]
push eax
call fcn.10079508
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x10011720
mov ecx, dword [esp + 0x70]
push ecx
call fcn.10079508
add esp, 4
xor al, al
jmp 0x1001169d
Function at 0x10011730
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x4c
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
cdq
push esi
push edx
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.100031b0
add esp, 8
push 0xffffffffffffffff
push 0
push edi
mov ecx, esi
call fcn.10002490
push 1
push 0x100a8870
mov ecx, esi
call fcn.10001ed0
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10011775
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.10001ed0
push 1
push 0x100a8874
mov ecx, esi
call fcn.10001ed0
push 0xffffffffffffffff
push 0
push ebx
mov ecx, esi
call fcn.10002380
cmp dword [esi + 0x18], 8
jb 0x100117b6
mov esi, dword [esi + 4]
jmp 0x100117b9
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
mov ecx, dword [esp + 0x4c]
pop esi
xor ecx, esp
call fcn.1007a1bc
add esp, 0x4c
ret

Function at 0x10011990
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x210
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0xe]
push edi
push eax
mov dword [esp + 0x10], edi
mov word [esp + 0x14], di
call fcn.1007aac0
mov ecx, dword [esp + 0x224]
add esp, 0xc
push edi
push ecx
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
jne 0x100119f2
push edi
push 0x100a5f48
jmp 0x10011a15
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10011a00
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.10004560
mov ecx, dword [esp + 0x210]
pop edi
xor ecx, esp
mov eax, esi
call fcn.1007a1bc
add esp, 0x210
ret

Function at 0x10011ad0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x38
lea eax, [esp + 8]
push 0
push eax
call fcn.1007aac0
add esp, 0xc
mov dword [esp], 0x3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 8], eax
lea eax, [esp]
push eax
mov dword [esp + 0x10], str.open
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10011abc
mov ecx, 0x20
cmp ecx, dword [esp + 0x20]
sbb eax, eax
neg eax
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret
mov eax, dword [esp + 8]
mov edx, 8
cmp dword [eax + 0x18], edx
jb 0x10011ae3
mov ecx, dword [eax + 4]
jmp 0x10011ae6
lea ecx, [eax + 4]
mov eax, dword [esp + 4]
cmp dword [eax + 0x18], edx
jb 0x10011aff
mov eax, dword [eax + 4]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x10011a40
add eax, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x10011a40
Function at 0x10012570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10098c48
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], edi
jne 0x100125cf
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x100a5f48
mov ecx, esi
mov word [esi + 4], di
call fcn.10004560
jmp 0x10012619
push 0xfde9
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10011f80
add esp, 0x10
push 0xffffffffffffffff
mov dword [esp + 0x3c], edi
push edi
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov ecx, esi
mov word [esi + 4], di
call fcn.10002490
cmp dword [esp + 0x28], 8
jb 0x10012619
mov edx, dword [esp + 0x14]
push edx
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1007a1bc
add esp, 0x30
ret
Function at 0x10015bc0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1009ed12
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi], 0x100a9930
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x24], ebx
push edi
mov dword [esp + 0x1c], 1
call fcn.10016960
mov dword [esp + 0x20], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.10017280
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x100bcf68]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x24], 2
call fcn.10016b10
test eax, eax
jne 0x10015cc1
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x10015cb0
or eax, 4
and eax, 0x17
test dword [ecx + 0xc], eax
mov dword [ecx + 8], eax
je 0x10015cc1
push ebx
call fcn.10012ef0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x10017280
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1009b91b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10078fdf
push 4
mov dword [esp + 0x20], 0
call fcn.10079665
mov edi, eax
add esp, 4
test edi, edi
je 0x10017300
call fcn.10078e70
mov dword [edi], eax
call fcn.10078ca4
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.10078fac
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100172f5
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.10078fcd
jmp 0x10017302
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x1001be80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009cde8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100b7bd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0xc]
xor ebx, ebx
lea esi, [esp + 0x14]
mov dword [esp + 0x10], ebx
call fcn.1002b8d0
mov dword [esp + 0x38], ebx
cmp dword [eax + 0x18], 0x10
jb 0x1001bec7
mov edx, dword [eax + 4]
jmp 0x1001beca
lea edx, [eax + 4]
mov esi, dword [esp + 0x40]
mov eax, edx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1001bee0
sub eax, edi
push eax
push edx
mov ecx, esi
call fcn.10004490
cmp dword [esp + 0x2c], 0x10
jb 0x1001bf08
mov eax, dword [esp + 0x18]
push eax
call fcn.10079508
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4
Function at 0x1001e0c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
xor eax, eax
push edi
mov edi, dword [esp + 0x24]
cmp esi, edi
sete al
mov dword [esp + 0x10], ecx
mov edx, ebx
mov dword [esp + 0x14], eax
mov eax, ebx
and eax, 7
je 0x1001e0f6
sub edx, eax
add edx, 8
mov dword [esp + 0x1c], edx
jmp 0x1001e0fa
mov dword [esp + 0x1c], ebx
xor ebp, ebp
test edx, edx
mov dword [esp + 0x24], ebp
ja 0x1001e118
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x14], 0
je 0x1001e167
lea eax, [ebp + 7]
cmp eax, ebx
jae 0x1001e13a
lea edx, [esi + 4]
push edx
mov eax, ecx
push esi
call fcn.1001d530
add esi, 8
jmp 0x1001e203
mov eax, edx
sub eax, ebx
test eax, eax
lea ecx, [esi + ebx]
jle 0x1001e151
push eax
push 0
push ecx
call fcn.1007aac0
add esp, 0xc
lea eax, [esi + 4]
push eax
mov eax, dword [esp + 0x14]
push esi
call fcn.1001d530
add esi, 8
jmp 0x1001e203
lea edx, [ebp + 7]
cmp edx, ebx
jae 0x1001e1ab
movzx eax, byte [esi]
mov byte [edi], al
movzx edx, byte [esi + 1]
mov byte [edi + 1], dl
movzx eax, byte [esi + 2]
mov byte [edi + 2], al
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx edx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], dl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx edx, byte [esi + 6]
mov byte [edi + 6], dl
movzx edx, byte [esi + 7]
push eax
mov byte [edi + 7], dl
mov eax, ecx
jmp 0x1001e1f7
mov eax, ebx
sub eax, ebp
xor edx, edx
test eax, eax
mov ecx, edi
jle 0x1001e1dc
mov ebp, eax
mov edx, eax
jmp 0x1001e1c0
mov bl, byte [esi]
mov byte [ecx], bl
add ecx, 1
add esi, 1
sub ebp, 1
jne 0x1001e1c0
cmp eax, 8
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
jge 0x1001e1ef
mov eax, 8
sub eax, edx
push eax
push 0
push ecx
call fcn.1007aac0
add esp, 0xc
mov eax, dword [esp + 0x10]
lea ecx, [edi + 4]
push ecx
push edi
call fcn.1001d530
add esi, 8
add edi, 8
add ebp, 8
cmp ebp, dword [esp + 0x1c]
mov dword [esp + 0x24], ebp
jb 0x1001e110
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x1001e230
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
cmp esi, edi
sete al
mov ebx, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x1001e2c4
push ebp
lea ebp, [eax - 1]
shr ebp, 3
add ebp, 1
lea ebx, [ebx]
cmp dword [esp + 0x14], 0
je 0x1001e278
lea ecx, [esi + 4]
push ecx
push esi
mov eax, ebx
call fcn.1001d8e0
add esi, 8
jmp 0x1001e2be
movzx edx, byte [esi]
mov byte [edi], dl
mov al, byte [esi + 1]
mov byte [edi + 1], al
movzx ecx, byte [esi + 2]
mov byte [edi + 2], cl
movzx edx, byte [esi + 3]
mov byte [edi + 3], dl
movzx ecx, byte [esi + 4]
lea eax, [edi + 4]
mov byte [eax], cl
movzx edx, byte [esi + 5]
mov byte [edi + 5], dl
movzx ecx, byte [esi + 6]
mov byte [edi + 6], cl
movzx edx, byte [esi + 7]
push eax
push edi
mov eax, ebx
mov byte [edi + 7], dl
call fcn.1001d8e0
add esi, 8
add edi, 8
sub ebp, 1
jne 0x1001e260
pop ebp
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x1001e2d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x100b7bd0]
xor eax, esp
mov dword [esp + 0x5c], eax
test ebx, ebx
push esi
push edi
mov esi, ecx
mov edi, edx
je 0x1001e361
cmp esi, 1
jl 0x1001e361
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push 0x58
push eax
mov dword [edi + 0xc], eax
lea eax, [esp + 0x10]
push eax
call fcn.1007aac0
xor ecx, ecx
add esp, 0xc
cmp esi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
jle 0x1001e358
push ecx
lea ecx, [esp + 0xc]
push esi
push ecx
lea eax, [esi*8]
mov ecx, esi
mov edx, ebx
call fcn.10032390
add esp, 0xc
lea esi, [esp + 8]
call fcn.10032440
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.1007a1bc
mov esp, ebp
pop ebp
ret
Function at 0x1001e7d0
Capabilities:
Encode data using base64

Disassembly:
push esi
mov esi, edx
test esi, esi
push edi
mov edi, eax
je 0x1001e8df
test edi, edi
jle 0x1001e8df
cmp edi, 3
jl 0x1001e87d
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx*4]
sub eax, edx
neg eax
add edi, eax
push ebx
jmp 0x1001e810
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
add ecx, 1
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
add esi, 3
sub edx, 1
jne 0x1001e810
pop ebx
test edi, edi
jle 0x1001e8d7
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
add ecx, 1
shl al, 4
cmp edi, 1
jle 0x1001e8a7
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
cmp edi, 2
jge 0x1001e8be
mov al, 0x3d
jmp 0x1001e8cc
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
add ecx, 1
mov byte [ecx], 0x3d
add ecx, 1
pop edi
mov byte [ecx], 0
mov al, 1
pop esi
ret
pop edi
xor al, al
pop esi
ret