joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426066
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4433b0]
je 0x426081
inc edi
cmp edi, 0x17
jb 0x426072
cmp edi, 0x17
jae 0x426201
push ebp
push 3
call fcn.0042c000
cmp eax, 1
pop ecx
je 0x4261cd
push 3
call fcn.0042c000
test eax, eax
pop ecx
jne 0x4260b5
cmp dword [0x442ab8], 1
je 0x4261cd
cmp ebx, 0xfc
je 0x426200
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4465c8
push ebp
call fcn.004247a8
add esp, 0xc
test eax, eax
je 0x4260eb
push esi
push esi
push esi
push esi
push esi
call fcn.00421851
add esp, 0x14
push 0x104
mov esi, 0x4465e1
push esi
push 0
mov byte [0x4466e5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42612f
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004247a8
add esp, 0xc
test eax, eax
je 0x42612f
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00421851
add esp, 0x14
push esi
call fcn.00424810
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x426174
push esi
call fcn.00424810
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4468dc
push 0x435d7c
sub ecx, eax
push ecx
push eax
call fcn.0042ba26
add esp, 0x14
test eax, eax
je 0x426174
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00421851
add esp, 0x14
jmp 0x426176
xor esi, esi
push 0x435d78
push ebx
push ebp
call fcn.0042b96d
add esp, 0xc
test eax, eax
je 0x426196
push esi
push esi
push esi
push esi
push esi
call fcn.00421851
add esp, 0x14
push dword [edi*8 + 0x4433b4]
push ebx
push ebp
call fcn.0042b96d
add esp, 0xc
test eax, eax
je 0x4261b8
push esi
push esi
push esi
push esi
push esi
call fcn.00421851
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0042be43
add esp, 0xc
jmp 0x426200
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x426200
cmp ebp, 0xffffffff
je 0x426200
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4433b4]
push dword [esi]
call fcn.00424810
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x42be43
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00423915
xor ebx, ebx
cmp dword [0x446b34], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42bf19
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42bff9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x42bff9
push eax
call fcn.004238a7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x446b34], eax
call esi
push eax
call fcn.004238a7
mov dword [esp], 0x436f90
push edi
mov dword [0x446b38], eax
call esi
push eax
call fcn.004238a7
mov dword [0x446b3c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0042228a
test eax, eax
pop ecx
pop ecx
je 0x42bee7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421851
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42bf19
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004238a7
cmp eax, ebx
pop ecx
mov dword [0x446b44], eax
je 0x42bf19
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004238a7
pop ecx
mov dword [0x446b40], eax
mov eax, dword [0x446b40]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x42bf9e
cmp dword [0x446b44], ecx
je 0x42bf9e
push eax
call fcn.0042391e
push dword [0x446b44]
mov esi, eax
call fcn.0042391e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x42bf9e
cmp edi, ebx
je 0x42bf9e
call esi
cmp eax, ebx
je 0x42bf6b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42bf6b
test byte [ebp - 0x18], 1
jne 0x42bf9e
lea eax, [ebp - 0x10]
push eax
call fcn.004222c1
test eax, eax
pop ecx
je 0x42bf86
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00421851
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42bf95
or dword [ebp + 0x10], 0x200000
jmp 0x42bfd9
or dword [ebp + 0x10], 0x40000
jmp 0x42bfd9
mov eax, dword [0x446b38]
cmp eax, dword [ebp - 8]
je 0x42bfd9
push eax
call fcn.0042391e
cmp eax, ebx
pop ecx
je 0x42bfd9
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42bfd9
mov eax, dword [0x446b3c]
cmp eax, dword [ebp - 8]
je 0x42bfd9
push eax
call fcn.0042391e
cmp eax, ebx
pop ecx
je 0x42bfd9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446b34]
call fcn.0042391e
cmp eax, ebx
pop ecx
je 0x42bff9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42bffb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430e80
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x431ae0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x446f50]
test al, al
jne 0x431af5
call fcn.00431aa0
mov byte [0x446f50], 1
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
jle 0x431b32
mov edx, dword [esp + 8]
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 8]
push edi
mov cl, byte [edx]
mov edi, eax
and ecx, 0xff
and edi, 0xff
xor ecx, edi
inc edx
shr eax, 8
mov ecx, dword [ecx*4 + 0x446b50]
xor eax, ecx
dec esi
jne 0x431b0d
pop edi
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x431b40
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
jle 0x431b80
mov ecx, dword [esp + 8]
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 8]
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
inc ecx
mov eax, edx
mov edx, 8
test al, 1
je 0x431b76
shr eax, 1
xor eax, 0xedb88320
jmp 0x431b78
shr eax, 1
dec edx
jne 0x431b69
dec esi
jne 0x431b57
pop esi
ret
mov eax, dword [esp + 4]
ret

