joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a0f
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x403b9b
Capabilities:
Create directory

Disassembly:
mov eax, 0x428838
call fcn.00427540
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x403bbe
mov al, 1
jmp 0x403c03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403bcf
xor al, al
jmp 0x403c03
lea ecx, [ebp - 0x44]
call fcn.00403fd0
lea ecx, [ebp - 0x1c]
call fcn.00402557
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00404002
test al, al
je 0x403bf8
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00402078
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403ff3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x404001
or eax, eax
ret

Function at 0x4044ee
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4288d4
call fcn.00427540
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401e51
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x4045bc
mov eax, SysReAllocString
cmp ebx, eax
ja 0x40452a
mov eax, ebx
add eax, eax
push eax
call fcn.00402051
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x4045b5
cmp ebx, dword [ebp - 0x14]
ja 0x4045b5
lea ecx, [ebp - 0x2c]
call fcn.00402557
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x40459d
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x404592
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402696
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.00401a7d
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x404568
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00402078
push esi
call fcn.00402078
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4045be
push esi
call fcn.00402078
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40462f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x404655
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404655
xor al, al
jmp 0x404675
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00427830
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x40cedd
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42914e
call fcn.00427540
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.00402557
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040cf2c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40cf89
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x429199
call fcn.00427540
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040f2eb
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040cfd4
push dword [esi + 0x24]
call fcn.00402078
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00411b22
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040d4a3
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41057d
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x42b74c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret

Function at 0x411583
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4298f4
call fcn.00427540
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42bf9c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.00402557
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402557
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.00402557
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402557
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00402557
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42bf64
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41158f
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x4298f4
call fcn.00427540
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x42bf9c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.00402557
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.00402557
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.00402557
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.00402557
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.00402557
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42bf64
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x411a56
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x4299ea
call fcn.00427540
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x42bf9c
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.00402557
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.00402557
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.00402557
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x42c004
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x411ab8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x429a1d
call fcn.00427540
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00411b22
push dword [esi + 0x24]
call fcn.00402078
push dword [esi + 0x18]
call fcn.00402078
push dword [esi + 0xc]
call fcn.00402078
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42bfd0
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x412f7a
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x429cb0
call fcn.00427540
sub esp, 0x320
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.00402557
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x412fe7
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.00412e36
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00412ed6
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004026fa
push dword [ebp - 0x58]
call fcn.00402078
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.00402078
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.004029ef
lea ebx, [eax + 1]
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.0040847f
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.0040259a
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00412f1c
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00412f1c
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040262a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040286c
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.004028df
lea ecx, [ebp - 0x18]
call fcn.0040286c
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.004028df
lea ecx, [ebp - 0x18]
call fcn.0040286c
cmp byte [esi + 1], 0
je 0x4130c3
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.004054cc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004028df
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402078
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42c0bc
call fcn.0040291b
push 0
lea edx, [ebp - 0x78]
lea ecx, [esi + 0x10]
call fcn.004052cb
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040291b
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call esi
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [edi]
push 0x110
lea eax, [ebp - 0x32c]
push 0x2b4
push eax
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x41311a
push dword [ebp + 0xc]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x32c]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
call fcn.00402078
push dword [ebp - 0x34]
call fcn.00402078
push dword [ebp - 0x4c]
call fcn.00402078
push dword [ebp - 0x28]
call fcn.00402078
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x413285
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x429ce8
call fcn.00427540
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.00402557
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.00402557
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.00402557
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.0041331b
lea ecx, [esi + 0x9c]
call fcn.00426320
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x414cc6
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x429f60
call fcn.00427540
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.004138e6
push 1
mov ecx, esi
call fcn.0041423d
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.00410198
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.00402078
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.00414e5c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00414e5c
lea eax, [esi + 0x1e4]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1ac], ebx
lea ebx, [esi + 0x1b4]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.00414e8d
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00414e8d
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x414de0
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x414dd6
push 0x42c1d4
lea ecx, [ebp - 0x50]
call fcn.004027f8
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x414e0b
cmp byte [ebp - 0xd], 0
jne 0x414e21
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x414e3a
cmp dword [ebp - 0x34], ebx
jne 0x414e04
push 0x42c1d4
lea ecx, [ebp - 0x38]
call fcn.004027f8
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x414e3a
cmp byte [esi + 0x136], 0
jne 0x414e3a
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041522a
jmp 0x414e43
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.0041379f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x415845
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc
Function at 0x420660
Capabilities:
Check os version

Disassembly:
sub esp, 0x134
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x420687
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x420690
xor eax, eax
add esp, 0x134
ret
lea ecx, [esp]
call fcn.00420380
test eax, eax
je 0x420687
mov ecx, 7
xor eax, eax
cmp dword [esp], ecx
jb 0x4206dc
lea edx, [esp + 0xc]
push edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0xc]
call fcn.00420320
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
shr eax, 0x1f
shr ecx, 9
and eax, ecx
add esp, 0x134
ret

