joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4752d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x8c
call fcn.004bd3e0
mov eax, dword [0x53d190]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0xa0]
xor eax, eax
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x9c]
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x10], edx
test edi, edi
je 0x475336
cmp edi, dword [esi]
je 0x47532d
test ebp, ebp
je 0x4753b0
test ebx, ebx
js 0x4753b0
mov eax, 1
mov dword [esi], edi
jmp 0x47533c
mov edi, dword [esi]
test edi, edi
je 0x4753b0
test ebp, ebp
je 0x4754cb
push edi
call fcn.004418f0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x475370
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.00434b80
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x4753cb
push dword [esp + 0x10]
lea eax, [esi + 4]
push edi
push eax
call fcn.0043f5a0
add esp, 0xc
test eax, eax
je 0x4753b0
push ebx
push ebp
lea ebx, [esi + 4]
push ebx
call fcn.0043f750
add esp, 0xc
test eax, eax
je 0x4753b0
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
push ebx
call fcn.0043f500
add esp, 0xc
test eax, eax
jne 0x4753e7
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004bcc56
add esp, 0x8c
ret
cmp ebx, 0x80
ja 0x4753b0
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.004becc0
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x47540a
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.004beb60
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x475410
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.0043f5a0
add esp, 0xc
test eax, eax
je 0x4753b0
push edi
call fcn.004418f0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0043f750
add esp, 0x10
test eax, eax
je 0x4753b0
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x80
jl 0x475460
push dword [esp + 0x10]
lea ebx, [esi + 0x34]
push edi
push ebx
call fcn.0043f5a0
add esp, 0xc
test eax, eax
je 0x4753b0
push edi
call fcn.004418f0
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0043f750
add esp, 0x10
test eax, eax
je 0x4753b0
lea eax, [esi + 0x1c]
push eax
lea eax, [esi + 4]
push eax
call fcn.0043f820
add esp, 8
test eax, eax
je 0x4753b0
mov eax, 1
jmp 0x4753b2
test eax, eax
je 0x4754a9
jmp 0x47540e
Function at 0x483390
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ecx, dword [edx + 4]
mov ebp, edx
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
cmovge ebp, edi
cmovge edi, edx
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x4833b9
mov eax, ebx
jmp 0x4833c3
push eax
push ebx
call fcn.00451a80
add esp, 8
test eax, eax
jne 0x4833cb
pop edi
pop ebp
pop ebx
ret
xor eax, eax
cmp dword [ebp + 4], eax
jle 0x4833ea
push esi
mov ecx, dword [edi]
mov edx, dword [ebp]
mov esi, dword [ecx + eax*4]
mov ecx, dword [ebx]
xor esi, dword [edx + eax*4]
mov dword [ecx + eax*4], esi
inc eax
cmp eax, dword [ebp + 4]
jl 0x4833d3
pop esi
cmp eax, dword [edi + 4]
jge 0x483400
nop
mov ecx, dword [edi]
mov edx, dword [ebx]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, dword [edi + 4]
jl 0x4833f0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
test ecx, ecx
jle 0x483423
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x483420
dec ecx
test ecx, ecx
jg 0x483412
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x4d3223
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d3099

Function at 0x4d70eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d6c3e
Function at 0x401028
Capabilities:
Create process on windows
Get common file path

Disassembly:
jmp 0x401540
sub esp, 0x800
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x4015a5
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ebx, [ebx]
call fcn.00401023
xor byte [esi + ebx], al
cmp edi, 0x679
jne 0x40159f
lea eax, [esp + 0x10]
push eax
push 0
call ebp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
inc esi
cmp esi, edi
jl 0x401560
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x800
ret
Function at 0x40a68c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f230]
jne 0x40a696
repz ret
jmp fcn.004115c7