Function at 0x431eaa
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x442abc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00431e3f
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00422e90
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x431ef9
cmp dword [ebp - 0x1c], 5
jb 0x431f11
jmp 0x431f0d
cmp dword [ebp - 0x10], 1
jne 0x431f11
cmp dword [ebp - 0x1c], 4
ja 0x431f0d
jne 0x431f11
cmp dword [ebp - 0x18], 0
jbe 0x431f11
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x437184
call fcn.00431d13
test eax, eax
jge 0x431f32
mov byte [0x4487b0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004217dd
add ebp, 0x78
leave
ret
Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4039d7
Capabilities:
Set file attributes

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

Function at 0x403b50
Capabilities:
Create directory

Disassembly:
mov eax, 0x424ebc
call fcn.00424100
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 0x403b73
mov al, 1
jmp 0x403bb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403b84
xor al, al
jmp 0x403bb8
lea ecx, [ebp - 0x44]
call fcn.00403f85
lea ecx, [ebp - 0x1c]
call fcn.004025e4
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403fb7
test al, al
je 0x403bad
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00402125
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

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

Function at 0x40445e
Capabilities:
Get disk information

Disassembly:
mov eax, 0x424f44
call fcn.00424100
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401f06
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
je 0x40451e
lea eax, [ebx + ebx]
push eax
call fcn.004020fe
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x404517
cmp edi, ebx
ja 0x404517
lea ecx, [ebp - 0x2c]
call fcn.004025e4
xor eax, eax
xor ebx, ebx
cmp edi, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
jbe 0x4044ff
push 2
pop edi
cmp word [esi + edi - 2], 0
jne 0x4044f4
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004026d9
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00401a82
mov eax, edi
inc ebx
inc edi
inc edi
cmp ebx, dword [ebp - 0x10]
jb 0x4044ca
mov edi, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00402125
push esi
call fcn.00402125
cmp dword [ebp - 0x14], edi
pop ecx
pop ecx
sete al
jmp 0x404520
push esi
call fcn.00402125
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 0x404588
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 0x4045ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4045ae
xor al, al
jmp 0x4045ce
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00424400
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 0x40c580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4256f6
call fcn.00424100
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.004025e4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c5cf
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40c62c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425741
call fcn.00424100
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040e901
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040c677
push dword [esi + 0x24]
call fcn.00402125
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00401ac9
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040cb18
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40fb8c
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 0x4276f4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret

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

Disassembly:
mov eax, 0x425e84
call fcn.00424100
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], 0x427ec4
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.004025e4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025e4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025e4
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025e4
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.004025e4
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427e90
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x410bca
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x425e84
call fcn.00424100
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], 0x427ec4
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.004025e4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025e4
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025e4
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025e4
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.004025e4
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x427e90
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x425f7a
call fcn.00424100
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], 0x427ec4
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.004025e4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004025e4
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004025e4
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x427f24
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x425fad
call fcn.00424100
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00401ac9
push dword [esi + 0x24]
call fcn.00402125
push dword [esi + 0x18]
call fcn.00402125
push dword [esi + 0xc]
call fcn.00402125
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x427ef4
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4124eb
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x426240
call fcn.00424100
sub esp, 0x340
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x34]
call fcn.004025e4
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x412558
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.004123ca
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.0041246a
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040273d
push dword [ebp - 0x4c]
call fcn.00402125
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.00402125
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402a08
lea ebx, [eax + 1]
lea eax, [ebp - 0x28]
push ebx
push eax
mov ecx, edi
call fcn.00402f2f
mov eax, dword [edi]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.00402628
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004124b0
lea eax, [ebp - 0x58]
mov ecx, ebx
push eax
call fcn.004124b0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040266b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004027f0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402863
lea ecx, [ebp - 0x18]
call fcn.004027f0
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402863
lea ecx, [ebp - 0x18]
call fcn.004027f0
cmp byte [esi + 1], 0
je 0x412663
lea eax, [ebp - 0x48]
add esi, 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x41260d
lea eax, [ebp + 0x10]
push 0x428e00
push eax
mov dword [ebp + 0x10], 0x3ff0c2
call sub.MSVCRT.dll__CxxThrowException
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405367
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00402863
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00402125
lea ecx, [ebp - 0x18]
mov dword [esp], 0x428034
call fcn.00402817
push 1
push 1
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x48]
call fcn.00405327
lea eax, [ebp - 0x98]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402817
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 - 0x34c]
push 0x2b4
push eax
push 0x80
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4126ba
push dword [ebp + 0xc]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x34c]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x18]
call fcn.00402125
push dword [ebp - 0x58]
call fcn.00402125
push dword [ebp - 0x28]
call fcn.00402125
push dword [ebp - 0x34]
call fcn.00402125
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x412825
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x426278
call fcn.00424100
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.004025e4
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004025e4
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004025e4
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.004128bb
lea ecx, [esi + 0x9c]
call fcn.00423040
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret