joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465004
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4d2248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x48], ebx
lea ecx, [edi + 0x18]
call fcn.0048e7f5
lea ecx, [ebp - 0x44]
push ecx
push ebx
push 0x40
push edx
push eax
mov ecx, edi
call fcn.00465aad
test al, al
jne 0x46509d
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x465086
push 1
push 0x118
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
inc ebx
call fcn.00412b70
push edi
add eax, 8
push str.could_not_read_dos_header_from
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 1
je 0x465096
lea ecx, [ebp - 0x104]
call fcn.00412bc0
xor al, al
jmp 0x4651c6
mov eax, 0x5a4d
cmp word [ebp - 0x44], ax
je 0x4650ec
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x4650e7
push 2
pop ebx
push 1
push 0x11e
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, 8
push str.invalid_e_magic_in_dos_header_of
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 2
jmp 0x465089
lea ecx, [edi + 0x18]
call fcn.0048e7f5
mov ecx, eax
mov esi, edx
mov eax, dword [ebp - 8]
cdq
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x4c], eax
adc edx, esi
mov esi, dword [ebp - 0x50]
push esi
push ebx
push 0xf8
push edx
push eax
mov dword [ebp - 0x48], edx
call fcn.00465aad
test al, al
jne 0x465164
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x46515c
push 4
pop ebx
push 1
push 0x126
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, 8
push str.could_not_read_nt_headers_from
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 4
jmp 0x465089
cmp dword [esi], 0x4550
je 0x4651b2
push 1
call fcn.00412ae0
pop ecx
test al, al
je 0x4651aa
push 8
pop ebx
push 1
push 0x12c
push str.e:liuhaochromium49_src_third_partycrashpadcrashpad_snapshotwinpe_image_reader.cc
lea ecx, [ebp - 0x104]
call fcn.00412b70
push edi
add eax, ebx
push str.invalid_signature_in_nt_headers_of
push eax
call fcn.00417220
pop ecx
pop ecx
push eax
call fcn.00416fa0
pop ecx
pop ecx
test bl, 8
jmp 0x465089
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4651c4
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x48]
mov dword [eax + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a331
mov esp, ebp
pop ebp
ret 8
Function at 0x467a46
Capabilities:
Create process on windows

Disassembly:
push edi
call 0x64b64c
mov eax, sym.imp.SHELL32.dll_ShellExecuteW
jmp 0x467a56
push ecx
push edx
push eax
push 0x4cfcb4
call fcn.00467abe
pop edx
pop ecx
jmp eax

Function at 0x4f60d0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4f61dc
test eax, eax
je 0x4f61dc
push esi
push edi
mov ecx, 0x10
mov esi, 0x511018
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x4f61c3
lea edi, [eax + 4]
jmp 0x4f6127
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x4f613c
mov dword [ebp - 4], 2
jmp 0x4f615d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x4f6153
mov dword [ebp - 4], 1
jmp 0x4f615d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x4f61d3
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x4f6196
mov byte [ecx], 0x3d
jmp 0x4f61a2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x4f61ad
mov byte [ecx], 0x3d
jmp 0x4f61b3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x4f6124
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f9e70
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
cmp byte [ebp + 0xc], 0
push ebx
push edi
mov edi, ecx
jne 0x4f9e97
push eax
mov ebx, edi
call fcn.004f9440
test al, al
jne 0x4f9e97
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f9ea0
sub eax, edx
push esi
mov esi, eax
push esi
mov dword [ebp - 4], esi
call fcn.005002f4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ebx, eax
push ebx
push esi
push edx
call fcn.004f61f0
add esp, 0x14
test al, al
jne 0x4f9ee1
push ebx
call fcn.005009e4
add esp, 4
pop esi
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x68], al
mov eax, dword [ebp - 4]
push eax
push ebx
lea esi, [ebp - 0x68]
mov dword [ebp - 0x18], 0x67452301
mov dword [ebp - 0x14], 0xefcdab89
mov dword [ebp - 0x10], 0x98badcfe
mov dword [ebp - 0xc], 0x10325476
mov dword [ebp - 8], 0xc3d2e1f0
call fcn.004f6300
cmp byte [ebp - 0x68], 0
jne 0x4f9f2e
call fcn.004f68a0
mov byte [ebp - 0x68], 1
xor ecx, ecx
mov eax, dword [ebp + ecx - 0x18]
mov edx, eax
shr edx, 0x10
rol dx, 8
rol ax, 8
movzx eax, ax
movzx edx, dx
shl eax, 0x10
or edx, eax
mov dword [ebp + ecx - 0x7c], edx
add ecx, 4
cmp ecx, 0x14
jl 0x4f9f30
push ebx
call fcn.005009e4
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x7c]
push 0x14
push eax
mov dword [ebp + 8], 0x40
call fcn.004f60d0
mov ecx, dword [ebp + 8]
mov bl, byte [ebp + 0xc]
add esp, 0x14
mov byte [ebp + ecx - 0xbc], 0
mov ecx, 0x511374
test bl, bl
jne 0x4f9f9a
mov ecx, 0x51138c
xor eax, eax
cmp byte [edi + 4], al
je 0x4f9fa9
inc eax
cmp byte [edi + eax + 4], 0
jne 0x4f9fa1
cmp byte [ecx], 0
je 0x4f9fc4
mov edi, edi
cmp eax, 0x800
jae 0x4f9fc4
mov dl, byte [ecx]
mov byte [edi + eax + 4], dl
inc ecx
inc eax
cmp byte [ecx], 0
jne 0x4f9fb0
mov byte [eax + edi + 4], 0
push 1
lea eax, [ebp - 0xbc]
mov ecx, edi
call fcn.004f98d0
test bl, bl
je 0x4f9fe1
call fcn.004f9980
pop esi
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x408943
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop esi
call fcn.0040896b
sub ecx, ecx
and edi, edi
xor dword [edx], esi
add ecx, 0x5e1cb73b
inc edx
add edi, ecx
cmp edx, eax
jne fcn.00408943
dec ecx
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x4caf6c3e
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x731a703f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4073ab
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x40b8b0
call fcn.004074c0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x40f474
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x40714a
cmp eax, esi
jne 0x40713d
xor esi, esi
inc esi
mov ebx, esi
jmp 0x40714d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407124
xor esi, esi
inc esi
mov eax, dword [0x40f470]
cmp eax, esi
jne 0x407160
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x40718f
mov eax, dword [0x40f470]
test eax, eax
jne 0x407189
mov dword [0x40f470], esi
push 0x40a334
push 0x40a32c
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40718f
jmp 0x4072b7
mov dword [0x40f06c], esi
mov eax, dword [0x40f470]
cmp eax, esi
jne 0x4071b3
push 0x40a328
push 0x40a30c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x40f470], 2
test ebx, ebx
jne 0x4071bf
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40f478], 0
je 0x4071e3
push 0x40f478
call fcn.00407622
pop ecx
test eax, eax
je 0x4071e3
push 0
push 2
push 0
call dword [0x40f478]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40723f
test al, al
je 0x4071fd
cmp dword [ebp - 0x1c], 0
jne 0x40723f
mov al, byte [esi]
test al, al
je 0x40720d
cmp al, 0x20
ja 0x40720d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4071fd
test byte [ebp - 0x3c], 1
je 0x407219
movzx eax, word [ebp - 0x38]
jmp 0x40721c
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x40f068], eax
cmp dword [0x40f05c], 0
jne 0x407293
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x40724e
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x407261
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x4071ea
cmp dword [0x40f06c], 0
jne 0x4072a2
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40f068]
jmp 0x4072c3
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00407505
ret
call fcn.0049d000
jmp 0x4070ea
Function at 0x10003120
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8acd
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
call fcn.100053b0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], 1
call fcn.10005cd0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008ac40
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
call fcn.10005fe0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100031e0
sub eax, edx
mov ecx, esi
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100049a0
push 0xe
push str.2345Explorer_
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.10004ae0
lea ecx, [ebp - 0x21c]
call fcn.10005430
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret
Function at 0x100053b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100fb03c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.100881bb
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.1008ac40
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1000540c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.100881a5
add esp, 0x120
ret
Function at 0x1000a8e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b95eb
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x1000a919
call fcn.1000aa80
cmp byte [0x100fd6e4], 0
jne 0x1000a92c
mov eax, 0x80000001
jmp 0x1000aa5c
mov eax, dword [esi]
test eax, eax
jne 0x1000a9ac
push 8
call fcn.100881bb
mov edi, eax
add esp, 4
mov dword [ebp - 0x138], edi
mov dword [ebp - 4], 0
push 1
call fcn.100881bb
add esp, 4
mov dword [edi + 4], eax
mov byte [eax], 0
lea eax, [ebp - 0x130]
push 0x118
push 0
push eax
call fcn.1008ac40
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000a99b
cmp dword [ebp - 0x130], 6
mov eax, dword [edi + 4]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0xffffffff
mov dword [esi], edi
mov dword [edi], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x1000aa4b
call fcn.100061c0
test al, al
jne 0x1000a9e6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi]
push eax
add ecx, 4
call fcn.10006720
test al, al
je 0x1000aa4b
mov ecx, dword [esi]
add ecx, 4
call fcn.10005cd0
call fcn.100061c0
test al, al
je 0x1000aa4b
push str.Advapi32.dll
lea ecx, [ebp - 0x150]
call fcn.10004920
mov dword [ebp - 4], 2
lea eax, [ebp - 0x150]
push eax
call fcn.10010970
mov ecx, eax
call fcn.10010a30
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10004840
test edi, edi
je 0x1000aa4b
push str.RegOpenCurrentUser
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000aa4b
push dword [esi]
push dword [ebp + 8]
call eax
test eax, eax
je 0x1000aa4b
mov eax, dword [esi]
mov dword [eax], 0
mov eax, dword [esi]
cmp dword [eax], 0
jne 0x1000aa5a
mov dword [eax], 0x80000001
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9758
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.100051f0
test eax, eax
jne 0x1000b230
xor al, al
jmp 0x1000b364
push esi
lea ecx, [ebp - 0x2c]
call fcn.10008cd0
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.1000c700
lea ecx, [ebp - 0x2c]
call fcn.10004780
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000b351
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000b291
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004840
cmp esi, 0xffffffff
jne 0x1000b351
lea ecx, [ebp - 0x2c]
call fcn.100051f0
cmp eax, 2
jbe 0x1000b34d
lea ecx, [ebp - 0x2c]
call fcn.100051f0
lea ecx, [ebp - 0x2c]
lea ebx, [eax - 1]
call fcn.10004990
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000b2d6
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x1000b2f5
lea ecx, [ebp - 0x2c]
call fcn.100051f0
cmp dword [esi + 0x14], 8
jb 0x1000b2ed
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x1000b34d
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.1000c700
lea ecx, [ebp - 0x2c]
call fcn.10004780
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000b351
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000b33c
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004840
cmp esi, 0xffffffff
jne 0x1000b351
xor bl, bl
jmp 0x1000b353
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret
Function at 0x1000b380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9758
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.100051f0
test eax, eax
jne 0x1000b3c0
xor al, al
jmp 0x1000b4fa
push esi
lea ecx, [ebp - 0x2c]
call fcn.10008cd0
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.1000c700
lea ecx, [ebp - 0x2c]
call fcn.10004780
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000b42e
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000b41d
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004840
cmp ebx, 0xffffffff
je 0x1000b437
test bl, 0x10
je 0x1000b4e7
lea ecx, [ebp - 0x2c]
call fcn.100051f0
cmp eax, 2
jbe 0x1000b4e3
lea ecx, [ebp - 0x2c]
call fcn.100051f0
lea ecx, [ebp - 0x2c]
lea ebx, [eax - 1]
call fcn.10004990
mov esi, eax
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x1000b467
mov ecx, dword [esi]
cmp word [ecx + ebx*2], 0x5c
je 0x1000b486
lea ecx, [ebp - 0x2c]
call fcn.100051f0
cmp dword [esi + 0x14], 8
jb 0x1000b47e
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x2f
jne 0x1000b4e3
mov edx, 0x20
lea ecx, [ebp - 0x2c]
call fcn.1000c700
lea ecx, [ebp - 0x2c]
call fcn.10004780
push eax
call edi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000b4de
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000b4cd
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call edi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004840
cmp ebx, 0xffffffff
je 0x1000b4e3
test bl, 0x10
je 0x1000b4e7
xor bl, bl
jmp 0x1000b4e9
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret
Function at 0x1000b520
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9790
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.100051f0
test eax, eax
jne 0x1000b55f
xor al, al
jmp 0x1000b5e9
push esi
lea ecx, [ebp - 0x2c]
call fcn.10008cd0
mov dword [ebp - 4], 0
mov edx, 4
lea ecx, [ebp - 0x2c]
call fcn.1000c700
lea ecx, [ebp - 0x2c]
call fcn.10004780
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1000b5cd
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000b5bc
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call esi
mov ebx, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.10004840
cmp ebx, 0xffffffff
je 0x1000b5d6
test bl, 0x10
je 0x1000b5d6
mov bl, 1
jmp 0x1000b5d8
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret
Function at 0x1000ba80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b9880
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100fb03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.100051f0
test eax, eax
jne 0x1000bac0
xor al, al
jmp 0x1000bc7b
push edi
call fcn.1000b520
add esp, 4
test al, al
je 0x1000bad4
mov al, 1
jmp 0x1000bc7b
push 0
mov ecx, edi
call fcn.10004780
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x1000bb23
lea ecx, [ebp - 0x2c]
call fcn.10004970
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.100196a0
test al, al
je 0x1000bb14
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004780
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
push edi
call fcn.1000b520
add esp, 4
test al, al
jne 0x1000bacd
mov ecx, edi
call fcn.100051f0
xor esi, esi
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1000bc1c
mov ecx, edi
call fcn.10004990
mov ebx, eax
nop dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, ebx
cmp ecx, 8
jb 0x1000bb5c
mov eax, dword [ebx]
mov edx, 0x2f
cmp dx, word [eax + esi*2]
mov edx, 0x5c
je 0x1000bb7f
mov eax, ebx
cmp ecx, 8
jb 0x1000bb75
mov eax, dword [ebx]
cmp dx, word [eax + esi*2]
jne 0x1000bc0c
push esi
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.1000bf00
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100051f0
test eax, eax
je 0x1000bbfd
lea eax, [ebp - 0x2c]
push eax
call fcn.1000b1f0
add esp, 4
test al, al
jne 0x1000bbfd
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004780
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000bbfd
lea ecx, [ebp - 0x44]
call fcn.10004970
mov byte [ebp - 4], 2
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.100196a0
test al, al
je 0x1000bbf1
push 0
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.10004840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10004840
inc esi
cmp esi, dword [ebp - 0x48]
jb 0x1000bb50
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.1000b1f0
add esp, 4
test al, al
jne 0x1000bc72
push 0
mov ecx, edi
call fcn.10004780
push eax
call ebx
test eax, eax
jne 0x1000bc72
lea ecx, [ebp - 0x44]
call fcn.10004970
mov dword [ebp - 4], 3
lea edx, [ebp - 0x44]
mov ecx, edi
call fcn.100196a0
test al, al
je 0x1000bc63
push 0
lea ecx, [ebp - 0x44]
call fcn.10004780
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10004840
push edi
call fcn.1000b520
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100881a5
mov esp, ebp
pop ebp
ret