Function at 0x459bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xac0
push ebx
push ebp
mov ebp, ecx
mov al, byte [ebp + 3]
xor ebx, ebx
cmp al, bl
push esi
jne 0x45a0a8
mov eax, dword [ebp + 0x40]
cmp eax, ebx
je 0x459bf4
lea esi, [eax + 4]
jmp 0x459bf6
xor esi, esi
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.00458ba0
cmp esi, ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1c], 0xff
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], bl
mov dword [esp + 0x20], ebx
je 0x459cbb
push esi
lea ecx, [esp + 0xa8]
call fcn.00458ad0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xa8]
call fcn.00453da0
push eax
lea ecx, [esp + 0x1c]
call fcn.00436200
lea ecx, [esp + 0xc]
call fcn.004039f0
push str.Picasa.ini
lea ecx, [esp + 0xa8]
call fcn.004a51e0
mov eax, dword [esp + 0xa4]
cmp eax, ebx
je 0x459c75
lea edx, [eax + 4]
jmp 0x459c77
xor edx, edx
cmp edx, ebx
mov dword [esp + 0xc], ebx
je 0x459c98
push edi
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0049d9d0
pop edi
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00436200
lea ecx, [esp + 0xc]
call fcn.004039f0
lea ecx, [esp + 0xa4]
call fcn.00431cf0
push 1
push str.Desktop_
lea ecx, [esp + 0x18]
call fcn.004bb7a0
mov edx, dword [0x660278]
mov eax, dword [0x66027c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xbf800000
mov dword [esp + 0x58], 0xbf800000
mov dword [esp + 0x5c], 0xbf800000
mov dword [esp + 0x60], 0xbf800000
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call fcn.004998c0
cmp byte [ebp + 2], bl
je 0x459e4e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.004595e0
test al, al
je 0x459e4e
mov edx, dword [esp + 0x2c]
cmp edx, dword [ebp + 8]
je 0x459e4e
lea ecx, [esp + 0x78]
call fcn.00499ac0
lea ecx, [esp + 0x74]
call fcn.004039f0
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], ebx
call fcn.004039f0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], ebx
call fcn.004039f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], ebx
call fcn.004039f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
call fcn.004039f0
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x459e12
test dword [eax], 0xffffff00
je 0x459e12
cmp byte [eax + 4], bl
je 0x459e12
cmp byte [esp + 0x1e], bl
je 0x459e12
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x459e06
add eax, 4
jmp 0x459e08
xor eax, eax
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x20]
call fcn.004039f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call fcn.004039f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.004039f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], ebx
call fcn.004039f0
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xac0
ret
cmp byte [ebp + 1], bl
je 0x45a096
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call fcn.00459660
test al, al
je 0x45a096
mov eax, dword [ebp + 0x4c]
cmp eax, ebx
je 0x459e79
add eax, 4
jmp 0x459e7b
xor eax, eax
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
je 0x459ecb
lea esi, [ecx + 4]
cmp esi, ebx
je 0x459ebf
cmp eax, ebx
je 0x459ebf
mov edi, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x459eb6
cmp cl, bl
je 0x459eb0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x459eb6
add eax, 2
add esi, 2
cmp cl, bl
jne 0x459e90
xor eax, eax
cmp eax, ebx
jmp 0x459edb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jmp 0x459edb
test dword [ecx], 0xffffff00
je 0x459ecb
cmp byte [esi], bl
jne 0x459ed9
cmp eax, ebx
je 0x459ee6
cmp byte [eax], bl
jne 0x45a037
jmp 0x459ee6
cmp esi, eax
sete al
cmp al, bl
je 0x45a037
fld dword [esp + 0x48]
fcomp dword [ebp + 0x24]
fnstsw ax
test ah, 0x44
jp 0x45a037
fld dword [esp + 0x50]
fcomp dword [ebp + 0x2c]
fnstsw ax
test ah, 0x44
jp 0x45a037
fld dword [esp + 0x4c]
fcomp dword [ebp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x45a037
fld dword [esp + 0x54]
fcomp dword [ebp + 0x30]
fnstsw ax
test ah, 0x44
jp 0x45a037
mov eax, dword [ebp + 0x44]
cmp eax, ebx
je 0x459f3a
add eax, 4
jmp 0x459f3c
xor eax, eax
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
je 0x459f8b
lea esi, [ecx + 4]
cmp esi, ebx
je 0x459f7f
cmp eax, ebx
je 0x459f7f
nop
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x459f76
cmp cl, bl
je 0x459f70
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x459f76
add eax, 2
add esi, 2
cmp cl, bl
jne 0x459f50
xor eax, eax
cmp eax, ebx
jmp 0x459f9b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jmp 0x459f9b
test dword [ecx], 0xffffff00
je 0x459f8b
cmp byte [esi], bl
jne 0x459f99
cmp eax, ebx
je 0x459fa6
cmp byte [eax], bl
jne 0x45a037
jmp 0x459fa6
cmp esi, eax
sete al
cmp al, bl
je 0x45a037
mov eax, dword [esp + 0x30]
cmp eax, dword [ebp + 0xc]
jne 0x45a037
mov cl, byte [esp + 0x2a]
cmp cl, byte [ebp + 6]
jne 0x45a037
mov eax, dword [ebp + 0x50]
cmp eax, ebx
je 0x459fc8
add eax, 4
jmp 0x459fca
xor eax, eax
mov ecx, dword [esp + 0x74]
cmp ecx, ebx
je 0x45a01b
lea esi, [ecx + 4]
cmp esi, ebx
je 0x45a00f
cmp eax, ebx
je 0x45a00f
lea ecx, [ecx]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45a006
cmp cl, bl
je 0x45a000
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45a006
add eax, 2
add esi, 2
cmp cl, bl
jne 0x459fe0
xor eax, eax
cmp eax, ebx
jmp 0x45a027
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jmp 0x45a027
test dword [ecx], 0xffffff00
je 0x45a01b
cmp byte [esi], bl
jne 0x45a025
cmp eax, ebx
je 0x45a02e
cmp byte [eax], bl
jne 0x45a037
jmp 0x45a02e
cmp esi, eax
sete al
cmp al, bl
je 0x45a037
mov al, byte [esp + 0x29]
cmp al, byte [ebp + 5]
je 0x45a096
lea ecx, [esp + 0x78]
call fcn.00499ac0
lea ecx, [esp + 0x74]
call fcn.004039f0
lea ecx, [esp + 0x70]
mov dword [esp + 0x74], ebx
call fcn.004039f0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x70], ebx
call fcn.004039f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], ebx
call fcn.004039f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], ebx
call fcn.004039f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], ebx
call fcn.0045a0c0
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xac0
ret
lea ecx, [esp + 0x24]
call fcn.0045a290
lea ecx, [esp + 0x10]
call fcn.0045a0c0
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xac0
ret