Function at 0x44dc40
Capabilities:
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x3f
push 0
push 0
dec ecx
jne 0x44dc48
push ecx
push ebx
push esi
push edi
mov esi, eax
mov ebx, 0x496738
xor eax, eax
push ebp
push 0x44e3a3
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044d888
cmp dword [ebx], 0
je 0x44e263
cmp dword [0x496734], 0
je 0x44e263
lea eax, [ebp - 0x150]
mov ecx, 0x44e3bc
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x150]
call fcn.00409a94
test al, al
je 0x44e263
lea eax, [ebp - 0x154]
mov ecx, 0x44e3d0
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x154]
call fcn.00409a94
test al, al
je 0x44e263
lea eax, [ebp - 0x158]
mov ecx, 0x44e3e4
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x158]
call fcn.00409a94
test al, al
je 0x44e263
lea eax, [ebp - 0x15c]
mov ecx, 0x44e3fc
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x15c]
call fcn.00409a94
test al, al
je 0x44e263
lea eax, [ebp - 0x160]
mov ecx, 0x44e3e4
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x160]
call fcn.00405764
push eax
call sub.kernel32.dll_LoadLibraryA
lea eax, [ebp - 0x164]
mov ecx, 0x44e3fc
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x164]
call fcn.00405764
push eax
call sub.kernel32.dll_LoadLibraryA
lea eax, [ebp - 0x168]
mov ecx, 0x44e3bc
mov edx, dword [ebx]
call fcn.004055ec
mov eax, dword [ebp - 0x168]
call fcn.00405764
push eax
call sub.kernel32.dll_LoadLibraryA
push ebp
call fcn.0044dac8
pop ecx
lea eax, [ebp - 0x40]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x44e263
lea eax, [ebp - 0x14b]
xor ecx, ecx
mov edx, 0x104
call fcn.004039f0
push 0x104
lea eax, [ebp - 0x14b]
push eax
push 0x44e40c
call sub.kernel32.dll_GetEnvironmentVariableA
xor ebx, ebx
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x14b]
mov ecx, 0x105
call fcn.00405528
lea eax, [ebp - 0x16c]
mov edx, 0x44e41c
call fcn.004055a0
mov eax, dword [ebp - 0x16c]
call fcn.00405764
push eax
push 0x104
push 0x49673c
push 0x44e43c
push 0x44e440
lea edx, [ebp - 0x174]
movzx eax, bx
call fcn.00409598
mov ecx, dword [ebp - 0x174]
lea eax, [ebp - 0x170]
mov edx, 0x44e450
call fcn.004055ec
mov eax, dword [ebp - 0x170]
call fcn.00405764
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
jmp 0x44de52
xor eax, eax
push ebp
push 0x44e259
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x188]
lea edx, [ebp - 0x14b]
mov ecx, 0x105
call fcn.00405528
push dword [ebp - 0x188]
push 0x44e460
lea eax, [ebp - 0x18c]
mov edx, 0x49673c
mov ecx, 0x105
call fcn.00405528
push dword [ebp - 0x18c]
push 0x44e47c
push 0x44e488
lea eax, [ebp - 0x184]
mov edx, 5
call fcn.00405668
mov eax, dword [ebp - 0x184]
call fcn.00405764
mov edx, eax
lea eax, [ebp - 0x180]
call fcn.004054b0
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.0044d648
mov edx, dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
call fcn.00405bd8
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x3c]
call fcn.00445698
mov eax, esi
call fcn.004052b8
cmp dword [ebp - 0x3c], 0
jne 0x44df18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44e263
xor eax, eax
push ebp
push 0x44e248
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x190]
mov edx, 0x44e498
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov eax, dword [ebp - 0x190]
mov edx, dword [eax]
call dword [edx + 0x90]
mov eax, dword [eax + 8]
mov dword [0x496844], eax
cmp dword [0x496844], 0
jg 0x44df6a
call fcn.00404cb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44e263
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x14b]
mov ecx, 0x105
call fcn.00405528
push dword [ebp - 0x198]
push 0x44e460
lea eax, [ebp - 0x19c]
mov edx, 0x49673c
mov ecx, 0x105
call fcn.00405528
push dword [ebp - 0x19c]
lea eax, [ebp - 0x194]
mov edx, 3
call fcn.00405668
mov eax, dword [ebp - 0x194]
call fcn.00405764
push eax
call dword [ebp - 0x28]
pop ecx
test eax, eax
jne 0x44e232
call dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x44e22f
push 0
push 1
mov eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x30]
add esp, 0xc
test eax, eax
jne 0x44e227
movzx eax, word [0x496844]
dec eax
test ax, ax
jb 0x44e227
inc eax
mov word [ebp - 0x46], ax
xor ebx, ebx
push dword [esi]
push 0x44e4b0
push 0x44e4c8
lea eax, [ebp - 0x1a8]
mov edx, 3
call fcn.00405668
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
call fcn.00405bd8
push dword [ebp - 0x1a4]
push 0x44e4d4
lea edx, [ebp - 0x1bc]
movzx eax, bx
call fcn.00409598
push dword [ebp - 0x1bc]
push 0x44e4e4
lea eax, [ebp - 0x1b8]
mov edx, 3
call fcn.00405668
mov edx, dword [ebp - 0x1b8]
lea eax, [ebp - 0x1b4]
call fcn.00405bd8
mov edx, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1b0]
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 0x1b0]
lea edx, [ebp - 0x1ac]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
push dword [ebp - 0x1ac]
push 0x44e4f4
push ebp
push 0x44e4d4
lea edx, [ebp - 0x1dc]
movzx eax, bx
call fcn.00409598
push dword [ebp - 0x1dc]
push 0x44e500
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00405668
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
call fcn.00405bd8
mov edx, dword [ebp - 0x1d4]
lea ecx, [ebp - 0x1d0]
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 0x1d0]
lea edx, [ebp - 0x1cc]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x1cc]
lea eax, [ebp - 0x1c8]
call fcn.0040555c
mov eax, dword [ebp - 0x1c8]
lea edx, [ebp - 0x1c4]
call fcn.0044d7c0
pop ecx
mov edx, dword [ebp - 0x1c4]
lea eax, [ebp - 0x1c0]
call fcn.00405bd8
push dword [ebp - 0x1c0]
push 0x44e4f4
push ebp
push 0x44e4d4
lea edx, [ebp - 0x1fc]
movzx eax, bx
call fcn.00409598
push dword [ebp - 0x1fc]
push 0x44e51c
lea eax, [ebp - 0x1f8]
mov edx, 3
call fcn.00405668
mov edx, dword [ebp - 0x1f8]
lea eax, [ebp - 0x1f4]
call fcn.00405bd8
mov edx, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1f0]
mov eax, dword [ebp - 0x3c]
mov edi, dword [eax]
call dword [edi + 0x24]
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1ec]
mov ecx, dword [eax]
call dword [ecx + 0x8c]
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1e8]
call fcn.0040555c
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.0044d7c0
pop ecx
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1e0]
call fcn.00405bd8
push dword [ebp - 0x1e0]
push 0x44e534
lea eax, [ebp - 0x1a0]
mov edx, 7
call fcn.00405cd4
mov edx, dword [ebp - 0x1a0]
mov eax, esi
call fcn.0040555c
inc ebx
dec word [ebp - 0x46]
jne 0x44e00c
mov eax, dword [ebp - 0x44]
push eax
call dword [ebp - 0x38]
pop ecx
call dword [ebp - 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e24f
lea eax, [ebp - 0x3c]
call fcn.00406fdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e3ad
lea eax, [ebp - 0x1fc]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x1f4]
call fcn.00405a2c
lea eax, [ebp - 0x1f0]
call fcn.00406fdc
lea eax, [ebp - 0x1ec]
call fcn.00405a2c
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x1e0]
call fcn.00405a2c
lea eax, [ebp - 0x1dc]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x1d4]
call fcn.00405a2c
lea eax, [ebp - 0x1d0]
call fcn.00406fdc
lea eax, [ebp - 0x1cc]
call fcn.00405a2c
lea eax, [ebp - 0x1c8]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x1c0]
call fcn.00405a2c
lea eax, [ebp - 0x1bc]
mov edx, 2
call fcn.004052dc
lea eax, [ebp - 0x1b4]
call fcn.00405a2c
lea eax, [ebp - 0x1b0]
call fcn.00406fdc
lea eax, [ebp - 0x1ac]
call fcn.00405a2c
lea eax, [ebp - 0x1a8]
call fcn.004052b8
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.00405a44
lea eax, [ebp - 0x19c]
mov edx, 3
call fcn.004052dc
lea eax, [ebp - 0x190]
call fcn.00406fdc
lea eax, [ebp - 0x18c]
mov edx, 5
call fcn.004052dc
lea eax, [ebp - 0x178]
call fcn.00405a2c
lea eax, [ebp - 0x174]
mov edx, 0xa
call fcn.004052dc
lea eax, [ebp - 0x3c]
call fcn.00406fdc
ret