joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100298bd
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1003f144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1001e754
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1001e754
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10029934
cmp word [ecx], dx
je 0x10029934
mov eax, dword [0x1003580c]
push edi
dec eax
push eax
push 0x100356f8
call fcn.1002985c
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100299a7
cmp word [eax], dx
je 0x100299a7
mov eax, dword [edi]
test eax, eax
je 0x10029958
cmp word [eax], dx
je 0x10029958
lea eax, [ebp - 0x10]
push eax
call fcn.1002923f
jmp 0x10029961
lea eax, [ebp - 0x10]
push eax
call fcn.100292da
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100299d1
mov eax, dword [0x100356f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100353e8
call fcn.1002985c
add esp, 0xc
test al, al
je 0x100299d1
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1002999c
cmp word [eax], di
je 0x1002999c
lea eax, [ebp - 0x10]
push eax
call fcn.1002923f
pop ecx
jmp 0x100299d3
lea eax, [ebp - 0x10]
push eax
call fcn.100292da
jmp 0x10029999
mov eax, dword [edi]
test eax, eax
je 0x100299be
cmp word [eax], dx
je 0x100299be
lea eax, [ebp - 0x10]
push eax
call fcn.100291f4
pop ecx
jmp 0x100299d1
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10029a9c
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100296e1
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10029a9c
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10029a9c
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10029a9c
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10029a29
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10021976
test ebx, ebx
je 0x10029a97
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10021976
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10029a9c
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10029a9c
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1002d05a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10029a9e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10012861
leave
ret
Function at 0x1002d851
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1002d7cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1002d9c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1002d9c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1002d975
jg 0x1002d8ad
test eax, eax
je 0x1002d96b
push 1
push 0x1000
call fcn.100202f6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1002d8d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002d962
push 0x8000
push ebx
call fcn.1002d6fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1002d8f9
jg 0x1002d8f4
cmp ecx, 0x1000
jb 0x1002d8f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10020d5c
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002d93e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1002d8f4
jl 0x1002d925
test ecx, ecx
jne 0x1002d8e6
push dword [ebp - 0xc]
push ebx
call fcn.1002d6fe
push esi
call fcn.10020f78
add esp, 0xc
xor ebx, ebx
jmp 0x1002d9ce
cmp byte [edi + 0x24], 0
je 0x1002d955
cmp dword [edi + 0x20], 5
jne 0x1002d955
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1002d960
mov ebx, dword [edi + 0x18]
jmp 0x1002d962
xor ebx, ebx
push esi
call fcn.10020f78
pop ecx
jmp 0x1002d9ce
test ecx, ecx
jg 0x1002d937
jl 0x1002d975
test eax, eax
jae 0x1002d937
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10024f72
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1002d995
cmp byte [edi + 0x1c], 0
je 0x1002d937
jmp 0x1002d9c6
push ebx
call fcn.10027686
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1002d937
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1002d9ce
cmp byte [edi + 0x1c], 0
je 0x1002d9cb
mov ebx, dword [edi + 0x18]
jmp 0x1002d9ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10024f72
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002f030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002f05d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002f05d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x408950
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.00408974
mov ebx, 0x60bdbfa0
or ecx, ebx
xor dword [esi], eax
sub ebx, 1
inc esi
inc ecx
cmp esi, edx
jne fcn.00408950
sub ecx, ecx
ret
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40611c
pop dword [ebp - 4]
mov eax, 0xd7829835
add eax, 0x28bdc8e7
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xc389532
add dword [ebp - 0x14], 0x4219b019
mov dword [ebp - 0x10], 0x2adf3129
add dword [ebp - 0x10], 0x7541b1c
mov dword [ebp - 0xc], 0x830ecd6b
sub dword [ebp - 0xc], 0x36c2893d
mov dword [ebp - 8], 0x4de9fff4
sub dword [ebp - 8], 0x4de9fff4
lea eax, [ebp - 0x14]
push eax
mov eax, 0xb7ff1a81
sub eax, 0xb7beaa21
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xb4da5135
add dword [ebp - 0x14], 0xbf981821
mov dword [ebp - 0x10], 0xabfd27ea
add dword [ebp - 0x10], 0x956f398b
mov dword [ebp - 0xc], 0x7f17ca9b
sub dword [ebp - 0xc], 0x1ba85e2f
mov dword [ebp - 8], 0xe4f49bd
add dword [ebp - 8], 0xf1b0b643
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x38dc7
push 0
call eax
mov ecx, 0x5103
mov ebx, eax
mov esi, 0x5ff328a5
sub esi, 0x5fb228a5
add esi, dword [ebp - 4]
mov edi, 0x22c7c28f
add edi, 0x22690764
mov edx, dword [esi]
xor edx, edi
mov dword [ebx], edx
add ebx, 0xe156c2ce
add ebx, 0x1ea93d36
add esi, 0xe8bac3e0
sub esi, 0xe8bac3dc
loop 0x406233
add eax, 0xc394ddaf
add eax, 0x3c6c5930
xor ebx, ebx
add ebx, eax
add eax, 0x1fdbe018
sub eax, 0x1fdbe013
mov ecx, 0x8c8c4091
sub ecx, 0x8c4c4091
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x409be9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x409bf8
pop dword [ebp - 0x40]
mov eax, 0x409bf8
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x1b6f8b71
add dword [ebp - 0x50], 0x32e2b9da
mov dword [ebp - 0x4c], 0x89b7b411
sub dword [ebp - 0x4c], 0x578467cc
mov dword [ebp - 0x48], 0x4170ccf3
sub dword [ebp - 0x48], 0xf52488c5
mov dword [ebp - 0x44], 0xf57adff9
add dword [ebp - 0x44], 0xa852007
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x5e4bcf89
add dword [ebp - 0x50], 0x162699cd
mov dword [ebp - 0x4c], 0x2ed83d43
add dword [ebp - 0x4c], 0x12942432
mov dword [ebp - 0x48], 0x1f65c9c6
sub dword [ebp - 0x48], 0xbbf65d5a
mov dword [ebp - 0x44], 0x929e6378
sub dword [ebp - 0x44], 0x929e6378
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x622a18e8
add eax, 0x9e18183c
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x41223
push 0
call eax
mov ecx, 0x86a63f2a
sub ecx, 0x86a5e9eb
mov ebx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x40]
mov edx, 0x171ff212
add edx, 0xfee8cb32
xor dword [ebp - 0x1c], ecx
mov esi, dword [edi]
add esi, edx
xor dword [ebp - 0x30], 0xb73841e2
mov dword [ebx], esi
add ebx, 4
add edi, 0xe27712ab
sub edi, 0xe27712a7
loop 0x409d0a
add eax, 0x27a0fc9c
add eax, 0xd8604b33
mov ebx, eax
add eax, 0x6c6b388a
add eax, 0x9394c77b
mov ecx, 0xf993f04d
add ecx, 0x6ac0fb3
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x4037ef
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
and dword [ebp - 4], 0
push esi
push edi
push dword [ebp + 8]
mov ebx, ecx
mov edi, edx
lea ecx, [ebp - 4]
push 0x2002
call fcn.0040532c
test al, al
jne 0x403816
xor bl, bl
jmp 0x40384c
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x403812
push dword [ebp + 8]
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x403812
and dword [ebp - 4], 0
mov bl, 1
lea ecx, [ebp - 4]
call fcn.0040534d
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4039fe
Capabilities:
Set file attributes

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

