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

Disassembly:
push 0xffffffffffffffff
push 0x63b1d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], edi
mov word [esp + 0x24], di
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x98], edi
cmp edx, edi
jle 0x437d3b
mov esi, dword [esi + 0x18]
lea ebp, [esi + 4]
mov esi, dword [ebp]
mov eax, dword [esp + 0xa0]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x437d26
test cl, cl
je 0x437d22
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x437d26
add eax, 2
add esi, 2
test cl, cl
jne 0x437d02
xor eax, eax
jmp 0x437d2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x437d7d
inc edi
add ebp, 8
cmp edi, edx
jl 0x437cf8
mov esi, dword [esp + 0x10]
mov al, byte [esi + 4]
test al, al
jne 0x437f24
push 1
mov ecx, esi
call fcn.00437a40
test eax, eax
sete dl
mov al, dl
mov byte [esi + 4], dl
test al, al
jne 0x437f24
lea ecx, [esp + 0x20]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401070
or eax, 0xffffffff
jmp 0x437f09
mov eax, dword [esp + 0x10]
mov ecx, 0x6c910c
test ecx, ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edi*8]
je 0x437e6e
test eax, eax
je 0x437e6e
push eax
lea ecx, [esp + 0x3c]
call fcn.00401ee0
mov bl, 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], bl
call fcn.00401070
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x30], ax
push eax
push 0x6c910c
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 2
call fcn.004027e0
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
call fcn.00609a4e
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x437e4d
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
lea ecx, [esp + 0x30]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x28]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00609a4e
add esp, 0x14
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], bl
call fcn.00401070
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 0
call fcn.00401070
mov edx, dword [0x6f7b78]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x1c]
push eax
push 0x6c910c
push ecx
mov byte [esp + 0xa4], 6
call fcn.0061fae1
mov esi, dword [esp + 0x2c]
add esp, 0xc
test esi, esi
jne 0x437eae
lea esi, [esp + 0x24]
mov edx, dword [esp + 0x18]
mov edi, dword [0x6fc1e0]
push edx
call edi
push esi
call dword [0x6fc1e4]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
mov esi, dword [eax + 0x1c]
lea ecx, [eax + 0x14]
push edx
push esi
call fcn.00438b50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x98], 7
call fcn.00622d8a
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401070
mov eax, esi
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 4
mov eax, dword [esi + 0x1c]
mov ebx, 3
inc eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 8]
test edi, edi
jne 0x437f3f
lea edi, [eax + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push 0xa
push eax
push ecx
call fcn.0060b264
mov edx, str._stemplate_s.dat
add esp, 0xc
test edx, edx
mov esi, eax
je 0x43807f
test edi, edi
je 0x43807f
test esi, esi
je 0x43807f
lea ecx, [esp + 0x2c]
call fcn.004027c0
push 0
push str._stemplate_s.dat
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], bl
call fcn.004027e0
push edi
lea ecx, [esp + 0x48]
call fcn.00401ee0
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 4
call fcn.00401ee0
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 5
call fcn.00401070
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
call fcn.00609a4e
add esp, 4
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.00401f10
push eax
call fcn.00609a4e
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.00622acb
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x43804d
mov ecx, ebp
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, ebx
rep stosb byte es:[edi], al
lea ecx, [esp + 0x38]
call fcn.00401f10
push eax
lea ecx, [esp + 0x48]
call fcn.00401f10
push eax
lea ecx, [esp + 0x34]
call fcn.00401f10
push eax
mov eax, dword [esp + 0x2c]
push esi
push eax
call fcn.006099de
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00609a4e
add esp, 0x18
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 4
call fcn.00401070
lea ecx, [esp + 0x44]
mov byte [esp + 0x98], bl
call fcn.00401070
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0
call fcn.00401070
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x43808b
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437e6e
inc dword [esp + 0x14]
jmp 0x437f31