joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d8b4
Capabilities:
Check for software breakpoints

Disassembly:
dec esi
add byte [esi], 0xbf
rep lodsb al, byte [esi]
or dl, ah
les ecx, [esp + edx*2 + 9]
enter 0x6087, 0xffffffffffffffc9
in al, dx
stc
or ecx, edi
jmp 0x29fa2205
jns 0x40d8d3
mov ecx, 0x5220fe29
mov al, 0x78
mov dl, 0x22
cwde
mov al, byte [0x17fc4fe6]
retf 0x9056
jg 0x40d908
fcmovbe st(0), st(7)
cli
inc edx
loopne 0x40d8e4
xchg ebp, eax
jae 0x40d873
pop ds
push eax
dec byte [edi + 0x20]
test byte [edx], dl
push ds
mov esp, 0xcecfc0c
jl 0x40d946
dec edi
and byte [edx + edx - 0x3f343e2], al
in al, dx
or al, 0x7c
ja 0x40d8ea
sbb ch, byte [esi + edi*4 - 0x5cf99fc6]
lodsb al, byte [esi]
mov esi, 0xa306603a
pushal
push es
mov dword [0x7f3ddc35], eax
dec ebx
xor eax, 0x4b7f3ddc
jb 0x40d888
test ebp, esi
sal dword [edx - 0x49fc7435], 1
out dx, al
mov dh, 0xee
push esi
inc esi
je 0x40d957
adc ecx, dword [ebp + 0x5b]
pop esi
add ah, ch
pop eax
and dword [esi], esi
invalid

Function at 0x414598
Capabilities:
Encode data using xor

Disassembly:
std
adc eax, 0xf47f7c7f
sbb ah, byte [ecx]
adc dword [ecx - 0x75], 0xffffffb1
fcmovbe st(0), st(2)
and al, 0x78
ja 0x4145ff
fcomp dword [ebx]
or byte [esi + ebp*2 - 0x143acbca], 0x64
out dx, eax
je 0x41462a
cmc
jecxz 0x414571
pop esi
xchg byte [eax - 0x38be5f96], dh
shl byte cs:[esp + edi*8 - 0x28cbe30b], 0x11
add dword [edi + 0x7e04cc77], edx
push ss
mov byte [edi + eax - 0x5bbb4113], al
wait
shr dword [esi - 0x720b177], 0x51
in eax, dx
mov esi, 0xc19ba444
scasb al, byte es:[edi]
mov dword [esi - 0x21], ecx
clc
push ecx
mov cs, esp
sub al, 0xa1
xor al, 0x76
jg 0x4145cc
loopne 0x41465f
dec eax
pop eax
mov dl, 0x1a
cmp edx, dword [eax]
mov ebx, 0x7df76000
pop dword [edi]
push 0x5b
or dword [ebp + ebx*8 + 1], ecx
pop eax
xor byte [ecx - 0x2c], dh
inc esi
mov ecx, 0xdd4e2c50
lodsb al, byte [esi]
ja 0x4145d6
pushal
sbb byte [edi], dh
jmp 0x414683
mov bl, bl
ljmp 0xf5db
lodsd eax, dword [esi]
mov byte [0x6dd839c0], al
ret
fisub dword [edi + 0x20]
cwde
lea edi, [edi - 0x33b23367]
adc dh, cl
jne 0x414708
ja 0x414660
invalid
or byte [edx + 0x15020698], dl
dec ecx
inc edx
inc edi
ret

Function at 0x469a24
Capabilities:
Encode data using xor

Disassembly:
cli
cmc
inc ebx
xchg esi, eax
arpl word [edx], bx
invalid

Function at 0x46d037
Capabilities:
Encode data using xor

Disassembly:
pop es
mov ebp, 0xe1aa5c23
sbb dword [eax - 0x6b2f7d96], ebx
rcr edi, 0x6e
outsb dx, byte [esi]
aaa
dec ebx
and dword [edi + 0x3b55910c], eax
push ebp
invalid
and ecx, 0x1a
invalid
push ebp
cmp eax, dword [ebx - 0x4973e51f]
fisubr word [eax - 0x1f0c6ffe]
aad 0xc8
push edi
fsubr dword [esi + 0xa]
cmc
xor al, ah
enter 0xffffffffffffd4a7, 0xffffffffffffff8e
and ah, byte [ebx]
popal
xchg esi, eax
xor eax, 0xa385c2cd
push ss
inc ebp
lodsd eax, dword [esi]
push ecx
jp 0x46d022
xlatb
push eax
loope 0x46d030
enter 0xffffffffffffd7ed, 0x73
xchg edi, eax
adc byte [0x8903ad66], 0x3c
adc byte [edi + edi*2 + 5], dl
or ecx, esi
loope 0x46d087
rol byte [ecx - 0x26], 0x88
xor byte [ebx], ah
sbb eax, 0x6f78492b
add dh, ah
shl byte [edx + 0x50], cl
push eax
ljmp 0x8641:0xa76bad93
Function at 0x4a17f5
Capabilities:
Encode data using xor

Disassembly:
and al, 0x1b
lock adc dword [edi + ecx*4 - 0x53], ecx
mov eax, dword [0x291f7259]
push 0x93b1cd96
out dx, eax
wait
pop ebx
pop eax
insd dword es:[edi], dx
dec ecx
or eax, 0x99cca4ac
mov bl, 0x54
fild dword [eax]
xlatb
add bh, dl
xor byte [ebx - 0x3b7c5da5], 4
cmpsd dword [esi], dword es:[edi]
mov eax, 0xbf958586
mov bl, byte [ebp + 0x74]
jge 0x4a180b
jecxz 0x4a1814
cld
push edx
iretd

Function at 0x6295e9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630400
cmp edx, dword [eax]
je 0x62960b
add eax, 8
inc ecx
cmp eax, 0x630490
jl 0x6295fc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630400]
jne 0x629739
mov eax, dword [0x638da8]
cmp eax, 1
je 0x629713
test eax, eax
jne 0x62963c
cmp dword [0x630328], 1
je 0x629713
cmp edx, 0xfc
je 0x629739
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x629673
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629fd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x6296b6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e72c
push edi
call fcn.0062c330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629fd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629fe0
lea eax, [ebp - 0xa0]
push 0x62e70c
push eax
call fcn.00629fe0
push dword [esi + 0x630404]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629fe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c2a4
add esp, 0x2c
pop edi
jmp 0x629739
lea eax, [ebp + 8]
lea esi, [esi + 0x630404]
push 0
push eax
push dword [esi]
call fcn.0062a460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40452b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a700]
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.0040348c
and dword [ebp - 0x14], 0
cmp dword [0x40b924], 0
mov dword [ebp - 0x18], eax
jne 0x4045de
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404686
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404686
mov esi, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b924], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b928], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b92c], eax
call edi
push eax
call esi
mov dword [0x40b934], eax
test eax, eax
je 0x4045de
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b930], eax
mov eax, dword [0x40b930]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, ecx
je 0x404637
cmp dword [0x40b934], ecx
je 0x404637
push eax
call esi
push dword [0x40b934]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404637
test ebx, ebx
je 0x404637
call edi
test eax, eax
je 0x40462e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40462e
test byte [ebp - 8], 1
jne 0x404637
or dword [ebp + 0x10], 0x200000
jmp 0x40466a
mov eax, dword [0x40b928]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40466a
mov eax, dword [0x40b92c]
cmp eax, dword [ebp - 0x18]
je 0x40466a
push eax
call esi
test eax, eax
je 0x40466a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b924]
call esi
test eax, eax
je 0x404686
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404688
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404896
leave
ret

Function at 0x404896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a700]
jne 0x4048a0
repz ret
jmp fcn.00405a36

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x32d07f0
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x570c43e9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x100031d4
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
xor eax, eax
push 4
push eax
push 0x1000ae3a
push eax
mov esi, ecx
push eax
call fcn.10062ccf
add esp, 0x18
mov dword [esi + 0x34], eax
pop esi
pop ecx
ret

Function at 0x10005eea
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x1006a8c0
call fcn.10062ad8
sub esp, 0x178
push ebx
xor ebx, ebx
cmp byte [0x10087d58], bl
je 0x10005f21
push dword [ebp + 0x14]
push 0x2b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x10087d38]
jmp 0x10005fdc
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.10002615
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100043ea
push dword [ebp + 0x14]
mov eax, dword [eax]
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x24]
mov dword [ebp + 8], eax
call fcn.1000f3a7
push dword [ebp - 0x18]
call fcn.1000f3a7
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x184]
test byte [ebp + 0x15], 0x12
mov edi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov dword [esi], eax
mov eax, dword [ebp - 0x180]
pop ecx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x17c]
pop ecx
mov dword [esi + 8], eax
je 0x10005fb0
lea eax, [esi + 0xc]
push 0x104
push eax
lea eax, [ebp - 0x178]
push 0xffffffffffffffff
push eax
push ebx
push 1
call edi
jmp 0x10005fb4
mov word [esi + 0xc], bx
test byte [ebp + 0x15], 4
je 0x10005fd0
add esi, 0x214
push 0x50
push esi
lea eax, [ebp - 0x74]
push 0xffffffffffffffff
push eax
push ebx
push 1
call edi
jmp 0x10005fd7
mov word [esi + 0x214], bx
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x10007ce9
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1006a9d0
call fcn.10062ad8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.1000602f
and dword [ebp - 4], 0
and dword [esi + 0x14], 0
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
lea ecx, [esi + 0x14]
push 3
call fcn.10002b44
mov eax, dword [ebp + 8]
mov dword [esi], 0x1007159c
test eax, eax
je 0x10007d2b
mov dword [esi + 0x10], eax
jmp 0x10007d3a
lea eax, [esi + 0x10]
push eax
push 0x10005feb
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov dword [esi + 0xc], 0x67
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x10009f5d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006ad14
call fcn.10062ad8
push ecx
push ebx
push esi
mov esi, ecx
push 4
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.10009d99
mov dword [ebx], 0x100717d0
xor ebx, ebx
mov dword [esi + 0x28], 4
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x18], 0x100717e8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x2c], 1
call fcn.1000a064
lea ecx, [esi + 0x8c]
mov byte [esi + 0x88], bl
push 3
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x9c]
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
push 3
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0xac]
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
push 3
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0xb8]
push 3
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xc4]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 8
mov dword [eax], 0x100717e0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000a064
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x1006ad5f
call fcn.10062ad8
push ecx
push ebx
push esi
push edi
push 3
mov esi, ecx
pop edi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0xc]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x18]
push edi
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x24]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x30]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x40]
mov byte [esi + 0x3c], bl
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea ecx, [esi + 0x4c]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000c7ac
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1006b216
call fcn.10062ad8
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 3
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.10002b44
lea edi, [esi + 0x24]
push 3
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
call fcn.10002b44
push 0x100874c0
mov ecx, edi
mov byte [ebp - 4], 1
mov byte [esi], bl
mov dword [esi + 4], 0x10084850
call fcn.10002676
mov ecx, esi
mov dword [esi + 8], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
call fcn.1000ca6d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1000cf46
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x1006b2ec
call fcn.10062ad8
sub esp, 0x3c
mov eax, dword [0x10087d80]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], esi
jne 0x1000cf73
lea eax, [ebp - 0x10]
push eax
push 0x10005feb
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1000cf83
cmp dword [eax + 0x48], esi
je 0x1000cf7d
mov eax, dword [eax + 4]
jmp 0x1000cf80
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x10], eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.10007ce9
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], esi
call fcn.100065d7
cmp eax, 2
jne 0x1000cfb5
mov ecx, dword [ebp + 8]
push 0x100874c0
call fcn.10002676
mov esi, 0x80004004
jmp 0x1000cfd7
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x48]
push eax
call fcn.100044f8
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.100026d5
push dword [ebp - 0x1c]
call fcn.1000f3a7
pop ecx
push dword [ebp - 0x34]
or dword [ebp - 4], 0xffffffff
call fcn.1000f3a7
pop ecx
lea ecx, [ebp - 0x48]
call fcn.10006062
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x10010b9a
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x1006b8cc
call fcn.10062ad8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x10087d58], bl
push esi
jne 0x10010bdc
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.1000f16b
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push dword [ebp - 0x24]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
je 0x10010c3b
jmp 0x10010bee
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push dword [ebp + 8]
call esi
test eax, eax
je 0x10010bf2
mov al, 1
jmp 0x10010c3d
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.10002b44
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 8]
call fcn.100123ce
test al, al
je 0x10010c32
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
setne al
jmp 0x10010c3d
push dword [ebp - 0x18]
call fcn.1000f3a7
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10010c4d
Capabilities:
Delete directory

