joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009cf5
Capabilities:
Timestomp file

Disassembly:
mov eax, 0x100d59b3
call fcn.100ac440
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
test ebx, ebx
je 0x10009dc4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x14]
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 0x5c
mov ecx, esi
call fcn.10003e18
cmp eax, 0xffffffff
je 0x10009d8e
mov ecx, dword [esi]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
dec ecx
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.10008b05
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.10001eb6
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.10001199
push str.codec.xml
push esi
call fcn.10008578
test al, al
pop ecx
pop ecx
je 0x10009dbd
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007c71
mov eax, dword [ebp - 0x1c]
mov dword [0x1011ea28], eax
mov eax, dword [ebp - 0x18]
mov dword [0x1011ea2c], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1000a25f
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x100d59ec
call fcn.100ac440
sub esp, 0x274
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push str..zip
xor eax, ebp
mov dword [ebp - 0x27c], ecx
push str..temp
mov ecx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x280], ebx
call fcn.10001c0c
mov eax, dword [ebx]
push 0
push eax
call fcn.100927bd
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x1000a2ce
push eax
call fcn.10090d66
pop ecx
push edi
jmp 0x1000a324
call fcn.10092fef
pop ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1000a43e
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x1000a2fa
dec eax
push eax
mov ecx, esi
call fcn.10020bb8
cmp al, 0x5c
je 0x1000a2f0
push 0x100e2ac4
mov ecx, esi
call fcn.10007475
push dword [esi]
push edi
call fcn.10090d37
pop ecx
pop ecx
lea eax, [ebp - 0x268]
push eax
push 0xffffffffffffffff
push edi
call fcn.10090cf8
mov eax, dword [ebp - 0x268]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x274], eax
jne 0x1000a32f
push edi
call fcn.10090d66
pop ecx
push edi
test al, al
je 0x1000a2bb
call fcn.10092825
jmp 0x1000a2c0
and dword [ebp - 0x26c], 0
test eax, eax
jle 0x1000a3fc
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.10090cf8
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.1009280c
add esp, 0x18
test eax, eax
je 0x1000a3e4
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x270]
push esi
push eax
call fcn.10001e18
and dword [ebp - 4], 0
push str..old
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10001e18
mov eax, dword [eax]
mov ebx, dword [ebp - 0x270]
add esp, 0x18
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.10001199
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.1009280c
add esp, 0xc
test eax, eax
jne 0x1000a40f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.10001199
inc dword [ebp - 0x26c]
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x274]
jl 0x1000a33e
push edi
call fcn.10090d66
test al, al
pop ecx
push edi
je 0x1000a443
call fcn.10092825
jmp 0x1000a448
push edi
call fcn.10090d66
test al, al
pop ecx
push edi
je 0x1000a422
call fcn.10092825
jmp 0x1000a427
call fcn.10092fef
mov eax, dword [ebp - 0x280]
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebx - 0x10]
call fcn.10001199
or eax, 0xffffffff
jmp 0x1000a454
call fcn.10092fef
mov eax, dword [ebp - 0x27c]
inc dword [eax + 0x14]
pop ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 8
Function at 0x1000aadf
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x100d5a65
call fcn.100ac440
sub esp, 0x274
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor eax, ebp
push edi
push dword [esi]
mov dword [ebp - 0x10], eax
mov eax, ecx
mov eax, dword [eax + 0x14]
push str.Will_be_UnZip_to__s
push eax
mov dword [ebp - 0x280], ebx
call fcn.1008ed31
mov eax, dword [ebx]
push 0
push eax
call fcn.100927bd
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1000ab4a
push eax
call fcn.10090d66
pop ecx
push edi
jmp 0x1000aba0
call fcn.10092fef
pop ecx
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x1000acd3
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x1000ab76
dec eax
push eax
mov ecx, esi
call fcn.10020bb8
cmp al, 0x5c
je 0x1000ab6c
push 0x100e2ac4
mov ecx, esi
call fcn.10007475
push dword [esi]
push edi
call fcn.10090d37
pop ecx
pop ecx
lea eax, [ebp - 0x268]
push eax
push 0xffffffffffffffff
push edi
call fcn.10090cf8
mov eax, dword [ebp - 0x268]
add esp, 0xc
test eax, eax
mov dword [ebp - 0x27c], eax
jne 0x1000abab
push edi
call fcn.10090d66
pop ecx
push edi
test al, al
je 0x1000ab37
call fcn.10092825
jmp 0x1000ab3c
and dword [ebp - 0x270], 0
and dword [ebp - 0x26c], 0
test eax, eax
jle 0x1000ac91
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.10090cf8
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.1009280c
add esp, 0x18
test eax, eax
je 0x1000ac73
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
call fcn.10001e18
and dword [ebp - 4], 0
push str..old
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.10001e18
mov eax, dword [eax]
mov ebx, dword [ebp - 0x274]
add esp, 0x18
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.10001199
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x26c]
push edi
call fcn.1009280c
add esp, 0xc
test eax, eax
jne 0x1000aca4
inc dword [ebp - 0x270]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx - 0x10]
call fcn.10001199
jmp 0x1000ac79
inc dword [ebp - 0x270]
inc dword [ebp - 0x26c]
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x27c]
jl 0x1000abc1
push edi
call fcn.10090d66
test al, al
pop ecx
push edi
je 0x1000acd8
call fcn.10092825
jmp 0x1000acdd
push edi
call fcn.10090d66
test al, al
pop ecx
push edi
je 0x1000acb7
call fcn.10092825
jmp 0x1000acbc
call fcn.10092fef
mov eax, dword [ebp - 0x280]
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebx - 0x10]
call fcn.10001199
or eax, 0xffffffff
jmp 0x1000ace4
call fcn.10092fef
mov eax, dword [ebp - 0x270]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 8
Function at 0x1000b6f5
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100d58b3
call fcn.100ac440
sub esp, 0x11c
mov eax, dword [0x1011c710]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
push eax
push 0x100e3a78
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000b776
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push str.version
push dword [ebp - 0x11c]
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x120], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1000b77b
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
jmp 0x1000b7f1
push esi
push edi
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.1000223a
push dword [ebp - 0x11c]
and dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100e2d52
push 0x100e2acc
lea ecx, [ebp - 0x118]
call fcn.10001c0c
push 4
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x118]
call fcn.1000430d
mov esi, dword [ebp - 0x124]
push esi
call fcn.100ad185
pop ecx
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.10001199
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
call fcn.10001199
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ac33f
leave
ret
Function at 0x10010ed2
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1011c710]
push ebx
xor eax, ebp
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x90]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x10010f09
cmp dword [eax + 0x1c], ebx
je 0x10010f09
push dword [ebp + 8]
lea ecx, [eax + 0x13c]
call fcn.100107dc
cmp dword [ebp + 8], ebx
mov edi, dword [esi + 0x70]
mov eax, dword [edi + 0x2a4]
je 0x10010fab
cmp dword [eax - 0xc], ebx
jne 0x10010f41
push ebx
push ebx
push 0x110
push 0x10d
push 0x113
lea ecx, [esi + 0x254]
call fcn.10069b1d
jmp 0x1001102b
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [edi + 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
push ebx
push ebx
push str.Mute_hover.gif
push str.Mute_down.gif
lea ecx, [esi + 0x254]
push str.Mute_normal.gif
call fcn.10069da8
test eax, eax
jne 0x10010f9d
push ebx
push ebx
push 0x110
push 0x10d
push 0x113
lea ecx, [esi + 0x254]
call fcn.10069b1d
lea eax, [ebp - 0x108]
push eax
call edi
jmp 0x1001102b
cmp dword [eax - 0xc], ebx
jne 0x10010fc6
push ebx
push ebx
push 0x107
push 0x10a
push 0x104
jmp 0x10010f31
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [edi + 0x2a4]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ebx
push ebx
push str.Volume_hover.gif
push str.Volume_down.gif
lea edi, [esi + 0x254]
push str.Volume_normal.gif
mov ecx, edi
call fcn.10069da8
test eax, eax
jne 0x1001101e
push ebx
push ebx
push 0x107
push 0x10a
push 0x104
mov ecx, edi
call fcn.10069b1d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 1
push ebx
push dword [esi + 0x270]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4

Function at 0x1001104b
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1011c710]
push ebx
push esi
xor eax, ebp
mov esi, ecx
push edi
mov edi, dword [esi + 0x70]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x2a4]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x10011091
push ebx
push ebx
push 0xe5
push 0xe3
push 0xe8
lea ecx, [esi + 0x2d8]
call fcn.10069b1d
jmp 0x100110f6
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [edi + 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
push ebx
push ebx
push str.Play_hover.gif
push str.Play_down.gif
lea ecx, [esi + 0x2d8]
push str.Play_normal.gif
call fcn.10069da8
test eax, eax
jne 0x100110ed
push ebx
push ebx
push 0xe5
push 0xe3
push 0xe8
lea ecx, [esi + 0x2d8]
call fcn.10069b1d
lea eax, [ebp - 0x108]
push eax
call edi
push 1
push ebx
push dword [esi + 0x2f4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret
Function at 0x10011114
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1011c710]
push ebx
push esi
xor eax, ebp
mov esi, ecx
push edi
mov edi, dword [esi + 0x70]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x2a4]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x1001115a
push ebx
push ebx
push 0xd6
push 0xd2
push 0xcf
lea ecx, [esi + 0x2d8]
call fcn.10069b1d
jmp 0x100111bf
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [edi + 0x2a4]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
call edi
push ebx
push ebx
push str.Pause_hover.gif
push str.Pause_down.gif
lea ecx, [esi + 0x2d8]
push str.Pause_normal.gif
call fcn.10069da8
test eax, eax
jne 0x100111b6
push ebx
push ebx
push 0xd6
push 0xd2
push 0xcf
lea ecx, [esi + 0x2d8]
call fcn.10069b1d
lea eax, [ebp - 0x108]
push eax
call edi
push 1
push ebx
push dword [esi + 0x2f4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret
Function at 0x100128cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
je 0x10012923
mov ebx, dword [ebp + 0xc]
cmp ebx, edi
je 0x10012923
call fcn.1001287b
mov ecx, eax
sub ecx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
cmp ebx, ecx
jbe 0x100128f5
mov ebx, ecx
cmp dword [ebp + 0x10], eax
jae 0x10012923
push edi
push edi
push dword [ebp + 0x10]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
jmp 0x10012925
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100129f6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.1001287b
cmp dword [ebp + 8], 0
mov ebx, eax
je 0x10012a0f
mov ebx, dword [ebp + 8]
and dword [ebp - 4], 0
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp dword [ebp + 8], ecx
jbe 0x10012a1f
mov ebx, ecx
cmp dword [ebp + 0xc], eax
jae 0x10012a58
lea eax, [ebx + 1]
push eax
call fcn.100c6c30
pop ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov ecx, esi
mov edi, eax
call fcn.10012892
push 0
lea eax, [ebp - 4]
push eax
push ebx
push edi
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10012a61
push edi
call fcn.100c6c35
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, esi
call fcn.1001292c
mov eax, dword [ebp - 4]
mov byte [eax + edi], 0
mov eax, dword [ebp - 4]
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], edi
mov eax, edi
jmp 0x10012a5a
Function at 0x10012cc6
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x100d6548
call fcn.100ac440
sub esp, 0x5c
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
cmp eax, esi
push edi
mov edi, ecx
je 0x10012d9e
push eax
lea ecx, [ebp - 0x48]
call fcn.10002218
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 0xf
call fcn.10001594
inc ebx
push ebx
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov byte [ebp - 0x4c], 0x5c
call fcn.10012a7c
cmp eax, esi
jge 0x10012d5b
push 0x100e2ac4
add edi, 4
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.10003201
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001f03
push esi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.100017d0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003000
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10012d76
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x10012d86
cmp eax, 0xffffffff
jne 0x10012d88
xor ebx, ebx
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017d0
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 4
Function at 0x10012de0
Capabilities:
Move file

