Function at 0x457c10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469163
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x554], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test eax, eax
mov edx, 0x476700
cmovne edx, eax
push 0
lea eax, [ebp - 0x555]
push eax
mov dword [ebp - 0x578], ecx
push edx
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
mov dword [ebp - 0x564], edx
call fcn.00403400
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.00454e80
mov ecx, dword [ebp - 0x4dc]
mov edi, eax
mov eax, dword [ebp - 0x4d4]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x4d0]
cmp esi, ecx
jae 0x457cbd
test eax, eax
jne 0x457ce5
push eax
call fcn.0043e985
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043e3bf
mov ecx, dword [ebp - 0x4d0]
add esp, 8
mov dword [ebp - 0x4d4], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00453960
push edi
push 0
push str.IMAGES
push dword [ebp - 0x4d4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
lea ecx, [ebp - 0x4f0]
mov dword [ebp - 0x574], edi
mov dword [ebp - 4], 0xffffffff
call fcn.00401500
push 0x63
lea eax, [ebp - 0xd7]
push 0
push eax
mov byte [ebp - 0xd8], 0
call fcn.0043e710
push 0x63
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.0043e710
push 0x3e7
lea eax, [ebp - 0x4bf]
push 0
push eax
mov byte [ebp - 0x4c0], 0
call fcn.0043e710
mov esi, 1
add esp, 0x24
mov dword [ebp - 0x560], esi
cmp edi, esi
jl 0x458b1c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x568], eax
lea esp, [esp]
push 0x48
call fcn.00440280
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457de7
mov dword [ebx], 0x47686c
mov dword [ebx + 0x28], 0x46d060
call edi
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
xor eax, eax
mov word [ebx + 4], ax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 4]
push dword [eax + ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x560]
jmp 0x457de9
xor ebx, ebx
push str.IMAGE
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0xa
lea eax, [ebp - 0x4c0]
push eax
push esi
call fcn.0045f366
add esp, 0xc
push eax
lea eax, [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea eax, [ebp - 0x588]
push eax
mov ecx, ebx
call fcn.00454e20
mov esi, eax
mov dword [ebp - 0x55c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x476700
cmovne edx, eax
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov word [ebp - 0x4ec], ax
cmp word [edx], ax
jne 0x457e93
xor ecx, ecx
jmp 0x457eb5
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x457ea0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457ea0
sub ecx, esi
mov esi, dword [ebp - 0x55c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00405680
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x554]
mov byte [ebp - 4], 3
lea ecx, [ecx + 8]
call fcn.00454e80
mov ecx, dword [esi]
mov dword [ebp - 0x55c], eax
call fcn.00454e80
mov edi, eax
mov dword [esi + 8], edi
mov ecx, dword [ebp - 0x4dc]
mov eax, dword [ebp - 0x4d4]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x4d0]
cmp esi, ecx
jae 0x457f3b
test eax, eax
jne 0x457f63
push eax
call fcn.0043e985
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043e3bf
mov ecx, dword [ebp - 0x4d0]
add esp, 8
mov dword [ebp - 0x4d4], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00453960
push dword [ebp - 0x55c]
lea eax, [ebp - 0xd8]
push 0x104
push edi
push 0x476554
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x4c8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x4c8]
add esi, eax
call edi
mov dword [esi], eax
push dword [ebp - 0x4d4]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x457fde
push dword [ebp - 0x4ec]
call esi
xor eax, eax
mov word [ebp - 0x4ec], ax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x588]
mov dword [ebp - 4], 0xffffffff
call fcn.00450340
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x476218
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x476700
cmovne edx, eax
xor eax, eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov word [ebp - 0x4ec], ax
cmp word [edx], ax
jne 0x45809c
xor ecx, ecx
jmp 0x4580b0
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4580a1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00405680
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 4], 5
lea ecx, [ecx + 8]
call fcn.00454e80
mov ecx, dword [ebp - 0x4dc]
mov edi, eax
mov eax, dword [ebp - 0x4d4]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x4d0]
cmp esi, ecx
jae 0x458129
test eax, eax
jne 0x458151
push eax
call fcn.0043e985
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043e3bf
mov ecx, dword [ebp - 0x4d0]
add esp, 8
mov dword [ebp - 0x4d4], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00453960
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x476554
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x4c8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
add esi, eax
call edi
mov dword [esi], eax
push dword [ebp - 0x4d4]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x4581d1
push dword [ebp - 0x4ec]
call esi
xor eax, eax
mov word [ebp - 0x4ec], ax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebx + 0x38]
push ecx
lea eax, [ebx + 0x34]
push eax
sub esp, 0x30
mov dword [ecx], 0
mov ecx, esp
mov dword [eax], 0
push 1
lea eax, [ebp - 0x555]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0044fbd0
mov ecx, dword [ebp - 0x554]
call fcn.004546e0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebx + 0x40], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x476234
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x476700
cmovne edx, eax
xor eax, eax
mov dword [ebp - 4], 6
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov word [ebp - 0x4ec], ax
cmp word [edx], ax
jne 0x4582bd
xor ecx, ecx
jmp 0x4582d1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4582c2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00405680
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 4], 7
lea ecx, [ecx + 8]
call fcn.00454e80
mov ecx, dword [ebp - 0x4dc]
mov edi, eax
mov eax, dword [ebp - 0x4d4]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x4d0]
cmp esi, ecx
jae 0x45834a
test eax, eax
jne 0x458372
push eax
call fcn.0043e985
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043e3bf
mov ecx, dword [ebp - 0x4d0]
add esp, 8
mov dword [ebp - 0x4d4], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00453960
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x476554
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x4c8]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [eax + 4]
lea esi, [ebp - 0x4c8]
mov dword [ebp - 4], 0xffffffff
add esi, eax
call edi
mov dword [esi], eax
push dword [ebp - 0x4d4]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x4583f2
push dword [ebp - 0x4ec]
call esi
xor eax, eax
mov word [ebp - 0x4ec], ax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebx + 0x40]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [eax], 0
push 1
lea eax, [ebp - 0x56b]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0044fbd0
mov ecx, dword [ebp - 0x554]
call fcn.004544d0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.TRNSPRNTCLR
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x476700
cmovne edx, eax
xor eax, eax
mov dword [ebp - 4], 8
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov word [ebp - 0x4ec], ax
cmp word [edx], ax
jne 0x4584cd
xor ecx, ecx
jmp 0x4584e1
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4584d2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00405680
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x554]
mov dword [ebp - 4], 9
lea ecx, [ecx + 8]
call fcn.00454e80
mov ecx, dword [ebp - 0x4dc]
mov edi, eax
mov eax, dword [ebp - 0x4d4]
lea esi, [ecx*2 + 2]
mov ecx, dword [ebp - 0x4d0]
cmp esi, ecx
jae 0x45855a
test eax, eax
jne 0x458582
push eax
call fcn.0043e985
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043e3bf
mov ecx, dword [ebp - 0x4d0]
add esp, 8
mov dword [ebp - 0x4d4], eax
push 3
push ecx
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00453960
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x476554
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x4d4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x4c8]
lea esi, [ebp - 0x4c8]
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x4d4]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x458600
push dword [ebp - 0x4ec]
call esi
xor eax, eax
mov word [ebp - 0x4ec], ax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [ebx + 0x3c]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [eax], 0x808080
push 1
lea eax, [ebp - 0x569]
push eax
lea eax, [ebp - 0x4c0]
push eax
call fcn.0044fbd0
mov ecx, dword [ebp - 0x554]
call fcn.00454360
push dword [ebx + 0x40]
lea eax, [ebp - 0x4c0]
push 0x476244
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebx + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x458687
mov esi, dword [edi]
jmp 0x458689
mov esi, edi
mov dword [ebp - 0x520], 0x47686c
mov dword [ebp - 0x4f8], 0x46d060
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], eax
test esi, esi
mov edx, 0x476700
cmovne edx, esi
xor eax, eax
mov dword [ebp - 0x508], 7
mov dword [ebp - 0x50c], 0
mov word [ebp - 0x51c], ax
mov dword [ebp - 4], 0xa
cmp word [edx], ax
jne 0x4586e0
xor ecx, ecx
jmp 0x4586f4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4586e5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x51c]
call fcn.00405680
mov eax, dword [ebp - 0x4f8]
mov dword [ebp - 0x504], 0
mov dword [ebp - 0x500], 0
mov dword [ebp - 0x4fc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 1
lea eax, [ebp - 0x56a]
push eax
lea eax, [ebp - 0x4c0]
push eax
lea ecx, [ebp - 0x550]
mov dword [ebp - 4], 0xb
call fcn.0044fbd0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 0xc
call fcn.00406240
mov eax, dword [ebp - 0x528]
lea esi, [ebp - 0x528]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0xb
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x534]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x52c]
call esi
cmp dword [ebp - 0x538], 8
jb 0x4587bb
push dword [ebp - 0x54c]
call esi
xor eax, eax
mov word [ebp - 0x54c], ax
mov eax, dword [ebp - 0x550]
mov dword [ebp - 0x538], 7
mov dword [ebp - 0x53c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x550]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x520]
push eax
call fcn.00453400
mov esi, eax
mov eax, dword [ebp - 0x568]
cmp esi, dword [eax]
je 0x458852
lea eax, [esi + 0x10]
test eax, eax
je 0x458818
add eax, 4
jmp 0x45881a
xor eax, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x458825
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x50c]
lea ecx, [ebp - 0x51c]
push 0
call fcn.00406410
test eax, eax
js 0x45884c
mov dword [ebp - 0x570], esi
lea eax, [ebp - 0x570]
jmp 0x458860
mov eax, dword [ebp - 0x568]
mov eax, dword [eax]
mov dword [ebp - 0x57c], eax
lea eax, [ebp - 0x57c]
mov ecx, dword [ebp - 0x554]
mov eax, dword [eax]
cmp eax, dword [ecx + 0x40]
jne 0x458a67
push 0xc
call fcn.00440280
mov esi, eax
add esp, 4
mov dword [ebp - 0x55c], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x4588e3
push 0x30
call fcn.00440280
push 0x30
push 0
push eax
mov dword [esi], eax
call fcn.0043e710
push 0x4c
call fcn.00440280
push 0x4c
push 0
push eax
mov dword [esi + 4], eax
call fcn.0043e710
push 0x18
call fcn.00440280
add esp, 0x24
test eax, eax
je 0x4588c9
mov ecx, eax
call fcn.00450270
jmp 0x4588cb
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
jmp 0x4588e5
xor esi, esi
mov dword [ebx + 0x44], esi
cmp dword [edi + 0x14], 8
jb 0x4588f0
mov edi, dword [edi]
mov dword [ebp - 0x4f0], 0x47686c
mov dword [ebp - 0x4c8], 0x46d060
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c4], eax
test edi, edi
mov edx, 0x476700
cmovne edx, edi
xor eax, eax
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov word [ebp - 0x4ec], ax
mov byte [ebp - 4], 0xe
cmp word [edx], ax
jne 0x458944
xor ecx, ecx
jmp 0x45895f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458950
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00405680
mov eax, dword [ebp - 0x4c8]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x4d0], 0
mov dword [ebp - 0x4cc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4c8]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x554]
lea eax, [ebp - 0x4f0]
push eax
lea ecx, [ecx + 0x38]
mov byte [ebp - 4], 0xf
call fcn.004507a0
mov edi, dword [eax]
mov eax, dword [ebp - 0x4c8]
lea esi, [ebp - 0x4c8]
mov eax, dword [eax + 4]
mov byte [ebp - 4], 0xb
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x4d4]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x458a05
push dword [ebp - 0x4ec]
call esi
xor eax, eax
mov word [ebp - 0x4ec], ax
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4d8], 7
mov dword [ebp - 0x4dc], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x4f0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [edi + 4]
mov ecx, dword [ebx + 0x44]
push dword [edi]
lea eax, [ebx + 0x40]
push ebx
push eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00454f00
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x520]
push eax
call fcn.004506c0
mov ecx, dword [ebx + 0x44]
mov dword [eax], ecx
jmp 0x458a6d
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebp - 0x578]
lea eax, [ebp - 0x560]
push eax
call fcn.004505a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [eax], ebx
mov eax, dword [ebp - 0x4f8]
lea esi, [ebp - 0x4f8]
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, eax
call edi
mov dword [esi], eax
push dword [ebp - 0x504]
call fcn.0043e985
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4fc]
call esi
cmp dword [ebp - 0x508], 8
jb 0x458ad0
push dword [ebp - 0x51c]
call esi
xor eax, eax
mov word [ebp - 0x51c], ax
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x508], 7
mov dword [ebp - 0x50c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x520]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x560]
inc esi
mov dword [ebp - 0x560], esi
cmp esi, dword [ebp - 0x574]
jle 0x457d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e699
mov esp, ebp
pop ebp
ret 8