Function at 0x492060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa0a3
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x4d5e88]
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, 0x4c0d0c
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], 0x4c0ee0
mov dword [ebp - 0x4c8], 0x4c13e4
mov dword [ebp - 0x564], edx
call fcn.00403fb0
lea ecx, [ebx + 8]
mov dword [ebp - 4], 0
call fcn.0048f280
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 0x49210d
test eax, eax
jne 0x492135
push eax
call fcn.004593fa
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.00458527
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.0048c890
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.00401ac0
push 0x63
lea eax, [ebp - 0xd7]
push 0
push eax
mov byte [ebp - 0xd8], 0
call fcn.00458f10
push 0x63
lea eax, [ebp - 0x73]
push 0
push eax
mov byte [ebp - 0x74], 0
call fcn.00458f10
push 0x3e7
lea eax, [ebp - 0x4bf]
push 0
push eax
mov byte [ebp - 0x4c0], 0
call fcn.00458f10
mov esi, 1
add esp, 0x24
mov dword [ebp - 0x560], esi
cmp edi, esi
jl 0x492f6c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebx + 0x40]
mov dword [ebp - 0x568], eax
lea esp, [esp]
push 0x48
call fcn.004590c6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x492237
mov dword [ebx], 0x4ac9c4
mov dword [ebx + 0x28], 0x4ac9cc
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 0x492239
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.0049ae92
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.0048f1a0
mov esi, eax
mov dword [ebp - 0x55c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x4f0], 0x4c0ee0
mov dword [ebp - 0x4c8], 0x4c13e4
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x4c0d0c
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 0x4922e3
xor ecx, ecx
jmp 0x492305
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4922f0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4922f0
sub ecx, esi
mov esi, dword [ebp - 0x55c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00406eb0
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.0048f280
mov ecx, dword [esi]
mov dword [ebp - 0x55c], eax
call fcn.0048f280
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 0x49238b
test eax, eax
jne 0x4923b3
push eax
call fcn.004593fa
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.00458527
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.0048c890
push dword [ebp - 0x55c]
lea eax, [ebp - 0xd8]
push 0x104
push edi
push 0x4c0b60
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x49242e
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.00485dc0
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4bac1c
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x4c0ee0
mov dword [ebp - 0x4c8], 0x4c13e4
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x4c0d0c
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 0x4924ec
xor ecx, ecx
jmp 0x492500
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4924f1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00406eb0
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.0048f280
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 0x492579
test eax, eax
jne 0x4925a1
push eax
call fcn.004593fa
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.00458527
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.0048c890
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c0b60
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x492621
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.004848c0
mov ecx, dword [ebp - 0x554]
call fcn.0048ea50
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 0x4bac38
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x4f0], 0x4c0ee0
mov dword [ebp - 0x4c8], 0x4c13e4
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x4c0d0c
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 0x49270d
xor ecx, ecx
jmp 0x492721
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492712
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00406eb0
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.0048f280
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 0x49279a
test eax, eax
jne 0x4927c2
push eax
call fcn.004593fa
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.00458527
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.0048c890
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c0b60
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x492842
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.004848c0
mov ecx, dword [ebp - 0x554]
call fcn.0048e840
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], 0x4c0ee0
mov dword [ebp - 0x4c8], 0x4c13e4
call edi
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x564]
test eax, eax
mov edx, 0x4c0d0c
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 0x49291d
xor ecx, ecx
jmp 0x492931
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492922
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.00406eb0
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.0048f280
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 0x4929aa
test eax, eax
jne 0x4929d2
push eax
call fcn.004593fa
shr esi, 6
inc esi
shl esi, 6
push esi
mov dword [ebp - 0x4d0], esi
call fcn.00458527
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.0048c890
push edi
push 0x3e8
lea eax, [ebp - 0x4c0]
push eax
push 0x4c0b60
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x492a50
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.004848c0
mov ecx, dword [ebp - 0x554]
call fcn.0048e6d0
push dword [ebx + 0x40]
lea eax, [ebp - 0x4c0]
push 0x4bac48
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebx + 4]
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x492ad7
mov esi, dword [edi]
jmp 0x492ad9
mov esi, edi
mov dword [ebp - 0x520], 0x4c0f08
mov dword [ebp - 0x4f8], 0x4c0f38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4f4], eax
test esi, esi
mov edx, 0x4c0d0c
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 0x492b30
xor ecx, ecx
jmp 0x492b44
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492b35
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x51c]
call fcn.00406eb0
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.004848c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x54c]
push eax
lea ecx, [ebp - 0x51c]
mov byte [ebp - 4], 0xc
call fcn.00407f60
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x52c]
call esi
cmp dword [ebp - 0x538], 8
jb 0x492c0b
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.0048ae60
mov esi, eax
mov eax, dword [ebp - 0x568]
cmp esi, dword [eax]
je 0x492ca2
lea eax, [esi + 0x10]
test eax, eax
je 0x492c68
add eax, 4
jmp 0x492c6a
xor eax, eax
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x492c75
mov eax, dword [eax]
push ecx
push eax
push dword [ebp - 0x50c]
lea ecx, [ebp - 0x51c]
push 0
call fcn.004086e0
test eax, eax
js 0x492c9c
mov dword [ebp - 0x570], esi
lea eax, [ebp - 0x570]
jmp 0x492cb0
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 0x492eb7
push 0xc
call fcn.004590c6
mov esi, eax
add esp, 4
mov dword [ebp - 0x55c], esi
mov byte [ebp - 4], 0xd
test esi, esi
je 0x492d33
push 0x30
call fcn.004590c6
push 0x30
push 0
push eax
mov dword [esi], eax
call fcn.00458f10
push 0x4c
call fcn.004590c6
push 0x4c
push 0
push eax
mov dword [esi + 4], eax
call fcn.00458f10
push 0x18
call fcn.004590c6
add esp, 0x24
test eax, eax
je 0x492d19
mov ecx, eax
call fcn.00485290
jmp 0x492d1b
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 0x492d35
xor esi, esi
mov dword [ebx + 0x44], esi
cmp dword [edi + 0x14], 8
jb 0x492d40
mov edi, dword [edi]
mov dword [ebp - 0x4f0], 0x4c13fc
mov dword [ebp - 0x4c8], 0x4c0f20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x4c4], eax
test edi, edi
mov edx, 0x4c0d0c
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 0x492d94
xor ecx, ecx
jmp 0x492daf
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x492da0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4ec]
call fcn.004075b0
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.00486850
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4cc]
call esi
cmp dword [ebp - 0x4d8], 8
jb 0x492e55
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.0048f360
mov ecx, dword [ebp - 0x568]
lea eax, [ebp - 0x520]
push eax
call fcn.00486690
mov ecx, dword [ebx + 0x44]
mov dword [eax], ecx
jmp 0x492ebd
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x44], eax
mov ecx, dword [ebp - 0x578]
lea eax, [ebp - 0x560]
push eax
call fcn.00486570
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.004593fa
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4fc]
call esi
cmp dword [ebp - 0x508], 8
jb 0x492f20
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 0x4921e0
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.00458e9f
mov esp, ebp
pop ebp
ret 8