joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ed57
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
mov edi, 0xffd
push eax
push dword [ebp + 8]
mov ebx, 0x51df80
mov edx, edi
push ecx
mov ecx, ebx
call fcn.004140da
mov esi, eax
add esp, 0xc
test esi, esi
cmovs esi, edi
add esi, ebx
xor ebx, ebx
jmp 0x42ed9a
movzx eax, byte [esi - 1]
push eax
call fcn.00487280
pop ecx
test eax, eax
je 0x42eda2
dec esi
mov byte [esi], bl
cmp esi, 0x51df80
ja 0x42ed88
mov word [esi], 0xa0d
mov ecx, 0x51df80
mov byte [esi + 2], bl
call fcn.00403761
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [0x4dca98]
test eax, eax
je 0x42ee0d
cmp eax, 0xffffffff
je 0x42ee0d
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, SHChangeNotifyRegister
push ecx
push ecx
push 0xb1
push eax
call esi
push edi
push ebx
push 0xc2
push dword [0x4dca98]
call esi
push ebx
push ebx
push 0xba
push dword [0x4dca98]
call esi
push eax
push ebx
push 0xb6
push dword [0x4dca98]
call esi
push edi
call fcn.004812c6
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x42ee87
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, ecx
push edi
mov edx, 0x4ba3b0
call fcn.0041d3e3
mov edi, eax
test edi, edi
jne 0x42eeb3
push ebx
push str.Error:_Cant_open_file__s
call fcn.0042ed57
pop ecx
pop ecx
xor eax, eax
jmp 0x42ef2e
push esi
push 2
push 0
push edi
call fcn.0048bb89
push edi
call fcn.0048b6c6
push 0
push 0
push edi
mov esi, eax
call fcn.0048bb89
push esi
call fcn.004812e1
mov ecx, dword [ebp - 4]
add esp, 0x20
mov dword [ecx], eax
test eax, eax
jne 0x42eef3
push ebx
push esi
push str.Error:_Cant_allocate__d_bytes_buffer_for_file__s
call fcn.0042ed57
add esp, 0xc
jmp 0x42ef11
push edi
push esi
push 1
push eax
call fcn.0048afe7
add esp, 0x10
cmp eax, esi
je 0x42ef13
push ebx
push str.Error:_Cant_read__s
call fcn.0042ed57
pop ecx
pop ecx
xor esi, esi
push edi
call fcn.00481623
pop ecx
test esi, esi
jne 0x42ef2b
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.004812c6
and dword [ebx], esi
pop ecx
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x43032f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov eax, ecx
mov dword [ebp - 0xc], edx
push 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], eax
push ecx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x430369
call fcn.0042fc51
push eax
push str.Warning:_Could_not_read_file_pointer__s
call fcn.0042ed57
pop ecx
pop ecx
mov edi, dword [ebp + 8]
xor esi, esi
inc esi
cmp esi, 1
jbe 0x43038f
push 0
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x430451
push 0
push dword [ebp + 0xc]
push edi
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4303db
mov eax, dword [ebp + 0xc]
and dword [0x4dc5ec], 0
cmp edi, dword [eax]
je 0x430469
cmp dword [0x4dca28], 0
je 0x4303c9
cmp dword [eax], 0
je 0x43045e
push edi
push dword [eax]
push str.Wrote__d_bytes_but_requested__d
call fcn.0042ed57
add esp, 0xc
jmp 0x4303fd
call fcn.0042fc51
push eax
push str.Write_error__s
call fcn.0042ed57
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xc0030000
mov dword [0x4dc5ec], eax
cmp dword [ebp - 0x10], 0
je 0x430433
cmp esi, 4
jae 0x430429
push 5
push str.Retrying_in__d_seconds...
call fcn.0042ed57
pop ecx
pop ecx
xor edx, edx
mov ecx, 0x1388
call fcn.0042294e
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 4
jbe 0x43036f
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
test eax, eax
jne 0x43044b
push 0xc003001d
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
leave
ret
push str.Could_not_set_file_pointer___Aborting
call fcn.0042ed57
pop ecx
jmp 0x430433
push str.Warning:_Possible_short_write
call fcn.0042ed57
pop ecx
xor eax, eax
inc eax
jmp 0x43044d
Function at 0x43050d
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
or dword [ebp - 4], 0xffffffff
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x51ddac], esi
jne 0x430548
push str.NtCreateFile
call fcn.0042ec72
push eax
call edi
test eax, eax
mov dword [0x51ddac], eax
mov eax, 0xc0000002
cmove esi, eax
cmp dword [0x51dd94], 0
jne 0x430571
push str.RtlDosPathNameToNtPathNameW
call fcn.0042ec72
push eax
call edi
mov dword [0x51dd94], eax
test eax, eax
jne 0x430571
test esi, esi
mov eax, 0xc0000002
cmovns esi, eax
cmp dword [0x51dda8], 0
jne 0x43059a
push str.RtlFreeHeap
call fcn.0042ec72
push eax
call edi
mov dword [0x51dda8], eax
test eax, eax
jne 0x43059a
test esi, esi
mov eax, 0xc0000002
cmovns esi, eax
cmp dword [0x51dd90], 0
jne 0x4305b9
push str.RtlSetLastWin32ErrorAndNtStatusFromNtStatus
call fcn.0042ec72
push eax
call edi
mov dword [0x51dd90], eax
test eax, eax
je 0x4305bd
test esi, esi
jns 0x430602
mov ecx, ebx
call fcn.00403761
push 0
push 0x80
push 2
push 0
push 1
mov esi, eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
je 0x4305f4
push esi
call fcn.004812c6
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
jmp 0x4306b5
mov ecx, ebx
call fcn.00403761
xor ebx, ebx
mov esi, eax
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push esi
call dword [0x51dd94]
test al, al
jne 0x430636
test esi, esi
je 0x430629
push esi
call fcn.004812c6
pop ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
jmp 0x4306b5
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp - 0x18]
push ebx
push ebx
push 0x60
push 5
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
push 1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 0x80
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x38], 0x18
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], ebx
push eax
push 0xc0100080
lea eax, [ebp - 4]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0xc], ecx
call dword [0x51ddac]
mov ecx, dword fs:[0x18]
mov edi, eax
push dword [ebp - 0x14]
push ebx
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0x18]
call dword [0x51dda8]
test esi, esi
je 0x4306ab
push esi
call fcn.004812c6
pop ecx
push edi
call dword [0x51dd90]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430804
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
je 0x430828
push 2
push 0x80
mov byte [edi], 0
call fcn.0047b53f
pop ecx
pop ecx
mov esi, eax
jmp 0x43082a
xor esi, esi
push 0x80
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
test ebx, ebx
je 0x430870
push 0
push 0
push 0x80
push edi
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
test ebx, ebx
jne 0x430870
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x430873
mov edi, dword [ebp - 4]
test esi, esi
je 0x43087e
push esi
call fcn.004812c6
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x43090c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [0x51f030]
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov esi, edx
call fcn.00403761
mov ecx, esi
mov edi, eax
call fcn.00403761
mov ebx, dword [ebp + 0x20]
mov esi, eax
cmp dword [ebx], 0x44
je 0x43093e
push 0x18
pop ebx
jmp 0x4309ab
push 0x44
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00476fc0
mov ecx, dword [ebx + 8]
add esp, 0xc
call fcn.00403761
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x40], eax
call fcn.00403761
push dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x40], 0
mov ebx, eax
je 0x430998
push dword [ebp - 0x40]
call fcn.004812c6
and dword [ebp - 0x40], 0
pop ecx
cmp dword [ebp - 0x3c], 0
je 0x4309ab
push dword [ebp - 0x3c]
call fcn.004812c6
and dword [ebp - 0x3c], 0
pop ecx
test edi, edi
je 0x4309b6
push edi
call fcn.004812c6
pop ecx
test esi, esi
je 0x4309c1
push esi
call fcn.004812c6
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433dde
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 4
lea eax, [ebp - 4]
mov edx, str.MicrosoftPowerShell1Install
push eax
push 4
mov ecx, reloc.SHELL32.dll_SHChangeNotifyRegister
call fcn.00430c3b
add esp, 0xc
cmp dword [ebp - 4], 0
jg 0x433e77
push 4
lea eax, [ebp - 4]
mov edx, str.MicrosoftPowerShell3Install
push eax
push 4
mov ecx, reloc.SHELL32.dll_SHChangeNotifyRegister
call fcn.00430c3b
add esp, 0xc
cmp dword [ebp - 4], 0
jg 0x433e77
push str.Notice:_The_ISO_download_feature_has_been_deactivated_because_a_compatible_PowerShell_version_was_not_detected_on_this_system.
mov ecx, dword [0x4dcab4]
mov eax, 0xffe
sub eax, ecx
push eax
lea eax, [ecx + 0x5205a0]
push eax
call fcn.00403163
xor ebx, ebx
push 0x5205a0
mov byte [0x52159d], bl
call fcn.004816f0
add esp, 0x10
mov word [eax + 0x5205a0], 0xa0d
add eax, 2
mov dword [0x4dcab4], eax
cmp eax, 0x1000
jae 0x433ea5
mov byte [eax + 0x5205a0], bl
jmp 0x433ea2
cmp dword [0x4dcaa4], 0
jne 0x433e90
call fcn.00430ef7
test eax, eax
jg 0x433e90
push str.Notice:_The_ISO_download_feature_has_been_deactivated_because_Check_for_updates_is_disabled_in_your_settings.
jmp 0x433e28
xor ebx, ebx
push ebx
push ebx
push ebx
push 0x433bae
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebx
leave
ret
call fcn.00475db1
int3

Function at 0x43492d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
xor esi, esi
push ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
je 0x4349c9
push esi
push esi
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4349c9
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4349a8
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 8], eax
test eax, eax
jle 0x4349c9
inc eax
push 2
push eax
mov dword [ebp - 4], eax
call fcn.0047b53f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4349c9
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4349c9
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
jmp 0x4349c1
mov ecx, eax
call fcn.00403761
mov esi, eax
test esi, esi
je 0x4349c9
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004891c7
pop ecx
push eax
push esi
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
call fcn.004812c6
pop ecx
cmp edi, 0xffffffff
je 0x4349e1
test edi, edi
je 0x4349e1
push edi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x434b61
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov ecx, edx
call fcn.004349ec
push 1
push dword [0x522464]
mov edi, eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push dword [0x5223d4]
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
push edi
mov esi, eax
call fcn.004812c6
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x435e7f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0x554e494c
mov word [ebp - 8], 0x2058
mov dword [ebp - 0x18], 0x7c3a3e3c
mov dword [ebp - 0x14], 0x2f5c3f2a
mov dword [eax], 0x4b4dda
push edi
cmp edx, esi
jb 0x435f66
push 0x40
lea eax, [edx - 0x40]
pop ebx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jbe 0x435f66
lea edi, [ecx + 0x40]
push 6
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00477534
add esp, 0xc
test eax, eax
jne 0x435f5b
mov al, byte [edi - 3]
cmp al, 0x49
jne 0x435f05
cmp byte [edi - 2], 0x53
jne 0x435f5b
cmp byte [edi - 1], 0x4f
je 0x435f14
jmp 0x435f5b
cmp al, 0x53
jne 0x435f5b
cmp byte [edi - 2], 0x59
jne 0x435f5b
cmp byte [edi - 1], al
jne 0x435f5b
push 0xa
lea eax, [ebp - 0x10]
add edi, 6
push eax
push edi
add ebx, 6
call fcn.00488f0a
movzx ecx, al
movzx eax, si
imul ecx, eax
lea eax, [ebp - 0x10]
push 0xa
push eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
movzx esi, cx
call fcn.00488f0a
movzx eax, al
add esp, 0x18
add ax, si
movzx eax, ax
mov dword [ebp - 0x28], eax
test ax, ax
jne 0x435f77
mov esi, 0x100
inc ebx
inc edi
cmp ebx, dword [ebp - 0x1c]
jb 0x435edd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x435f82
xor ecx, ecx
jmp 0x435f8e
push eax
call fcn.004816f0
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
xor edx, edx
mov byte [ecx + eax], 0
add esi, ebx
mov eax, dword [ebp - 0x10]
mov byte [eax], 0x2f
mov ecx, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, byte [ecx + 1]
jne 0x435fb9
lea edi, [ecx + 1]
cmp al, 0x20
je 0x435fb9
inc edx
inc esi
inc edi
mov al, byte [esi]
cmp al, byte [edi]
je 0x435fac
cmp byte [edx + ecx + 1], 0x2d
lea eax, [edx + 1]
cmovne eax, edx
cmp eax, 4
jb 0x435fd5
mov byte [eax + ecx], 0x2f
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x435fde
or eax, 0xffffffff
jmp 0x435fed
push ecx
call fcn.004816f0
pop ecx
mov ecx, dword [ebp - 0x10]
sub eax, 1
je 0x436000
mov dl, byte [eax + ecx]
cmp dl, 0x20
je 0x435ffa
cmp dl, 0x2a
jne 0x436000
mov byte [eax + ecx], 0
jmp 0x435fe5
xor esi, esi
inc esi
test ecx, ecx
je 0x436030
push ecx
call fcn.004816f0
pop ecx
mov ecx, dword [ebp - 0x10]
cmp esi, eax
jae 0x436030
xor edx, edx
mov al, byte [esi + ecx]
cmp al, byte [ebp + edx - 0x18]
jne 0x436027
mov byte [esi + ecx], 0x5f
mov ecx, dword [ebp - 0x10]
inc edx
cmp edx, 8
jb 0x436017
inc esi
jmp 0x436003
cmp byte [ecx + 1], 0
mov eax, 0x4b4dda
cmovne eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov ax, word [ebp - 0x28]
jmp 0x435f68
Function at 0x438dad
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push 2
mov ebx, 0x80
mov byte [0x521840], 0
push ebx
mov esi, ecx
call fcn.0047b53f
pop ecx
pop ecx
push ebx
mov edi, eax
push edi
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
je 0x438e0c
xor eax, eax
push eax
push eax
push 0x80
push 0x521840
push 0xffffffffffffffff
push edi
push eax
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
test esi, esi
jne 0x438e0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
je 0x438e17
push edi
call fcn.004812c6
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x43a35e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.Segoe_UI
xor esi, esi
mov ebx, ecx
push esi
push 2
push esi
push esi
push 1
push esi
push esi
push esi
push 0x258
push esi
push esi
push esi
push 0x48
push 0x5a
push dword [0x522464]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0xe
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov dword [ebp - 0x11c], eax
mov edi, esi
push 1
push eax
push 0x30
push dword [edi + 0x4b2200]
push ebx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push dword [edi + 0x4b2200]
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x100
mov esi, eax
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00478bc0
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x7d
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x108]
push eax
call fcn.004891c7
pop ecx
push 0x20
pop ecx
mov word [ebp + eax*2 - 0x108], cx
mov word [ebp + eax*2 - 0x106], cx
lea eax, [ebp - 0x108]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x118]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x118]
push eax
push ebx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
xor edx, edx
mov ecx, esi
call fcn.0043492d
push 4
push edx
push eax
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x11c]
add edi, 4
cmp edi, 0xc
jb 0x43a3c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
Function at 0x43a820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d8300]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x51fd8c]
sub esi, dword [0x51ff74]
sub esi, dword [0x51fb60]
push edi
push 0x3fa
push dword [0x522464]
mov edi, ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3fb
push dword [0x522464]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffffffffffffffec
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or eax, 0x1000
and ecx, 0xffffefff
test edi, edi
cmove eax, ecx
push eax
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test edi, edi
je 0x43a8c9
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [0x522464]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
sub eax, dword [0x51ff74]
sub eax, dword [ebp - 0xc]
add esi, eax
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [0x522464]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0
push eax
mov eax, dword [0x51fb68]
add eax, dword [0x51ff74]
add eax, dword [0x51fb60]
push esi
push dword [ebp - 0x10]
push eax
push 0x403
push dword [0x522464]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
xor ebx, ebx
test edi, edi
setne bl
push ebx
push dword [ebp - 0x1c]
call esi
push ebx
mov ebx, dword [ebp - 0x18]
push ebx
call esi
neg edi
sbb edi, edi
and edi, 5
push edi
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00475c80
leave
ret
Function at 0x43d651
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x52009c], 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, str.Wimgapi
push edi
mov edi, ecx
jne 0x43d67e
push str.WIMCreateFile
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x52009c], eax
cmp dword [0x5200b4], 0
jne 0x43d69b
push str.WIMSetTemporaryPath
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200b4], eax
cmp dword [0x51ff8c], 0
jne 0x43d6b8
push str.WIMLoadImage
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x51ff8c], eax
cmp dword [0x5200b0], 0
jne 0x43d6d5
push str.WIMApplyImage
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200b0], eax
cmp dword [0x51ff90], 0
jne 0x43d6f2
push str.WIMExtractImagePath
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x51ff90], eax
cmp dword [0x5200a8], 0
jne 0x43d70f
push str.WIMGetImageInformation
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200a8], eax
cmp dword [0x5200ac], 0
jne 0x43d72c
push str.WIMRegisterMessageCallback
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200ac], eax
cmp dword [0x5200a0], 0
jne 0x43d749
push str.WIMUnregisterMessageCallback
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200a0], eax
mov eax, dword [0x5200c4]
test eax, eax
jne 0x43d766
push str.WIMCloseHandle
mov ecx, ebx
call fcn.004078b4
push eax
call esi
mov dword [0x5200c4], eax
cmp dword [0x52009c], 0
je 0x43d795
cmp dword [0x5200b4], 0
je 0x43d795
cmp dword [0x51ff8c], 0
je 0x43d795
cmp dword [0x51ff90], 0
je 0x43d795
test eax, eax
je 0x43d795
or byte [0x50cb26], 1
call fcn.0043cf68
mov bl, byte [0x50cb26]
test eax, eax
je 0x43d7ad
or bl, 2
mov byte [0x50cb26], bl
test bl, 1
je 0x43d7d6
cmp dword [0x5200b0], 0
je 0x43d7d6
cmp dword [0x5200ac], 0
je 0x43d7d6
cmp dword [0x5200a0], 0
je 0x43d7d6
or bl, 4
mov byte [0x50cb26], bl
test edi, edi
jne 0x43d842
test bl, 1
mov edi, str.wimgapi.dll
mov esi, 0x4b4dda
mov eax, edi
cmove eax, esi
mov dl, bl
push eax
mov al, bl
mov ecx, 0x4d0528
and al, 3
cmp al, 3
mov eax, str.NONE
cmovne ecx, esi
test dl, 1
push ecx
cmove esi, eax
test bl, 2
mov eax, str.7_Zip
cmove eax, esi
push eax
push str.WIM_extraction_method_s__supported:__s_s_s
call fcn.0042ed57
test byte [0x50cb26], 4
mov eax, str.NONE
cmove edi, eax
push edi
push str.WIM_apply_method_supported:__s
call fcn.0042ed57
mov bl, byte [0x50cb26]
add esp, 0x18
pop edi
pop esi
mov al, bl
pop ebx
ret
Function at 0x43e55a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4da838]
push esi
xor esi, esi
mov dword [0x5200bc], eax
mov eax, dword [ebp + 8]
push esi
push esi
push esi
push 0x43e12a
push esi
push esi
mov dword [ebp - 4], esi
mov dword [0x5200a4], ecx
mov dword [0x5200b8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x50caf8], eax
test eax, eax
jne 0x43e5a4
push str.Unable_to_start_apply_image_thread
call fcn.0042ed57
pop ecx
xor eax, eax
jmp 0x43e5dd
push dword [0x4da374]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 0xffffffffffffffff
push dword [0x50caf8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [0x50caf8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
mov dword [0x50caf8], esi
mov eax, esi
cmovne eax, dword [ebp - 4]
pop esi
leave
ret