joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c645b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edx
push ebx
push eax
jmp 0x7c310c
pop esp
pop ebp
ret
lodsd eax, dword [esi]
add eax, ebx
push ecx
pop ebx
jmp 0x7c5206
pop esi
push eax
pop eax
add esi, dword [esi + 0x3c]
add esi, 0x78
mov edi, edi
jmp 0x7bb078
add edx, 0x1c
mov edx, dword [edx]
add edx, ebx
shl ecx, 2
add edx, ecx
mov edx, dword [edx]
add edx, ebx
push edx
pop eax
pop edi
jmp 0x7c14bf
add edx, ebx
push ebp
pop ebp
xor ecx, ecx
jmp 0x7c2176
ret
push edi
pop edi
jne 0x7c9424
mov edx, dword [ebp + 0x18]
cmp dword [ebx + 0xc], edx
jne 0x7c9424
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
jmp 0x7c3c29
dec ecx
push ebx
push ecx
jmp 0x7bf3f2
add esi, ebx
mov esi, dword [esi]
jmp 0x7c45ab
mov edx, dword [ebp + 0x10]
push esi
pop esi
cmp dword [ebx + 4], edx
je 0x7bdc66
jmp 0x7bdc61
push edx
pop edx
mov esi, dword [esi]
add esi, ebx
mov dword [ebp - 0x10], esi
jmp 0x7cd621
push edi
jmp 0x7c1b04
push edi
pop edi
pop esp
mov esi, esi
pop ebp
jmp 0x7b4c8a
jmp 0x7c9424
mov edx, dword [ebp + 0x14]
mov esp, esp
cmp dword [ebx + 8], edx
jmp 0x7b55e1
push ebp
pop ebp
pop ebx
shl ebx, 1
push edi
pop edi
jmp 0x7b40c9
pop esi
jmp 0x7b9204
pop edi
cld
repne scasb al, byte es:[edi]
pop ecx
sub edi, esi
jmp 0x7c9409
pop esi
pop ecx
pop ebx
pop edx
push ebp
jmp 0x7ad924
mov ebx, dword [ebp + 8]
push ecx
pop ecx
push ebx
jmp 0x7afff7
mov cx, word [edx]
pop ebx
push eax
pop edx
jmp 0x7b0f9b
pop eax
push ecx
push esi
jmp 0x7bb1f4
push eax
pop edx
add edx, 0x24
nop
jmp 0x7c73cf
add esi, dword [ebp + 8]
push eax
mov edx, edx
push esi
lea edx, [ebp - 0xc8]
push edx
push ecx
xor eax, eax
sub ecx, ecx
dec ecx
push esi
jmp 0x7c11ac
dec ebx
shl ebx, 2
push eax
push esp
pop esp
jmp 0x7c9054
push ebp
push esp
pop ebp
sub esp, 0x100
jmp 0x7ac75e
push ebp
jmp 0x7bd3ab
mov edx, edx
xchg esp, esp
mov edx, dword [edx]
xchg ebx, ebx
add edx, ebx
jmp 0x7b76c1
jmp 0x7bf891
dec edi
push edi
push esi
call fcn.007ad927
pop esi
pop eax
lea ebx, [ebp - 0xc8]
mov edx, dword [ebp + 0xc]
cmp dword [ebx], edx
je 0x7ba1fa
dec ecx
jne 0x7afbdf
pop edi
pop esi
pop ecx
pop ebx
pop edx
mov eax, 0
jmp 0x7c6679
add esi, 0x18
lodsd eax, dword [esi]
push eax
pop ecx
push esp
pop esp
mov esi, dword [ebp - 0x10]
add esi, 0x20
jmp 0x7afbdc
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xc8
push 0x406168
push 0x2711
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0xc8
push 0x406230
push 0x2712
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, 0x406168
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x40103e
test eax, eax
jle 0x401052
mov dword [ebp - 4], 0
jmp 0x40106d
push 0
push str.Error_
push str.Turbo_virtualized_exe_cant_be_empty_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 1
push 0
push 0x406168
call fcn.00403b80
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x4010a6
cmp dword [ebp - 8], 0
je 0x4010a6
push 0
push str.Error_
push str.Turbo_virtualized_exe_dont_exist_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 1
mov edx, 0x406230
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4010ae
test eax, eax
jg 0x4010d4
push 0
push str.Error_
push str.Command_line_parameter_cant_be_empty_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x4010f5
push 1
push 0
push 0x406230
push 0x406168
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401100
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40407c
push 0x401228
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2000000
call fcn.00401ee0
pop ecx
mov dword [0x4054b8], eax
call fcn.00401440
test eax, eax
je 0x401171
mov dword [ebp - 4], 0
call fcn.00401670
call fcn.00401730
call fcn.00401780
call fcn.00401b90
call fcn.00401c30
mov ebx, 0x404784
cmp ebx, 0x404784
jae 0x40118b
jmp 0x40117e
push 0xfffffffffffffffe
call fcn.00401cf0
pop ecx
jmp 0x40120f
call dword [ebx]
add ebx, 4
cmp ebx, 0x404784
jb 0x40117e
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
call fcn.00401dd0
test byte [ebp - 0x34], 1
je 0x4011b7
movzx edx, word [ebp - 0x30]
jmp 0x4011bc
mov edx, 0xa
push edx
push eax
push 0
push ebx
call section..text
mov ebx, eax
mov esi, 0x404784
cmp esi, 0x404784
jae 0x4011e2
call dword [esi]
add esi, 4
cmp esi, 0x404784
jb 0x4011d5
push ebx
call fcn.00401e10
pop ecx
jmp 0x40120f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401b90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
jne 0x401bc2
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.004019f0
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00402a30
pop ecx
mov edi, eax
test edi, edi
je 0x401c17
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [edi + eax*4]
push eax
push edi
push esi
call fcn.004019f0
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x4054a0], eax
mov dword [0x4054a4], edi
jmp 0x401c1f
push 0xfffffffffffffffc
call fcn.00401cf0
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401c30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov edx, eax
mov dword [ebp - 4], edx
test eax, eax
jne 0x401c50
mov eax, dword [0x405574]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, eax
xor ecx, ecx
jmp 0x401c71
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x401c5e
lea edi, [eax + 1]
cmp byte [esi], 0x3d
je 0x401c6f
add ecx, edi
add esi, edi
cmp byte [esi], 0
jne 0x401c59
inc ecx
push ecx
call fcn.00402a30
pop ecx
mov ebx, eax
mov dword [0x4054ac], eax
cmp dword [0x4054ac], 0
je 0x401cdd
mov eax, dword [ebp - 4]
mov esi, eax
jmp 0x401cbf
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x401c9a
lea edi, [eax + 1]
cmp byte [esi], 0x3d
je 0x401cbd
mov ecx, ebx
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x401cb0
pop eax
add ebx, edi
add esi, edi
cmp byte [esi], 0
jne 0x401c95
mov byte [ebx], 0
mov eax, dword [ebp - 4]
cmp eax, dword [0x405574]
je 0x401ce5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x401ce5
push 0xfffffffffffffffc
call fcn.00401cf0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401cf0
Capabilities:
Print debug messages

Disassembly:
push ebx
mov eax, dword [esp + 8]
lea edx, [eax + 0x10]
cmp edx, 0xe
ja 0x401d6d
jmp dword [eax*4 + 0x4040cc]
mov ebx, str.unexpected_error
push 0x405798
push str.CRT:
call fcn.00402b40
add esp, 8
push 0x405798
push ebx
call fcn.00402b40
add esp, 8
push 0x405798
push 0x4040da
call fcn.00402b40
add esp, 8
push str.CRT:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.____terminating_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xff
call fcn.00402b70
pop ecx
pop ebx
ret
Function at 0x403b80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403bb3
test eax, 1
je 0x403bc5
test ebx, 2
je 0x403bc5
mov dword [0x405bec], 0xd
or eax, 0xffffffff
jmp 0x403bc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403890
pop ecx
or eax, 0xffffffff
jmp 0x403bc7
xor eax, eax
pop ebx
ret
Function at 0x403ac7
Capabilities:
Set file attributes

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

Function at 0x403c53
Capabilities:
Create directory

Disassembly:
mov eax, 0x428208
call fcn.00427400
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 0x403c76
mov al, 1
jmp 0x403cbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x403c87
xor al, al
jmp 0x403cbb
lea ecx, [ebp - 0x44]
call fcn.00404088
lea ecx, [ebp - 0x1c]
call fcn.004025d5
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.004040ba
test al, al
je 0x403cb0
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.004020f6
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

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

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

Function at 0x4045a6
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4282a4
call fcn.00427400
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401ed7
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 0x404674
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4045e2
mov eax, ebx
add eax, eax
push eax
call fcn.004020cf
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 0x40466d
cmp ebx, dword [ebp - 0x14]
ja 0x40466d
lea ecx, [ebp - 0x2c]
call fcn.004025d5
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x404655
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x40464a
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402714
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 0x404620
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.004020f6
push esi
call fcn.004020f6
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x404676
push esi
call fcn.004020f6
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 0x4046de
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 0x404704
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x404704
xor al, al
jmp 0x404724
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004276f0
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 0x40ce72
Capabilities:
Access peb ldr_data
Get ntdll base address

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

Function at 0x40cf1e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x428b69
call fcn.00427400
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040f264
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.0040cf69
push dword [esi + 0x24]
call fcn.004020f6
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00411a68
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0040d438
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

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

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

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

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

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

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

Disassembly:
mov eax, 0x4293ed
call fcn.00427400
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00411a68
push dword [esi + 0x24]
call fcn.004020f6
push dword [esi + 0x18]
call fcn.004020f6
push dword [esi + 0xc]
call fcn.004020f6
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x42bfd8
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x412ec0
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x429680
call fcn.00427400
sub esp, 0x320
push ebx
mov dword [ebp - 0x1c], ecx
push esi
push edi
lea ecx, [ebp - 0x28]
call fcn.004025d5
mov esi, dword [ebp + 0x10]
and dword [ebp - 4], 0
cmp byte [esi], 0
je 0x412f2d
push dword [esi + 0xc]
lea ecx, [ebp - 0x40]
push dword [esi + 8]
call fcn.00412d7c
push eax
mov edx, 0xdb0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00412e1c
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402778
push dword [ebp - 0x58]
call fcn.004020f6
push dword [ebp - 0x40]
and byte [ebp - 4], 0
call fcn.004020f6
pop ecx
pop ecx
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.00402a6b
lea ebx, [eax + 1]
lea eax, [ebp - 0x4c]
push ebx
push eax
mov ecx, edi
call fcn.004084ff
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
lea eax, [eax + ebx*2]
push eax
call fcn.00402618
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00412e62
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.00412e62
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push eax
call fcn.004026a8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004028ea
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040295d
lea ecx, [ebp - 0x18]
call fcn.004028ea
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040295d
lea ecx, [ebp - 0x18]
call fcn.004028ea
cmp byte [esi + 1], 0
je 0x413009
mov edx, 0x3f4
lea ecx, [ebp - 0x40]
call fcn.0040557b
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0040295d
push dword [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004020f6
lea ecx, [ebp - 0x18]
mov dword [esp], 0x42c0c4
call fcn.00402999
push 0
lea edx, [ebp - 0x78]
lea ecx, [esi + 0x10]
call fcn.0040537a
lea eax, [ebp - 0x78]
lea ecx, [ebp - 0x18]
push eax
call fcn.00402999
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 0x413060
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.004020f6
push dword [ebp - 0x34]
call fcn.004020f6
push dword [ebp - 0x4c]
call fcn.004020f6
push dword [ebp - 0x28]
call fcn.004020f6
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4131cb
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x4296b8
call fcn.00427400
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.004025d5
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004025d5
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004025d5
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.00413261
lea ecx, [esi + 0x9c]
call fcn.00426330
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x414c08
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x429930
call fcn.00427400
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.00413828
push 1
mov ecx, esi
call fcn.0041417f
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.004100df
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.004020f6
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.00414d9e
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00414d9e
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.00414dcf
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00414dcf
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 0x414d22
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x414d18
push str.7_Zip
lea ecx, [ebp - 0x50]
call fcn.00402876
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x414d4d
cmp byte [ebp - 0xd], 0
jne 0x414d63
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x414d7c
cmp dword [ebp - 0x34], ebx
jne 0x414d46
push str.7_Zip
lea ecx, [ebp - 0x38]
call fcn.00402876
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 0x414d7c
cmp byte [esi + 0x136], 0
jne 0x414d7c
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.0041516c
jmp 0x414d85
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.004136e1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41578c
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 0x420210
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 0x42023e
cmp dword [esp + 0xc], 6
jne 0x42023e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x420268
push str.SetDefaultDllDirectories
push 0x42b6b4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420268
push 0xc00
call eax
test eax, eax
jne 0x42031e
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42031e
cmp eax, 0x104
ja 0x42031e
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x4202b4
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.UXTHEME]
cmp byte [esi], 0
je 0x42031e
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 0x4202fa
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 0x4202e8
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 0x4202cd
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret