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

Disassembly:
push 0xffffffffffffffff
push 0x5f39b7
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 [0x6cce08]
mov dword [esp + 0x46c], ebx
cmp eax, ebx
jne 0x43079c
mov eax, 0x6cce0c
mov edx, str._sToolbar.tbi
test edx, edx
je 0x43088e
cmp eax, ebx
je 0x43088e
push eax
lea ecx, [esp + 0x8c]
call fcn.0040d680
lea ecx, [esp + 0x40]
mov byte [esp + 0x46c], 1
call fcn.00401070
push str._sToolbar.tbi
lea ecx, [esp + 0xa8]
call fcn.00401ec0
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x88]
mov byte [esp + 0x46c], 2
call fcn.00401f40
push eax
call fcn.005c2f1a
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x40], edi
je 0x430863
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.00401f40
push eax
lea ecx, [esp + 0xa8]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005c2f1a
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 0x430898
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 0x431a5d
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 [0x6cce08]
mov byte [esp + 0x46c], 3
cmp esi, ebx
jne 0x4308e3
mov esi, 0x6cce0c
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x430a3d
cmp esi, ebx
je 0x430a3d
lea edx, [esp + 0x240]
test edx, edx
je 0x430a3d
push ecx
lea ecx, [esp + 0x200]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x1e8]
mov byte [esp + 0x470], 4
call fcn.0040d680
lea eax, [esp + 0x240]
lea ecx, [esp + 0x190]
push eax
mov byte [esp + 0x470], 5
call fcn.0040d680
lea ecx, [esp + 0x34]
mov byte [esp + 0x46c], 6
call fcn.00401070
mov esi, dword [esp + 0x204]
lea ecx, [esp + 0x190]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x1e4]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x34], edi
je 0x4309f7
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.00401f40
push eax
lea ecx, [esp + 0x1e8]
call fcn.00401f40
push eax
lea ecx, [esp + 0x204]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005c2f1a
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 0x430a45
lea eax, [esp + 0x38]
push 0x6a090c
push eax
call fcn.005c4687
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0xa0], esi
je 0x4319cb
push esi
lea edx, [esp + 0xb4]
push 0x40
push edx
call fcn.005c489a
add esp, 0xc
test eax, eax
je 0x4319c2
lea ecx, [esp + 0xb0]
mov eax, 0x6a16f0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4319c2
lea eax, [esp + 0x138]
lea ecx, [esp + 0xb2]
push eax
push 0x69e000
push ecx
call fcn.005c4adc
add esp, 0xc
cmp eax, 1
jne 0x4319c2
cmp dword [esp + 0x138], 3
jne 0x4319c2
mov edx, dword [0x6c826c]
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 0x430b21
mov esi, dword [esp + 0xa0]
push esi
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.005c489a
add esp, 0xc
test eax, eax
je 0x4318e6
mov ecx, 5
mov edi, str.name
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x430bb6
lea eax, [esp + 0xb5]
test eax, eax
je 0x4318df
lea ecx, [esp + 0xb5]
push 0xd
push ecx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430b7a
mov byte [eax], bl
lea edx, [esp + 0xb5]
push 0xa
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430b92
mov byte [eax], bl
lea eax, [esp + 0xb5]
lea ecx, [esp + 0x20]
push eax
push 0x69dfbc
push ecx
call fcn.005d838b
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x4318c7
mov ecx, 3
mov edi, str.large
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x430e15
lea eax, [esp + 0xb6]
test eax, eax
je 0x4318c7
lea ecx, [esp + 0xb6]
push 0xd
push ecx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430bf9
mov byte [eax], bl
lea edx, [esp + 0xb6]
push 0xa
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430c11
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.00402880
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 0x430c65
lea edi, [esp + 0x100]
mov esi, dword [0x6cce08]
cmp esi, ebx
jne 0x430c74
mov esi, 0x6cce0c
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x430dc3
cmp esi, ebx
je 0x430dc3
cmp edi, ebx
je 0x430dc3
push ecx
lea ecx, [esp + 0x1c4]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x164]
mov byte [esp + 0x470], 0xc
call fcn.0040d680
push edi
lea ecx, [esp + 0x20c]
mov byte [esp + 0x470], 0xd
call fcn.0040d680
lea ecx, [esp + 0x70]
mov byte [esp + 0x46c], 0xe
call fcn.00401070
mov esi, dword [esp + 0x1c8]
lea ecx, [esp + 0x208]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x160]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x70], edi
je 0x430d7d
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.00401f40
push eax
lea ecx, [esp + 0x164]
call fcn.00401f40
push eax
lea ecx, [esp + 0x1c8]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x7c]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x84]
push ecx
call fcn.005c2f1a
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 0x430dcd
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 0x430df0
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 0x4318c2
mov ecx, 9
mov edi, str.largeHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431070
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x4318c7
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430e57
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x430e6f
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.00402880
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 0x430ec3
lea edi, [esp + 0x10c]
mov esi, dword [0x6cce08]
cmp esi, ebx
jne 0x430ed2
mov esi, 0x6cce0c
mov edx, str._sToolbar_s
test edx, edx
je 0x43101e
cmp esi, ebx
je 0x43101e
cmp edi, ebx
je 0x43101e
push edx
lea ecx, [esp + 0x140]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x1f4]
mov byte [esp + 0x470], 0x11
call fcn.0040d680
push edi
lea ecx, [esp + 0x17c]
mov byte [esp + 0x470], 0x12
call fcn.0040d680
lea ecx, [esp + 0x4c]
mov byte [esp + 0x46c], 0x13
call fcn.00401070
mov esi, dword [esp + 0x144]
lea ecx, [esp + 0x178]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x1f0]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x4c], edi
je 0x430fd8
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.00401f40
push eax
lea ecx, [esp + 0x1f4]
call fcn.00401f40
push eax
lea ecx, [esp + 0x144]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005c2f1a
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 0x431028
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 0x43104b
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 0x4318c2
mov ecx, 3
mov edi, str.small
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x4312cc
lea ecx, [esp + 0xb6]
test ecx, ecx
je 0x4318c7
lea edx, [esp + 0xb6]
push 0xd
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x4310b3
mov byte [eax], bl
lea eax, [esp + 0xb6]
push 0xa
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x4310cb
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.00402880
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 0x43111f
lea edi, [esp + 0x130]
mov esi, dword [0x6cce08]
cmp esi, ebx
jne 0x43112e
mov esi, 0x6cce0c
mov edx, str._sToolbar_s
test edx, edx
je 0x43127a
cmp esi, ebx
je 0x43127a
cmp edi, ebx
je 0x43127a
push edx
lea ecx, [esp + 0x14c]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x470], 0x16
call fcn.0040d680
push edi
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x470], 0x17
call fcn.0040d680
lea ecx, [esp + 0x64]
mov byte [esp + 0x46c], 0x18
call fcn.00401070
mov esi, dword [esp + 0x150]
lea ecx, [esp + 0x1d8]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x1a8]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x64], edi
je 0x431234
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.00401f40
push eax
lea ecx, [esp + 0x1ac]
call fcn.00401f40
push eax
lea ecx, [esp + 0x150]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x70]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x78]
push ecx
call fcn.005c2f1a
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 0x431284
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 0x4312a7
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 0x4318c2
mov ecx, 9
mov edi, str.smallHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431539
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x4318c7
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x43130e
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x431326
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.00402880
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 0x431380
lea edi, [esp + 0xf4]
mov esi, dword [0x6cce08]
cmp esi, ebx
jne 0x43138f
mov esi, 0x6cce0c
mov edx, str._sToolbar_s
test edx, edx
je 0x4314e4
cmp esi, ebx
je 0x4314e4
cmp edi, ebx
je 0x4314e4
push edx
lea ecx, [esp + 0x188]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x170]
mov byte [esp + 0x470], 0x1b
call fcn.0040d680
push edi
lea ecx, [esp + 0x158]
mov byte [esp + 0x470], 0x1c
call fcn.0040d680
lea ecx, [esp + 0x7c]
mov byte [esp + 0x46c], 0x1d
call fcn.00401070
mov esi, dword [esp + 0x18c]
lea ecx, [esp + 0x154]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x16c]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x7c], edi
je 0x43149e
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.00401f40
push eax
lea ecx, [esp + 0x170]
call fcn.00401f40
push eax
lea ecx, [esp + 0x18c]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x88]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x90]
push ecx
call fcn.005c2f1a
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 0x4314f1
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 0x431514
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 0x4318c2
mov ecx, 5
mov edi, str.hdpi
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431794
lea ecx, [esp + 0xb5]
test ecx, ecx
je 0x4318c7
lea edx, [esp + 0xb5]
push 0xd
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x43157b
mov byte [eax], bl
lea eax, [esp + 0xb5]
push 0xa
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x431593
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.00402880
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 0x4315e7
lea edi, [esp + 0x124]
mov esi, dword [0x6cce08]
cmp esi, ebx
jne 0x4315f6
mov esi, 0x6cce0c
mov edx, str._sToolbar_s
test edx, edx
je 0x431742
cmp esi, ebx
je 0x431742
cmp edi, ebx
je 0x431742
push edx
lea ecx, [esp + 0x1d0]
call fcn.00401ec0
push esi
lea ecx, [esp + 0x1b8]
mov byte [esp + 0x470], 0x20
call fcn.0040d680
push edi
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x470], 0x21
call fcn.0040d680
lea ecx, [esp + 0x58]
mov byte [esp + 0x46c], 0x22
call fcn.00401070
mov esi, dword [esp + 0x1d4]
lea ecx, [esp + 0x19c]
call fcn.00401f40
push eax
call fcn.005c2f1a
add esp, 4
lea ecx, [esp + 0x1b4]
mov edi, eax
call fcn.00401f40
push eax
call fcn.005c2f1a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005db95d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x58], edi
je 0x4316fc
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.00401f40
push eax
lea ecx, [esp + 0x1b8]
call fcn.00401f40
push eax
lea ecx, [esp + 0x1d4]
call fcn.00401f40
push eax
mov eax, dword [esp + 0x64]
push esi
push eax
call fcn.005c2eaa
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.005c2f1a
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 0x43174c
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 0x43176f
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 0x4318c2
mov ecx, 2
mov edi, str.hdpiHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x4318c7
lea ecx, [esp + 0xb8]
test ecx, ecx
je 0x4318c7
lea edx, [esp + 0xb8]
push 0xd
push edx
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x4317d6
mov byte [eax], bl
lea eax, [esp + 0xb8]
push 0xa
push eax
call fcn.005c2f50
add esp, 8
cmp eax, ebx
je 0x4317ee
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.00402880
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 0x431849
lea ecx, [esp + 0x8c]
mov eax, dword [0x6cce08]
cmp eax, ebx
jne 0x431857
mov eax, 0x6cce0c
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x120]
call fcn.0040e360
mov esi, dword [esp + 0x114]
cmp esi, ebx
jne 0x43187c
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 0x43189f
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 0x430b1a
mov esi, dword [esp + 0xa0]
cmp byte [esp + 0x12], bl
je 0x4319a3
cmp byte [esp + 0x16], bl
je 0x4319a3
cmp byte [esp + 0x14], bl
je 0x4319a3
cmp byte [esp + 0x11], bl
je 0x4319a3
cmp byte [esp + 0x13], bl
je 0x4319a3
cmp byte [esp + 0x15], bl
je 0x43198f
cmp byte [esp + 0x17], bl
je 0x43198f
mov eax, 0x60
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], bl
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
call fcn.00431ad0
cmp dword [esp + 0xa8], 0xc0
jl 0x43198f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
call fcn.00431a90
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00431a90
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
call fcn.00431a90
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00431a90
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edx + 4]
call fcn.00431c70
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.00431b10
push esi
call fcn.005c44a0
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 0x4319fa
call fcn.00401070
jmp 0x4308bd
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 0x431a5d
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x431a5d
xor edi, edi
cmp eax, ebx
jle 0x431a5d
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.005c46cc
add esp, 8
test eax, eax
je 0x431a59
mov eax, dword [ebp + 0xc]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x431a32
jmp 0x431a5d
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