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

Disassembly:
push 0xffffffffffffffff
push 0x482e16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x4ac588]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x120], eax
mov eax, dword [edi]
xor esi, esi
cmp eax, esi
je 0x41f04a
push str.ini.dat
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00407d70
add esp, 0xc
mov eax, dword [eax]
push 1
push 0x1b6
push 3
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x13c], esi
call fcn.0041eb20
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41f01f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp dword [esp + 0x78], esi
jne 0x41f051
lea ecx, [esp + 0x7c]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0041ec20
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x48d12c
call fcn.0045cc0d
xor al, al
jmp 0x41f382
push ebx
mov ebx, 0xf
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], esi
mov byte [esp + 0xd4], 0
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], esi
mov byte [esp + 0xf0], 0
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], esi
mov byte [esp + 0xb8], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x20]
test al, 1
mov byte [esp + 0x130], 6
jne 0x41f25d
push ebp
jmp 0x41f0d0
push esi
push 0x488a08
lea ecx, [esp + 0xc0]
call fcn.0041ae10
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x118]
call fcn.0041ad20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xfc]
call fcn.0041ad20
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0xe0]
call fcn.0041ad20
push 9
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041ded0
push 9
lea ecx, [esp + 0x100]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0041ded0
push 9
lea eax, [esp + 0x128]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0041ded0
mov edx, dword [esp + 0x40]
mov ecx, dword [edx + 4]
add esp, 0x24
push 0xa
lea ecx, [esp + ecx + 0x20]
call fcn.0041cdb0
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0xbc]
push eax
push ecx
call fcn.0041ded0
mov ecx, dword [esp + 0xdc]
mov eax, 0x10
add esp, 0xc
cmp ecx, eax
jb 0x41f196
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x10], edx
jmp 0x41f1a1
lea ecx, [esp + 0xbc]
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x124], eax
jb 0x41f1b7
mov edx, dword [esp + 0x110]
mov dword [esp + 0x14], edx
jmp 0x41f1c2
lea ecx, [esp + 0x110]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x108], eax
mov ebx, dword [esp + 0xf4]
jae 0x41f1d9
lea ebx, [esp + 0xf4]
cmp dword [esp + 0xec], eax
mov ebp, dword [esp + 0xd8]
jae 0x41f1f0
lea ebp, [esp + 0xd8]
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
push esi
push esi
push 0x1004
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi]
push 0
push 0
push 0
push 0
push ebp
mov esi, eax
push esi
push 3
call fcn.0045f29c
mov ecx, dword [edi]
push ebx
push 1
push esi
call fcn.0045ee13
mov eax, dword [esp + 0x14]
mov ecx, dword [edi]
push eax
push 2
push esi
call fcn.0045ee13
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [edi]
push 3
push esi
call fcn.0045ee13
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov cl, byte [esp + eax + 0x24]
xor esi, esi
test cl, 1
je 0x41f0d0
mov ebx, 0xf
pop ebp
lea ecx, [esp + 0x24]
call fcn.0041e4b0
test eax, eax
jne 0x41f28e
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x20]
mov edx, dword [esp + ecx + 0x40]
lea ecx, [esp + ecx + 0x18]
or eax, 2
cmp edx, esi
jne 0x41f287
or eax, 4
push esi
push eax
call fcn.0045ccf7
mov eax, dword [esp + 0xcc]
mov edi, 0x10
cmp eax, edi
jb 0x41f2ae
mov edx, dword [esp + 0xb8]
push edx
call fcn.00467056
add esp, 4
cmp dword [esp + 0x120], edi
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xc8], esi
mov byte [esp + 0xb8], 0
jb 0x41f2dd
mov eax, dword [esp + 0x10c]
push eax
call fcn.00467056
add esp, 4
cmp dword [esp + 0x104], edi
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], esi
mov byte [esp + 0x10c], 0
jb 0x41f30c
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.00467056
add esp, 4
cmp dword [esp + 0xe8], edi
mov dword [esp + 0x104], ebx
mov dword [esp + 0x100], esi
mov byte [esp + 0xf0], 0
jb 0x41f33b
mov edx, dword [esp + 0xd4]
push edx
call fcn.00467056
add esp, 4
lea ecx, [esp + 0x80]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], esi
mov byte [esp + 0xd4], 0
mov dword [esp + 0x130], 0xffffffff
call fcn.0041ec20
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0x48d12c
call fcn.0045cc0d
mov al, 1
pop ebx
mov ecx, dword [esp + 0x124]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
pop esi
call fcn.0044af18
add esp, 0x128
ret