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

Disassembly:
push 0xffffffffffffffff
push 0x47fb73
mov eax, dword fs:[0]
push eax
sub esp, 0xdd0
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0xdc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0xde4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdf4]
mov esi, ecx
push str.GetDeviceFromList__
mov dword [esp + 0x18], esi
mov dword [esp + 0x44], eax
call fcn.00421450
mov edi, eax
call fcn.00421970
xor edi, edi
add esp, 4
mov dword [esp + 0x18], vtable.CList_struct_plistItem_t__struct_plistItem_t__.0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0xa
lea ecx, [esp + 0x80]
mov dword [esp + 0xdec], edi
call fcn.00411900
lea ecx, [esp + 0x44]
call fcn.00411900
push 0xa
lea ecx, [esp + 0xa4]
mov byte [esp + 0xdf0], 2
call fcn.00442aeb
mov dword [esp + 0xc0], edi
mov byte [esp + 0xdec], 3
mov eax, dword [esi + 0x8d4]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
jbe 0x413d46
jmp 0x413ba5
mov esi, dword [esp + 0x14]
cmp ebx, dword [esi + 0x8d4]
mov ecx, ebx
jge 0x413bc9
cmp ebx, edi
jl 0x413bc9
mov eax, dword [esi + 0x8cc]
je 0x413bcb
jmp 0x413bc0
sub ecx, 1
mov eax, dword [eax]
jne 0x413bc0
jmp 0x413bcb
xor eax, eax
lea esi, [eax + 8]
mov ecx, 0x201
lea edi, [esp + 0x5d4]
lea eax, [esp + 0xbd8]
rep movsd dword es:[edi], dword [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413be6
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xbdc]
push ecx
lea ecx, [esp + 0x88]
call fcn.004120f0
lea eax, [esp + 0x9d8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413c14
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x9dc]
push edx
lea ecx, [esp + 0x8c]
call fcn.004120f0
mov eax, dword [esp + 0x1c]
push eax
push 0
lea esi, [esp + 0x20]
call fcn.00411f60
mov ecx, dword [esp + 0x80]
mov ebp, eax
mov edi, dword [ebp + 8]
lea esi, [ebp + 8]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x413cae
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x413c9e
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x413c9e
push eax
call fcn.00412250
mov dword [esp + 0x38], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413c93
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x34]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x413caa
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004120f0
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x84]
lea ecx, [esi + 4]
push edx
call fcn.00412070
lea eax, [esp + 0x88]
lea ecx, [esi + 8]
push eax
call fcn.00412070
lea edx, [esp + 0x8c]
lea ecx, [esi + 0xc]
push edx
call fcn.00412070
lea eax, [esp + 0x90]
lea ecx, [esi + 0x10]
push eax
call fcn.00412070
lea edx, [esp + 0x94]
lea ecx, [esi + 0x14]
push edx
call fcn.00412070
lea eax, [esp + 0x98]
lea ecx, [esi + 0x18]
push eax
call fcn.00412070
lea edx, [esp + 0x9c]
lea ecx, [esi + 0x1c]
push edx
call fcn.00412070
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413d2b
mov dword [eax + 4], ebp
jmp 0x413d2f
mov dword [esp + 0x20], ebp
add ebx, 1
xor edi, edi
cmp ebx, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], ebx
jb 0x413ba1
lea eax, [esp + 0x124]
push eax
call fcn.004378f0
xor eax, eax
mov byte [esp + 0xdec], 4
push 0x60
lea ecx, [esp + 0xc8]
mov ebp, eax
push edi
push ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
call fcn.00461780
mov eax, 0x12c
mov dword [esp + 0x88], edi
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
mov dword [esp + 0x578], edx
add esp, 0xc
mov ecx, 7
lea esi, [esp + 0x64]
lea edi, [esp + 0x400]
mov dword [esp + 0x64], 0x172
mov dword [esp + 0x68], 0x173
mov dword [esp + 0x6c], 0xef
mov dword [esp + 0x74], 0xd7
mov dword [esp + 0x78], 0xd6
rep movsd dword es:[edi], dword [esi]
add eax, 0x4ac
push eax
mov dword [esp + 0x3c4], ebp
mov ecx, 0x18
lea esi, [esp + 0xc8]
lea edi, [esp + 0x438]
mov dword [esp + 0xc8], 0xf0
mov dword [esp + 0xcc], 0xf1
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c4]
push 0x100
push ecx
call fcn.0045ea06
add esp, 0xc
lea ecx, [esp + 0x124]
call fcn.004427ec
mov ecx, dword [esp + 0x54c]
mov esi, dword [esp + 0x44]
mov ebp, eax
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
xor ebx, ebx
cmp eax, esi
je 0x413eb0
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x413ea2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413ea2
push eax
call fcn.00412250
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x413e97
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x44], ebx
xor ebx, ebx
jmp 0x413eb0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.004120f0
lea ecx, [esp + 0x550]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00412070
lea edx, [esp + 0x554]
push edx
lea ecx, [esp + 0x50]
call fcn.00412070
lea eax, [esp + 0x558]
push eax
lea ecx, [esp + 0x54]
call fcn.00412070
lea ecx, [esp + 0x55c]
push ecx
lea ecx, [esp + 0x58]
call fcn.00412070
lea edx, [esp + 0x560]
push edx
lea ecx, [esp + 0x5c]
call fcn.00412070
lea eax, [esp + 0x564]
push eax
lea ecx, [esp + 0x60]
call fcn.00412070
lea ecx, [esp + 0x568]
push ecx
lea ecx, [esp + 0x64]
call fcn.00412070
cmp ebp, 0x78
jne 0x413f9b
lea ecx, [esp + 0x124]
mov byte [esp + 0xdec], 3
call fcn.00437aa0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xdec], 2
call fcn.00442cac
lea ecx, [esp + 0x44]
call fcn.00411a20
lea ecx, [esp + 0x80]
call fcn.00411a20
mov dword [esp + 0xdec], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x18], vtable.CList_struct_plistItem_t__struct_plistItem_t__.0
je 0x4140c4
lea ecx, [esi + 8]
call fcn.00411a20
mov esi, dword [esi]
cmp esi, ebx
jne 0x413f88
jmp 0x4140c4
xor ebp, ebp
cmp dword [esp + 0x38], ebx
jbe 0x414033
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x8d4]
mov dword [esp + 0x34], eax
cmp ebp, dword [esp + 0x34]
mov ecx, ebp
jge 0x413fd9
cmp ebp, ebx
jl 0x413fd9
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x8cc]
je 0x413fdb
lea ecx, [ecx]
sub ecx, 1
mov eax, dword [eax]
jne 0x413fd0
jmp 0x413fdb
xor eax, eax
lea esi, [eax + 8]
mov eax, dword [esp + 0x48]
mov ecx, 0x201
lea edi, [esp + 0x5d4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x9d8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41401d
cmp dx, bx
je 0x414019
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41401d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x413ff7
xor eax, eax
jmp 0x414022
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x414109
add ebp, 1
cmp ebp, dword [esp + 0x38]
jb 0x413fb5
mov dword [esp + method.IDLCGenericListDlg.virtual_0], vtable.IDLCGenericListDlg.0
lea ecx, [esp + 0x580]
mov byte [esp + 0xdec], 8
call fcn.00445cf5
lea ecx, [esp + 0x54c]
call fcn.00411a20
lea esi, [esp + 0x124]
mov byte [esp + 0xdec], 3
call fcn.00438ff0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xdec], 2
call fcn.00442cac
lea ecx, [esp + 0x44]
call fcn.00411a20
lea ecx, [esp + 0x80]
call fcn.00411a20
mov dword [esp + 0xdec], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x18], vtable.CList_struct_plistItem_t__struct_plistItem_t__.0
je 0x4140c4
lea ecx, [esi + 8]
call fcn.00411a20
mov esi, dword [esi]
cmp esi, ebx
jne 0x4140b6
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.00442f6a
xor eax, eax
mov ecx, dword [esp + 0xde4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc8]
xor ecx, esp
call fcn.0045e88c
add esp, 0xddc
ret 4
mov edi, dword [esp + 0x40]
mov ecx, 0x201
lea esi, [esp + 0x5d4]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + method.IDLCGenericListDlg.virtual_0], vtable.IDLCGenericListDlg.0
lea ecx, [esp + 0x580]
mov byte [esp + 0xdec], 6
call fcn.00445cf5
lea ecx, [esp + 0x54c]
call fcn.00411a20
lea esi, [esp + 0x124]
mov byte [esp + 0xdec], 3
call fcn.00438ff0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xdec], 2
call fcn.00442cac
lea ecx, [esp + 0x44]
call fcn.00411a20
lea ecx, [esp + 0x80]
call fcn.00411a20
mov dword [esp + 0xdec], 0xffffffff
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x18], vtable.CList_struct_plistItem_t__struct_plistItem_t__.0
je 0x4141ae
mov edi, edi
lea ecx, [esi + 8]
call fcn.00411a20
mov esi, dword [esi]
cmp esi, ebx
jne 0x4141a0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.00442f6a
mov eax, 1
jmp 0x4140df