Disassembly:
mov eax, 0x100d6588
call fcn.100ac440
sub esp, 0x84
mov eax, dword [0x1011c710]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor eax, ebp
push 0xf
pop edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x6c], ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x14], edi
call fcn.10001594
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
mov dword [ebp - 0x4c], edi
call fcn.10001594
cmp ebx, esi
mov byte [ebp - 4], 1
mov edi, 0x100e2ac4
je 0x10012eb6
push ebx
lea ecx, [ebp - 0x48]
call fcn.10002218
xor ebx, ebx
inc ebx
push ebx
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
mov byte [ebp - 0x68], 0x5c
call fcn.10012a7c
cmp eax, esi
jge 0x10012e97
mov eax, dword [ebp - 0x6c]
add eax, 4
push edi
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.10003201
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10001f03
push esi
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.100017d0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003000
push esi
push ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.100017d0
jmp 0x10012ed2
mov ebx, dword [ebp - 0x6c]
push 0xffffffffffffffff
push esi
lea eax, [ebx + 0x20]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001f03
mov ecx, ebx
call fcn.10012dbb
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x74], esi
je 0x10012f78
push dword [ebp - 0x74]
lea ecx, [ebp - 0x48]
call fcn.10002218
push ebx
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
mov byte [ebp - 0x68], 0x5c
call fcn.10012a7c
cmp eax, esi
jge 0x10012f38
mov eax, dword [ebp - 0x6c]
add eax, 4
push edi
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.10003201
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.10001f03
push esi
push ebx
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.100017d0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x64]
call fcn.10003000
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x60]
jae 0x10012f53
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10012f5f
lea eax, [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x10012f6e
mov dword [ebp - 0x70], ebx
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.100017d0
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.100017d0
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100017d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x70]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
leave
ret 8
Function at 0x1001360e
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x10013a0c
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x1011c710]
xor eax, ebp
push ebx
push esi
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0xa4]
xor ebx, ebx
cmp dword [ebp + 0x98], 0x8004
push edi
mov edi, dword [ebp + 0x9c]
mov esi, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ebx
jne 0x10013a55
mov dword [ebp - 0x80], 0x14
jmp 0x10013a68
cmp dword [ebp + 0x98], 0x8003
jne 0x10013a68
mov dword [ebp - 0x80], 0x10
push 0x100
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.100ab720
mov eax, dword [esi + 0x104]
add esp, 0xc
cmp eax, ebx
je 0x10013af3
add esi, 0x108
push esi
push ebx
push ebx
push dword [ebp + 0x98]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10013af3
push ebx
push dword [ebp + 0xa0]
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x10013ae7
push ebx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push 2
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x10013ae7
cmp dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], 1
je 0x10013ae7
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call fcn.100ab860
add esp, 0xc
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [esi], ebx
jmp 0x10013b33
mov eax, dword [ebp + 0x98]
sub eax, 0x8003
je 0x10013b15
dec eax
jne 0x10013b33
push dword [ebp - 0x7c]
push ebx
push dword [ebp + 0xa0]
push edi
call fcn.10013836
jmp 0x10013b25
push dword [ebp - 0x7c]
push ebx
push dword [ebp + 0xa0]
push edi
call fcn.10013900
add esp, 0x10
test al, al
je 0x10013b33
mov dword [ebp - 0x78], 1
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ac33f
add ebp, 0x90
leave
ret 0x10
Function at 0x1001f3e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x100d72c8
call fcn.100ac440
sub esp, 0x28
mov eax, dword [0x1011c710]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x34], eax
call fcn.100cd841
mov esi, dword [eax + 8]
test esi, esi
jne 0x1001f416
xor eax, eax
jmp 0x1001f516
mov eax, dword [ebp + 8]
push ebx
shr eax, 4
push edi
inc eax
movzx eax, ax
push 6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x1001f512
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push edi
push esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebp - 0x30], 0
mov edi, eax
je 0x1001f512
lea esi, [edi + 2]
lea eax, [esi + esi]
push eax
call fcn.100c6c30
push esi
xor esi, esi
mov ebx, eax
push esi
push ebx
call fcn.100ab720
add esp, 0x10
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, esi
je 0x1001f50b
mov ecx, dword [ebp + 8]
and ecx, 0xf
jbe 0x1001f493
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x1001f489
movzx ecx, word [eax]
cmp ecx, edi
jl 0x1001f49c
mov ecx, edi
push ecx
add eax, 2
push eax
push ebx
call fcn.100ae3f4
add esp, 0xc
push esi
lea ecx, [ebp - 0x2c]
mov word [ebx + edi*2], si
mov dword [ebp - 0x14], 0xf
call fcn.10001594
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
push ebx
push 0x3a8
mov dword [ebp - 4], esi
call fcn.1001f384
lea eax, [ebp - 0x2c]
push eax
call fcn.1001f21e
add esp, 0x14
cmp dword [ebp - 0x14], 0x10
mov edi, eax
mov eax, dword [ebp - 0x28]
jae 0x1001f4ec
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
push eax
call fcn.10001f92
push ebx
call fcn.100c6c35
pop ecx
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017d0
mov eax, edi
jmp 0x1001f514
push ebx
call fcn.100c6c35
pop ecx
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.100ac33f
leave
ret

Function at 0x1001f724
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push dword [esi + 0x44]
mov dword [esi + 0x2c], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1001f762
push 0xc350
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x40], 0
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
and dword [esi + 0x2c], 0
pop esi
ret