Function at 0x41c980
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcac
mov eax, 0x4b05e6
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.0049af0c
cmp byte [0x4b057c], 0
je 0x41c9a9
push esi
call fcn.0041c63c
pop ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebx + 4], eax
lea edi, [ebx + 8]
push 0x4b0f3a
push edi
call sub.KERNEL32.dll_lstrcmpiA
test eax, eax
jne 0x41c9cf
mov dword [esi + 0x2b8], 1
jmp 0x41c9d7
xor eax, eax
mov dword [esi + 0x2b8], eax
mov edx, dword [ebx + 0x3a]
mov dword [ebp - 0xa8], edx
mov byte [ebp - 0x31], 0
cmp byte [ebx + 8], 0
je 0x41ca99
lea ecx, [ebp - 0xac]
push ecx
lea eax, [esi + 0x30]
push eax
call fcn.004046c0
add esp, 8
test eax, eax
je 0x41ca99
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x3c]
push edx
push 0x4b0f44
push ecx
call fcn.0049d914
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
lea edi, [ebx + 8]
push edi
call fcn.004986dc
add esp, 8
push esi
push edi
mov esi, 0x4b0f48
lea edi, [ebp - 0x110]
mov eax, edi
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop edi
pop esi
push edi
lea edx, [ebp - 0x110]
push edx
call fcn.004986dc
add esp, 8
lea ecx, [esi + 0xb8]
mov byte [ebp - 0x31], 1
push ecx
lea eax, [ebp - 0x3c]
push 0xa
push eax
push 0x4b0f24
lea edx, [ebp - 0x110]
push 0
push edx
call sub.KERNEL32.dll_GetPrivateProfileStringA
test eax, eax
jne 0x41ca99
push 0x40
push edi
call fcn.004988ed
add esp, 8
mov dword [ebp - 0x40], eax
test eax, eax
je 0x41ca95
mov edx, dword [ebp - 0x40]
mov byte [edx], 0
mov byte [ebp - 0x31], 0
mov ecx, dword [ebx]
add ecx, 0xfffffff9
cmp ecx, 0x28
ja case.0x41caa7.18
jmp dword [ecx*4 + 0x41caae]
push ebx
push esi
call fcn.0041dd2c
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f0fc
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041ec2c
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f910
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f778
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d980
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f89c
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f7d4
add esp, 8
jmp case.0x41caa7.18
push 0x4b0f4e
push ebx
push esi
call fcn.0041ebe8
add esp, 0xc
jmp case.0x41caa7.18
push 0x4b0f5f
push ebx
push esi
call fcn.0041ebe8
add esp, 0xc
jmp case.0x41caa7.18
push 0x4b0f6b
push ebx
push esi
call fcn.0041ebe8
add esp, 0xc
jmp case.0x41caa7.18
push 0x4b0f74
push ebx
push esi
call fcn.0041ebe8
add esp, 0xc
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d1ac
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d12c
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d258
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d824
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d204
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041f840
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d404
add esp, 8
jmp case.0x41caa7.18
push ebx
push esi
call fcn.0041d688
add esp, 8
jmp case.0x41caa7.18
push str.OneLoginPerIP
push ebx
push esi
call fcn.0041ebe8
add esp, 0xc
cmp byte [ebp - 0x31], 0
je 0x41cca3
push 0x40
lea eax, [ebx + 8]
push eax
call fcn.004988ed
add esp, 8
mov edi, eax
test eax, eax
je 0x41cca3
mov byte [edi], 0
cmp dword [esi + 0x20], 0
je 0x41d11a
cmp dword [ebx + 4], 0
je 0x41ccd7
cmp dword [ebx], 0xb
jne 0x41ccc1
cmp byte [ebx + 0x23d], 0
jne 0x41ccd7
cmp dword [ebx], 0x25
jne 0x41d11a
cmp byte [ebx + 0x23d], 0
je 0x41d11a
mov eax, dword [ebx]
cmp eax, 0x10
jne 0x41cced
mov dword [ebp - 0x354], 1
jmp 0x41cfa3
cmp eax, 0x11
jne 0x41cd01
mov dword [ebp - 0x354], 2
jmp 0x41cfa3
cmp eax, 0xf
jne 0x41cd15
mov dword [ebp - 0x354], 3
jmp 0x41cfa3
cmp eax, 0xb
jne 0x41cd29
mov dword [ebp - 0x354], 4
jmp 0x41cfa3
cmp eax, 7
jne 0x41cd3d
mov dword [ebp - 0x354], 5
jmp 0x41cfa3
cmp eax, 8
jne 0x41cd51
mov dword [ebp - 0x354], 0x23
jmp 0x41cfa3
cmp eax, 9
jne 0x41cd65
mov dword [ebp - 0x354], 6
jmp 0x41cfa3
cmp eax, 0xa
jne 0x41cd79
mov dword [ebp - 0x354], 7
jmp 0x41cfa3
cmp eax, 0x14
jne 0x41cd8d
mov dword [ebp - 0x354], 8
jmp 0x41cfa3
cmp eax, 0x15
jne 0x41cda1
mov dword [ebp - 0x354], 9
jmp 0x41cfa3
cmp eax, 0xc
jne 0x41cdb5
mov dword [ebp - 0x354], 0xa
jmp 0x41cfa3
cmp eax, 0xd
jne 0x41cdc9
mov dword [ebp - 0x354], 0xb
jmp 0x41cfa3
cmp eax, 0xe
jne 0x41cddd
mov dword [ebp - 0x354], 0xc
jmp 0x41cfa3
cmp eax, 0x18
jne 0x41cdf1
mov dword [ebp - 0x354], 0xd
jmp 0x41cfa3
cmp eax, 0x19
jne 0x41ce05
mov dword [ebp - 0x354], 0xe
jmp 0x41cfa3
cmp eax, 0x1a
jne 0x41ce19
mov dword [ebp - 0x354], 0xf
jmp 0x41cfa3
cmp eax, 0x1b
jne 0x41ce2d
mov dword [ebp - 0x354], 0x10
jmp 0x41cfa3
cmp eax, 0x1c
jne 0x41ce41
mov dword [ebp - 0x354], 0x11
jmp 0x41cfa3
cmp eax, 0x1d
jne 0x41ce55
mov dword [ebp - 0x354], 0x12
jmp 0x41cfa3
cmp eax, 0x1f
jne 0x41ce69
mov dword [ebp - 0x354], 0x14
jmp 0x41cfa3
cmp eax, 0x20
jne 0x41ce7d
mov dword [ebp - 0x354], 0x15
jmp 0x41cfa3
cmp eax, 0x21
jne 0x41ce91
mov dword [ebp - 0x354], 0x16
jmp 0x41cfa3
cmp eax, 0x24
jne 0x41cea5
mov dword [ebp - 0x354], 0x21
jmp 0x41cfa3
cmp eax, 0x22
jne 0x41ceb9
mov dword [ebp - 0x354], 0x17
jmp 0x41cfa3
cmp eax, 0x1e
jne 0x41cecd
mov dword [ebp - 0x354], 0x13
jmp 0x41cfa3
cmp eax, 0x23
jne 0x41cee1
mov dword [ebp - 0x354], 0x18
jmp 0x41cfa3
cmp eax, 0x25
jne 0x41cef5
mov dword [ebp - 0x354], 0x19
jmp 0x41cfa3
cmp eax, 0x26
jne 0x41cf09
mov dword [ebp - 0x354], 0x1a
jmp 0x41cfa3
cmp eax, 0x29
jne 0x41cf1d
mov dword [ebp - 0x354], 0x1c
jmp 0x41cfa3
cmp eax, 0x2a
jne 0x41cf2e
mov dword [ebp - 0x354], 0x1d
jmp 0x41cfa3
cmp eax, 0x2e
jne 0x41cf3f
mov dword [ebp - 0x354], 0x24
jmp 0x41cfa3
cmp eax, 0x2f
jne 0x41cf50
mov dword [ebp - 0x354], 0x25
jmp 0x41cfa3
cmp eax, 0x2c
jne 0x41cf61
mov dword [ebp - 0x354], 0x1f
jmp 0x41cfa3
cmp eax, 0x2d
jne 0x41cf72
mov dword [ebp - 0x354], 0x20
jmp 0x41cfa3
cmp eax, 0x28
jne 0x41cf83
mov dword [ebp - 0x354], 0x1b
jmp 0x41cfa3
cmp eax, 0x2b
jne 0x41cf94
mov dword [ebp - 0x354], 0x1e
jmp 0x41cfa3
cmp eax, 0x27
jne 0x41cfa3
mov dword [ebp - 0x354], 0x22
xor edx, edx
lea ecx, [ebx + 8]
mov dword [ebp - 0x350], edx
push 0x28
push ecx
lea eax, [ebp - 0x34c]
push eax
call fcn.004989f4
add esp, 0xc
mov byte [ebp - 0x325], 0
push pe_nt_image_headers32
lea edx, [ebx + 0x3e]
push edx
lea ecx, [ebp - 0x324]
push ecx
call fcn.004985c0
mov eax, dword [ebx + 0x3a]
add esp, 0xc
mov edx, eax
mov ecx, eax
and edx, 0xff
and ecx, 0xff00
push edx
mov edx, eax
and edx, 0xff0000
and eax, 0xff000000
shr edx, 0x10
shr ecx, 8
push ecx
push edx
shr eax, 0x18
push eax
lea eax, [ebp - 0x124]
push 0x4b0f8d
push eax
call fcn.0049d914
mov ecx, dword [ebx + 0x23e]
add esp, 0x18
mov dword [ebp - 0x114], ecx
lea eax, [ebp - 4]
mov word [ebp - 0x20], 8
push eax
call fcn.004a7930
pop ecx
inc dword [ebp - 0x14]
inc dword [ebp - 0x14]
add dword [ebp - 0x14], 2
mov word [ebp - 0x20], 0x14
lea edx, [ebp - 0xc]
push edx
lea ecx, [esi + 8]
push ecx
call fcn.00420534
add esp, 8
test eax, eax
je 0x41d101
cmp byte [0x4b057d], 0
je 0x41d081
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x354]
push eax
push edx
push esi
call fcn.0041fd64
add esp, 0xc
lea ecx, [ebp - 0x354]
push ecx
call dword [ebp - 8]
pop ecx
mov edi, eax
mov eax, dword [ebx]
cmp eax, 0x2c
je 0x41d09a
cmp eax, 0x2d
jne 0x41d09c
xor edi, edi
cmp byte [0x4b057d], 0
je 0x41d0b6
push edi
lea eax, [ebp - 0x354]
push eax
push esi
call fcn.004200e4
add esp, 0xc
test edi, edi
jne 0x41d0ce
lea edx, [ebp - 0xc]
push edx
lea ecx, [esi + 8]
push ecx
call fcn.0042057c
add esp, 8
test eax, eax
jne 0x41d064
test edi, edi
je 0x41d101
mov eax, dword [ebp - 0x350]
lea edx, [ebp - 0x324]
mov dword [ebx + 4], eax
push pe_nt_image_headers32
push edx
lea ecx, [ebx + 0x3e]
push ecx
call fcn.004985c0
add esp, 0xc
cmp byte [ebp - 0x124], 0
jne 0x41d101
xor eax, eax
mov dword [ebx + 0x3a], eax
sub dword [ebp - 0x14], 2
add dword [ebp - 0x14], 2
dec dword [ebp - 0x14]
push 2
lea edx, [ebp - 4]
push edx
call fcn.004a8304
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret