joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401edd
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x404534], eax
push 0xa
push 0
push 0
push dword [0x404534]
call 0x401edd
push eax
call sub.KERNEL32.dll_ExitProcess
call sub.COMCTL32.dll_InitCommonControls
push ebp
mov ebp, esp
add esp, 0xffffffb4
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x401fcd
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x404534]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 8], str.WinClass
push 0x1000
push 0x20
push 0x20
push 1
push str.Icon1
push dword [0x404534]
call sub.USER32.dll_LoadImageA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_RegisterClassExA
push 0
push dword [ebp + 8]
push 0
push 0
push 0xfa
push 0x1f4
push 0x78
push 0xa0
push 0xa0000
push str.AsmTask_v1.1__by_Papaow
push str.WinClass
push 0x200
call sub.USER32.dll_CreateWindowExA
mov dword [0x404538], eax
push 1
push dword [0x404538]
call sub.USER32.dll_ShowWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_GetMessageA
or eax, eax
je 0x401fc6
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_DispatchMessageA
jmp 0x401f9f
mov eax, dword [ebp - 0x44]
leave
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x41fb6c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
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.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x46d558], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46d558], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46d55c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46d560], eax
call edi
push eax
call esi
mov dword [0x46d568], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46d564], eax
mov eax, dword [0x46d564]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x46d568], ecx
je 0x41fc78
push eax
call esi
push dword [0x46d568]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x46d55c]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x46d560]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46d558]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4062ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062ee
xor eax, eax
test eax, eax
je 0x406300
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406300
xor ecx, ecx
jmp 0x406303
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063ef
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x448e04], 0
push esi
jne 0x406426
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406400
mov dword [ecx*4 + 0x448e00], eax
inc ecx
cmp ecx, 0x100
jl 0x4063fb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406457
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x448e00]
xor eax, esi
inc ecx
dec edx
jne 0x406439
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10001364
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, ecx
shl eax, 2
push 3
cdq
pop esi
idiv esi
test byte [ebp + 0xc], 1
mov dword [ebp + 8], eax
jne 0x1000138d
mov eax, ecx
push esi
cdq
pop ecx
idiv ecx
add dword [ebp + 8], edx
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100013a5
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 8]
push 0x4c
cdq
pop ecx
idiv ecx
cmp edx, ebx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
je 0x100013fa
push ebx
call esi
test eax, eax
je 0x100013d4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp - 4]
push 4
cdq
pop ecx
idiv ecx
cmp edx, ebx
je 0x100013fa
push ecx
pop eax
sub eax, edx
add dword [ebp + 8], eax
test byte [ebp + 0xc], 2
pop edi
pop esi
pop ebx
jne 0x10001410
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx*2 + 2]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
leave
ret
Function at 0x10001738
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001753
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
jle 0x10001781
mov edi, dword [esp + 0x10]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
pop ebx
ret

