joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406302
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x49f262
call fcn.0048104e
mov esi, dword [ebp + 8]
push esi
call fcn.00407354
pop ecx
cmp eax, 0xffffffff
je 0x406337
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x406337
and eax, 0xfffffffe
push eax
push esi
call fcn.004069c9
pop ecx
pop ecx
test al, al
je 0x4063a0
push esi
call fcn.00408b88
mov edi, eax
pop ecx
cmp edi, 1
je 0x406354
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x406354
mov al, 1
jmp 0x4063a2
test edi, edi
je 0x4063a0
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp edi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x40639a
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00481004
test esi, esi
pop ecx
setne al
jmp 0x4063a2
call fcn.00481004
pop ecx
xor al, al
call fcn.00481017
ret

Function at 0x4063a8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.00402e85
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00480dd2
leave
ret

Function at 0x406599
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [edi]
and dword [edi + 4], 0
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x210]
push eax
call fcn.00402e85
lea eax, [esi - 1]
mov ecx, 0x103
cmp ecx, eax
mov ecx, dword [ebp - 4]
pop edi
sbb al, al
xor ecx, ebp
inc al
pop esi
call fcn.00480dd2
leave
ret

Function at 0x4066f3
Capabilities:
Delete directory

Disassembly:
push 0xc
mov eax, 0x49f262
call fcn.0048104e
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x406720
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x406720
mov al, 1
jmp 0x406770
test esi, esi
je 0x40676e
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x406768
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00481004
test esi, esi
pop ecx
setne al
jmp 0x406770
call fcn.00481004
pop ecx
xor al, al
call fcn.00481017
ret
Function at 0x4069c9
Capabilities:
Set file attributes

Disassembly:
push 0xc
mov eax, 0x49f262
call fcn.0048104e
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x4069f9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4069f9
mov al, 1
jmp 0x406a4f
test esi, esi
je 0x406a4d
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x406a44
push dword [ebp + 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00481004
test esi, esi
pop ecx
setne al
jmp 0x406a4f
push dword [ebp - 0x18]
call fcn.00481004
pop ecx
xor al, al
call fcn.00481017
ret

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

Disassembly:
push 0xc
mov eax, 0x49f262
call fcn.0048104e
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x40737e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4073cc
test esi, esi
je 0x4073c9
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
push dword [ebp - 0x18]
test al, al
je 0x4073c3
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00481004
pop ecx
mov eax, esi
jmp 0x4073cc
call fcn.00481004
pop ecx
or eax, 0xffffffff
call fcn.00481017
ret

Function at 0x407460
Capabilities:
Get disk information

Disassembly:
push 0x20
mov eax, 0x49f727
call fcn.0048104e
mov ecx, dword [ebp + 8]
call fcn.00401d69
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
jne 0x40748e
xor al, al
jmp 0x407526
push edi
lea ecx, [ebp - 0x1c]
call fcn.00406a79
mov esi, dword [ebp - 0x1c]
push esi
push edi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov edi, eax
test edi, edi
je 0x40751d
cmp edi, dword [ebp - 0x18]
ja 0x40751d
lea ecx, [ebp - 0x2c]
call fcn.00402cda
mov byte [ebp - 4], 1
mov edx, ebx
mov dword [ebp - 0x18], edx
mov eax, ebx
mov dword [ebp - 0x10], eax
test edi, edi
je 0x40750f
push 2
pop ecx
mov dword [ebp - 0x14], ecx
cmp word [esi + ecx - 2], bx
jne 0x4074fe
lea eax, [edx + esi]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402e85
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401d01
mov ecx, dword [ebp - 0x14]
mov edx, ecx
mov eax, dword [ebp - 0x10]
inc eax
add ecx, 2
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, edi
jb 0x4074d0
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x2c]
cmp edx, edi
sete bl
call fcn.00481004
pop ecx
push esi
call fcn.00481004
pop ecx
mov al, bl
call fcn.00481017
ret
Function at 0x40a09f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push str.GlobalMemoryStatusEx
push 0x4a6694
mov dword [ebp - 0x64], 0x40
and dword [esi + 4], 0
mov dword [esi], SysReAllocStringLen
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a102
lea ecx, [ebp - 0x64]
push ecx
call eax
test eax, eax
je 0x40a102
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.0040a024
add esp, 0x10
mov dword [esi + 4], edx
jmp 0x40a121
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], eax
cmovb eax, dword [ebp - 0xc]
and dword [esi + 4], 0
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.00480dd2
leave
ret

Function at 0x40b605
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40b613
and dword [esi], 0
mov eax, dword [ebp + 0x10]
xor edx, edx
inc edx
test eax, eax
je 0x40b655
push 0
lea ecx, [ebp + 0x14]
push ecx
mov ecx, 0x8000
cmp eax, ecx
cmovae eax, ecx
push eax
push dword [ebp + 0xc]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x14]
add dword [ecx + 8], eax
adc dword [ecx + 0xc], 0
test esi, esi
je 0x40b655
add dword [esi], eax
test edx, edx
setne al
movzx eax, al
push eax
call fcn.0040aead
pop ecx
pop esi
pop ebp
ret 0x10
Function at 0x40edd2
Capabilities:
Read file via mapping

Disassembly:
push 0x30
mov eax, 0x49fd55
call fcn.0048104e
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call fcn.00402c05
push 0x3a
push dword [ebp - 0x24]
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0040329a
mov esi, eax
pop ecx
pop ecx
test esi, esi
js 0x40ef77
lea ecx, [esi + 1]
push ecx
push 0x3a
lea ecx, [ebp - 0x24]
call fcn.0040e155
mov ebx, eax
test ebx, ebx
js 0x40ef77
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx + ebx*2]
add ecx, 2
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402ca3
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], al
cmp ebx, dword [ebp - 0x20]
jae 0x40ee48
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov word [eax + ebx*2], cx
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.0040f515
pop ecx
pop ecx
test al, al
je 0x40ef68
mov ebx, dword [ebp - 0x14]
lea eax, [ebx - 2]
cmp eax, 0x7ffffffe
ja 0x40ef68
test bl, 1
jne 0x40ef68
cmp esi, dword [ebp - 0x20]
jae 0x40ee90
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x20], esi
mov word [eax + esi*2], cx
push dword [ebp - 0x24]
mov byte [ebp - 4], 2
push edi
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x40eebd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40eebd
mov edi, str.Can_not_open_mapping
jmp 0x40ef5e
push ebx
push edi
push edi
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x40eed9
mov edi, str.MapViewOfFile_error
jmp 0x40ef5e
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00402cda
mov byte [ebp - 4], 4
cmp word [esi], di
je 0x40eef8
mov edi, str.Unsupported_Map_data
jmp 0x40ef4e
xor eax, eax
shr ebx, 1
inc eax
cmp ebx, eax
jbe 0x40ef43
movzx eax, word [esi + eax*2]
test ax, ax
jne 0x40ef2f
push dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0040d6f0
mov eax, dword [ebp - 0x30]
add esp, 0x14
xor ecx, ecx
mov dword [ebp - 0x2c], edi
mov word [eax], cx
jmp 0x40ef38
push eax
lea ecx, [ebp - 0x30]
call fcn.00401c4c
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jb 0x40ef01
cmp dword [ebp - 0x2c], 0
je 0x40ef4e
mov edi, str.Map_data_error
push dword [ebp - 0x30]
call fcn.00481004
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [ebp - 0x14]
call fcn.0040dc52
jmp 0x40ef6d
mov edi, str.Unsupported_Map_data_size
lea ecx, [ebp - 0x3c]
call fcn.0040d4ed
jmp 0x40ef7c
mov edi, str.Incorrect_Map_command
push dword [ebp - 0x24]
call fcn.00481004
pop ecx
mov eax, edi
call fcn.00481017
ret
Function at 0x415446
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0x20]
push ebx
push esi
movlpd qword [ebp - 0x4c], xmm0
xor ebx, ebx
mov ecx, dword [ebp - 0x48]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], edx
cmp ecx, ebx
ja 0x415548
jb 0x41548b
cmp eax, 0x40
jae 0x415548
mov byte [ebp + eax - 0x44], bl
add eax, 1
adc ecx, ebx
jne 0x41549b
cmp eax, 0x40
jb 0x415478
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
cmp dword [ebp + 0x14], ebx
jb 0x415544
ja 0x4154b7
cmp dword [ebp + 0x10], ebx
jbe 0x415544
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
test edx, edx
je 0x4154d4
movzx eax, bl
or eax, 0
jne 0x4154d4
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 8]
test eax, eax
jne 0x415535
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov eax, dword [edi]
push dword [ebp - 0x50]
push edi
call dword [eax + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x44]
push ecx
push edi
call dword [eax + 0x14]
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov edx, eax
cmp edx, 0x40
ja 0x415532
xor ecx, ecx
xor eax, eax
test edx, edx
je 0x415510
xor ecx, dword [ebp + eax - 0x44]
add eax, 4
cmp eax, edx
jb 0x415505
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41551b
cmp ecx, dword [eax]
jne 0x415532
add ebx, 1
adc esi, 0
cmp esi, dword [ebp + 0x14]
ja 0x415544
jb 0x41552d
cmp ebx, dword [ebp + 0x10]
jae 0x415544
mov edx, dword [ebp - 0x54]
jmp 0x4154bd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00480dd2
leave
ret
xor eax, eax
jmp 0x415535
call fcn.00481309
int3

Function at 0x41554e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
or ecx, 0xffffffff
cmp dword [ebp + 0xc], edx
jbe 0x415579
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d3280]
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x41555f
pop esi
not ecx
mov eax, ecx
pop ebp
ret
Function at 0x42ae16
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x4a1e7c
call fcn.0048104e
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
cmp byte [edi + 0x10], 0
mov esi, dword [edi]
je 0x42ae74
push ebx
xor esi, esi
lea ecx, [ebp - 0x18]
push 3
inc esi
call fcn.00402b40
mov eax, dword [ebp - 0x18]
cmp word [eax + 2], 0x3a
jne 0x42ae6d
cmp word [eax + 4], 0x5c
jne 0x42ae6d
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x42ae68
cmp eax, 2
jne 0x42ae6a
mov esi, dword [edi]
mov eax, dword [ebp - 0x18]
push eax
call fcn.00481004
pop ecx
mov ecx, ebx
call fcn.00403957
mov ecx, dword [ebx]
inc eax
mov dword [ebp + 0x10], eax
lea ecx, [ecx + eax*2]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00402e85
sub esi, 1
je 0x42aef6
sub esi, 1
je 0x42aecb
lea ecx, [ebp - 0x24]
call fcn.00402cda
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 1
push eax
call fcn.00406599
pop ecx
test al, al
je 0x42af0b
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.00402c05
push dword [ebp - 0x24]
call fcn.00481004
pop ecx
jmp 0x42af02
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402c05
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.00408ef8
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00402c05
push dword [ebp - 0x18]
jmp 0x42aec3
mov ecx, dword [ebp + 8]
push ebx
push dword [ebp + 0x10]
call fcn.00402b40
mov eax, dword [ebp + 8]
call fcn.00481017
ret
push 0x4c3ec0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x22995
push eax
call fcn.004841df
int3
Function at 0x42ef9e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
mov edx, 0x4011
test al, al
mov ecx, 0x4110
lea eax, [ebp - 0x2b8]
cmovne ecx, edx
push ecx
push 0x2b4
push eax
push 0x90
push 0x4a6794
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480dd2
leave
ret

Function at 0x42fd27
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [ebp + 8]
shr eax, 0xf
and al, 1
movzx ecx, word [edx + 0xc]
mov edx, ecx
cmp edx, 8
je 0x42fd6c
cmp edx, 0x52
je 0x42fd5b
cmp ecx, 0x76
jne 0x42fd68
mov ecx, esi
call fcn.0042f60e
jmp 0x42fd73
test al, al
je 0x42fd68
mov ecx, esi
call fcn.00430c9f
jmp 0x42fd73
xor al, al
jmp 0x42fd75
mov ecx, esi
call fcn.004302a5
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x430f93
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
push 4
pop eax
test esi, esi
lea ebx, [esi - 0x344]
cmove ebx, eax
push eax
mov dword [ebp - 0x14], ebx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 8], 0
mov edi, eax
and dword [ebp - 0xc], 0
xor eax, eax
inc eax
mov dword [ebp - 0x10], edi
push eax
push dword [ebx]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4310ce
lea eax, [esi + 0x1c]
cmp dword [ebp - 4], 0
je 0x431032
mov ebx, dword [ebp - 4]
lea edi, [esi + 0x1c]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x431026
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 8]
call dword [eax + 4]
inc dword [ebp - 8]
test eax, eax
jne 0x431022
xor ebx, ebx
test ebx, ebx
jne 0x430ffc
mov edi, dword [ebp - 0x10]
lea eax, [esi + 0x1c]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4310bb
test eax, eax
je 0x4310ce
cmp dword [esi + 0x20], 0x10
jne 0x43106e
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jne 0x43106e
mov eax, dword [esi + 0x24]
push 1
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi]
lea ecx, [esi + 0x1c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x431090
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [esi + 0x20]
cmp eax, 0x12
je 0x4310ce
sub eax, 0xf
je 0x4310bb
sub eax, 0x91
je 0x4310bb
sub eax, 0x78
je 0x4310bb
sub eax, 0xe8
je 0x4310bb
and dword [ebp - 8], 0
mov dword [ebp - 4], 1
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
lea eax, [esi + 0x1c]
jne 0x430ff0
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x20], 0x12
jne 0x4310ed
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_PostQuitMessage]
cmp dword [ebp - 0xc], 0
pop edi
pop esi
setne al
pop ebx
leave
ret
Function at 0x43114d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
push 4
pop eax
test edi, edi
mov dword [ebp - 0x18], edi
lea ebx, [edi - 0x37c]
cmove ebx, eax
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4311f5
push esi
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4311f4
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4311e9
push dword [ebx]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x4311e9
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4311e9
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.0042e528
cmp dword [ebp + 8], 0
lea edi, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov esi, eax
lea eax, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
lea ecx, [ecx + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x4311dd
push 1
push eax
call fcn.0042f13e
jmp 0x4311f4
push 0x50
push eax
push dword [ebx]
call fcn.00430f69
jmp 0x4311f4
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00480dd2
leave
ret 4

Function at 0x435392
Capabilities:
Identify system language via api

Disassembly:
push 0x24
mov eax, 0x4a2b9f
call fcn.0048104e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
cmp si, cx
jne 0x435469
mov eax, ecx
xor ebx, ebx
shr cx, 0xa
and eax, 0x3ff
movzx esi, cx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
push ecx
push eax
call fcn.0043508b
lea eax, [ebp - 0x30]
push eax
call fcn.00435156
add esp, 0xc
mov edi, ebx
mov byte [ebp - 4], 1
mov ebx, esi
xor eax, eax
test edi, edi
cmove eax, ebx
cmp eax, dword [ebp - 0x14]
jae 0x435452
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], 0
je 0x435452
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.00402c05
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00403096
push str..txt
lea ecx, [ebp - 0x24]
call fcn.00403096
push dword [ebp - 0x24]
push 0x4d2278
call fcn.00435193
pop ecx
pop ecx
test al, al
jne 0x43546f
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00481004
pop ecx
inc edi
cmp edi, 2
jb 0x4353f3
push dword [ebp - 0x30]
call fcn.00481004
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00401bd8
call fcn.00481017
ret
push dword [esi]
mov ecx, 0x4d226c
call fcn.00402e0c
push dword [ebp - 0x24]
call fcn.00481004
push dword [ebp - 0x30]
call fcn.00481004
pop ecx
jmp 0x435460
Function at 0x4356b0
Capabilities:
Get file system object information

Disassembly:
push 0x324
mov eax, 0x4a2c1f
call fcn.00481082
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x318]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2f4], eax
call fcn.00402cda
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x435738
push dword [edi + 0xc]
lea eax, [ebp - 0x330]
push dword [edi + 8]
push eax
call fcn.00434f66
push eax
lea eax, [ebp - 0x324]
mov byte [ebp - 4], 1
push 0xdb0
push eax
call fcn.00434f2a
add esp, 0x18
push eax
lea ecx, [ebp - 0x318]
mov byte [ebp - 4], 2
call fcn.00402da5
push dword [ebp - 0x324]
call fcn.00481004
push dword [ebp - 0x330]
mov byte [ebp - 4], 0
call fcn.00481004
pop ecx
pop ecx
lea ecx, [edi + 0x18]
call fcn.00403957
mov esi, eax
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 1]
push ecx
lea ecx, [ebp - 0x30c]
call fcn.00402b40
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x300]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.00402ca3
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0043564f
lea eax, [ebp - 0x300]
mov ecx, ebx
push eax
call fcn.0043564f
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00402c05
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 5
call fcn.00403126
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00403058
lea ecx, [ebp - 0x2f0]
call fcn.00403126
lea eax, [ebp - 0x318]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00403058
lea ecx, [ebp - 0x2f0]
call fcn.00403126
cmp byte [edi + 1], 0
je 0x435833
lea eax, [ebp - 0x2f0]
push 0x3f4
push eax
call fcn.00435055
pop ecx
pop ecx
push 0x4a97bc
lea ecx, [ebp - 0x2f0]
call fcn.00403096
push 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004094c0
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00403096
push dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call esi
push dword [ebp - 0x2f0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x110
push 0x2b4
lea eax, [ebp - 0x2e4]
push eax
push 0x80
push dword [edi + 0x18]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x435890
push dword [ebp - 0x2f4]
push dword [ebx + 4]
call esi
push 0
push dword [ebp - 0x2e4]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x2f0]
call fcn.00481004
push dword [ebp - 0x300]
call fcn.00481004
push dword [ebp - 0x30c]
call fcn.00481004
push dword [ebp - 0x318]
call fcn.00481004
add esp, 0x10
call fcn.0048102c
ret 0xc