Function at 0x459590
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46afa3
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x487db8]
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, 0x478ed0
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], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
mov dword [ebp - 0x564], edx
call fcn.00403400
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.00456810
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 0x45963d
test eax, eax
jne 0x459665
push eax
call fcn.00440394
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043fd86
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.00455300
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.004400d0
push 0x63
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.004400d0
push 0x3e7
lea eax, [ebp - 0x4bf]
push 0
push eax
mov byte [ebp - 0x4c0], 0
call fcn.004400d0
mov esi, 1
add esp, 0x24
mov dword [ebp - 0x560], esi
cmp edi, esi
jl 0x45a49c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x568], eax
lea esp, [esp]
push 0x48
call fcn.004401ab
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x459767
mov dword [ebx], 0x4745e4
mov dword [ebx + 0x28], 0x46ef78
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 0x459769
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.00460d12
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.004567b0
mov esi, eax
mov dword [ebp - 0x55c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x4f0], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x478ed0
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 0x459813
xor ecx, ecx
jmp 0x459835
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x459820
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459820
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.00456810
mov ecx, dword [esi]
mov dword [ebp - 0x55c], eax
call fcn.00456810
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 0x4598bb
test eax, eax
jne 0x4598e3
push eax
call fcn.00440394
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043fd86
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.00455300
push dword [ebp - 0x55c]
lea eax, [ebp - 0xd8]
push 0x104
push edi
push 0x478d24
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x45995e
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.00451cf0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4789e8
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x478ed0
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 0x459a1c
xor ecx, ecx
jmp 0x459a30
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459a21
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.00456810
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 0x459aa9
test eax, eax
jne 0x459ad1
push eax
call fcn.00440394
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043fd86
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.00455300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x478d24
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x459b51
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.00451580
mov ecx, dword [ebp - 0x554]
call fcn.00456070
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 0x478a04
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x478ed0
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 0x459c3d
xor ecx, ecx
jmp 0x459c51
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459c42
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.00456810
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 0x459cca
test eax, eax
jne 0x459cf2
push eax
call fcn.00440394
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043fd86
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.00455300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x478d24
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x459d72
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.00451580
mov ecx, dword [ebp - 0x554]
call fcn.00455e60
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], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x478ed0
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 0x459e4d
xor ecx, ecx
jmp 0x459e61
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459e52
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.00456810
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 0x459eda
test eax, eax
jne 0x459f02
push eax
call fcn.00440394
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.0043fd86
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.00455300
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x478d24
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x459f80
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.00451580
mov ecx, dword [ebp - 0x554]
call fcn.00455cf0
push dword [ebx + 0x40]
lea eax, [ebp - 0x4c0]
push 0x478a14
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebx + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x45a007
mov esi, dword [edi]
jmp 0x45a009
mov esi, edi
mov dword [ebp - 0x520], 0x4745e4
mov dword [ebp - 0x4f8], 0x46ef78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], eax
test esi, esi
mov edx, 0x478ed0
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 0x45a060
xor ecx, ecx
jmp 0x45a074
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a065
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.00451580
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x52c]
call esi
cmp dword [ebp - 0x538], 8
jb 0x45a13b
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.00454da0
mov esi, eax
mov eax, dword [ebp - 0x568]
cmp esi, dword [eax]
je 0x45a1d2
lea eax, [esi + 0x10]
test eax, eax
je 0x45a198
add eax, 4
jmp 0x45a19a
xor eax, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x45a1a5
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 0x45a1cc
mov dword [ebp - 0x570], esi
lea eax, [ebp - 0x570]
jmp 0x45a1e0
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 0x45a3e7
push 0xc
call fcn.004401ab
mov esi, eax
add esp, 4
mov dword [ebp - 0x55c], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x45a263
push 0x30
call fcn.004401ab
push 0x30
push 0
push eax
mov dword [esi], eax
call fcn.004400d0
push 0x4c
call fcn.004401ab
push 0x4c
push 0
push eax
mov dword [esi + 4], eax
call fcn.004400d0
push 0x18
call fcn.004401ab
add esp, 0x24
test eax, eax
je 0x45a249
mov ecx, eax
call fcn.00451c20
jmp 0x45a24b
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 0x45a265
xor esi, esi
mov dword [ebx + 0x44], esi
cmp dword [edi + 0x14], 8
jb 0x45a270
mov edi, dword [edi]
mov dword [ebp - 0x4f0], 0x4745e4
mov dword [ebp - 0x4c8], 0x46ef78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c4], eax
test edi, edi
mov edx, 0x478ed0
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 0x45a2c4
xor ecx, ecx
jmp 0x45a2df
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a2d0
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.00452150
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x45a385
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.00456890
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x520]
push eax
call fcn.00452070
mov ecx, dword [ebx + 0x44]
mov dword [eax], ecx
jmp 0x45a3ed
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebp - 0x578]
lea eax, [ebp - 0x560]
push eax
call fcn.00451f50
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.00440394
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4fc]
call esi
cmp dword [ebp - 0x508], 8
jb 0x45a450
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 0x459710
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.00440060
mov esp, ebp
pop ebp
ret 8