Disassembly:
mov eax, 0x1006b8e0
call fcn.10062ad8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x10087d58], bl
push esi
push dword [ebp + 8]
jne 0x10010c8b
lea eax, [ebp - 0x24]
push eax
call fcn.1000f16b
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
push dword [ebp - 0x24]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
je 0x10010cde
jmp 0x10010c97
mov esi, dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
call esi
test eax, eax
je 0x10010c9b
mov al, 1
jmp 0x10010ce0
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.10002b44
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 8]
call fcn.100123ce
push dword [ebp - 0x18]
test al, al
je 0x10010cd8
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
setne al
jmp 0x10010ce0
call fcn.1000f3a7
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10010cf0
Capabilities:
Move file

Disassembly:
mov eax, 0x1006b904
call fcn.10062ad8
sub esp, 0x30
push ebx
xor ebx, ebx
cmp byte [0x10087d58], bl
push esi
push dword [ebp + 0xc]
jne 0x10010d4e
lea eax, [ebp - 0x3c]
push eax
call fcn.1000f16b
mov esi, dword [eax]
push dword [ebp + 8]
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
call fcn.1000f16b
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileA]
push dword [ebp - 0x30]
mov esi, eax
call fcn.1000f3a7
push dword [ebp - 0x3c]
call fcn.1000f3a7
pop ecx
cmp esi, ebx
pop ecx
je 0x10010ddb
jmp 0x10010d5d
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_MoveFileW]
call esi
test eax, eax
je 0x10010d61
mov al, 1
jmp 0x10010ddd
push 3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.10002b44
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.10002b44
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10010b3f
push dword [ebp - 0x18]
test al, al
je 0x10010dcc
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.1000f3a7
push dword [ebp - 0x24]
call fcn.1000f3a7
pop ecx
cmp esi, ebx
pop ecx
setne al
jmp 0x10010ddd
call fcn.1000f3a7
push dword [ebp - 0x24]
call fcn.1000f3a7
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x10010ded
Capabilities:
Create directory

Disassembly:
mov eax, 0x1006b918
call fcn.10062ad8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x10087d58], bl
push esi
jne 0x10010e2d
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.1000f16b
mov eax, dword [eax]
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push dword [ebp - 0x24]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
je 0x10010e95
jmp 0x10010e3d
mov esi, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x10010e41
mov al, 1
jmp 0x10010e97
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x10010e95
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.10002b44
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 8]
call fcn.100123ce
test al, al
je 0x10010e8c
push ebx
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.1000f3a7
cmp esi, ebx
pop ecx
setne al
jmp 0x10010e97
push dword [ebp - 0x18]
call fcn.1000f3a7
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x100115b2
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x10087d58], 0
jne 0x100115e9
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.1000f16b
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
push dword [ebp - 0xc]
test eax, eax
setne bl
call fcn.1000f3a7
pop ecx
mov al, bl
pop ebx
jmp 0x100115f8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
leave
ret 4

Function at 0x100115fc
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1006ba1c
call fcn.10062ad8
sub esp, 0x32c
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov word [eax], bx
cmp byte [0x10087d58], bl
jne 0x1001167d
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.1000468e
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000f1b3
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.100026d5
push dword [ebp - 0x24]
call fcn.1000f3a7
push dword [ebp - 0x18]
call fcn.1000f3a7
pop ecx
pop ecx
jmp 0x100116a6
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.10002676
cmp edi, ebx
jbe 0x100116b7
cmp edi, 0x104
ja 0x100116b7
push 1
pop eax
jmp 0x100116b9
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4