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

Disassembly:
push 0xffffffffffffffff
push 0x616347
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x454
mov dword [esp + 0x8c], ecx
push ebx
push ebp
xor ebx, ebx
xor ecx, ecx
push esi
push edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], ebx
mov word [esp + 0x44], bx
mov eax, dword [0x6f62f8]
mov dword [esp + 0x46c], ebx
cmp eax, ebx
jne 0x43458c
mov eax, 0x6f62fc
mov edx, str._sToolbar.tbi
test edx, edx
je 0x43467e
cmp eax, ebx
je 0x43467e
push eax
lea ecx, [esp + 0x8c]
call fcn.0040e5b0
lea ecx, [esp + 0x40]
mov byte [esp + 0x46c], 1
call fcn.00401070
push str._sToolbar.tbi
lea ecx, [esp + 0xa8]
call fcn.00402330
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x88]
mov byte [esp + 0x46c], 2
call fcn.004023b0
push eax
call fcn.005e519b
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x40], edi
je 0x434653
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 + 0x88]
call fcn.004023b0
push eax
lea ecx, [esp + 0xa8]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005e519b
add esp, 0x14
mov dword [esp + 0x48], eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x46c], 1
call fcn.00401070
lea ecx, [esp + 0x88]
mov byte [esp + 0x46c], bl
call fcn.00401070
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
mov eax, ecx
jne 0x434688
lea eax, [esp + 0x44]
lea edx, [esp + 0x214]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x94], eax
je 0x43584d
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], eax
mov word [esp + 0x38], bx
mov esi, dword [0x6f62f8]
mov byte [esp + 0x46c], 3
cmp esi, ebx
jne 0x4346d3
mov esi, 0x6f62fc
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x43482d
cmp esi, ebx
je 0x43482d
lea edx, [esp + 0x240]
test edx, edx
je 0x43482d
push ecx
lea ecx, [esp + 0x200]
call fcn.00402330
push esi
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x470], 4
call fcn.0040e5b0
lea eax, [esp + 0x240]
lea ecx, [esp + 0x190]
push eax
mov byte [esp + 0x470], 5
call fcn.0040e5b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x46c], 6
call fcn.00401070
mov esi, dword [esp + 0x204]
lea ecx, [esp + 0x190]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x1e4]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x34], edi
je 0x4347e7
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 + 0x190]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1e8]
call fcn.004023b0
push eax
lea ecx, [esp + 0x204]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x190]
mov byte [esp + 0x46c], 5
call fcn.00401070
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x46c], 4
call fcn.00401070
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x46c], 3
call fcn.00401070
mov eax, dword [esp + 0x34]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
jne 0x434835
lea eax, [esp + 0x38]
push 0x6c7d90
push eax
call fcn.005e683f
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0xa0], esi
je 0x4357bb
push esi
lea edx, [esp + 0xb4]
push 0x40
push edx
call fcn.005e6ae5
add esp, 0xc
test eax, eax
je 0x4357b2
lea ecx, [esp + 0xb0]
mov eax, 0x6c8c98
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4357b2
lea eax, [esp + 0x138]
lea ecx, [esp + 0xb2]
push eax
push 0x6c50dc
push ecx
call fcn.005e55f0
add esp, 0xc
cmp eax, 1
jne 0x4357b2
cmp dword [esp + 0x138], 3
jne 0x4357b2
mov edx, dword [0x6f175c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0x14], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x13], bl
mov byte [esp + 0x15], bl
mov byte [esp + 0x17], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x46c], 9
mov dword [esp + 0x98], ebx
jmp 0x434911
mov esi, dword [esp + 0xa0]
push esi
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.005e6ae5
add esp, 0xc
test eax, eax
je 0x4356d6
mov ecx, 5
mov edi, 0x6c8bb4
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4349a6
lea eax, [esp + 0xb5]
test eax, eax
je 0x4356cf
lea ecx, [esp + 0xb5]
push 0xd
push ecx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x43496a
mov byte [eax], bl
lea edx, [esp + 0xb5]
push 0xa
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434982
mov byte [eax], bl
lea eax, [esp + 0xb5]
lea ecx, [esp + 0x20]
push eax
push 0x6c5098
push ecx
call fcn.005fa6fb
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x4356b7
mov ecx, 3
mov edi, str.large
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x434c05
lea eax, [esp + 0xb6]
test eax, eax
je 0x4356b7
lea ecx, [esp + 0xb6]
push 0xd
push ecx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x4349e9
mov byte [eax], bl
lea edx, [esp + 0xb6]
push 0xa
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434a01
mov byte [eax], bl
lea eax, [esp + 0xb6]
push ebx
push eax
lea ecx, [esp + 0x104]
mov dword [esp + 0x104], ebx
mov dword [esp + 0x10c], ebx
mov word [esp + 0x108], bx
call fcn.00402ce0
xor eax, eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], eax
mov word [esp + 0x74], bx
mov edi, dword [esp + 0xfc]
mov byte [esp + 0x46c], 0xb
cmp edi, ebx
jne 0x434a55
lea edi, [esp + 0x100]
mov esi, dword [0x6f62f8]
cmp esi, ebx
jne 0x434a64
mov esi, 0x6f62fc
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x434bb3
cmp esi, ebx
je 0x434bb3
cmp edi, ebx
je 0x434bb3
push ecx
lea ecx, [esp + 0x1c4]
call fcn.00402330
push esi
lea ecx, [esp + 0x164]
mov byte [esp + 0x470], 0xc
call fcn.0040e5b0
push edi
lea ecx, [esp + 0x20c]
mov byte [esp + 0x470], 0xd
call fcn.0040e5b0
lea ecx, [esp + 0x70]
mov byte [esp + 0x46c], 0xe
call fcn.00401070
mov esi, dword [esp + 0x1c8]
lea ecx, [esp + 0x208]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x160]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x70], edi
je 0x434b6d
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 + 0x208]
call fcn.004023b0
push eax
lea ecx, [esp + 0x164]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1c8]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x7c]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x84]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x208]
mov byte [esp + 0x46c], 0xd
call fcn.00401070
lea ecx, [esp + 0x160]
mov byte [esp + 0x46c], 0xc
call fcn.00401070
lea ecx, [esp + 0x1c0]
mov byte [esp + 0x46c], 0xb
call fcn.00401070
mov eax, dword [esp + 0x70]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov esi, eax
jne 0x434bbd
lea esi, [esp + 0x74]
mov edx, dword [esp + 0x24]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x434be0
mov byte [esp + 0x16], 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x46c], 0xa
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0xfc]
jmp 0x4356b2
mov ecx, 9
mov edi, str.largeHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x434e60
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x4356b7
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434c47
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434c5f
mov byte [eax], bl
lea ecx, [esp + 0xb9]
push ebx
push ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0x110], ebx
mov dword [esp + 0x118], ebx
mov word [esp + 0x114], bx
call fcn.00402ce0
xor eax, eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], eax
mov word [esp + 0x50], bx
mov edi, dword [esp + 0x108]
mov byte [esp + 0x46c], 0x10
cmp edi, ebx
jne 0x434cb3
lea edi, [esp + 0x10c]
mov esi, dword [0x6f62f8]
cmp esi, ebx
jne 0x434cc2
mov esi, 0x6f62fc
mov edx, str._sToolbar_s
test edx, edx
je 0x434e0e
cmp esi, ebx
je 0x434e0e
cmp edi, ebx
je 0x434e0e
push edx
lea ecx, [esp + 0x140]
call fcn.00402330
push esi
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x470], 0x11
call fcn.0040e5b0
push edi
lea ecx, [esp + 0x17c]
mov byte [esp + 0x470], 0x12
call fcn.0040e5b0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x46c], 0x13
call fcn.00401070
mov esi, dword [esp + 0x144]
lea ecx, [esp + 0x178]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x1f0]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x4c], edi
je 0x434dc8
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 + 0x178]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1f4]
call fcn.004023b0
push eax
lea ecx, [esp + 0x144]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x46c], 0x12
call fcn.00401070
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x46c], 0x11
call fcn.00401070
lea ecx, [esp + 0x13c]
mov byte [esp + 0x46c], 0x10
call fcn.00401070
mov eax, dword [esp + 0x4c]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov esi, eax
jne 0x434e18
lea esi, [esp + 0x50]
mov edx, dword [esp + 0x28]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x434e3b
mov byte [esp + 0x14], 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x46c], 0xf
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0x108]
jmp 0x4356b2
mov ecx, 3
mov edi, str.small
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x4350bc
lea ecx, [esp + 0xb6]
test ecx, ecx
je 0x4356b7
lea edx, [esp + 0xb6]
push 0xd
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434ea3
mov byte [eax], bl
lea eax, [esp + 0xb6]
push 0xa
push eax
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x434ebb
mov byte [eax], bl
lea ecx, [esp + 0xb6]
push ebx
push ecx
lea ecx, [esp + 0x134]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x13c], ebx
mov word [esp + 0x138], bx
call fcn.00402ce0
xor eax, eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], eax
mov word [esp + 0x68], bx
mov edi, dword [esp + 0x12c]
mov byte [esp + 0x46c], 0x15
cmp edi, ebx
jne 0x434f0f
lea edi, [esp + 0x130]
mov esi, dword [0x6f62f8]
cmp esi, ebx
jne 0x434f1e
mov esi, 0x6f62fc
mov edx, str._sToolbar_s
test edx, edx
je 0x43506a
cmp esi, ebx
je 0x43506a
cmp edi, ebx
je 0x43506a
push edx
lea ecx, [esp + 0x14c]
call fcn.00402330
push esi
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x470], 0x16
call fcn.0040e5b0
push edi
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x470], 0x17
call fcn.0040e5b0
lea ecx, [esp + 0x64]
mov byte [esp + 0x46c], 0x18
call fcn.00401070
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0x1d8]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x1a8]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x64], edi
je 0x435024
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 + 0x1d8]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1ac]
call fcn.004023b0
push eax
lea ecx, [esp + 0x150]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x70]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x78]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x1d8]
mov byte [esp + 0x46c], 0x17
call fcn.00401070
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x46c], 0x16
call fcn.00401070
lea ecx, [esp + 0x148]
mov byte [esp + 0x46c], 0x15
call fcn.00401070
mov eax, dword [esp + 0x64]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov esi, eax
jne 0x435074
lea esi, [esp + 0x68]
mov edx, dword [esp + 0x2c]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435097
mov byte [esp + 0x11], 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x46c], 0x14
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0x12c]
jmp 0x4356b2
mov ecx, 9
mov edi, str.smallHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x435329
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x4356b7
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x4350fe
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x435116
mov byte [eax], bl
lea ecx, [esp + 0xb9]
push ebx
push ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x100], ebx
mov word [esp + 0xfc], bx
call fcn.00402ce0
xor eax, eax
mov dword [esp + 0x84], ebx
mov dword [esp + 0x7c], eax
mov word [esp + 0x80], bx
mov edi, dword [esp + 0xf0]
mov byte [esp + 0x46c], 0x1a
cmp edi, ebx
jne 0x435170
lea edi, [esp + 0xf4]
mov esi, dword [0x6f62f8]
cmp esi, ebx
jne 0x43517f
mov esi, 0x6f62fc
mov edx, str._sToolbar_s
test edx, edx
je 0x4352d4
cmp esi, ebx
je 0x4352d4
cmp edi, ebx
je 0x4352d4
push edx
lea ecx, [esp + 0x188]
call fcn.00402330
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x470], 0x1b
call fcn.0040e5b0
push edi
lea ecx, [esp + 0x158]
mov byte [esp + 0x470], 0x1c
call fcn.0040e5b0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x46c], 0x1d
call fcn.00401070
mov esi, dword [esp + 0x18c]
lea ecx, [esp + 0x154]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x16c]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x7c], edi
je 0x43528e
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 + 0x154]
call fcn.004023b0
push eax
lea ecx, [esp + 0x170]
call fcn.004023b0
push eax
lea ecx, [esp + 0x18c]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x88]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x90]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x46c], 0x1c
call fcn.00401070
lea ecx, [esp + 0x16c]
mov byte [esp + 0x46c], 0x1b
call fcn.00401070
lea ecx, [esp + 0x184]
mov byte [esp + 0x46c], 0x1a
call fcn.00401070
mov eax, dword [esp + 0x7c]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov esi, eax
jne 0x4352e1
lea esi, [esp + 0x80]
mov edx, dword [esp + 0x30]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x435304
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0x46c], 0x19
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0xf0]
jmp 0x4356b2
mov ecx, 5
mov edi, str.hdpi
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x435584
lea ecx, [esp + 0xb5]
test ecx, ecx
je 0x4356b7
lea edx, [esp + 0xb5]
push 0xd
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x43536b
mov byte [eax], bl
lea eax, [esp + 0xb5]
push 0xa
push eax
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x435383
mov byte [eax], bl
lea ecx, [esp + 0xb5]
push ebx
push ecx
lea ecx, [esp + 0x128]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x130], ebx
mov word [esp + 0x12c], bx
call fcn.00402ce0
xor eax, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x58], eax
mov word [esp + 0x5c], bx
mov edi, dword [esp + 0x120]
mov byte [esp + 0x46c], 0x1f
cmp edi, ebx
jne 0x4353d7
lea edi, [esp + 0x124]
mov esi, dword [0x6f62f8]
cmp esi, ebx
jne 0x4353e6
mov esi, 0x6f62fc
mov edx, str._sToolbar_s
test edx, edx
je 0x435532
cmp esi, ebx
je 0x435532
cmp edi, ebx
je 0x435532
push edx
lea ecx, [esp + 0x1d0]
call fcn.00402330
push esi
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x470], 0x20
call fcn.0040e5b0
push edi
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x470], 0x21
call fcn.0040e5b0
lea ecx, [esp + 0x58]
mov byte [esp + 0x46c], 0x22
call fcn.00401070
mov esi, dword [esp + 0x1d4]
lea ecx, [esp + 0x19c]
call fcn.004023b0
push eax
call fcn.005e519b
add esp, 4
lea ecx, [esp + 0x1b4]
mov edi, eax
call fcn.004023b0
push eax
call fcn.005e519b
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005fdccd
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x58], edi
je 0x4354ec
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 + 0x19c]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1b8]
call fcn.004023b0
push eax
lea ecx, [esp + 0x1d4]
call fcn.004023b0
push eax
mov eax, dword [esp + 0x64]
push esi
push eax
call fcn.005e512b
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.005e519b
add esp, 0x18
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x19c]
mov byte [esp + 0x46c], 0x21
call fcn.00401070
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x46c], 0x20
call fcn.00401070
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x46c], 0x1f
call fcn.00401070
mov eax, dword [esp + 0x58]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, ebx
mov esi, eax
jne 0x43553c
lea esi, [esp + 0x5c]
mov edx, dword [esp + 0x18]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43555f
mov byte [esp + 0x15], 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x46c], 0x1e
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0x120]
jmp 0x4356b2
mov ecx, 2
mov edi, str.hdpiHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4356b7
lea ecx, [esp + 0xb8]
test ecx, ecx
je 0x4356b7
lea edx, [esp + 0xb8]
push 0xd
push edx
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x4355c6
mov byte [eax], bl
lea eax, [esp + 0xb8]
push 0xa
push eax
call fcn.005e51d0
add esp, 8
cmp eax, ebx
je 0x4355de
mov byte [eax], bl
lea ecx, [esp + 0xb8]
push ebx
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], ebx
mov word [esp + 0x94], bx
call fcn.00402ce0
mov dword [esp + 0x114], ebx
mov dword [esp + 0x11c], ebx
mov word [esp + 0x118], bx
mov ecx, dword [esp + 0x88]
mov byte [esp + 0x46c], 0x24
cmp ecx, ebx
jne 0x435639
lea ecx, [esp + 0x8c]
mov eax, dword [0x6f62f8]
cmp eax, ebx
jne 0x435647
mov eax, 0x6f62fc
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x120]
call fcn.0040fbe0
mov esi, dword [esp + 0x114]
cmp esi, ebx
jne 0x43566c
lea esi, [esp + 0x118]
mov edx, dword [esp + 0x1c]
push edx
call ebp
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43568f
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x114]
mov byte [esp + 0x46c], 0x23
call fcn.00401070
mov byte [esp + 0x46c], 9
lea ecx, [esp + 0x88]
call fcn.00401070
mov eax, dword [esp + 0x98]
inc eax
cmp eax, 7
mov dword [esp + 0x98], eax
jl 0x43490a
mov esi, dword [esp + 0xa0]
cmp byte [esp + 0x12], bl
je 0x435793
cmp byte [esp + 0x16], bl
je 0x435793
cmp byte [esp + 0x14], bl
je 0x435793
cmp byte [esp + 0x11], bl
je 0x435793
cmp byte [esp + 0x13], bl
je 0x435793
cmp byte [esp + 0x15], bl
je 0x43577f
cmp byte [esp + 0x17], bl
je 0x43577f
mov eax, 0x60
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], bl
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
call fcn.004358c0
cmp dword [esp + 0xa8], 0xc0
jl 0x43577f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
call fcn.00435880
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00435880
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
call fcn.00435880
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00435880
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edx + 4]
call fcn.00435a60
mov eax, dword [esp + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call ebp
lea ecx, [esp + 0x20]
mov byte [esp + 0x46c], 3
call fcn.00435900
push esi
call fcn.005e6658
add esp, 4
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x214]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [esp + 0x46c], bl
lea ecx, [esp + 0x34]
je 0x4357ea
call fcn.00401070
jmp 0x4346ad
call fcn.00401070
mov ecx, dword [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x9c]
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [ebp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43584d
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x43584d
xor edi, edi
cmp eax, ebx
jle 0x43584d
xor esi, esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x1c]
mov eax, esi
add eax, ebx
mov eax, dword [eax]
push eax
push ecx
call fcn.005e695a
add esp, 8
test eax, eax
je 0x435849
mov eax, dword [ebp + 0xc]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x435822
jmp 0x43584d
inc edi
mov dword [ebp + 0x20], edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x46c], 0xffffffff
call fcn.00401070
mov ecx, dword [esp + 0x464]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x460
ret