Function at 0x436490
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6433eb
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x37c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x394]
mov dword fs:[0], eax
xor ebp, ebp
mov ebx, ecx
xor eax, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x60], ebp
mov word [esp + 0x5c], ax
mov dword [esp + 0x39c], ebp
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x4364f7
mov eax, 0x75ac50
push ebp
push eax
push str._sToolbar.tbi
lea ecx, [esp + 0x64]
call fcn.004021b0
mov eax, dword [esp + 0x58]
cmp eax, ebp
jne 0x436513
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x100]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x3c], edi
cmp edi, 0xffffffff
je 0x436f72
xor edx, edx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebp
mov word [esp + 0x68], dx
mov byte [esp + 0x39c], 1
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x436556
mov eax, 0x75ac50
push ebp
lea ecx, [esp + 0x130]
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x74]
call fcn.00402320
mov eax, dword [esp + 0x64]
cmp eax, ebp
jne 0x43657a
lea eax, [esp + 0x68]
push 0x67ac18
push eax
call fcn.0061ffcd
mov esi, eax
add esp, 8
mov dword [esp + 0x44], esi
cmp esi, ebp
je 0x436ecd
push esi
lea edx, [esp + 0x354]
push 0x40
push edx
call fcn.00620b35
add esp, 0xc
test eax, eax
je 0x436ec4
mov eax, dword [esp + 0x350]
cmp al, 0x76
jne 0x436ec4
cmp ah, 0x3d
jne 0x436ec4
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x356]
push 0x676424
push ecx
call fcn.0061ecee
add esp, 0xc
cmp eax, 1
jne 0x436ec4
cmp dword [esp + 0x48], 3
jne 0x436ec4
lea ecx, [esp + 0x24]
call fcn.00435d60
mov byte [esp + 0x39c], 2
mov byte [esp + 0x16], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x20], ebp
mov byte [esp + 0x39c], 3
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x39c], 4
mov dword [esp + 0x40], ebp
jmp 0x436650
push esi
lea edx, [esp + 0x354]
push 0x40
push edx
call fcn.00620b35
add esp, 0xc
test eax, eax
je 0x436dd3
mov esi, dword [esp + 0x350]
mov bl, byte [esp + 0x355]
mov al, byte [esp + 0x354]
cmp esi, 0x656d616e
jne 0x4366e6
cmp al, 0x3d
jne 0x436800
lea eax, [esp + 0x355]
push 0xd
push eax
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x4366a9
mov byte [eax], 0
lea ecx, [esp + 0x355]
push 0xa
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x4366c2
mov byte [eax], 0
lea edx, [esp + 0x355]
push edx
lea eax, [esp + 0x28]
push 0x675ea0
push eax
call fcn.00402f70
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x436dbd
cmp esi, 0x6772616c
jne 0x436800
cmp al, 0x65
jne 0x436800
cmp bl, 0x3d
jne 0x436800
lea ecx, [esp + 0x356]
push 0xd
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x43671c
mov byte [eax], 0
lea edx, [esp + 0x356]
push 0xa
push edx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436735
mov byte [eax], 0
lea eax, [esp + 0x356]
push eax
lea ecx, [esp + 0xd4]
call fcn.00406f80
mov byte [esp + 0x39c], 5
xor ecx, ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x9c], ebp
mov word [esp + 0x98], cx
mov byte [esp + 0x39c], 6
mov eax, dword [esp + 0xd0]
mov ecx, eax
cmp eax, ebp
jne 0x436785
lea ecx, [esp + 0xd4]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x436793
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0xa4]
call fcn.00402320
mov eax, dword [esp + 0x94]
cmp eax, ebp
jne 0x4367b9
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411620
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4367d8
mov byte [esp + 0x1a], 1
mov byte [esp + 0x39c], 5
lea ecx, [esp + 0x94]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xd0]
jmp 0x436db8
mov eax, 9
mov ecx, str.largeHot
lea edx, [esp + 0x350]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x436949
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x436811
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x436949
lea ecx, [esp + 0x359]
push 0xd
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x43684c
mov byte [eax], 0
lea edx, [esp + 0x359]
push 0xa
push edx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436865
mov byte [eax], 0
push ebp
lea ecx, [esp + 0x35d]
xor eax, eax
push ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc8], ebp
mov word [esp + 0xc4], ax
call fcn.00401980
mov byte [esp + 0x39c], 7
xor edx, edx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa8], ebp
mov word [esp + 0xa4], dx
mov byte [esp + 0x39c], 8
mov eax, dword [esp + 0xb8]
mov ecx, eax
cmp eax, ebp
jne 0x4368ce
lea ecx, [esp + 0xbc]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x4368dc
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0xb0]
call fcn.00402320
mov eax, dword [esp + 0xa0]
cmp eax, ebp
jne 0x436902
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x30]
call fcn.00411620
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436921
mov byte [esp + 0x18], 1
mov byte [esp + 0x39c], 7
lea ecx, [esp + 0xa0]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xb8]
jmp 0x436db8
cmp esi, 0x6c616d73
jne 0x436a69
cmp byte [esp + 0x354], 0x6c
jne 0x436a69
cmp bl, 0x3d
jne 0x436a69
lea ecx, [esp + 0x356]
push 0xd
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436985
mov byte [eax], 0
lea edx, [esp + 0x356]
push 0xa
push edx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x43699e
mov byte [eax], 0
lea eax, [esp + 0x356]
push eax
lea ecx, [esp + 0xc8]
call fcn.00406f80
mov byte [esp + 0x39c], 9
xor ecx, ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0xb4], ebp
mov word [esp + 0xb0], cx
mov byte [esp + 0x39c], 0xa
mov eax, dword [esp + 0xc4]
mov ecx, eax
cmp eax, ebp
jne 0x4369ee
lea ecx, [esp + 0xc8]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x4369fc
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0xbc]
call fcn.00402320
mov eax, dword [esp + 0xac]
cmp eax, ebp
jne 0x436a22
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x34]
call fcn.00411620
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436a41
mov byte [esp + 0x15], 1
mov byte [esp + 0x39c], 9
lea ecx, [esp + 0xac]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xc4]
jmp 0x436db8
mov eax, 9
mov ecx, str.smallHot
lea edx, [esp + 0x350]
lea ebx, [ebx]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x436b8d
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x436a80
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x436b8d
lea ecx, [esp + 0x359]
push 0xd
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436abb
mov byte [eax], 0
lea edx, [esp + 0x359]
push 0xa
push edx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436ad4
mov byte [eax], 0
lea eax, [esp + 0x359]
push eax
lea ecx, [esp + 0xe0]
call fcn.00406f80
mov byte [esp + 0x39c], 0xb
xor ecx, ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], ebp
mov word [esp + 0x74], cx
mov byte [esp + 0x39c], 0xc
mov eax, dword [esp + 0xdc]
mov ecx, eax
cmp eax, ebp
jne 0x436b1b
lea ecx, [esp + 0xe0]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x436b29
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x80]
call fcn.00402320
mov eax, dword [esp + 0x70]
cmp eax, ebp
jne 0x436b49
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x38]
call fcn.00411620
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436b68
mov byte [esp + 0x17], 1
mov byte [esp + 0x39c], 0xb
lea ecx, [esp + 0x70]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xdc]
jmp 0x436db8
cmp esi, 0x69706468
jne 0x436c9b
cmp byte [esp + 0x354], 0x3d
jne 0x436c9b
lea eax, [esp + 0x355]
push 0xd
push eax
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436bc0
mov byte [eax], 0
lea ecx, [esp + 0x355]
push 0xa
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436bd9
mov byte [eax], 0
lea edx, [esp + 0x355]
push edx
lea ecx, [esp + 0xf8]
call fcn.00406f80
mov byte [esp + 0x39c], 0xd
xor eax, eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x84], ebp
mov word [esp + 0x80], ax
mov byte [esp + 0x39c], 0xe
mov eax, dword [esp + 0xf4]
mov ecx, eax
cmp eax, ebp
jne 0x436c26
lea ecx, [esp + 0xf8]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x436c34
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x8c]
call fcn.00402320
mov eax, dword [esp + 0x7c]
cmp eax, ebp
jne 0x436c57
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x24]
call fcn.00411620
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436c76
mov byte [esp + 0x19], 1
mov byte [esp + 0x39c], 0xd
lea ecx, [esp + 0x7c]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xf4]
jmp 0x436db8
mov eax, 8
xor ecx, ecx
mov edx, dword [esp + ecx + 0x350]
cmp edx, dword [ecx + str.hdpiHot]
jne 0x436dbd
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x436ca2
lea eax, [esp + 0x358]
push 0xd
push eax
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436cd9
mov byte [eax], 0
lea ecx, [esp + 0x358]
push 0xa
push ecx
call fcn.0061e8e0
add esp, 8
cmp eax, ebp
je 0x436cf2
mov byte [eax], 0
lea edx, [esp + 0x358]
push edx
lea ecx, [esp + 0xec]
call fcn.00406f80
mov byte [esp + 0x39c], 0xf
xor eax, eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x90], ebp
mov word [esp + 0x8c], ax
mov byte [esp + 0x39c], 0x10
mov eax, dword [esp + 0xe8]
mov ecx, eax
cmp eax, ebp
jne 0x436d42
lea ecx, [esp + 0xec]
mov eax, dword [0x75ac4c]
cmp eax, ebp
jne 0x436d50
mov eax, 0x75ac50
push ebp
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x98]
call fcn.00402320
mov eax, dword [esp + 0x88]
cmp eax, ebp
jne 0x436d76
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x20]
call fcn.00411620
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436d95
mov byte [esp + 0x1b], 1
mov byte [esp + 0x39c], 0xf
lea ecx, [esp + 0x88]
call fcn.00401210
mov byte [esp + 0x39c], 4
lea ecx, [esp + 0xe8]
call fcn.00401210
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
inc eax
cmp eax, 7
mov dword [esp + 0x40], eax
jl 0x436650
cmp byte [esp + 0x16], 0
je 0x436e87
cmp byte [esp + 0x1a], 0
je 0x436e87
cmp byte [esp + 0x18], 0
je 0x436e87
cmp byte [esp + 0x15], 0
je 0x436e87
cmp byte [esp + 0x17], 0
je 0x436e87
cmp byte [esp + 0x19], 0
je 0x436e72
cmp byte [esp + 0x1b], 0
je 0x436e72
mov eax, 0x60
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.00435b90
cmp eax, 0x90
jl 0x436e72
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x34]
call fcn.004119d0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
call fcn.004119d0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x38]
call fcn.004119d0
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x30]
call fcn.004119d0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0xc]
add ecx, 4
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00436270
mov byte [esp + 0x39c], 3
mov eax, dword [esp + 0x1c]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call edi
mov byte [esp + 0x39c], 2
mov ecx, dword [esp + 0x20]
push ecx
call edi
mov byte [esp + 0x39c], 1
lea ecx, [esp + 0x24]
call fcn.00435dd0
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push esi
call fcn.0061fca7
add esp, 4
lea edx, [esp + 0x100]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x436ef6
mov byte [esp + 0x39c], 0
lea ecx, [esp + 0x64]
call fcn.00401210
jmp 0x436531
mov byte [esp + 0x39c], 0
lea ecx, [esp + 0x64]
call fcn.00401210
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebx + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x436f14
sub eax, edx
je 0x436f72
mov eax, dword [ebx + 0xc]
cmp eax, ebp
je 0x436f72
xor edi, edi
cmp eax, ebp
jle 0x436f72
xor esi, esi
mov edi, edi
cmp esi, ebp
jl 0x436fbd
cmp edi, dword [ebx + 0xc]
jge 0x436fbd
mov eax, dword [ebx + 8]
add eax, esi
mov eax, dword [eax]
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
je 0x436fae
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call fcn.00620a8a
add esp, 8
cmp eax, ebp
sete al
inc edi
test al, al
jne 0x436fb8
add esi, 0x14
cmp edi, dword [ebx + 0xc]
jl 0x436f30
mov dword [esp + 0x39c], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.00401210
mov ecx, dword [esp + 0x394]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x38c
ret
push 0x80004005
call fcn.00401090
mov dword [ebx + 0x20], edi
jmp 0x436f72
call fcn.005f16d5
int3