Function at 0x41ee00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b5ed7
mov eax, dword fs:[0]
push eax
mov eax, 0x2254
call fcn.00494d10
mov eax, dword [0x50a360]
xor eax, esp
mov dword [esp + 0x2250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a360]
xor eax, esp
push eax
lea eax, [esp + 0x2268]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00471eac
mov ecx, dword [eax + 4]
call fcn.0046b2c8
or edi, 0xffffffff
xor ebx, ebx
push edi
lea ebp, [esi + 0x1fd8]
push ebx
mov ecx, ebp
mov dword [esp + 0x2278], ebx
call fcn.0047d5cf
mov eax, dword [ebp + 8]
push 5
push eax
mov ecx, ebp
call fcn.0047d72b
push 0x206
lea ecx, [esp + 0x62]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x68], ax
call fcn.00494750
mov eax, dword [0x50b824]
lea edx, [esp + 0x68]
push edx
push eax
call fcn.00458600
add esp, 0x14
lea ecx, [esp + 0x40]
call fcn.00475e73
mov byte [esp + 0x2270], 1
call fcn.0046c2c1
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41eecb
push 0x80004005
call fcn.00401150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x24]
push str._sBMFileType.ini
push edx
mov byte [esp + 0x227c], 2
call fcn.00401cb0
mov esi, dword [esp + 0x2c]
add esp, 0xc
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.00475f0b
test eax, eax
jne 0x41ef76
push 1
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.Not_found_BMFileType.ini_
call fcn.00402560
mov ecx, 0x50b7e0
call fcn.0040b710
lea eax, [esi - 0x10]
mov byte [esp + 0x2270], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ef4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2270], 0
call fcn.00475e9c
lea ecx, [esp + 0x17]
mov dword [esp + 0x2270], edi
call fcn.00418aa0
xor eax, eax
jmp 0x41f140
push 0x1ffe
lea edx, [esp + 0x26a]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x270], cx
call fcn.00494750
add esp, 0xc
push esi
push 0x1000
lea eax, [esp + 0x26c]
push eax
push str.IMEI_ID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
cmp eax, ebx
je 0x41f0f7
lea ecx, [esp + 0x2c]
call fcn.0046e650
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x268]
push edx
mov byte [esp + 0x2278], 3
call fcn.004589d0
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, ebx
je 0x41f0e6
jbe 0x41f0e6
mov eax, 1
mov dword [esp + 0x1c], eax
lea edi, [eax + 3]
jmp 0x41f004
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x41f168
cmp eax, dword [esp + 0x34]
jge 0x41f168
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + ecx]
sub eax, 0x10
push eax
call fcn.00401560
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2270], 4
mov dword [esp + 0x18], 0
call fcn.00417960
mov esi, dword [esp + 0x28]
cmp dword [esi - 0xc], 0
jl 0x41f084
push 0x4c3988
push esi
call fcn.00495b82
add esp, 8
test eax, eax
je 0x41f084
sub eax, esi
sar eax, 1
jne 0x41f084
lea edx, [esp + 0x18]
push edx
push str.0x_X
push esi
call fcn.00495b60
mov eax, dword [esp + 0x24]
add esp, 0xc
jmp 0x41f091
push esi
call fcn.00495ca8
add esp, 4
mov dword [esp + 0x18], eax
lea ecx, [eax - 1]
cmp ecx, 0xfffd
ja 0x41f0a8
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, ebp
call fcn.0047d72b
lea eax, [esi - 0x10]
mov byte [esp + 0x2270], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f0cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x1c], 2
inc ebx
add edi, 8
cmp ebx, dword [esp + 0x24]
jb 0x41f000
mov esi, dword [esp + 0x20]
or edi, 0xffffffff
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2270], 2
call fcn.0046e87c
lea eax, [esi - 0x10]
mov byte [esp + 0x2270], 1
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f11a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2270], 0
call fcn.00475e9c
lea ecx, [esp + 0x17]
mov dword [esp + 0x2270], edi
call fcn.00418aa0
mov eax, 1
mov ecx, dword [esp + 0x2268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2250]
xor ecx, esp
call fcn.004945a7
add esp, 0x2260
ret
call fcn.00464489
int3