Function at 0x10001785
Capabilities:
Encrypt data using des
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x100017a4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp + 8]
add eax, 0x880
push 0x800
push eax
call fcn.10001738
pop ecx
pop ecx
push ebx
call esi
test eax, eax
je 0x100017d5
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov dword [ebp - 4], ebx
mov ecx, 0x110
xor esi, esi
xor edi, edi
movsx eax, byte [edi + 0x1000a010]
dec eax
mov edx, eax
sar edx, 2
cmp edx, dword [ebp - 4]
jne 0x1000182d
and eax, 3
test dword [eax*4 + 0x1000a348], esi
je 0x1000182d
mov edx, edi
sar edx, 3
add edx, dword [ebp + 8]
lea eax, [ecx + esi]
lea eax, [edx + eax*8]
mov edx, edi
and edx, 7
mov dl, byte [edx*4 + 0x1000a328]
or byte [eax], dl
inc edi
cmp edi, 0x40
jl 0x100017f3
inc esi
cmp esi, 0x10
jl 0x100017f1
inc dword [ebp - 4]
add ecx, 0x10
cmp ecx, 0x210
jl 0x100017ef
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000184c
Capabilities:
Encrypt data using des
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
add eax, 0x1080
push 0x800
push eax
call fcn.10001738
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
pop ecx
pop ecx
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001882
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0x210
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
movsx eax, byte [eax + 0x1000a050]
dec eax
push ebx
mov dword [ebp - 0x14], eax
call esi
test eax, eax
je 0x100018bc
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, eax
sar ecx, 2
cmp ecx, dword [ebp - 0x10]
jne 0x10001929
mov ecx, dword [ebp - 8]
and eax, 3
test dword [eax*4 + 0x1000a348], ecx
je 0x10001929
push ebx
call esi
test eax, eax
je 0x100018f4
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [ebp - 4]
sar ecx, 3
add ecx, dword [ebp + 8]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 4]
and ecx, 7
mov cl, byte [ecx*4 + 0x1000a328]
or byte [eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x40
jl 0x100018a4
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jl 0x100018a1
add dword [ebp - 0xc], 0x10
inc dword [ebp - 0x10]
cmp dword [ebp - 0xc], 0x310
jl 0x1000189e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000195c
Capabilities:
Encrypt data using des
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x1000197d
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x1000a308]
dec edx
cmp edx, ecx
je 0x100019a7
inc eax
cmp eax, 0x20
jl 0x10001993
jmp 0x100019ab
mov byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0x20
jl 0x10001991
push ebx
call esi
test eax, eax
je 0x100019bb
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
add eax, 0x80
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
push ebx
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
je 0x100019f1
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
and ecx, 1
sar eax, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, dword [ebp - 4]
and ecx, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x10]
movsx eax, byte [ecx + eax + 0x1000a108]
mov dword [ebp - 8], ebx
mov ecx, dword [ebp - 8]
push 8
pop edx
sar edx, cl
test eax, edx
je 0x10001a4f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
movsx edx, byte [ecx + edx]
push 0x1f
pop ecx
sub ecx, edx
xor edx, edx
inc edx
shl edx, cl
or dword [ebp - 0x14], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10001a2c
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 4]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 4
cmp dword [ebp - 4], 0x40
mov dword [ecx], eax
jl 0x100019e4
add dword [ebp - 0x10], 0x40
add dword [ebp - 0x18], 4
cmp dword [ebp - 0x10], 0x200
mov eax, dword [ebp - 0xc]
jl 0x100019de
push ebx
call esi
test eax, eax
je 0x10001a93
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001aaa
Capabilities:
Get file attributes

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
push esi
call edi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001ac8
push esi
call ebx
push esi
call ebx
push esi
call edi
push esi
call ebx
push esi
call edi
push esi
call ebx
push esi
call edi
push 8
push dword [esp + 0x28]
call fcn.10001738
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x120
jmp 0x10001afb
xor esi, esi
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
mov ebp, dword [esp + 0x20]
movzx ecx, al
shr ecx, 4
add ecx, dword [esp + 0x10]
and eax, 0xf
add eax, dword [esp + 0x10]
lea ecx, [ebp + ecx*8 - 0x80]
push esi
mov dword [esp + 0x20], ecx
lea ebp, [ebp + eax*8]
call edi
test eax, eax
je 0x10001b2d
push esi
call ebx
push esi
call ebx
push esi
call edi
push esi
call ebx
push esi
call edi
push esi
call ebx
push esi
call edi
mov cl, byte [ebp]
mov eax, dword [esp + 0x1c]
or cl, byte [eax]
mov eax, dword [esp + 0x24]
or byte [eax], cl
inc ebp
inc dword [esp + 0x1c]
mov cl, byte [ebp]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c]
or cl, byte [eax]
push 0
or byte [esi], cl
inc ebp
mov cl, byte [ebp]
inc eax
or cl, byte [eax]
inc esi
or byte [esi], cl
inc ebp
mov cl, byte [ebp]
inc eax
or cl, byte [eax]
inc esi
or byte [esi], cl
inc ebp
inc eax
mov dword [esp + 0x20], eax
inc esi
call edi
test eax, eax
je 0x10001b88
push 0
call ebx
push 0
call ebx
push 0
call edi
push 0
call ebx
push 0
call edi
push 0
call ebx
push 0
call edi
mov cl, byte [ebp]
mov eax, dword [esp + 0x1c]
or cl, byte [eax]
push 0
or byte [esi], cl
inc ebp
mov cl, byte [ebp]
inc eax
or cl, byte [eax]
inc esi
or byte [esi], cl
inc ebp
mov cl, byte [ebp]
inc eax
or cl, byte [eax]
inc esi
or byte [esi], cl
inc ebp
inc eax
mov dword [esp + 0x20], eax
inc esi
call edi
test eax, eax
je 0x10001bd2
push 0
call ebx
push 0
call ebx
push 0
call edi
push 0
call ebx
push 0
call edi
push 0
call ebx
push 0
call edi
mov al, byte [ebp]
mov ecx, dword [esp + 0x1c]
or al, byte [ecx]
add dword [esp + 0x10], 0x20
or byte [esi], al
inc dword [esp + 0x14]
cmp dword [esp + 0x10], 0x220
jl 0x10001af9
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x10001c13
Capabilities:
Get file attributes

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push 8
push esi
call fcn.10001738
mov ebp, dword [sym.imp.KERNEL32.dll_ResetEvent]
pop ecx
pop ecx
xor ebx, ebx
push ebx
call ebp
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001c3e
push ebx
call edi
push ebx
call edi
push ebx
call ebp
push ebx
call edi
push ebx
call ebp
push ebx
call edi
push ebx
call ebp
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x220
jmp 0x10001c66
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov edi, dword [esp + 0x1c]
movzx ecx, al
and eax, 0xf
add eax, dword [esp + 0x18]
shr ecx, 4
add ecx, dword [esp + 0x18]
push 0
lea ebx, [edi + ecx*8 - 0x80]
lea edi, [edi + eax*8]
mov al, byte [edi]
or al, byte [ebx]
or byte [esi], al
inc edi
mov al, byte [edi]
inc ebx
or al, byte [ebx]
inc esi
or byte [esi], al
inc edi
mov al, byte [edi]
inc ebx
or al, byte [ebx]
inc esi
or byte [esi], al
inc edi
mov al, byte [edi]
inc ebx
or al, byte [ebx]
inc esi
or byte [esi], al
inc edi
inc ebx
inc esi
call ebp
test eax, eax
je 0x10001cbd
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
mov al, byte [edi]
or al, byte [ebx]
push 0
or byte [esi], al
inc edi
mov al, byte [edi]
inc ebx
or al, byte [ebx]
inc esi
or byte [esi], al
inc edi
mov al, byte [edi]
inc ebx
or al, byte [ebx]
inc esi
or byte [esi], al
inc edi
inc ebx
inc esi
call ebp
test eax, eax
je 0x10001d0c
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
call ebp
mov al, byte [edi]
or al, byte [ebx]
add dword [esp + 0x18], 0x20
or byte [esi], al
inc dword [esp + 0x10]
cmp dword [esp + 0x18], 0x320
jl 0x10001c62
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x10001d53
Capabilities:
Get file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001d73
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebp
call fcn.1000195c
push ebp
call fcn.10001785
pop ecx
pop ecx
push ebx
call esi
test eax, eax
je 0x10001d9d
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebp
call fcn.1000184c
pop ecx
push ebx
call esi
test eax, eax
je 0x10001dc0
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x10001dd9
Capabilities:
Get file attributes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
xor ebx, ebx
push ebx
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
je 0x10001df5
push ebx
call edi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
push ebx
call edi
push ebx
call esi
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 7
mov ebp, dword [esp + 0x14]
mov ecx, eax
add eax, eax
shr ecx, 0x1f
or ecx, eax
mov eax, dword [esp + 0x1c]
movsx eax, byte [eax]
and ecx, 0x3f
and eax, 0x3f
add ebp, 0x780
xor ecx, eax
mov ebx, dword [ebp + ecx*4]
dec dword [esp + 0x1c]
push 0
sub ebp, 0x100
call esi
test eax, eax
je 0x10001e4c
push 0
call edi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x1c]
movsx ecx, byte [ecx]
mov eax, dword [esp + 0x18]
shr eax, 3
xor ecx, eax
and ecx, 0x3f
or ebx, dword [ebp + ecx*4]
dec dword [esp + 0x1c]
shr eax, 4
push 0
sub ebp, 0x100
mov dword [esp + 0x18], eax
call esi
test eax, eax
je 0x10001e98
push 0
call edi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [eax]
push 0
xor ecx, dword [esp + 0x18]
shr dword [esp + 0x18], 4
and ecx, 0x3f
or ebx, dword [ebp + ecx*4]
xor ecx, ecx
dec eax
mov cl, byte [eax]
sub ebp, 0x100
xor ecx, dword [esp + 0x18]
shr dword [esp + 0x18], 4
and ecx, 0x3f
or ebx, dword [ebp + ecx*4]
dec eax
mov dword [esp + 0x20], eax
sub ebp, 0x100
call esi
test eax, eax
je 0x10001efa
push 0
call edi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov cl, byte [eax]
push 0
xor ecx, dword [esp + 0x18]
shr dword [esp + 0x18], 4
and ecx, 0x3f
or ebx, dword [ebp + ecx*4]
xor ecx, ecx
dec eax
mov cl, byte [eax]
sub ebp, 0x100
xor ecx, dword [esp + 0x18]
and ecx, 0x3f
or ebx, dword [ebp + ecx*4]
dec eax
mov dword [esp + 0x20], eax
sub ebp, 0x100
call esi
test eax, eax
je 0x10001f57
push 0
call edi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x1c]
movsx eax, byte [eax]
shr dword [esp + 0x14], 4
xor eax, dword [esp + 0x14]
shr dword [esp + 0x14], 4
and eax, 0x3f
or ebx, dword [ebp + eax*4]
dec dword [esp + 0x1c]
push 0
sub ebp, 0x100
call esi
test eax, eax
je 0x10001fa1
push 0
call edi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movsx ecx, byte [ecx]
shl eax, 5
or eax, dword [esp + 0x14]
pop edi
and eax, 0x3f
and ecx, 0x3f
xor eax, ecx
mov eax, dword [ebp + eax*4]
pop esi
pop ebp
or eax, ebx
pop ebx
ret