Function at 0x4207c0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
push ebp
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4207ee
cmp dword [esp + 0xc], 6
jne 0x4207ee
mov eax, dword [esp + 0x10]
test eax, eax
je 0x420818
push str.SetDefaultDllDirectories
push 0x42b6ac
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420818
push 0xc00
call eax
test eax, eax
jne 0x4208ce
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4208ce
cmp eax, 0x104
ja 0x4208ce
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x420864
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.UXTHEME]
cmp byte [esi], 0
je 0x4208ce
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, byte [esi]
xor cx, cx
inc esi
mov cl, al
test al, al
mov word [esp + ebp*2 + 0x124], cx
je 0x4208aa
lea ecx, [esp + ebp*2 + 0x126]
mov al, byte [esi]
xor dx, dx
mov dl, al
inc esi
mov word [ecx], dx
add ecx, 2
test al, al
jne 0x420898
lea eax, [esp + 0x124]
push str..dll
push eax
call edi
lea ecx, [esp + 0x124]
push 8
push 0
push ecx
call ebx
cmp byte [esi], 0
jne 0x42087d
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret
Function at 0x424072
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x4240db
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x42411c
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x424101
mov ecx, ebx
call fcn.00423d60
add ebx, 0x28
dec ebp
jne 0x4240f5
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x424117
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00423c90
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.004241c0
mov ebx, eax
cmp ebx, edi
jne 0x42417f
lea ecx, [ebp + 0x20]
call fcn.00426270
mov ebx, eax
cmp ebx, edi
jne 0x42417f
lea ecx, [ebp + 0x1c]
call fcn.00426270
mov ebx, eax
cmp ebx, edi
jne 0x42417f
push ebp
call fcn.00424210
mov ebx, eax
cmp ebx, edi
je 0x424194
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.004241f0
cmp ebx, edi
jle 0x42418f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x424194
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x4241a6
cmp dword [esi + 0x40], edi
jne 0x4241a6
cmp dword [esi + 0x3c], edi
jne 0x4241a6
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x426230
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x426259
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x426268
mov eax, 1
ret 4

Function at 0x426e10
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [fcn.00426e60]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret

Function at 0x427420
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
and edi, 0x3f
mov byte [edi + esi + 0x40], 0x80
inc edi
mov ebp, edx
cmp edi, 0x38
je 0x42745d
lea esp, [esp]
and edi, 0x3f
jne 0x427452
push 1
lea ecx, [esi + 0x20]
lea edx, [esi + 0x40]
call fcn.00426e60
mov byte [esi + edi + 0x40], 0
inc edi
cmp edi, 0x38
jne 0x427440
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
shld ecx, eax, 3
add eax, eax
add eax, eax
bswap ecx
add eax, eax
mov dword [esi + 0x78], ecx
bswap eax
push 1
lea edx, [esi + 0x40]
lea ecx, [esi + 0x20]
mov dword [esi + 0x7c], eax
call fcn.00426e60
lea ecx, [esi + 0x20]
mov edx, 4
lea esp, [esp]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
bswap ebx
bswap eax
mov dword [ebp], ebx
mov dword [ebp + 4], eax
add ebp, 8
add ecx, 8
dec edx
jne 0x427490
xor eax, eax
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret
Function at 0x100de1a
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x874
mov eax, dword [0x1084efc]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0xbc7
push 0
mov dword [ebp - 0x828], ecx
call edi
xor ecx, ecx
cmp word [ebp - 0x20c], cx
lea eax, [ebp - 0x20c]
je 0x100de76
cmp word [eax], 0x23
jne 0x100de6f
mov word [eax], cx
inc eax
inc eax
cmp word [eax], cx
jne 0x100de66
push esi
lea eax, [ebp - 0x61c]
push eax
push 0xbc8
push ecx
call edi
push esi
lea eax, [ebp - 0x824]
push eax
push 0xbc9
push 0
call edi
and word [ebp - 0x414], 0
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
push 0x13
pop ecx
lea edi, [ebp - 0x874]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x870], eax
mov eax, dword [ebp - 0x828]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x86c], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x868], eax
xor esi, esi
lea eax, [ebp - 0x61c]
inc esi
push ebx
mov dword [ebp - 0x874], 0x4c
mov dword [ebp - 0x85c], esi
mov dword [ebp - 0x858], ebx
mov dword [ebp - 0x854], 0x208
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x840], 0x801000
mov dword [ebp - 0x838], 0x1001368
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x100df38
lea eax, [ebp - 0x414]
mov dword [ebp - 0x848], eax
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x100df5a
push dword [ebp - 0x858]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, esi
jmp 0x100df5c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01010358
leave
ret 8