Function at 0x40b6dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407493
and dword [ebp - 0x14], 0
cmp dword [0x4733e0], 0
mov dword [ebp - 0x18], eax
jne 0x40b78f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b837
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b837
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4733e0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4733e4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4733e8], eax
call edi
push eax
call esi
mov dword [0x4733f0], eax
test eax, eax
je 0x40b78f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4733ec], eax
mov eax, dword [0x4733ec]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b7e8
cmp dword [0x4733f0], ecx
je 0x40b7e8
push eax
call esi
push dword [0x4733f0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b7e8
test ebx, ebx
je 0x40b7e8
call edi
test eax, eax
je 0x40b7df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b7df
test byte [ebp - 8], 1
jne 0x40b7e8
or dword [ebp + 0x10], 0x200000
jmp 0x40b81b
mov eax, dword [0x4733e4]
cmp eax, dword [ebp - 0x18]
je 0x40b81b
push eax
call esi
test eax, eax
je 0x40b81b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b81b
mov eax, dword [0x4733e8]
cmp eax, dword [ebp - 0x18]
je 0x40b81b
push eax
call esi
test eax, eax
je 0x40b81b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4733e0]
call esi
test eax, eax
je 0x40b837
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b839
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a68c
leave
ret
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x62
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x40895e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x4085d8
mov edx, 0x8559acf3
sub edx, edx
call fcn.00408983
dec edx
xor dword [edi], esi
add edx, edx
inc edi
add edx, edx
cmp edi, ebx
jne fcn.0040895e
inc eax
add eax, 0x10fad82f
ret
Function at 0x10570058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105701a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1057007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1057006a
add dl, dl
jne 0x10570089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105700dc
xor eax, eax
add dl, dl
jne 0x10570096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1057017d
add dl, dl
jne 0x105700a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105700b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105700bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105700c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105700d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10570075
mov eax, 1
add dl, dl
jne 0x105700ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105700f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105700e1
sub eax, ebx
mov ebx, 1
jne 0x10570128
mov ecx, 1
add dl, dl
jne 0x1057010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10570119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10570105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10570075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1057013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1057014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10570136
cmp eax, 0x7d00
jae 0x1057016d
cmp eax, 0x500
jb 0x10570168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10570075
cmp eax, 0x7f
ja 0x10570170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10570075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1057019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10570075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43b62b
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
or esi, esi
call fcn.0043b654
and esi, edx
and esi, edx
mov esi, esi
xor dword [ebx], edi
sub esi, edx
sub esi, esi
push edx
pop esi
inc ebx
add esi, esi
cmp ebx, ecx
jne fcn.0043b62b
or edx, esi
and esi, edx
ret
Function at 0x1000b44c
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x1000b49d
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
add al, 0x8d
dec eax
or byte [ebx], al
ror byte [ecx - 0x35c4f7b3], 1
jae 0x1000b498
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x1000b482
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1000b48a
cmp edx, ebx
jne 0x1000b5d8
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000b459
add eax, dword [eax + 4]
jmp 0x1000b446
mov dword [ebp + 0xc], ebx
jmp 0x1000b4a8
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000b4c0
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000b4de
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000b53c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000b523
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000b52c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000b536
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000b518
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000b4a2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000b589
dec eax
je 0x1000b580
sub eax, 3
je 0x1000b577
mov dword [ebp - 4], 0x40
jmp 0x1000b5a6
mov dword [ebp - 4], 4
jmp 0x1000b58c
mov dword [ebp - 4], 0x20
jmp 0x1000b58c
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000b5d8
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000b558
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000ade9
adc al, al
jg 0x1000b56c
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x1000b5e4
Function at 0x1000c6a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.1000adf9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000adae
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.1000ade9
xchg edi, eax
push esi
cmp dword [ebx], esp
lea eax, [ebp - 0x6f4]
push eax
call fcn.1000adf9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000adae
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
ror byte [edi], 0x84
stc
push es
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x1000c964
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
invalid
invalid
xchg ecx, eax
Function at 0x404417
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x42692c], 0
push esi
mov esi, edx
jne 0x40444c
mov edx, ecx
lea ecx, [ebp - 0xc]
call fcn.00403297
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov esi, eax
push dword [ebp - 0xc]
call fcn.00403174
pop ecx
test esi, esi
jmp 0x404456
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x40445c
mov al, 1
jmp 0x40445e
xor al, al
pop esi
leave
ret

Function at 0x404461
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x42692c], 0
jne 0x404493
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.00403297
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
push dword [ebp - 0xc]
call fcn.00403174
pop ecx
test esi, esi
pop esi
jmp 0x40449c
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4044a2
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x40451a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x42692c], 0
jne 0x40454f
mov edx, ecx
push esi
lea ecx, [ebp - 0xc]
call fcn.00403297
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
push dword [ebp - 0xc]
call fcn.00403174
pop ecx
test esi, esi
pop esi
jmp 0x40455a
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x404560
mov al, 1
leave
ret
xor al, al
leave
ret

Function at 0x4048c9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41de78
call fcn.0041ce50
sub esp, 0x32c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov word [eax], bx
cmp byte [0x42692c], bl
jne 0x404947
lea eax, [ebp - 0x12c]
mov byte [ebp - 0x12c], bl
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004032f1
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.004032dc
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401d2c
push dword [ebp - 0x24]
call fcn.00403174
push dword [ebp - 0x18]
call fcn.00403174
pop ecx
pop ecx
jmp 0x404970
lea eax, [ebp - 0x338]
mov word [ebp - 0x338], bx
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
lea eax, [ebp - 0x338]
push eax
mov ecx, esi
call fcn.00404131
cmp edi, ebx
jbe 0x404981
cmp edi, 0x104
ja 0x404981
push 1
pop eax
jmp 0x404983
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret