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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov esi, ebx
mov edx, ebx
sar esi, 1
sar edx, 2
test bl, 0x40
push edi
mov dword [esp + 0x20], esi
mov eax, 6
jne 0x41ad62
add eax, 1
mov edi, 1
mov ecx, eax
shl edi, cl
test ebx, edi
je 0x41ad52
mov ebx, dword [esp + 0x40]
mov ecx, 0xd
sub ecx, eax
mov eax, 2
shl eax, cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
lea edi, [ecx + esi*4 - 0x1c]
add esi, edx
lea ebp, [ebx + esi*4]
mov dword [esp + 0x14], eax
lea ebx, [eax*4]
lea eax, [edx*4]
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 0x1c], ebp
mov esi, 0x4b2e78
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov edx, dword [esi + 4]
sub ebp, 0x10
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi + 0x18]
push edx
push eax
mov eax, dword [edi + 0x10]
push ecx
call fcn.00419f70
mov eax, dword [esi + ebx + 4]
mov ecx, dword [esi + ebx]
lea edx, [ebp + 4]
push edx
mov edx, dword [edi + 8]
add esi, ebx
push ebp
push eax
mov eax, dword [edi]
push ecx
push edx
call fcn.00419f70
sub edi, 0x20
add esp, 0x28
add esi, ebx
cmp edi, dword [esp + 0x18]
jae 0x41adb0
mov edx, dword [esi]
sub ebp, 0x10
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi + 0x18]
push edx
push eax
mov eax, dword [edi + 0x10]
push ecx
call fcn.00419f70
lea edx, [ebp + 4]
push edx
mov edx, dword [edi + 8]
sub esi, ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push ebp
push eax
mov eax, dword [edi]
push ecx
push edx
call fcn.00419f70
sub edi, 0x20
add esp, 0x28
sub esi, ebx
cmp edi, dword [esp + 0x3c]
jae 0x41adf7
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
lea edi, [eax + ecx*4 - 0x20]
mov esi, 0x4b2e78
mov eax, dword [esi + ebx + 4]
mov ecx, dword [esi + ebx]
lea edx, [ebp + 4]
push edx
mov edx, dword [edi + 0x10]
add esi, ebx
push ebp
push eax
mov eax, dword [edi + 0x18]
push ecx
push edx
call fcn.0041a020
mov edx, dword [esi + ebx + 4]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + ebx]
add esi, ebx
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi]
push edx
push eax
mov eax, dword [edi + 8]
push ecx
call fcn.0041a020
sub edi, 0x20
add esp, 0x28
add ebp, 0x10
cmp edi, dword [esp + 0x18]
jae 0x41ae51
lea ebx, [ebx]
lea edx, [ebp + 4]
push edx
mov edx, dword [edi + 0x10]
sub esi, ebx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push ebp
push eax
mov eax, dword [edi + 0x18]
push ecx
push edx
call fcn.0041a020
lea eax, [ebp + 0xc]
push eax
sub esi, ebx
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [edi]
push edx
push eax
mov eax, dword [edi + 8]
push ecx
call fcn.0041a020
sub edi, 0x20
add esp, 0x28
add ebp, 0x10
cmp edi, dword [esp + 0x3c]
jae 0x41aea0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
push esi
lea eax, [ebp + ecx*4]
push ecx
push eax
mov dword [esp + 0x3c], eax
call fcn.0041a8b0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x44]
push esi
push ebp
mov ecx, ebx
call fcn.0041a960
mov esi, dword [esp + 0x30]
sar ebx, 2
mov eax, ebx
xor edx, edx
add esp, 0x14
sub eax, edx
mov edi, esi
je 0x41b133
sub eax, 1
je 0x41b000
cmp ebx, 4
jl 0x41af45
mov edx, ebx
sar edx, 1
lea ebp, [edx*4 + 0x4b2e78]
jmp 0x41af4a
mov ebp, 0x4b3e80
lea eax, [ebx*4]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
add ebx, 0xc
lea esp, [esp]
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
push edi
sub esi, 0x10
lea ecx, [esi + 0xc]
push ecx
mov ecx, dword [ebx - 8]
push edx
push eax
mov eax, dword [ebx - 0xc]
neg ecx
push ecx
call fcn.00419f70
add ebp, dword [esp + 0x50]
lea edx, [edi + 4]
mov ecx, dword [ebp + 4]
push edx
mov edx, dword [ebp]
lea eax, [esi + 8]
push eax
mov eax, dword [ebx]
push ecx
neg eax
push edx
push eax
mov eax, dword [ebx - 4]
call fcn.00419f70
add ebp, dword [esp + 0x64]
lea ecx, [edi + 8]
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp]
lea edx, [esi + 4]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push ecx
neg edx
push edx
call fcn.00419f70
add ebp, dword [esp + 0x78]
lea eax, [edi + 0xc]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push eax
mov eax, dword [ebx + 0x10]
push esi
push ecx
neg eax
push edx
push eax
mov eax, dword [ebx + 0xc]
call fcn.00419f70
add ebp, dword [esp + 0x8c]
add ebx, 0x20
lea ecx, [ebx - 0xc]
add esp, 0x50
add edi, 0x10
cmp ecx, esi
jb 0x41af60
jmp 0x41b24b
mov ebx, dword [esp + 0x40]
mov ebp, 0x4b3e80
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], 0x3fffffff
mov dword [esp + 0x3c], 0x4b2e80
add ebx, 0xc
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
add ebp, 4
push edi
sub esi, 0x10
sar ecx, 1
lea edx, [esi + 0xc]
push edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
add ecx, edx
mov edx, dword [ebx - 8]
sar eax, 1
push ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x24], eax
add eax, ecx
push eax
mov eax, dword [ebx - 0xc]
neg edx
push edx
add ebp, 4
call fcn.00419f70
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
add ecx, 4
add ecx, 4
mov dword [esp + 0x50], ecx
lea ecx, [edi + 4]
push ecx
sar edx, 1
lea ecx, [esi + 8]
push ecx
mov ecx, dword [esp + 0x30]
sar eax, 1
add ecx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx]
push ecx
neg eax
push edx
push eax
mov eax, dword [ebx - 4]
call fcn.00419f70
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
lea edx, [edi + 8]
push edx
add ebp, 4
sar ecx, 1
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
add ecx, edx
mov edx, dword [ebx + 8]
sar eax, 1
push ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x4c], eax
add eax, ecx
push eax
mov eax, dword [ebx + 4]
neg edx
push edx
add ebp, 4
call fcn.00419f70
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add eax, 4
sar ecx, 1
sar edx, 1
add eax, 4
mov dword [esp + 0x74], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x78], eax
lea eax, [edi + 0xc]
push eax
mov eax, dword [esp + 0x54]
add eax, edx
mov edx, dword [esp + 0x58]
push esi
push eax
mov eax, dword [ebx + 0x10]
add edx, ecx
neg eax
push edx
push eax
mov eax, dword [ebx + 0xc]
call fcn.00419f70
add ebx, 0x20
lea ecx, [ebx - 0xc]
add esp, 0x50
add edi, 0x10
cmp ecx, esi
jb 0x41b020
jmp 0x41b24b
mov ecx, 0x4b3e80
mov dword [esp + 0x38], SHChangeNotifyRegister
mov dword [esp + 0x3c], 0x4b2e80
lea ebx, [ebp + 0xc]
jmp 0x41b158
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov ebp, dword [ecx]
mov eax, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x38]
add ecx, 4
mov dword [esp + 0x28], ecx
sar eax, 2
push edi
sub esi, 0x10
lea ecx, [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
add eax, ecx
mov dword [esp + 0x18], ebp
sub ebp, edx
push eax
mov eax, dword [ebx - 8]
sar ebp, 2
add edx, ebp
neg eax
push edx
push eax
mov eax, dword [ebx - 0xc]
call fcn.00419f70
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
lea ecx, [edi + 4]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esi + 8]
push edx
mov edx, dword [ebx]
push eax
mov eax, dword [ebx - 4]
sub ecx, ebp
push ecx
neg edx
push edx
call fcn.00419f70
mov ecx, dword [esp + 0x64]
mov ebp, dword [ecx]
mov eax, dword [ecx + 4]
add ecx, 4
mov dword [esp + 0x60], eax
sub eax, dword [esp + 0x40]
add ecx, 4
lea edx, [edi + 8]
push edx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x3c]
sar eax, 2
lea edx, [esi + 4]
push edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], ebp
sub ebp, ecx
add eax, edx
push eax
sar ebp, 2
lea eax, [ecx + ebp]
mov ecx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
neg ecx
push ecx
call fcn.00419f70
mov eax, dword [esp + 0x74]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x60]
lea edx, [edi + 0xc]
push edx
mov edx, dword [ebx + 0x10]
push esi
push eax
sub ecx, ebp
push ecx
neg edx
push edx
mov eax, dword [ebx + 0xc]
call fcn.00419f70
add ebx, 0x20
lea eax, [ebx - 0xc]
add esp, 0x50
add edi, 0x10
cmp eax, esi
jb 0x41b150
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
lea ecx, [ecx + edx + 8]
mov edx, 2
sub edx, dword [esp + 0x20]
mov eax, edi
lea edx, [eax + edx*4]
lea esp, [esp]
mov esi, dword [eax - 4]
mov dword [edx - 0xc], esi
sub eax, 0x10
neg esi
mov dword [ecx - 8], esi
mov esi, dword [eax + 8]
sub edx, 0x10
mov dword [edx], esi
neg esi
mov dword [ecx - 4], esi
mov esi, dword [eax + 4]
mov dword [edx - 4], esi
neg esi
mov dword [ecx], esi
mov esi, dword [eax]
mov dword [edx - 8], esi
neg esi
mov dword [ecx + 4], esi
add ecx, 0x10
lea esi, [ecx - 8]
cmp esi, eax
jb 0x41b270
mov ecx, edi
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov edx, dword [ecx + 0xc]
sub eax, 0x10
mov dword [eax], edx
mov edx, dword [ecx + 8]
mov dword [eax + 4], edx
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx]
add ecx, 0x10
cmp eax, dword [esp + 0x20]
mov dword [eax + 0xc], edx
ja 0x41b2b1
add esp, 0x24
ret