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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x483390]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
push str.CRsWork::CallBackGetInfoToInstall
push str._s__MSGID______d
push 0x80
call fcn.00431310
add esp, 0x10
cmp edi, 3
ja case.default.0x40ad22
jmp dword [edi*4 + 0x40afb4]
cmp dword [esi + 0x24], 0
jne case.default.0x40ad22
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [esi + 0x44]
mov dword [ecx], eax
add esi, 0x48
jmp 0x40af98
mov eax, dword [ebp + 0xc]
add esi, 0x3c
mov dword [eax], esi
jmp case.default.0x40ad22
lea ecx, [esp + 0x30]
push ecx
call fcn.00426d20
mov dword [esp + 0x58], 0
mov ebx, dword [esi + 0x9c]
call fcn.004251b0
mov edi, eax
push edi
mov ecx, ebx
call fcn.00425230
test eax, eax
je 0x40ad89
lea edx, [esp + 0x30]
push edx
push edi
call fcn.00425b00
cmp dword [esp + 0x48], 0
jbe 0x40af7a
sub esi, 0xffffff80
mov ebx, esi
mov dword [esp + 0x18], esi
call fcn.0040c1b0
mov eax, dword [esp + 0x44]
mov ebx, dword [eax]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x44]
test edi, edi
je 0x40adc2
cmp edi, dword [esp + 0x30]
je 0x40adc7
call fcn.004439c1
cmp ebx, esi
je 0x40af71
lea esi, [esp + 0x24]
call fcn.0040afd0
mov byte [esp + 0x58], 1
test edi, edi
jne 0x40af58
call fcn.004439c1
xor eax, eax
cmp ebx, dword [eax + 0x14]
jne 0x40adf6
call fcn.004439c1
mov eax, dword [ebx + 8]
add eax, 0x1c
lea ebx, [esp + 0x2c]
call fcn.00403260
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x58], 2
mov edx, dword [0x4863c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x4863c4
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x58], 3
test edi, edi
jne 0x40af5f
call fcn.004439c1
mov esi, dword [esp + 0x20]
cmp esi, dword [edi + 0x14]
jne 0x40ae58
call fcn.004439c1
mov ecx, dword [esi + 8]
push ecx
lea edi, [esp + 0x18]
call fcn.00426ac0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40af66
call fcn.004439c1
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x40ae86
call fcn.004439c1
mov edx, dword [esi + 8]
push edx
lea edi, [esp + 0x14]
call fcn.004269d0
lea eax, [esp + 0x14]
lea ebx, [esp + 0x24]
call fcn.00403260
mov eax, edi
lea ebx, [esp + 0x28]
call fcn.00403260
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
push ecx
push esi
call fcn.0040c320
mov ecx, ebx
mov edi, eax
call fcn.0040c3d0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40aef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40af1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
mov byte [esp + 0x58], 0
call fcn.0040b020
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x40af6d
call fcn.004439c1
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x40af47
call fcn.004439c1
mov ecx, dword [esi]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ebx, ecx
jmp 0x40adb4
mov eax, dword [edi]
jmp 0x40adec
mov edi, dword [edi]
jmp 0x40ae4a
mov eax, dword [eax]
jmp 0x40ae78
mov eax, dword [eax]
jmp 0x40af39
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edx], eax
lea esi, [esp + 0x30]
call fcn.0043a680
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0044423f
add esp, 4
jmp case.default.0x40ad22
mov edx, dword [ebp + 0xc]
add esi, 0x78
mov dword [edx], esi
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc