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

Disassembly:
push 0xffffffffffffffff
push 0x63c4a7
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x74d890]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push esi
mov eax, dword [0x74d890]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xa8]
xor ebx, ebx
cmp eax, ebx
jne 0x43d13d
lea eax, [esi + 0xac]
push pe_nt_image_headers32
lea ecx, [esp + 0x258]
push ecx
push pe_nt_image_headers32
lea edx, [esp + 0x460]
push edx
push pe_nt_image_headers32
lea ecx, [esp + 0x68]
push ecx
push 3
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00618767
add esp, 0x24
test eax, eax
jne 0x43d401
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov word [esp + 0x14], ax
mov dword [esp + 0x660], ebx
push ebx
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x54]
push edx
push 0x66dde0
lea ecx, [esp + 0x20]
call fcn.00402320
cmp dword [0x752b9c], ebx
je 0x43d1c6
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d1ba
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d1e5
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d1d2
lea eax, [esp + 0x14]
push 1
push eax
call fcn.004a3d80
add esp, 8
test eax, eax
jne 0x43d3ed
xor eax, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov word [esp + 0x38], ax
mov byte [esp + 0x660], 1
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d208
lea eax, [esp + 0x14]
mov ecx, dword [0x752d00]
mov edx, dword [0x753ce0]
push ecx
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.004021b0
push ebx
xor eax, eax
push 0x66dd88
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov word [esp + 0x34], ax
call fcn.00401980
mov byte [esp + 0x660], 2
mov eax, dword [esp + 0x28]
mov ecx, eax
cmp eax, ebx
jne 0x43d254
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x43d260
lea eax, [esp + 0x38]
push 4
push ecx
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x43d4cf
mov edx, dword [esp + 0x10]
mov eax, edx
cmp edx, ebx
jne 0x43d285
lea eax, [esp + 0x14]
lea esi, [eax + 2]
jmp 0x43d290
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43d290
sub eax, esi
sar eax, 1
mov ecx, edx
cmp edx, ebx
jne 0x43d2a9
lea ecx, [esp + 0x14]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x43d2c3
push 0x66e980
lea ecx, [esp + 0x14]
call fcn.00405300
mov edx, dword [esp + 0x10]
cmp edx, ebx
jne 0x43d2cb
lea edx, [esp + 0x14]
push 0x676190
push edx
call fcn.00617adb
add esp, 8
test eax, eax
je 0x43d2f2
push 0x66e980
push 0x676190
lea ecx, [esp + 0x18]
call fcn.0043bc40
jmp 0x43d2bf
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d2fe
lea eax, [esp + 0x14]
add eax, 6
push 0x5c
push eax
call fcn.00617340
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x43d3cc
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d322
lea eax, [esp + 0x14]
xor edx, edx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov word [esp + 0x24], dx
call fcn.004017f0
mov byte [esp + 0x660], 3
mov eax, dword [esp + 0x1c]
mov ecx, eax
cmp eax, ebx
jne 0x43d351
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x43d35d
lea eax, [esp + 0x14]
mov edx, esi
sub edx, eax
xor eax, eax
sar edx, 1
mov word [ecx + edx*2], ax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x43d375
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004a3d80
add esp, 8
test eax, eax
jne 0x43d3a3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x43d390
lea eax, [esp + 0x20]
push 1
push eax
call fcn.004a3f60
add esp, 8
test eax, eax
je 0x43d42c
push 0x5c
add esi, 2
push esi
call fcn.00617340
add esp, 8
mov esi, eax
mov byte [esp + 0x660], 2
lea ecx, [esp + 0x1c]
call fcn.00401210
cmp esi, ebx
jne 0x43d316
mov byte [esp + 0x660], 1
lea ecx, [esp + 0x28]
call fcn.00401210
mov byte [esp + 0x660], bl
lea ecx, [esp + 0x34]
call fcn.00401210
mov dword [esp + 0x660], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
mov eax, 1
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.006157d3
add esp, 0x658
ret
xor ecx, ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov word [esp + 0x44], cx
mov byte [esp + 0x660], 4
push ebx
push ebx
lea edx, [esp + 0x14]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [0x752d00]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x753ce4]
push eax
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.004021b0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x43d494
lea ecx, [esp + 0x14]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x43d4a0
lea eax, [esp + 0x44]
push 0x30
push ecx
push eax
push ebx
call fcn.0046f700
add esp, 0x10
mov byte [esp + 0x660], 3
lea ecx, [esp + 0x40]
call fcn.00401210
mov byte [esp + 0x660], 2
lea ecx, [esp + 0x1c]
call fcn.00401210
mov byte [esp + 0x660], 1
lea ecx, [esp + 0x28]
call fcn.00401210
mov byte [esp + 0x660], bl
lea ecx, [esp + 0x34]
call fcn.00401210
mov dword [esp + 0x660], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00401210
xor eax, eax
jmp 0x43d406