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

Disassembly:
push 0xffffffffffffffff
push 0x5f55e7
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 [0x6cee18]
mov dword [esp + 0x46c], ebx
cmp eax, ebx
jne 0x43086c
mov eax, 0x6cee1c
mov edx, str._sToolbar.tbi
test edx, edx
je 0x43095e
cmp eax, ebx
je 0x43095e
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.00401ed0
mov esi, dword [esp + 0xac]
lea ecx, [esp + 0x88]
mov byte [esp + 0x46c], 2
call fcn.00401f50
push eax
call fcn.005c4b4a
lea esi, [eax + esi + 2]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x40], edi
je 0x430933
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.00401f50
push eax
lea ecx, [esp + 0xa8]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x48]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x50]
push ecx
call fcn.005c4b4a
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 0x430968
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 0x431b2d
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 [0x6cee18]
mov byte [esp + 0x46c], 3
cmp esi, ebx
jne 0x4309b3
mov esi, 0x6cee1c
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x430b0d
cmp esi, ebx
je 0x430b0d
lea edx, [esp + 0x240]
test edx, edx
je 0x430b0d
push ecx
lea ecx, [esp + 0x200]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x1e4]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x34], edi
je 0x430ac7
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.00401f50
push eax
lea ecx, [esp + 0x1e8]
call fcn.00401f50
push eax
lea ecx, [esp + 0x204]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x40]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005c4b4a
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 0x430b15
lea eax, [esp + 0x38]
push 0x6a290c
push eax
call fcn.005c62b7
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [esp + 0xa0], esi
je 0x431a9b
push esi
lea edx, [esp + 0xb4]
push 0x40
push edx
call fcn.005c64ca
add esp, 0xc
test eax, eax
je 0x431a92
lea ecx, [esp + 0xb0]
mov eax, 0x6a36f0
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x431a92
lea eax, [esp + 0x138]
lea ecx, [esp + 0xb2]
push eax
push 0x6a0000
push ecx
call fcn.005c670c
add esp, 0xc
cmp eax, 1
jne 0x431a92
cmp dword [esp + 0x138], 3
jne 0x431a92
mov edx, dword [0x6ca27c]
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 0x430bf1
mov esi, dword [esp + 0xa0]
push esi
lea eax, [esp + 0xb4]
push 0x40
push eax
call fcn.005c64ca
add esp, 0xc
test eax, eax
je 0x4319b6
mov ecx, 5
mov edi, str.name
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x430c86
lea eax, [esp + 0xb5]
test eax, eax
je 0x4319af
lea ecx, [esp + 0xb5]
push 0xd
push ecx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430c4a
mov byte [eax], bl
lea edx, [esp + 0xb5]
push 0xa
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430c62
mov byte [eax], bl
lea eax, [esp + 0xb5]
lea ecx, [esp + 0x20]
push eax
push 0x69ffbc
push ecx
call fcn.005d9fbb
add esp, 0xc
mov byte [esp + 0x12], 1
jmp 0x431997
mov ecx, 3
mov edi, str.large
lea esi, [esp + 0xb0]
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x430ee5
lea eax, [esp + 0xb6]
test eax, eax
je 0x431997
lea ecx, [esp + 0xb6]
push 0xd
push ecx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430cc9
mov byte [eax], bl
lea edx, [esp + 0xb6]
push 0xa
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430ce1
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.00402890
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 0x430d35
lea edi, [esp + 0x100]
mov esi, dword [0x6cee18]
cmp esi, ebx
jne 0x430d44
mov esi, 0x6cee1c
mov ecx, str._sToolbar_s
test ecx, ecx
je 0x430e93
cmp esi, ebx
je 0x430e93
cmp edi, ebx
je 0x430e93
push ecx
lea ecx, [esp + 0x1c4]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x160]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x70], edi
je 0x430e4d
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.00401f50
push eax
lea ecx, [esp + 0x164]
call fcn.00401f50
push eax
lea ecx, [esp + 0x1c8]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x7c]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x84]
push ecx
call fcn.005c4b4a
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 0x430e9d
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 0x430ec0
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 0x431992
mov ecx, 9
mov edi, str.largeHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431140
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x431997
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430f27
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x430f3f
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.00402890
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 0x430f93
lea edi, [esp + 0x10c]
mov esi, dword [0x6cee18]
cmp esi, ebx
jne 0x430fa2
mov esi, 0x6cee1c
mov edx, str._sToolbar_s
test edx, edx
je 0x4310ee
cmp esi, ebx
je 0x4310ee
cmp edi, ebx
je 0x4310ee
push edx
lea ecx, [esp + 0x140]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x1f0]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x4c], edi
je 0x4310a8
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.00401f50
push eax
lea ecx, [esp + 0x1f4]
call fcn.00401f50
push eax
lea ecx, [esp + 0x144]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x58]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x60]
push ecx
call fcn.005c4b4a
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 0x4310f8
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 0x43111b
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 0x431992
mov ecx, 3
mov edi, str.small
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x43139c
lea ecx, [esp + 0xb6]
test ecx, ecx
je 0x431997
lea edx, [esp + 0xb6]
push 0xd
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x431183
mov byte [eax], bl
lea eax, [esp + 0xb6]
push 0xa
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x43119b
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.00402890
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 0x4311ef
lea edi, [esp + 0x130]
mov esi, dword [0x6cee18]
cmp esi, ebx
jne 0x4311fe
mov esi, 0x6cee1c
mov edx, str._sToolbar_s
test edx, edx
je 0x43134a
cmp esi, ebx
je 0x43134a
cmp edi, ebx
je 0x43134a
push edx
lea ecx, [esp + 0x14c]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x1a8]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x64], edi
je 0x431304
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.00401f50
push eax
lea ecx, [esp + 0x1ac]
call fcn.00401f50
push eax
lea ecx, [esp + 0x150]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x70]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x78]
push ecx
call fcn.005c4b4a
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 0x431354
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 0x431377
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 0x431992
mov ecx, 9
mov edi, str.smallHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431609
lea ecx, [esp + 0xb9]
test ecx, ecx
je 0x431997
lea edx, [esp + 0xb9]
push 0xd
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x4313de
mov byte [eax], bl
lea eax, [esp + 0xb9]
push 0xa
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x4313f6
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.00402890
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 0x431450
lea edi, [esp + 0xf4]
mov esi, dword [0x6cee18]
cmp esi, ebx
jne 0x43145f
mov esi, 0x6cee1c
mov edx, str._sToolbar_s
test edx, edx
je 0x4315b4
cmp esi, ebx
je 0x4315b4
cmp edi, ebx
je 0x4315b4
push edx
lea ecx, [esp + 0x188]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x16c]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x7c], edi
je 0x43156e
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.00401f50
push eax
lea ecx, [esp + 0x170]
call fcn.00401f50
push eax
lea ecx, [esp + 0x18c]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x88]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x90]
push ecx
call fcn.005c4b4a
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 0x4315c1
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 0x4315e4
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 0x431992
mov ecx, 5
mov edi, str.hdpi
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x431864
lea ecx, [esp + 0xb5]
test ecx, ecx
je 0x431997
lea edx, [esp + 0xb5]
push 0xd
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x43164b
mov byte [eax], bl
lea eax, [esp + 0xb5]
push 0xa
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x431663
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.00402890
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 0x4316b7
lea edi, [esp + 0x124]
mov esi, dword [0x6cee18]
cmp esi, ebx
jne 0x4316c6
mov esi, 0x6cee1c
mov edx, str._sToolbar_s
test edx, edx
je 0x431812
cmp esi, ebx
je 0x431812
cmp edi, ebx
je 0x431812
push edx
lea ecx, [esp + 0x1d0]
call fcn.00401ed0
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.00401f50
push eax
call fcn.005c4b4a
add esp, 4
lea ecx, [esp + 0x1b4]
mov edi, eax
call fcn.00401f50
push eax
call fcn.005c4b4a
add esi, edi
lea esi, [eax + esi + 3]
lea ebp, [esi + esi]
push ebp
call fcn.005dd58d
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x58], edi
je 0x4317cc
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.00401f50
push eax
lea ecx, [esp + 0x1b8]
call fcn.00401f50
push eax
lea ecx, [esp + 0x1d4]
call fcn.00401f50
push eax
mov eax, dword [esp + 0x64]
push esi
push eax
call fcn.005c4ada
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.005c4b4a
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 0x43181c
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 0x43183f
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 0x431992
mov ecx, 2
mov edi, str.hdpiHot
lea esi, [esp + 0xb0]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x431997
lea ecx, [esp + 0xb8]
test ecx, ecx
je 0x431997
lea edx, [esp + 0xb8]
push 0xd
push edx
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x4318a6
mov byte [eax], bl
lea eax, [esp + 0xb8]
push 0xa
push eax
call fcn.005c4b80
add esp, 8
cmp eax, ebx
je 0x4318be
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.00402890
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 0x431919
lea ecx, [esp + 0x8c]
mov eax, dword [0x6cee18]
cmp eax, ebx
jne 0x431927
mov eax, 0x6cee1c
push ecx
push eax
push str._sToolbar_s
lea ecx, [esp + 0x120]
call fcn.0040e360
mov esi, dword [esp + 0x114]
cmp esi, ebx
jne 0x43194c
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 0x43196f
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 0x430bea
mov esi, dword [esp + 0xa0]
cmp byte [esp + 0x12], bl
je 0x431a73
cmp byte [esp + 0x16], bl
je 0x431a73
cmp byte [esp + 0x14], bl
je 0x431a73
cmp byte [esp + 0x11], bl
je 0x431a73
cmp byte [esp + 0x13], bl
je 0x431a73
cmp byte [esp + 0x15], bl
je 0x431a5f
cmp byte [esp + 0x17], bl
je 0x431a5f
mov eax, 0x60
lea ecx, [esp + 0xa4]
mov byte [esp + 0xa4], bl
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
call fcn.00431ba0
cmp dword [esp + 0xa8], 0xc0
jl 0x431a5f
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
push eax
call fcn.00431b60
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00431b60
lea edx, [esp + 0x28]
lea ecx, [esp + 0x30]
push edx
call fcn.00431b60
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
call fcn.00431b60
mov edx, dword [esp + 0x9c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [edx + 4]
call fcn.00431d40
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.00431be0
push esi
call fcn.005c60d0
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 0x431aca
call fcn.00401070
jmp 0x43098d
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 0x431b2d
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x431b2d
xor edi, edi
cmp eax, ebx
jle 0x431b2d
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.005c62fc
add esp, 8
test eax, eax
je 0x431b29
mov eax, dword [ebp + 0xc]
inc edi
add esi, 0x14
cmp edi, eax
jl 0x431b02
jmp 0x431b2d
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