Function at 0x457590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468a23
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, 0x475ec0
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], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
mov dword [ebp - 0x564], edx
call fcn.00403400
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.00454810
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 0x45763d
test eax, eax
jne 0x457665
push eax
call fcn.0043e335
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043dd7c
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.00453300
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.0043e0c0
push 0x63
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.0043e0c0
push 0x3e7
lea eax, [ebp - 0x4bf]
push 0
push eax
mov byte [ebp - 0x4c0], 0
call fcn.0043e0c0
mov esi, 1
add esp, 0x24
mov dword [ebp - 0x560], esi
cmp edi, esi
jl 0x45849c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x568], eax
lea esp, [esp]
push 0x48
call fcn.0043fc30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457767
mov dword [ebx], 0x47602c
mov dword [ebx + 0x28], 0x46c7e0
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 0x457769
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.0045ecd2
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.004547b0
mov esi, eax
mov dword [ebp - 0x55c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x4f0], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x475ec0
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 0x457813
xor ecx, ecx
jmp 0x457835
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x457820
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457820
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.00454810
mov ecx, dword [esi]
mov dword [ebp - 0x55c], eax
call fcn.00454810
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 0x4578bb
test eax, eax
jne 0x4578e3
push eax
call fcn.0043e335
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043dd7c
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.00453300
push dword [ebp - 0x55c]
lea eax, [ebp - 0xd8]
push 0x104
push edi
push 0x475d14
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x45795e
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.0044fcf0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4759d8
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x475ec0
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 0x457a1c
xor ecx, ecx
jmp 0x457a30
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457a21
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.00454810
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 0x457aa9
test eax, eax
jne 0x457ad1
push eax
call fcn.0043e335
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043dd7c
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.00453300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x475d14
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x457b51
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.0044f580
mov ecx, dword [ebp - 0x554]
call fcn.00454070
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 0x4759f4
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x475ec0
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 0x457c3d
xor ecx, ecx
jmp 0x457c51
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457c42
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.00454810
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 0x457cca
test eax, eax
jne 0x457cf2
push eax
call fcn.0043e335
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043dd7c
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.00453300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x475d14
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x457d72
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.0044f580
mov ecx, dword [ebp - 0x554]
call fcn.00453e60
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], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x475ec0
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 0x457e4d
xor ecx, ecx
jmp 0x457e61
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457e52
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.00454810
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 0x457eda
test eax, eax
jne 0x457f02
push eax
call fcn.0043e335
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043dd7c
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.00453300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x475d14
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x457f80
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.0044f580
mov ecx, dword [ebp - 0x554]
call fcn.00453cf0
push dword [ebx + 0x40]
lea eax, [ebp - 0x4c0]
push 0x475a04
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebx + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x458007
mov esi, dword [edi]
jmp 0x458009
mov esi, edi
mov dword [ebp - 0x520], 0x47602c
mov dword [ebp - 0x4f8], 0x46c7e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], eax
test esi, esi
mov edx, 0x475ec0
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 0x458060
xor ecx, ecx
jmp 0x458074
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458065
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.0044f580
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x52c]
call esi
cmp dword [ebp - 0x538], 8
jb 0x45813b
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.00452da0
mov esi, eax
mov eax, dword [ebp - 0x568]
cmp esi, dword [eax]
je 0x4581d2
lea eax, [esi + 0x10]
test eax, eax
je 0x458198
add eax, 4
jmp 0x45819a
xor eax, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4581a5
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 0x4581cc
mov dword [ebp - 0x570], esi
lea eax, [ebp - 0x570]
jmp 0x4581e0
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 0x4583e7
push 0xc
call fcn.0043fc30
mov esi, eax
add esp, 4
mov dword [ebp - 0x55c], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x458263
push 0x30
call fcn.0043fc30
push 0x30
push 0
push eax
mov dword [esi], eax
call fcn.0043e0c0
push 0x4c
call fcn.0043fc30
push 0x4c
push 0
push eax
mov dword [esi + 4], eax
call fcn.0043e0c0
push 0x18
call fcn.0043fc30
add esp, 0x24
test eax, eax
je 0x458249
mov ecx, eax
call fcn.0044fc20
jmp 0x45824b
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 0x458265
xor esi, esi
mov dword [ebx + 0x44], esi
cmp dword [edi + 0x14], 8
jb 0x458270
mov edi, dword [edi]
mov dword [ebp - 0x4f0], 0x47602c
mov dword [ebp - 0x4c8], 0x46c7e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c4], eax
test edi, edi
mov edx, 0x475ec0
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 0x4582c4
xor ecx, ecx
jmp 0x4582df
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4582d0
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.00450150
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x458385
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.00454890
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x520]
push eax
call fcn.00450070
mov ecx, dword [ebx + 0x44]
mov dword [eax], ecx
jmp 0x4583ed
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebp - 0x578]
lea eax, [ebp - 0x560]
push eax
call fcn.0044ff50
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.0043e335
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4fc]
call esi
cmp dword [ebp - 0x508], 8
jb 0x458450
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 0x457710
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.0043e056
mov esp, ebp
pop ebp
ret 8