joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b540c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b54ae
cmp dword [ebx + 0x94], 0
jne 0x4b54a8
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b5358
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b54a8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b546e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b54a8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0043d200
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b547d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b56cc
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4cc24c]
cmp dword [eax + 0x170], 0
je 0x4b5831
test bl, bl
jne 0x4b577f
cmp dword [esi + 0x9c], 0
jne 0x4b5774
mov eax, esi
call fcn.004b854c
push eax
push 0x4b55d8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b5745
mov eax, dword [0x4cc24c]
cmp byte [eax + 0xd3], 0
je 0x4b5745
mov eax, dword [esi + 0xd8]
call fcn.004081e8
mov edi, eax
cmp edi, 0
jl 0x4b5745
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b572e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b5774
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d200
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b5754
inc dword [esi + 0x9c]
jmp 0x4b5831
cmp dword [esi + 0x9c], 0
jle 0x4b5831
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b5831
cmp dword [esi + 0x44], 0
je 0x4b57dc
mov eax, dword [0x4cc24c]
cmp byte [eax + 0xd3], 0
je 0x4b57dc
mov eax, dword [esi + 0xd8]
call fcn.004081e8
mov edi, eax
cmp edi, 0
jl 0x4b57dc
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b57c5
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b580b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043d200
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b57eb
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a8a5c]
call fcn.004083a8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b6474
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b64df
cmp byte [ebx + 0xd3], 0
jne 0x4b64df
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406a78
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b64cc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b64ec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cd0
jmp 0x4b64ec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406cd0
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b7cb4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b7d22
mov eax, esi
call fcn.0047cc94
test al, al
je 0x4b7d22
mov eax, dword [ebx + 0x84]
call fcn.0047c914
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b7d22
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b7d16
push 0
mov eax, dword [ebx + 0x84]
call fcn.0047c914
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00473890
jmp 0x4b7d22
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b7aec
pop esi
pop ebx
ret

Function at 0x4b8fa4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b902a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW_1
mov ebx, eax
test ebx, ebx
jne 0x4b8fe5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00406cd0
jmp 0x4b9014
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004073b8
push ebx
mov eax, dword [ebp - 4]
call fcn.00407254
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00407600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9031
lea eax, [ebp - 4]
call fcn.00406910
ret
Function at 0x41145f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401416
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [edi + 0x1c]
shr edi, 2
mov eax, edi
mov dword [ebp - 0xc], ecx
shr eax, 1
add eax, 3
mov dword [ebx], eax
add ebx, 0x10
test edi, edi
je 0x40144c
mov eax, dword [edx]
lea edx, [edx + 4]
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x40143f
cmp esi, ecx
jae 0x401538
mov eax, esi
sub eax, edi
lea eax, [ebx + eax*4]
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebx + esi*4 - 4]
mov eax, esi
mov dword [ebp + 8], ecx
div edi
mov dword [ebp - 8], eax
test edx, edx
jne 0x4014ca
movzx ecx, cl
movzx edx, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
shr ecx, 0x18
shl edx, 8
movzx eax, byte [ecx + str.cw]
mov ecx, dword [ebp + 8]
or edx, eax
mov eax, ecx
shl edx, 8
shr eax, 0x10
and eax, 0xff
shr ecx, 8
and ecx, 0xff
movzx eax, byte [eax + str.cw]
movzx ecx, byte [ecx + str.cw]
or edx, eax
mov eax, dword [ebp - 8]
shl edx, 8
movzx eax, byte [eax + 0x43e100]
xor ecx, eax
or ecx, edx
jmp 0x40151e
cmp edi, 6
jbe 0x40151e
cmp edx, 4
jne 0x40151e
mov edx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or ecx, eax
mov eax, edx
shr eax, 8
and eax, 0xff
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, dl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
add edx, 4
xor eax, ecx
mov dword [ebp - 4], edx
mov dword [ebx + esi*4], eax
inc esi
cmp esi, dword [ebp - 0xc]
jb 0x40145e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x402339
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x402357
xor eax, eax
jmp 0x40246e
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
push ebx
mov ebx, dword [ebp + 8]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x402376
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x40237a
inc esi
cmp esi, ecx
jb 0x40236d
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x40245b
cmp ecx, 2
jbe 0x4023d3
xor edx, edx
movzx ebx, byte [esi + 4]
lea eax, [ebx + 1]
test al, 0xfe
jne 0x402450
movzx eax, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x10]
add eax, edi
add edi, 5
cmp dword [ebp + 0x18], 0
mov dword [ebp - 4], eax
je 0x4023ff
add ebx, eax
jmp 0x402401
shr edx, cl
test edx, edx
je 0x402394
cmp edx, 4
ja 0x4023f1
cmp edx, 3
je 0x4023f1
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x402394
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x402368
sub ebx, eax
test edx, edx
je 0x402430
and edx, 6
mov eax, ebx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x40242e
mov eax, pe_nt_image_headers32
shl eax, cl
dec eax
xor ebx, eax
cmp dword [ebp + 0x18], 0
je 0x40242b
add ebx, dword [ebp - 4]
jmp 0x40242e
sub ebx, dword [ebp - 4]
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
mov byte [esi + 4], bl
jmp 0x402456
or edx, 8
shr edx, 1
inc edi
mov ebx, dword [ebp + 8]
jmp 0x4023f7
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x405ab2
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret 4

Function at 0x405e72
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.00421930
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.00405e36
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4087de
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x442534], 0
jne 0x408818
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406e76
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00406ee9
pop ecx
test esi, esi
pop esi
je 0x408827
mov al, 1
jmp 0x408829
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jmp 0x408812
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x408a65
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x442534], 0
jne 0x408a9d
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406e76
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00406ee9
pop ecx
test esi, esi
pop esi
je 0x408aaa
mov al, 1
jmp 0x408aac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jmp 0x408a97
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x408b12
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x442534], 0
jne 0x408b4d
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406e76
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.00406ee9
pop ecx
test esi, esi
pop esi
je 0x408b5d
mov al, 1
jmp 0x408b5f
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jmp 0x408b47
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x4092f1
Capabilities:
Get disk information

Disassembly:
push 0x34
mov eax, 0x42e94e
call fcn.00421eb5
mov ecx, dword [ebp + 8]
call fcn.00405f46
cmp byte [0x442534], 0
jne 0x4093d4
mov ecx, dword [ebp + 8]
call fcn.00405f46
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor ebx, ebx
push ebx
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x409333
xor al, al
jmp 0x409477
lea ecx, [ebp - 0x34]
call fcn.00406242
mov dword [ebp - 4], ebx
cmp esi, dword [ebp - 0x2c]
jbe 0x40934c
push esi
lea ecx, [ebp - 0x34]
call fcn.00406a03
push dword [ebp - 0x34]
push esi
call edi
mov edi, eax
test edi, edi
je 0x4093cc
cmp edi, esi
ja 0x4093cc
lea ecx, [ebp - 0x1c]
call fcn.00406242
mov byte [ebp - 4], 1
mov esi, ebx
test edi, edi
je 0x4093bc
mov eax, dword [ebp - 0x34]
mov al, byte [eax + esi]
mov byte [ebp - 0x10], al
test al, al
jne 0x4093ac
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406e4e
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 2
call fcn.00405f04
push dword [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00406ee9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
pop ecx
mov byte [eax], bl
jmp 0x4093b7
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00408bbd
inc esi
cmp esi, edi
jb 0x40936e
cmp dword [ebp - 0x18], 0
push dword [ebp - 0x1c]
sete bl
call fcn.00406ee9
pop ecx
push dword [ebp - 0x34]
jmp 0x40946f
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
push ebx
push ebx
call edi
mov esi, eax
test esi, esi
je 0x40932c
lea ecx, [ebp - 0x40]
call fcn.0040637d
mov dword [ebp - 4], 3
cmp esi, dword [ebp - 0x38]
jbe 0x409407
push esi
lea ecx, [ebp - 0x40]
call fcn.00406a5f
push dword [ebp - 0x40]
push esi
call edi
mov edi, eax
test edi, edi
je 0x40946c
cmp edi, esi
ja 0x40946c
lea ecx, [ebp - 0x28]
call fcn.0040637d
mov byte [ebp - 4], 4
mov esi, ebx
test edi, edi
je 0x40945c
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + esi*2]
test ax, ax
jne 0x40944e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00405f04
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x24], ebx
mov word [eax], cx
jmp 0x409457
push eax
lea ecx, [ebp - 0x28]
call fcn.00405ed3
inc esi
cmp esi, edi
jb 0x409429
cmp dword [ebp - 0x24], 0
push dword [ebp - 0x28]
sete bl
call fcn.00406ee9
pop ecx
push dword [ebp - 0x40]
call fcn.00406ee9
mov al, bl
pop ecx
call fcn.00421e83
ret 4

Function at 0x4095cd
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4095f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4095f3
xor al, al
jmp 0x409607
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411d21
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x411d2f
and dword [esi], 0
mov ecx, dword [ebp + 0x10]
xor eax, eax
inc eax
test ecx, ecx
je 0x411d65
mov eax, 0x8000
cmp ecx, eax
push 0
cmovb eax, ecx
lea ecx, [ebp + 0x14]
push 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]
test esi, esi
je 0x411d65
mov ecx, dword [ebp + 0x14]
add dword [esi], ecx
test eax, eax
setne al
movzx eax, al
push eax
call fcn.0041189c
pop esi
pop ebp
ret 0x10

Function at 0x41b244
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x43e34c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
inc edx
mov ecx, pe_nt_image_headers32
test al, al
lea eax, [ebp - 0x164]
cmovne ecx, edx
or ecx, 0x4010
push ecx
push 0x160
push eax
push 0x90
push 0x431488
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042116e
mov esp, ebp
pop ebp
ret 4

Function at 0x41b96f
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]
cmp ecx, 8
je 0x41b9b2
cmp ecx, 0x52
je 0x41b9a1
cmp ecx, 0x76
jne 0x41b9ae
mov ecx, esi
call fcn.0041b3dd
jmp 0x41b9b9
test al, al
je 0x41b9ae
mov ecx, esi
call fcn.0041c218
jmp 0x41b9b9
xor al, al
jmp 0x41b9bb
mov ecx, esi
call fcn.0041bc45
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x41d1d7
Capabilities:
Get file system object information

Disassembly:
push 0x1f4
mov eax, 0x430413
call fcn.00421ee8
mov ebx, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x200]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x1d0], eax
call fcn.0040637d
and dword [ebp - 4], 0
cmp byte [edi], 0
je 0x41d25c
push dword [edi + 0xc]
lea eax, [ebp - 0x1cc]
push dword [edi + 8]
push eax
call fcn.0041d0ea
push eax
push 0xdb0
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 1
push eax
call fcn.0041d0aa
push eax
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.00406414
push dword [ebp - 0x1f4]
call fcn.00406ee9
push dword [ebp - 0x1cc]
mov byte [ebp - 4], 0
call fcn.00406ee9
pop ecx
pop ecx
lea eax, [edi + 0x18]
push 0x5c
mov ecx, eax
mov dword [ebp - 0x1b4], eax
call fcn.00406bc8
mov esi, eax
lea eax, [ebp - 0x1e8]
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [edi + 0x18]
call fcn.00407bf8
mov eax, dword [edi + 0x18]
lea ecx, [ebp - 0x1dc]
add eax, 2
mov byte [ebp - 4], 3
lea eax, [eax + esi*2]
push eax
call fcn.00406356
lea eax, [ebp - 0x1e8]
mov byte [ebp - 4], 4
push eax
mov ecx, ebx
call fcn.0041d199
lea eax, [ebp - 0x1dc]
mov ecx, ebx
push eax
call fcn.0041d199
lea eax, [ebp - 0x1e8]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00406333
push 0xa
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 5
call fcn.00405ed3
lea eax, [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040653e
push 0xa
lea ecx, [ebp - 0x1c0]
call fcn.00405ed3
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040653e
push 0xa
lea ecx, [ebp - 0x1c0]
call fcn.00405ed3
cmp byte [edi + 1], 0
je 0x41d3bc
lea eax, [ebp - 0x1f0]
push eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x41d357
push 0x43941c
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1b4], 0x3ff0c2
push eax
call fcn.00422d42
push 0x3f4
lea eax, [ebp - 0x1cc]
push eax
call fcn.0041a915
push eax
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 6
call fcn.0040653e
push dword [ebp - 0x1cc]
mov byte [ebp - 4], 5
call fcn.00406ee9
lea ecx, [ebp - 0x1c0]
mov dword [esp], 0x431d54
call fcn.0040656e
push 1
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x1f0]
push eax
call fcn.00409f2c
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.0040656e
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 4]
call edi
push dword [ebp - 0x1c0]
push eax
call fcn.0040a84e
push dword [ebp - 0x1b4]
lea eax, [ebp - 0x1cc]
push eax
call fcn.00407d5f
push 0x110
push 0x160
lea ecx, [ebp - 0x1b0]
push ecx
push 0x80
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x1cc]
mov esi, eax
call fcn.00406ee9
pop ecx
test esi, esi
je 0x41d437
push dword [ebp - 0x1d0]
push dword [ebx + 4]
call edi
push 0
push dword [ebp - 0x1b0]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x1c0]
call fcn.00406ee9
push dword [ebp - 0x1dc]
call fcn.00406ee9
push dword [ebp - 0x1e8]
call fcn.00406ee9
push dword [ebp - 0x200]
call fcn.00406ee9
add esp, 0x10
call fcn.00421e97
ret 0xc
Function at 0x41e0ff
Capabilities:
Hide graphical window

Disassembly:
push 0x44
mov eax, 0x4306b7
call fcn.00421eb5
mov ebx, ecx
push 0
call fcn.0041ece1
push 1
mov ecx, ebx
call fcn.0041f0e2
push 0x198
lea eax, [ebp - 0x20]
push eax
call fcn.0041a915
and dword [ebp - 4], 0
mov esi, dword [eax]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push dword [ebx + 4]
call edi
push esi
push eax
call fcn.0040a84e
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call fcn.00406ee9
pop ecx
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
lea ecx, [ebp - 0x50]
call fcn.0041d71a
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.0041d71a
lea esi, [ebx + 0x1e4]
mov dword [ebp - 4], 2
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x1ac], 0
lea edi, [ebx + 0x1b4]
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
setne byte [ebp - 0xd]
call fcn.0041d907
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041d907
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x40], 0
je 0x41e21a
cmp dword [ebp - 0x4c], 0
mov byte [ebx + 0x203], 1
jne 0x41e210
push 0x431ff8
lea ecx, [ebp - 0x50]
call fcn.0040646b
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x41e248
cmp byte [ebp - 0xd], 0
jne 0x41e257
cmp dword [ebp - 0x28], 0
mov byte [ebx + 0x203], 1
je 0x41e270
cmp dword [ebp - 0x34], 0
jne 0x41e240
push 0x431ff8
lea ecx, [ebp - 0x38]
call fcn.0040646b
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x41e270
cmp byte [ebx + 0x136], 0
jne 0x41e270
mov ecx, ebx
mov byte [ebx + 0x135], 1
call fcn.0041efac
jmp 0x41e27b
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.0040aa7f
mov al, 1
call fcn.00421e83
ret
Function at 0x41fb0e
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [0x43e34c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x442534], 0
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
jne 0x41fb7b
push esi
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.00406e76
push 0x4010
push 0x160
mov ecx, dword [eax]
lea eax, [ebp - 0x164]
push eax
mov eax, dword [ebp + 0xc]
or eax, 0x80
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push dword [ebp - 0x2c4]
mov esi, eax
call fcn.00406ee9
pop ecx
mov ecx, dword [ebp - 0x160]
mov eax, esi
pop esi
jmp 0x41fba8
mov eax, dword [0x442530]
test eax, eax
je 0x41fba2
push 0x4010
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
mov ecx, dword [ebp + 0xc]
or ecx, 0x80
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x2b4]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042116e
mov esp, ebp
pop ebp
ret 0xc
Function at 0x421089
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4210e4
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4210d5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4210d1
cmp esi, ecx
jae 0x4210d5
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x4210c1
cmp esi, ecx
jb 0x4210d9
xor eax, eax
jmp 0x4210e3
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret 0xc