joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425063
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x425237
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x4a1b20]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x425237
test cl, 0x48
je 0x4250ce
cmp byte [eax + 5], 0xa
je 0x4250ce
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425120
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x425108
call fcn.004180fa
mov dword [eax], 9
call fcn.00418103
mov dword [eax], esi
jmp 0x425118
cmp eax, 0x6d
je 0x425237
push eax
call fcn.0041810c
pop ecx
or eax, 0xffffffff
jmp 0x425239
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x425232
test eax, eax
je 0x425147
cmp byte [ebx], 0xa
jne 0x425147
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x425150
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x42522c
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x42521c
cmp al, 0xd
je 0x425182
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x42520e
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x42519c
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x425197
add dword [ebp + 0x10], 2
jmp 0x4251f0
mov dword [ebp + 0x10], eax
jmp 0x42520a
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4251c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42520a
cmp dword [ebp - 0xc], 0
je 0x42520a
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4251e5
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4251f0
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x42520d
cmp ebx, dword [ebp + 0xc]
jne 0x4251f5
cmp byte [ebp - 1], 0xa
jne 0x4251f5
mov byte [ebx], 0xa
jmp 0x42520d
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00422d00
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x42520e
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x425166
jmp 0x42522c
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x42522c
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x425239
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425db5
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4894e8
call fcn.00416f04
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x4a06ec], edi
jne 0x425df9
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425de4
mov dword [0x4a06ec], ebx
jmp 0x425df9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x425df9
mov dword [0x4a06ec], 2
mov eax, dword [0x4a06ec]
cmp eax, ebx
jne 0x425e19
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x425edc
cmp eax, 2
je 0x425e22
cmp eax, edi
jne 0x425e4a
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x425e35
mov eax, dword [0x4a0574]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x425e51
xor eax, eax
jmp 0x425edc
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00415380
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x425e84
cmp esi, edi
jne 0x425e9a
push dword [ebp - 0x20]
call fcn.0041501c
pop ecx
mov esi, eax
cmp esi, edi
je 0x425e4a
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x425ecd
cmp dword [ebp + 0x14], edi
jne 0x425eb7
push edi
push edi
jmp 0x425ebd
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x425ed9
push esi
call fcn.0041502e
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.00416f3f
ret
Function at 0x425ee5
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4894f8
call fcn.00416f04
xor esi, esi
cmp dword [0x4a06f0], esi
jne 0x425f29
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425f14
mov dword [0x4a06f0], edi
jmp 0x425f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x425f29
mov dword [0x4a06f0], 2
mov eax, dword [0x4a06f0]
cmp eax, 2
je 0x42600a
cmp eax, esi
je 0x42600a
cmp eax, 1
jne 0x425f6e
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x425f57
mov eax, dword [0x4a0574]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x425f75
xor eax, eax
jmp 0x42601c
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00415380
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x425fab
cmp edi, esi
jne 0x425fc6
lea eax, [ebx + ebx]
push eax
call fcn.0041501c
pop ecx
mov edi, eax
cmp edi, esi
je 0x425f6e
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x425ff9
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x425fe3
push esi
push esi
jmp 0x425fe9
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x426005
push edi
call fcn.0041502e
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x42601c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.00416f3f
ret
Function at 0x426550
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x426569
or eax, 0xffffffff
jmp 0x4265ca
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x4265c6
push 0x3d
push esi
call fcn.00416cb9
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x4265c6
cmp esi, eax
je 0x4265c6
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4a0240]
sete cl
cmp eax, dword [0x4a0244]
mov dword [ebp - 8], ecx
jne 0x4265ac
mov edi, eax
call fcn.004264ef
mov dword [0x4a0240], eax
cmp eax, ebx
jne 0x426605
cmp dword [ebp + 0xc], ebx
je 0x4265ce
cmp dword [0x4a0248], ebx
je 0x4265ce
call fcn.00425d25
test eax, eax
je 0x426605
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x4265d7
xor eax, eax
jmp 0x4265c9
push 4
call fcn.0041501c
cmp eax, ebx
pop ecx
mov dword [0x4a0240], eax
je 0x4265c6
mov dword [eax], ebx
cmp dword [0x4a0248], ebx
jne 0x426605
push 4
call fcn.0041501c
cmp eax, ebx
pop ecx
mov dword [0x4a0248], eax
je 0x4265c6
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4a0240]
call fcn.004264a2
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x426666
cmp dword [esi], ebx
je 0x426666
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0041502e
cmp dword [ebp - 8], ebx
pop ecx
jne 0x426649
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x4266a7
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x426640
mov eax, edi
shl eax, 2
push eax
push dword [0x4a0240]
call fcn.00416d34
cmp eax, ebx
pop ecx
pop ecx
je 0x4266a7
jmp 0x4266a2
cmp dword [ebp - 8], ebx
jne 0x426712
cmp edi, ebx
jge 0x426675
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4a0240]
call fcn.00416d34
cmp eax, ebx
pop ecx
pop ecx
je 0x4265c6
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4a0240], eax
cmp dword [ebp + 0xc], ebx
je 0x4266fc
push dword [ebp - 4]
call fcn.00416520
inc eax
inc eax
push eax
call fcn.0041501c
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4266fc
push dword [ebp - 4]
push esi
call fcn.0041eb90
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4266f5
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0041502e
pop ecx
cmp dword [ebp - 8], ebx
je 0x42670a
push dword [ebp - 4]
call fcn.0041502e
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x4265c9
push dword [ebp - 4]
call fcn.0041502e
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x4265d3
Function at 0x431ad4
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x47ab33
call fcn.004165ac
sub esp, 0x9c
mov eax, dword [0x49c940]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa8], esi
call fcn.0043d664
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.004010d2
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x431b65
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.00416a60
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x431b5e
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x431b65
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0041501c
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x431b7a
call fcn.00431725
push dword [ebp + 0x20]
push ebx
push eax
call fcn.00416a60
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1c0], ebx
lea ecx, [esi + 0x7c]
mov byte [ecx], bl
lea edi, [esi + 0xbc]
mov byte [edi], bl
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x431bf7
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00464ec9
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x4321e2
je 0x431c23
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x431c59
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.004011e0
push ebx
mov ecx, edi
call fcn.004011ea
jmp 0x431c42
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.00416cb9
cmp eax, ebx
pop ecx
pop ecx
jne 0x431c3f
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041643e
leave
ret 0x1c
Function at 0x43ce31
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
mov esi, ecx
call fcn.00416a60
add esp, 0xc
call fcn.00464e9e
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
je 0x43cf01
cmp dword [ebp - 8], ebx
je 0x43cefc
lea ecx, [esi + 0x2c]
push ecx
or eax, 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x43cd03
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.004169d2
add esp, 0x18
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x43cf0b
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xc]
call edi
test byte [ebp + 8], 4
je 0x43ced4
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp dword [ebp - 4], ebx
je 0x43ceee
push 0xffffffffffffffff
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x28]
call edi
mov dword [esi + 0x28], ebx
jmp 0x43cf06
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
jmp 0x43cf0d
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 8], ebx
je 0x43cf0b
push dword [ebp - 8]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43da4d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x43da84
call fcn.00464ec9
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43da95
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x43dace
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x43dab3
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x43dabb
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x43dacc
test ax, ax
jne 0x43dacc
test si, si
je 0x43dace
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x43dadd
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43dd3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x479b8e
call fcn.004165ac
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00464ec9
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x43dd7d
call fcn.00464ec9
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43dd8e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x43dd9a
or eax, 0xffffffff
jmp 0x43de9d
mov ecx, esi
call fcn.0043d86f
mov dword [ebp - 0x14], eax
call fcn.0043fc3c
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x43dddd
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x43dddd
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x43dddd
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.00441656
push dword [ebp - 0x14]
call fcn.0043fb94
push edi
push eax
push ebx
mov ecx, esi
call fcn.0043db22
xor ebx, ebx
cmp eax, ebx
je 0x43de51
test byte [esi + 0x38], 0x10
je 0x43de1f
push 4
pop edi
mov ecx, esi
call fcn.0044247b
test ah, 1
je 0x43de17
push 5
pop edi
push edi
mov ecx, esi
call fcn.0043f638
cmp dword [esi + 0x1c], ebx
je 0x43de51
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.00442799
jmp 0x43de51
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x43de65
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x43de7e
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x43de7e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0043d8a9
cmp dword [esi + 0x54], ebx
je 0x43de9a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x43df66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x54], ebx
jne 0x43df86
cmp dword [edi + 0x50], 0
jne 0x43df86
movzx eax, bx
mov dword [edi + 0x50], eax
call fcn.00464ec9
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0043df2d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x440b75
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x440bae
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00405e3b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00405bf6
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x441fc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x442005
call fcn.00464ec9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x442005
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x442020
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00441127
test ebx, ebx
mov esi, eax
je 0x44201e
test edi, edi
je 0x44201e
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x442bfa
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x479d8f
call fcn.004165ac
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x442c1f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x442c6b
call fcn.0044360f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040136b
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x444dac
Capabilities:
Get disk information

Disassembly:
mov eax, 0x47a374
call fcn.004165ac
sub esp, 0x150
mov eax, dword [0x49c940]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor ebx, ebx
cmp eax, ebx
jne 0x444df4
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x444df8
cmp eax, esi
jb 0x444dff
xor eax, eax
jmp 0x444ed4
call fcn.0044360f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.00444d6a
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x444ec4
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x444e53
xor esi, esi
jmp 0x444ec7
test byte [ebp - 0x158], 2
jne 0x444e63
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x444ec4
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x444ec4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x444e4f
cmp dword [ebp - 0x154], edi
jbe 0x444e4f
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x154]
cmp eax, esi
jge 0x444e4f
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040136b
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041643e
leave
ret 8