Function at 0x403b8a
Capabilities:
Create directory

Disassembly:
mov eax, 0x4298d0
call fcn.00428640
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 0x403bad
mov al, 1
jmp 0x403bf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403bbe
xor al, al
jmp 0x403bf3
lea ecx, [ebp - 0x44]
call fcn.00403d38
lea ecx, [ebp - 0x1c]
call fcn.0040263a
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403fef
test al, al
je 0x403be8
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.0040215b
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x403fee
or eax, eax
ret
Function at 0x4046b4
Capabilities:
Get disk information

Disassembly:
mov eax, 0x429994
call fcn.00428640
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401f34
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 0x404782
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4046f0
mov eax, ebx
add eax, eax
push eax
call fcn.00402134
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 0x40477b
cmp ebx, dword [ebp - 0x14]
ja 0x40477b
lea ecx, [ebp - 0x2c]
call fcn.0040263a
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x404763
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x404758
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402779
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.00401b02
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x40472e
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.0040215b
push esi
call fcn.0040215b
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x404784
push esi
call fcn.0040215b
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 0x404812
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 0x404838
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404838
xor al, al
jmp 0x404858
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00428920
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 0x40d97a
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x42a3c2
call fcn.00428640
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.0040263a
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040d9c9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40da26
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x42a40d
call fcn.00428640
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040fef2
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040da71
push dword [esi + 0x24]
call fcn.0040215b
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.0041273c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040dfc0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

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

Disassembly:
mov eax, 0x42ab7c
call fcn.00428640
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], 0x42d0c0
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.0040263a
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040263a
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040263a
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040263a
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.0040263a
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42d084
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4121a4
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x42ab7c
call fcn.00428640
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], 0x42d0c0
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.0040263a
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.0040263a
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.0040263a
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.0040263a
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.0040263a
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42d084
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x42ac72
call fcn.00428640
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], 0x42d0c0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.0040263a
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.0040263a
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.0040263a
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x42d130
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x42aca5
call fcn.00428640
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.0041273c
push dword [esi + 0x24]
call fcn.0040215b
push dword [esi + 0x18]
call fcn.0040215b
push dword [esi + 0xc]
call fcn.0040215b
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42d0f8
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x413bc9
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x42af38
call fcn.00428640
sub esp, 0x320
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.0040263a
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x413c36
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.00413a85
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00413b25
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004027dd
push dword [ebp - 0x58]
call fcn.0040215b
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.0040215b
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402ad2
lea ebx, [eax + 1]
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.00408689
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.0040267d
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00413b6b
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00413b6b
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040270d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040294f
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.004029c2
lea ecx, [ebp - 0x18]
call fcn.0040294f
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.004029c2
lea ecx, [ebp - 0x18]
call fcn.0040294f
cmp byte [esi + 1], 0
je 0x413d12
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405729
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.004029c2
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.0040215b
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42d1f8
call fcn.004029fe
push 0
lea edx, [ebp - 0x78]
lea ecx, [esi + 0x10]
call fcn.00405528
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
call fcn.004029fe
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 0x413d69
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.0040215b
push dword [ebp - 0x34]
call fcn.0040215b
push dword [ebp - 0x4c]
call fcn.0040215b
push dword [ebp - 0x28]
call fcn.0040215b
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x413f40
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42af70
call fcn.00428640
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.0040263a
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.0040263a
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.0040263a
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.00413fd6
lea ecx, [esi + 0x9c]
call fcn.004273e0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret