Function at 0x43b3c0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x2c
mov eax, dword [0x547570]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x48]
push 0
push 0
push 0x407
push eax
mov dword [esp + 0x2c], esi
call ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, 0xff
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x43b3fc
cmp dword [eax - 4], ecx
jge 0x43b449
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x38], edi
jle 0x43b409
mov ecx, edi
push ecx
lea ecx, [esp + 0x18]
call fcn.00405530
test eax, eax
je 0x43b449
lea ecx, [edi + edi + 2]
mov edi, dword [esp + 0x14]
mov eax, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x38]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], edx
call fcn.00405590
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
push 0xff
push eax
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x14]
call fcn.004055c0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0x407
mov dword [edx - 8], eax
mov ecx, dword [esp + 0x20]
mov word [ecx + eax*2], 0
mov eax, dword [esi + 0x4c]
push eax
call ebp
mov ebp, eax
mov eax, dword [esp + 0x10]
mov ecx, 0xff
mov edx, dword [eax - 0xc]
lea ebx, [eax - 0xc]
cmp edx, 1
jg 0x43b4a9
cmp dword [eax - 4], ecx
jge 0x43b4f2
mov esi, dword [eax - 8]
cmp esi, ecx
mov dword [esp + 0x38], esi
jle 0x43b4b6
mov ecx, esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x43b4f2
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [eax - 8], ecx
call fcn.00405590
mov eax, dword [esp + 0x10]
push 0xff
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.004055c0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x10]
push eax
call fcn.0043cf90
add esp, 4
lea ecx, [esp + 0x14]
call fcn.004055c0
mov esi, dword [esp + 0x14]
mov ax, word [esi]
push eax
call fcn.00532bc3
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
add esp, 4
test eax, eax
je 0x43b569
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
jne 0x43b554
mov eax, dword [esp + 0x14]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
sar ecx, 1
sub edi, ecx
lea edx, [edi + edi + 2]
push edx
push esi
push eax
call fcn.00532360
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [eax - 8], edi
call fcn.004055c0
mov edi, dword [esp + 0x14]
xor esi, esi
cmp word [edi], si
je 0x43b5db
mov ax, word [edi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
je 0x43b5ba
test esi, esi
jne 0x43b5bc
mov esi, edi
jmp 0x43b5bc
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x43b5a2
test esi, esi
je 0x43b5db
mov word [esi], 0
mov eax, dword [esp + 0x14]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
lea ecx, [esp + 0x10]
call fcn.004055c0
mov edi, dword [esp + 0x10]
mov ax, word [edi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
je 0x43b60d
push edi
call ebx
mov edi, eax
mov ax, word [edi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
jne 0x43b5f8
mov eax, dword [esp + 0x10]
mov ecx, edi
sub ecx, eax
mov esi, dword [eax - 8]
sar ecx, 1
sub esi, ecx
lea edx, [esi + esi + 2]
push edx
push edi
push eax
call fcn.00532360
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
mov dword [eax - 8], esi
call fcn.004055c0
mov edi, dword [esp + 0x10]
xor esi, esi
cmp word [edi], si
je 0x43b67f
mov ax, word [edi]
push eax
call fcn.00532bc3
add esp, 4
test eax, eax
je 0x43b65e
test esi, esi
jne 0x43b660
mov esi, edi
jmp 0x43b660
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x43b646
test esi, esi
je 0x43b67f
mov word [esi], 0
mov eax, dword [esp + 0x10]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
lea ecx, [esp + 0x18]
push 0x493e0
push ecx
call fcn.004bd990
mov al, byte [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 8
test al, al
je 0x43b9d7
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], 3
jge 0x43b932
mov edx, dword [0x547570]
mov eax, 0x5476d0
test eax, eax
mov dword [esp + 0x40], edx
je 0x43b6fe
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x43b6fe
push esi
lea ecx, [esp + 0x44]
call fcn.00405530
test eax, eax
je 0x43b6fe
mov ecx, dword [esp + 0x40]
inc esi
push esi
push 0x5476d0
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x40]
push 0xffffffffffffffff
call fcn.00405bb0
lea edx, [esp + 0x38]
push 0x3ea
push edx
call fcn.004bd990
mov esi, eax
mov eax, dword [0x547570]
mov ecx, 0x54949c
add esp, 8
test ecx, ecx
mov dword [esp + 0x20], eax
jne 0x43b728
xor eax, eax
jmp 0x43b733
push 0x54949c
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
push 0x54949c
push eax
push ecx
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x2c]
push edx
call fcn.004059f0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x34]
push eax
call fcn.00405440
lea ecx, [esp + 0x20]
call fcn.00405700
mov ecx, dword [0x547570]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x30]
push eax
call fcn.004059f0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x34]
call fcn.00405440
lea ecx, [esp + 0x24]
call fcn.00405700
mov edx, dword [0x547570]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x38]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x38]
call fcn.004059f0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x2c]
push edx
call fcn.00405440
lea ecx, [esp + 0x28]
call fcn.00405700
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b823
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b823
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x30]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b84e
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b84e
mov edx, dword [esp + 0x30]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x34]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b879
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b879
mov edx, dword [esp + 0x34]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x38]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b8a4
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b8a4
mov edx, dword [esp + 0x38]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x40]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b8cf
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b8cf
mov edx, dword [esp + 0x40]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43b8fa
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43b8fa
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43bb98
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x43bb98
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x43bb98
push eax
call esi
cmp eax, 0xffffffff
je 0x43b942
test al, 0x10
jne 0x43b9d7
push 0x5476d0
lea ecx, [esp + 0x44]
call fcn.00405730
push 0x54949c
lea eax, [esp + 0x30]
push 0x3ea
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00412d60
mov esi, dword [eax]
lea edx, [esp + 0x14]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00412c10
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
push 0
push esi
push ecx
lea ecx, [edx + 4]
call fcn.0043adb0
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x40]
jmp 0x43bb81
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], 3
jge 0x43ba7a
push 0x5476d0
lea ecx, [esp + 0x44]
call fcn.00405730
push 0x549494
lea eax, [esp + 0x30]
push 0x3ea
push eax
call fcn.004bd990
add esp, 8
lea ecx, [esp + 0x34]
push eax
push ecx
call fcn.00412d60
mov esi, dword [eax]
lea edx, [esp + 0x10]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00412c10
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00412c10
mov ecx, dword [eax]
mov edx, dword [esp + 0x1c]
push 0
push esi
push ecx
lea ecx, [edx + 4]
call fcn.0043adb0
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x40]
jmp 0x43bb81
push eax
call esi
cmp eax, 0xffffffff
je 0x43baf1
test al, 0x10
je 0x43baf1
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esi + 0x50]
call fcn.004016f0
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x124]
call fcn.004016f0
lea edx, [esp + 0x14]
lea ecx, [esi + 0x1fc]
push edx
call fcn.00412800
lea eax, [esp + 0x10]
lea ecx, [esi + 0x200]
push eax
call fcn.00412800
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c
ret 4
push 0x5476d0
lea ecx, [esp + 0x44]
call fcn.00405730
push 0x549494
lea ecx, [esp + 0x30]
push 0x3ea
push ecx
call fcn.004bd990
add esp, 8
lea edx, [esp + 0x34]
push eax
push edx
call fcn.00412d60
mov esi, dword [eax]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00412c10
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.00412c10
mov edx, dword [eax]
mov eax, dword [esp + 0x1c]
push 0
push esi
push edx
lea ecx, [eax + 4]
call fcn.0043adb0
lea ecx, [esp + 0x38]
call fcn.00405700
lea ecx, [esp + 0x34]
call fcn.00405700
lea ecx, [esp + 0x30]
call fcn.00405700
lea ecx, [esp + 0x2c]
call fcn.00405700
lea ecx, [esp + 0x40]
call fcn.00405700
lea ecx, [esp + 0x18]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x14]
call fcn.00405700
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c
ret 4