joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d400c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100d402e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d402e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d402e
ret
cmp word [ebx + 4], 0x14c
jne 0x100d402e
test word [ebx + 0x16], 2
je 0x100d402e
test word [ebx + 0x16], 0x100
je 0x100d402e
cmp word [ebx + 0x18], 0x10b
jne 0x100d402e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d402e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d40ba
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d404e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100baf99
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d402e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100d40ba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100d402e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100d402e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100d402e
ret
cmp word [ebx + 4], 0x14c
jne 0x100d402e
test word [ebx + 0x16], 2
je 0x100d402e
test word [ebx + 0x16], 0x100
je 0x100d402e
cmp word [ebx + 0x18], 0x10b
jne 0x100d402e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100d402e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100d40ba
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100d404e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100baf99
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100d402e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100d4171
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100d41ca
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100d4171
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100d4180
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104d9e23
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100d41d1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100bb047
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100d4270
add edi, 4
add eax, 2
dec ecx
jne 0x100d41b6
call 0x100d421d
loope 0x100d4213
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100d426d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100d427e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100d4231
cmp eax, ecx
ja 0x100d4231
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100d42bb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100d42b1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100bb526
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100d4180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100d41ca
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100d4171
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100d4180
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104d9e23
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100d41d1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100bb047
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100d4270
add edi, 4
add eax, 2
dec ecx
jne 0x100d41b6
call 0x100d421d
loope 0x100d4213
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100d426d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100d427e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100d4231
cmp eax, ecx
ja 0x100d4231
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100d42bb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100d42b1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100bb526
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403894
Capabilities:
Set file attributes

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

Function at 0x403a20
Capabilities:
Create directory

Disassembly:
mov eax, 0x428c40
call fcn.004279c0
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 0x403a43
mov al, 1
jmp 0x403a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403a54
xor al, al
jmp 0x403a89
lea ecx, [ebp - 0x44]
call fcn.00403be3
lea ecx, [ebp - 0x1c]
call fcn.004025be
push ebx
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00403e9a
test al, al
je 0x403a7e
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004020df
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

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

Function at 0x4044e8
Capabilities:
Get disk information

Disassembly:
mov eax, 0x428cf0
call fcn.004279c0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401eb8
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 0x4045b6
mov eax, SysReAllocString
cmp ebx, eax
ja 0x404524
mov eax, ebx
add eax, eax
push eax
call fcn.004020b8
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 0x4045af
cmp ebx, dword [ebp - 0x14]
ja 0x4045af
lea ecx, [ebp - 0x2c]
call fcn.004025be
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x404597
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x40458c
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004026fd
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.00401a86
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x404562
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.004020df
push esi
call fcn.004020df
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x4045b8
push esi
call fcn.004020df
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 0x40463d
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 0x404663
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404663
xor al, al
jmp 0x404683
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00427ca0
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 0x40d093
Capabilities:
Access peb ldr_data
Get ntdll base address

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

Function at 0x40d13f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4296d9
call fcn.004279c0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040f54b
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040d18a
push dword [esi + 0x24]
call fcn.004020df
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00401acd
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040d6ba
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

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

Disassembly:
mov eax, 0x429e48
call fcn.004279c0
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], 0x42c020
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.004025be
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025be
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025be
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025be
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.004025be
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42bfe8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x411844
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x429e48
call fcn.004279c0
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], 0x42c020
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.004025be
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004025be
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004025be
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004025be
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.004025be
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x42bfe8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x429f3e
call fcn.004279c0
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], 0x42c020
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.004025be
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004025be
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004025be
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x42c088
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
mov eax, 0x429f71
call fcn.004279c0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00401acd
push dword [esi + 0x24]
call fcn.004020df
push dword [esi + 0x18]
call fcn.004020df
push dword [esi + 0xc]
call fcn.004020df
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42c054
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x413203
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x42a204
call fcn.004279c0
sub esp, 0x320
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.004025be
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x413270
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.004130bf
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0041315f
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402761
push dword [ebp - 0x58]
call fcn.004020df
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.004020df
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402a56
lea ebx, [eax + 1]
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.004084c0
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.00402601
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004131a5
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.004131a5
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402691
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004028d3
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402946
lea ecx, [ebp - 0x18]
call fcn.004028d3
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402946
lea ecx, [ebp - 0x18]
call fcn.004028d3
cmp byte [esi + 1], 0
je 0x41334c
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.00405512
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00402946
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004020df
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42c140
call fcn.00402982
push 0
lea edx, [ebp - 0x78]
lea ecx, [esi + 0x10]
call fcn.00405311
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402982
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 0x4133a3
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.004020df
push dword [ebp - 0x34]
call fcn.004020df
push dword [ebp - 0x4c]
call fcn.004020df
push dword [ebp - 0x28]
call fcn.004020df
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41357a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x42a23c
call fcn.004279c0
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.004025be
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004025be
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004025be
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.00413610
lea ecx, [esi + 0x9c]
call fcn.00426760
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x414fb9
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x42a4b4
call fcn.004279c0
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00413bdb
push 1
mov ecx, esi
call fcn.00414532
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0041044d
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.004020df
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.0041514f
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.0041514f
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.00415180
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00415180
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 0x4150d3
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x4150c9
push 0x42c258
lea ecx, [ebp - 0x50]
call fcn.0040285f
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x4150fe
cmp byte [ebp - 0xd], 0
jne 0x415114
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x41512d
cmp dword [ebp - 0x34], ebx
jne 0x4150f7
push 0x42c258
lea ecx, [ebp - 0x38]
call fcn.0040285f
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 0x41512d
cmp byte [esi + 0x136], 0
jne 0x41512d
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041551d
jmp 0x415136
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.00413a94
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x415b38
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 0x420a30
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 0x420a5e
cmp dword [esp + 0xc], 6
jne 0x420a5e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x420a88
push str.SetDefaultDllDirectories
push 0x42b6ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420a88
push 0xc00
call eax
test eax, eax
jne 0x420b3e
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x420b3e
cmp eax, 0x104
ja 0x420b3e
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x420ad4
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.UXTHEME]
cmp byte [esi], 0
je 0x420b3e
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 0x420b1a
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 0x420b08
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 0x420aed
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret