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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad5ca
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push str.CBaseSeqPrinterDriver::MakeUseInstallInfInfo
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2f8], 0
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x5228df
test byte [ecx + 0x1c], 1
je 0x5228df
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5df0b4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x19
call fcn.00401840
add esp, 0xc
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2ec], 0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00571c00
add esp, 0xc
lea ecx, [ebp - 0x2fc]
call fcn.00443080
push 0
push 0
push 0
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
push 8
lea ecx, [ebp - 0x2fc]
call fcn.004466e0
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522966
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004035d0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 3
push eax
push 0
lea ecx, [ebp - 0x2f4]
call fcn.00404650
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x5229e4
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5229da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5235a3
push edx
push ecx
call fcn.0056deb6
add esp, 8
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0x20
lea ecx, [ebp - 0x2fc]
call fcn.004466e0
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522a24
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004035d0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x2ec]
mov edi, dword [ebp - 0x2f0]
cmp esi, edi
je 0x522a98
movups xmm0, xmmword [ebp - 0x230]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x2f0], edi
jmp 0x522abd
lea eax, [ebp - 0x230]
push eax
push edi
lea ecx, [ebp - 0x2f4]
call fcn.00404650
mov esi, dword [ebp - 0x2ec]
mov edx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x2f0]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x522afb
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x522af1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5235a8
push edx
push ecx
call fcn.0056deb6
add esp, 8
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push 0x40
lea ecx, [ebp - 0x2fc]
call fcn.004466e0
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522b40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004035d0
mov byte [ebp - 4], 5
cmp esi, edi
je 0x522ba8
movups xmm0, xmmword [ebp - 0x230]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 0
mov edx, 7
movups xmmword [edi], xmm0
mov word [ebp - 0x230], ax
movq xmm0, qword [ebp - 0x220]
movq qword [edi + 0x10], xmm0
add edi, 0x18
mov dword [ebp - 0x2f0], edi
jmp 0x522bc7
lea eax, [ebp - 0x230]
push eax
push edi
lea ecx, [ebp - 0x2f4]
call fcn.00404650
mov edx, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x2f0]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x522c05
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x522bfb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5235ad
push edx
push ecx
call fcn.0056deb6
add esp, 8
mov esi, dword [ebp - 0x2f4]
mov dword [ebp - 0x2e8], esi
cmp esi, edi
je 0x523512
nop dword [eax]
lea ecx, [ebp - 0x344]
call fcn.00407ca0
mov byte [ebp - 4], 6
mov edi, esi
cmp dword [esi + 0x14], 8
jb 0x522c39
mov edi, dword [esi]
mov eax, dword [ebp - 0x33c]
lea ecx, [ebp - 0x328]
push 0
push 0x5c6930
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
call fcn.00403bb0
mov eax, dword [ebp - 0x324]
lea ecx, [ebp - 0x310]
push 0
push 0x5c6930
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
call fcn.00403bb0
push 0x5c6aec
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x522ccd
call fcn.0052ee40
cmp dword [eax + 8], 0xa
ja 0x522ccd
jne 0x522ce9
cmp dword [eax + 0x10], 0x3fab
jb 0x522ce9
push edi
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x33c]
push eax
push 8
lea ecx, [ebp - 0x344]
call fcn.00408020
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
call fcn.00403dd0
mov dword [ebp - 0x308], eax
xor ecx, ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x2e4], ecx
cmp dword [ebp - 0x330], ecx
jbe 0x5234c9
mov edi, dword [ebp - 0x33c]
mov eax, ecx
mov esi, dword [ebp - 0x330]
add edi, 4
mov dword [ebp - 0x2dc], ecx
nop word [eax + eax]
mov edx, dword [edi + 0x58]
test edx, edx
je 0x522ed3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522d56
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
je 0x522ec7
mov ecx, edx
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea eax, [ecx + 2]
mov dword [ebp - 0x2e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522d97
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004035d0
mov byte [ebp - 4], 8
xor eax, eax
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x522de0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x29c]
call fcn.004035d0
movups xmm0, xmmword [ebp - 0x29c]
xor eax, eax
mov word [ebp - 0x29c], ax
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [ebp - 0x28c]
movq qword [ebp - 0x268], xmm0
movups xmm0, xmmword [ebp - 0x248]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
movups xmmword [ebp - 0x260], xmm0
mov word [ebp - 0x248], ax
movq xmm0, qword [ebp - 0x238]
movq qword [ebp - 0x250], xmm0
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x308]
call fcn.00404be0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x308]
call fcn.00404c50
lea ecx, [ebp - 0x260]
call fcn.00403570
lea ecx, [ebp - 0x278]
call fcn.00403570
mov byte [ebp - 4], 7
mov ecx, 1
mov esi, dword [ebp - 0x330]
mov dword [ebp - 0x2e4], ecx
jmp 0x522ecd
mov ecx, dword [ebp - 0x2e4]
mov eax, dword [ebp - 0x2dc]
inc eax
add edi, 0x78
mov dword [ebp - 0x2dc], eax
cmp eax, esi
jb 0x522d40
mov esi, dword [ebp - 0x2e8]
test ecx, ecx
je 0x5234c3
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x522f33
test byte [ecx + 0x1c], 4
je 0x522f33
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5df0b4
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1a
call fcn.00401840
add esp, 0xc
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x2e0], eax
mov edi, dword [eax]
cmp edi, eax
je 0x5234c9
nop dword [eax + eax]
cmp dword [edi + 0x24], 8
lea ecx, [edi + 0x10]
jb 0x522f7b
mov ecx, dword [ecx]
mov eax, dword [0x6184f0]
push ecx
mov ecx, dword [eax + 8]
call fcn.004da6b0
test eax, eax
je 0x523166
cmp dword [edi + 0x3c], 8
lea eax, [edi + 0x28]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2e4], eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x2dc], ecx
jb 0x522fc5
mov eax, dword [eax]
mov dword [ebp - 0x2e4], eax
cmp ecx, 8
jae 0x522fe9
movups xmm0, xmmword [eax]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 0x270], 7
movups xmmword [ebp - 0x284], xmm0
jmp 0x523090
mov eax, ecx
mov ecx, SysReAllocString
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x2e8], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x523011
or ecx, 0xffffffff
jmp 0x523019
cmp ecx, 0x1000
jb 0x523042
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.0055070f
add esp, 4
test eax, eax
je 0x5235a3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x523055
test ecx, ecx
je 0x523053
push ecx
call fcn.0055070f
add esp, 4
mov ecx, eax
jmp 0x523055
xor ecx, ecx
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x284], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x2e4]
push ecx
call fcn.00571100
mov eax, dword [ebp - 0x2dc]
add esp, 0xc
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x270], eax
xor eax, eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xc
push eax
mov ecx, 0x618568
call fcn.0044b570
test eax, eax
je 0x523141
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x284]
push ecx
cmp dword [ebp - 0x21c], eax
je 0x523135
mov ecx, eax
mov dword [ebp - 0x2e8], eax
call fcn.00402f40
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x26c]
mov ecx, dword [ebp - 0x220]
push eax
add ecx, 0x18
call fcn.00402f40
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x254]
mov ecx, dword [ebp - 0x220]
push eax
lea ecx, [ecx + 0x30]
call fcn.0044f4e0
add dword [ebp - 0x220], 0x3c
jmp 0x523141
push eax
lea ecx, [ebp - 0x224]
call fcn.00524120
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
call fcn.00409b00
lea ecx, [ebp - 0x26c]
call fcn.00403570
lea ecx, [ebp - 0x284]
call fcn.00403570
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x52318c
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x523188
cmp edi, dword [eax + 8]
jne 0x523188
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x523178
mov edi, eax
jmp 0x5231a2
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x5231a2
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x523196
cmp edi, dword [ebp - 0x2e0]
jne 0x522f70
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
cmp ecx, eax
je 0x523472
mov ecx, 3
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2e8], ecx
nop word [eax + eax]
push ecx
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 4]
call fcn.004feca0
mov edi, eax
mov dword [ebp - 0x300], edi
test edi, edi
je 0x523443
nop
cmp dword [edi + 0x4138], 0
je 0x523425
xor eax, eax
mov dword [ebp - 0x238], 0
push eax
push 0x5c6930
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004035d0
mov byte [ebp - 4], 0xf
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x523249
mov eax, dword [esi]
lea edx, [ebp - 0x248]
push edx
lea ecx, [edi + 8]
push eax
mov dword [ebp - 0x2dc], ecx
push ecx
mov ecx, 0x618568
call fcn.0044be90
test eax, eax
jne 0x5233a2
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x523599
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 4], 0x10
call fcn.00550b4e
mov ecx, eax
test ecx, ecx
je 0x523599
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x30c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x2e4]
mov ecx, 0x618568
push eax
push dword [ebp - 0x2dc]
lea eax, [ebp - 0x224]
push eax
call fcn.0044b880
mov edi, dword [ebp - 0x2e4]
test eax, eax
je 0x523346
push esi
lea ecx, [ebp - 0x2a0]
call fcn.00402f40
or dword [ebp - 0x2f8], 1
mov dword [ebp - 0x288], edi
mov eax, dword [ebp - 0x300]
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x12
push ecx
mov eax, dword [eax + 0x4138]
mov ecx, eax
mov dword [ebp - 0x300], eax
call fcn.00524430
push eax
add eax, 0x10
push eax
push ecx
mov ecx, dword [ebp - 0x300]
lea eax, [ebp - 0x358]
push eax
call fcn.00404c50
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x11
call fcn.00403570
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x523350
mov eax, dword [esi]
push edi
push eax
push dword [ebp - 0x2dc]
mov ecx, 0x618568
call fcn.0044bc00
mov byte [ebp - 4], 0x10
or eax, 0xffffffff
mov edx, dword [ebp - 0x30c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x523384
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x523416
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x523416
cmp dword [ebp - 0x238], 0
je 0x523416
push esi
lea ecx, [ebp - 0x278]
call fcn.00402f40
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x260]
call fcn.00402f40
or dword [ebp - 0x2f8], 2
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x278]
mov edi, dword [edi + 0x4138]
mov ecx, edi
push eax
call fcn.00404be0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x360]
mov ecx, edi
push eax
call fcn.00404c50
lea ecx, [ebp - 0x260]
call fcn.00403570
lea ecx, [ebp - 0x278]
call fcn.00403570
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xb
call fcn.00403570
mov ecx, dword [0x6184f0]
mov ecx, dword [ecx + 4]
call fcn.004fee60
mov edi, eax
mov dword [ebp - 0x300], eax
test edi, edi
jne 0x523200
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x2e8]
inc eax
dec ecx
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2e8], ecx
cmp eax, 3
jb 0x5231e0
mov ecx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
test ecx, ecx
je 0x5234c3
push eax
push ecx
call fcn.005240a0
mov ecx, dword [ebp - 0x21c]
mov eax, 0x88888889
mov edi, dword [ebp - 0x224]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.005240e0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x308]
push eax
push dword [eax]
lea eax, [ebp - 0x348]
push eax
lea ecx, [ebp - 0x308]
call fcn.00403990
push 0x40
push dword [ebp - 0x308]
call fcn.00404840
add esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x344]
call fcn.00407df0
add esi, 0x18
mov dword [ebp - 0x2e8], esi
cmp esi, dword [ebp - 0x2f0]
jne 0x522c20
mov byte [ebp - 0x2d4], 1
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x52355b
test byte [ecx + 0x1c], 1
je 0x52355b
cmp dword [0x608f68], 8
mov eax, 0x608f54
push 0
cmovae eax, dword [0x608f54]
mov edx, 0x5df0b4
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x1b
call fcn.004018a0
add esp, 0x10
lea ecx, [ebp - 0x2fc]
call fcn.00443150
lea ecx, [ebp - 0x2f4]
call fcn.00409b00
lea ecx, [ebp - 0x2d8]
call fcn.0040a570
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004013a0
call fcn.00574908
call fcn.00574908
call fcn.00574908
int3